@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/connect.cjs
CHANGED
|
@@ -9,15 +9,6 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
9
9
|
var axios__default = /*#__PURE__*/_interopDefault(axios);
|
|
10
10
|
var axiosRetry__default = /*#__PURE__*/_interopDefault(axiosRetry);
|
|
11
11
|
|
|
12
|
-
var __typeError = (msg) => {
|
|
13
|
-
throw TypeError(msg);
|
|
14
|
-
};
|
|
15
|
-
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
|
|
16
|
-
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
|
|
17
|
-
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);
|
|
18
|
-
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), member.set(obj, value), value);
|
|
19
|
-
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
|
20
|
-
|
|
21
12
|
// src/lib/lts-version.ts
|
|
22
13
|
var seamApiLtsVersion = "1.0.0";
|
|
23
14
|
|
|
@@ -481,6 +472,10 @@ var isEmail = (value) => {
|
|
|
481
472
|
|
|
482
473
|
// src/lib/seam/connect/seam-http-error.ts
|
|
483
474
|
var SeamHttpApiError = class extends Error {
|
|
475
|
+
code;
|
|
476
|
+
statusCode;
|
|
477
|
+
requestId;
|
|
478
|
+
data;
|
|
484
479
|
constructor(error, statusCode, requestId) {
|
|
485
480
|
const { type, message, data } = error;
|
|
486
481
|
super(message);
|
|
@@ -495,6 +490,8 @@ var isSeamHttpApiError = (error) => {
|
|
|
495
490
|
return error instanceof SeamHttpApiError;
|
|
496
491
|
};
|
|
497
492
|
var SeamHttpUnauthorizedError = class extends SeamHttpApiError {
|
|
493
|
+
code;
|
|
494
|
+
statusCode;
|
|
498
495
|
constructor(requestId) {
|
|
499
496
|
const type = "unauthorized";
|
|
500
497
|
const status = 401;
|
|
@@ -508,20 +505,19 @@ var SeamHttpUnauthorizedError = class extends SeamHttpApiError {
|
|
|
508
505
|
var isSeamHttpUnauthorizedError = (error) => {
|
|
509
506
|
return error instanceof SeamHttpUnauthorizedError;
|
|
510
507
|
};
|
|
511
|
-
var _validationErrors;
|
|
512
508
|
var SeamHttpInvalidInputError = class extends SeamHttpApiError {
|
|
509
|
+
code;
|
|
510
|
+
#validationErrors;
|
|
513
511
|
constructor(error, statusCode, requestId) {
|
|
514
512
|
super(error, statusCode, requestId);
|
|
515
|
-
__privateAdd(this, _validationErrors);
|
|
516
513
|
this.name = this.constructor.name;
|
|
517
514
|
this.code = "invalid_input";
|
|
518
|
-
|
|
515
|
+
this.#validationErrors = error.validation_errors ?? {};
|
|
519
516
|
}
|
|
520
517
|
getValidationErrorMessages(paramName) {
|
|
521
|
-
return
|
|
518
|
+
return this.#validationErrors[paramName]?._errors ?? [];
|
|
522
519
|
}
|
|
523
520
|
};
|
|
524
|
-
_validationErrors = new WeakMap();
|
|
525
521
|
var isSeamHttpInvalidInputError = (error) => {
|
|
526
522
|
return error instanceof SeamHttpInvalidInputError;
|
|
527
523
|
};
|
|
@@ -629,6 +625,7 @@ var isSeamActionAttemptError = (error) => {
|
|
|
629
625
|
return error instanceof SeamActionAttemptError;
|
|
630
626
|
};
|
|
631
627
|
var SeamActionAttemptError = class extends Error {
|
|
628
|
+
actionAttempt;
|
|
632
629
|
constructor(message, actionAttempt) {
|
|
633
630
|
super(message);
|
|
634
631
|
this.name = this.constructor.name;
|
|
@@ -639,6 +636,7 @@ var isSeamActionAttemptFailedError = (error) => {
|
|
|
639
636
|
return error instanceof SeamActionAttemptFailedError;
|
|
640
637
|
};
|
|
641
638
|
var SeamActionAttemptFailedError = class extends SeamActionAttemptError {
|
|
639
|
+
code;
|
|
642
640
|
constructor(actionAttempt) {
|
|
643
641
|
super(actionAttempt.error.message, actionAttempt);
|
|
644
642
|
this.name = this.constructor.name;
|
|
@@ -659,37 +657,35 @@ var SeamActionAttemptTimeoutError = class extends SeamActionAttemptError {
|
|
|
659
657
|
};
|
|
660
658
|
var isSuccessfulActionAttempt = (actionAttempt) => actionAttempt.status === "success";
|
|
661
659
|
var isFailedActionAttempt = (actionAttempt) => actionAttempt.status === "error";
|
|
662
|
-
var _a, _parent, _config;
|
|
663
|
-
_a = Symbol.toStringTag;
|
|
664
660
|
var SeamHttpRequest = class {
|
|
661
|
+
[Symbol.toStringTag] = "SeamHttpRequest";
|
|
662
|
+
#parent;
|
|
663
|
+
#config;
|
|
665
664
|
constructor(parent, config) {
|
|
666
|
-
this
|
|
667
|
-
|
|
668
|
-
__privateAdd(this, _config);
|
|
669
|
-
__privateSet(this, _parent, parent);
|
|
670
|
-
__privateSet(this, _config, config);
|
|
665
|
+
this.#parent = parent;
|
|
666
|
+
this.#config = config;
|
|
671
667
|
}
|
|
672
668
|
get responseKey() {
|
|
673
|
-
return
|
|
669
|
+
return this.#config.responseKey;
|
|
674
670
|
}
|
|
675
671
|
get url() {
|
|
676
|
-
const { client } =
|
|
672
|
+
const { client } = this.#parent;
|
|
677
673
|
const serializer = typeof client.defaults.paramsSerializer === "function" ? client.defaults.paramsSerializer : urlSearchParamsSerializer.serializeUrlSearchParams;
|
|
678
674
|
const origin = getUrlPrefix(client.defaults.baseURL ?? "");
|
|
679
675
|
const path = this.params == null ? this.pathname : `${this.pathname}?${serializer(this.params)}`;
|
|
680
676
|
return new URL(`${origin}${path}`);
|
|
681
677
|
}
|
|
682
678
|
get pathname() {
|
|
683
|
-
return
|
|
679
|
+
return this.#config.pathname.startsWith("/") ? this.#config.pathname : `/${this.#config.pathname}`;
|
|
684
680
|
}
|
|
685
681
|
get method() {
|
|
686
|
-
return
|
|
682
|
+
return this.#config.method;
|
|
687
683
|
}
|
|
688
684
|
get params() {
|
|
689
|
-
return
|
|
685
|
+
return this.#config.params;
|
|
690
686
|
}
|
|
691
687
|
get body() {
|
|
692
|
-
return
|
|
688
|
+
return this.#config.body;
|
|
693
689
|
}
|
|
694
690
|
async execute() {
|
|
695
691
|
const response = await this.fetchResponse();
|
|
@@ -698,12 +694,12 @@ var SeamHttpRequest = class {
|
|
|
698
694
|
}
|
|
699
695
|
const data = response[this.responseKey];
|
|
700
696
|
if (this.responseKey === "action_attempt") {
|
|
701
|
-
const waitForActionAttempt =
|
|
697
|
+
const waitForActionAttempt = this.#config.options?.waitForActionAttempt ?? this.#parent.defaults.waitForActionAttempt;
|
|
702
698
|
if (waitForActionAttempt !== false) {
|
|
703
699
|
const actionAttempt = await resolveActionAttempt(
|
|
704
700
|
data,
|
|
705
|
-
SeamHttpActionAttempts.fromClient(
|
|
706
|
-
...
|
|
701
|
+
SeamHttpActionAttempts.fromClient(this.#parent.client, {
|
|
702
|
+
...this.#parent.defaults,
|
|
707
703
|
waitForActionAttempt: false
|
|
708
704
|
}),
|
|
709
705
|
typeof waitForActionAttempt === "boolean" ? {} : waitForActionAttempt
|
|
@@ -714,7 +710,7 @@ var SeamHttpRequest = class {
|
|
|
714
710
|
return data;
|
|
715
711
|
}
|
|
716
712
|
async fetchResponse() {
|
|
717
|
-
const { client } =
|
|
713
|
+
const { client } = this.#parent;
|
|
718
714
|
const response = await client.request({
|
|
719
715
|
url: this.pathname,
|
|
720
716
|
method: this.method,
|
|
@@ -733,8 +729,6 @@ var SeamHttpRequest = class {
|
|
|
733
729
|
return await this.execute().finally(onfinally);
|
|
734
730
|
}
|
|
735
731
|
};
|
|
736
|
-
_parent = new WeakMap();
|
|
737
|
-
_config = new WeakMap();
|
|
738
732
|
var getUrlPrefix = (input) => {
|
|
739
733
|
if (canParseUrl(input)) {
|
|
740
734
|
const url = new URL(input).toString();
|
|
@@ -758,28 +752,56 @@ var canParseUrl = (input) => {
|
|
|
758
752
|
};
|
|
759
753
|
|
|
760
754
|
// src/lib/seam/connect/seam-paginator.ts
|
|
761
|
-
var _request, _parent2, _SeamPaginator_instances, fetch_fn;
|
|
762
755
|
var SeamPaginator = class {
|
|
756
|
+
#request;
|
|
757
|
+
#parent;
|
|
763
758
|
constructor(parent, request) {
|
|
764
|
-
__privateAdd(this, _SeamPaginator_instances);
|
|
765
|
-
__privateAdd(this, _request);
|
|
766
|
-
__privateAdd(this, _parent2);
|
|
767
759
|
if (request.responseKey == null) {
|
|
768
760
|
throw new Error(
|
|
769
761
|
`The ${request.pathname} endpoint does not support pagination`
|
|
770
762
|
);
|
|
771
763
|
}
|
|
772
|
-
|
|
773
|
-
|
|
764
|
+
this.#parent = parent;
|
|
765
|
+
this.#request = request;
|
|
774
766
|
}
|
|
775
767
|
async firstPage() {
|
|
776
|
-
return await
|
|
768
|
+
return await this.#fetch();
|
|
777
769
|
}
|
|
778
770
|
async nextPage(nextPageCursor) {
|
|
779
771
|
if (nextPageCursor == null) {
|
|
780
772
|
throw new Error("Cannot get the next page with a null nextPageCursor");
|
|
781
773
|
}
|
|
782
|
-
return await
|
|
774
|
+
return await this.#fetch(nextPageCursor);
|
|
775
|
+
}
|
|
776
|
+
async #fetch(nextPageCursor) {
|
|
777
|
+
const responseKey = this.#request.responseKey;
|
|
778
|
+
if (responseKey == null) {
|
|
779
|
+
throw new Error("Cannot paginate a response without a responseKey");
|
|
780
|
+
}
|
|
781
|
+
const request = new SeamHttpRequest(this.#parent, {
|
|
782
|
+
pathname: this.#request.pathname,
|
|
783
|
+
method: this.#request.method,
|
|
784
|
+
responseKey,
|
|
785
|
+
params: this.#request.params != null ? { ...this.#request.params, page_cursor: nextPageCursor } : void 0,
|
|
786
|
+
body: this.#request.body != null ? { ...this.#request.body, page_cursor: nextPageCursor } : void 0
|
|
787
|
+
});
|
|
788
|
+
const response = await request.fetchResponse();
|
|
789
|
+
const data = response[responseKey];
|
|
790
|
+
const paginationData = response != null && typeof response === "object" && "pagination" in response ? response.pagination : null;
|
|
791
|
+
const pagination = {
|
|
792
|
+
hasNextPage: paginationData?.has_next_page ?? false,
|
|
793
|
+
nextPageCursor: paginationData?.next_page_cursor ?? null,
|
|
794
|
+
nextPageUrl: paginationData?.next_page_url ?? null
|
|
795
|
+
};
|
|
796
|
+
if (!Array.isArray(data)) {
|
|
797
|
+
throw new Error(
|
|
798
|
+
`Expected an array response for ${String(responseKey)} but got ${String(typeof data)}`
|
|
799
|
+
);
|
|
800
|
+
}
|
|
801
|
+
return [
|
|
802
|
+
data,
|
|
803
|
+
pagination
|
|
804
|
+
];
|
|
783
805
|
}
|
|
784
806
|
async flattenToArray() {
|
|
785
807
|
const items = [];
|
|
@@ -812,44 +834,14 @@ var SeamPaginator = class {
|
|
|
812
834
|
}
|
|
813
835
|
}
|
|
814
836
|
};
|
|
815
|
-
_request = new WeakMap();
|
|
816
|
-
_parent2 = new WeakMap();
|
|
817
|
-
_SeamPaginator_instances = new WeakSet();
|
|
818
|
-
fetch_fn = async function(nextPageCursor) {
|
|
819
|
-
const responseKey = __privateGet(this, _request).responseKey;
|
|
820
|
-
if (responseKey == null) {
|
|
821
|
-
throw new Error("Cannot paginate a response without a responseKey");
|
|
822
|
-
}
|
|
823
|
-
const request = new SeamHttpRequest(__privateGet(this, _parent2), {
|
|
824
|
-
pathname: __privateGet(this, _request).pathname,
|
|
825
|
-
method: __privateGet(this, _request).method,
|
|
826
|
-
responseKey,
|
|
827
|
-
params: __privateGet(this, _request).params != null ? { ...__privateGet(this, _request).params, page_cursor: nextPageCursor } : void 0,
|
|
828
|
-
body: __privateGet(this, _request).body != null ? { ...__privateGet(this, _request).body, page_cursor: nextPageCursor } : void 0
|
|
829
|
-
});
|
|
830
|
-
const response = await request.fetchResponse();
|
|
831
|
-
const data = response[responseKey];
|
|
832
|
-
const paginationData = response != null && typeof response === "object" && "pagination" in response ? response.pagination : null;
|
|
833
|
-
const pagination = {
|
|
834
|
-
hasNextPage: paginationData?.has_next_page ?? false,
|
|
835
|
-
nextPageCursor: paginationData?.next_page_cursor ?? null,
|
|
836
|
-
nextPageUrl: paginationData?.next_page_url ?? null
|
|
837
|
-
};
|
|
838
|
-
if (!Array.isArray(data)) {
|
|
839
|
-
throw new Error(
|
|
840
|
-
`Expected an array response for ${String(responseKey)} but got ${String(typeof data)}`
|
|
841
|
-
);
|
|
842
|
-
}
|
|
843
|
-
return [
|
|
844
|
-
data,
|
|
845
|
-
pagination
|
|
846
|
-
];
|
|
847
|
-
};
|
|
848
837
|
|
|
849
838
|
// src/lib/seam/connect/routes/client-sessions/client-sessions.ts
|
|
850
|
-
var
|
|
839
|
+
var SeamHttpClientSessions = class _SeamHttpClientSessions {
|
|
840
|
+
client;
|
|
841
|
+
defaults;
|
|
842
|
+
ltsVersion = seamApiLtsVersion;
|
|
843
|
+
static ltsVersion = seamApiLtsVersion;
|
|
851
844
|
constructor(apiKeyOrOptions = {}) {
|
|
852
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
853
845
|
const options = parseOptions(apiKeyOrOptions);
|
|
854
846
|
this.client = "client" in options ? options.client : createClient(options);
|
|
855
847
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -991,13 +983,14 @@ var _SeamHttpClientSessions = class _SeamHttpClientSessions {
|
|
|
991
983
|
});
|
|
992
984
|
}
|
|
993
985
|
};
|
|
994
|
-
_SeamHttpClientSessions.ltsVersion = seamApiLtsVersion;
|
|
995
|
-
var SeamHttpClientSessions = _SeamHttpClientSessions;
|
|
996
986
|
|
|
997
987
|
// src/lib/seam/connect/routes/access-codes/simulate/simulate.ts
|
|
998
|
-
var
|
|
988
|
+
var SeamHttpAccessCodesSimulate = class _SeamHttpAccessCodesSimulate {
|
|
989
|
+
client;
|
|
990
|
+
defaults;
|
|
991
|
+
ltsVersion = seamApiLtsVersion;
|
|
992
|
+
static ltsVersion = seamApiLtsVersion;
|
|
999
993
|
constructor(apiKeyOrOptions = {}) {
|
|
1000
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
1001
994
|
const options = parseOptions(apiKeyOrOptions);
|
|
1002
995
|
this.client = "client" in options ? options.client : createClient(options);
|
|
1003
996
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -1085,13 +1078,14 @@ var _SeamHttpAccessCodesSimulate = class _SeamHttpAccessCodesSimulate {
|
|
|
1085
1078
|
});
|
|
1086
1079
|
}
|
|
1087
1080
|
};
|
|
1088
|
-
_SeamHttpAccessCodesSimulate.ltsVersion = seamApiLtsVersion;
|
|
1089
|
-
var SeamHttpAccessCodesSimulate = _SeamHttpAccessCodesSimulate;
|
|
1090
1081
|
|
|
1091
1082
|
// src/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.ts
|
|
1092
|
-
var
|
|
1083
|
+
var SeamHttpAccessCodesUnmanaged = class _SeamHttpAccessCodesUnmanaged {
|
|
1084
|
+
client;
|
|
1085
|
+
defaults;
|
|
1086
|
+
ltsVersion = seamApiLtsVersion;
|
|
1087
|
+
static ltsVersion = seamApiLtsVersion;
|
|
1093
1088
|
constructor(apiKeyOrOptions = {}) {
|
|
1094
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
1095
1089
|
const options = parseOptions(apiKeyOrOptions);
|
|
1096
1090
|
this.client = "client" in options ? options.client : createClient(options);
|
|
1097
1091
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -1215,13 +1209,14 @@ var _SeamHttpAccessCodesUnmanaged = class _SeamHttpAccessCodesUnmanaged {
|
|
|
1215
1209
|
});
|
|
1216
1210
|
}
|
|
1217
1211
|
};
|
|
1218
|
-
_SeamHttpAccessCodesUnmanaged.ltsVersion = seamApiLtsVersion;
|
|
1219
|
-
var SeamHttpAccessCodesUnmanaged = _SeamHttpAccessCodesUnmanaged;
|
|
1220
1212
|
|
|
1221
1213
|
// src/lib/seam/connect/routes/access-codes/access-codes.ts
|
|
1222
|
-
var
|
|
1214
|
+
var SeamHttpAccessCodes = class _SeamHttpAccessCodes {
|
|
1215
|
+
client;
|
|
1216
|
+
defaults;
|
|
1217
|
+
ltsVersion = seamApiLtsVersion;
|
|
1218
|
+
static ltsVersion = seamApiLtsVersion;
|
|
1223
1219
|
constructor(apiKeyOrOptions = {}) {
|
|
1224
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
1225
1220
|
const options = parseOptions(apiKeyOrOptions);
|
|
1226
1221
|
this.client = "client" in options ? options.client : createClient(options);
|
|
1227
1222
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -1396,13 +1391,14 @@ var _SeamHttpAccessCodes = class _SeamHttpAccessCodes {
|
|
|
1396
1391
|
});
|
|
1397
1392
|
}
|
|
1398
1393
|
};
|
|
1399
|
-
_SeamHttpAccessCodes.ltsVersion = seamApiLtsVersion;
|
|
1400
|
-
var SeamHttpAccessCodes = _SeamHttpAccessCodes;
|
|
1401
1394
|
|
|
1402
1395
|
// src/lib/seam/connect/routes/access-grants/access-grants.ts
|
|
1403
|
-
var
|
|
1396
|
+
var SeamHttpAccessGrants = class _SeamHttpAccessGrants {
|
|
1397
|
+
client;
|
|
1398
|
+
defaults;
|
|
1399
|
+
ltsVersion = seamApiLtsVersion;
|
|
1400
|
+
static ltsVersion = seamApiLtsVersion;
|
|
1404
1401
|
constructor(apiKeyOrOptions = {}) {
|
|
1405
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
1406
1402
|
const options = parseOptions(apiKeyOrOptions);
|
|
1407
1403
|
this.client = "client" in options ? options.client : createClient(options);
|
|
1408
1404
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -1535,13 +1531,14 @@ var _SeamHttpAccessGrants = class _SeamHttpAccessGrants {
|
|
|
1535
1531
|
});
|
|
1536
1532
|
}
|
|
1537
1533
|
};
|
|
1538
|
-
_SeamHttpAccessGrants.ltsVersion = seamApiLtsVersion;
|
|
1539
|
-
var SeamHttpAccessGrants = _SeamHttpAccessGrants;
|
|
1540
1534
|
|
|
1541
1535
|
// src/lib/seam/connect/routes/access-methods/access-methods.ts
|
|
1542
|
-
var
|
|
1536
|
+
var SeamHttpAccessMethods = class _SeamHttpAccessMethods {
|
|
1537
|
+
client;
|
|
1538
|
+
defaults;
|
|
1539
|
+
ltsVersion = seamApiLtsVersion;
|
|
1540
|
+
static ltsVersion = seamApiLtsVersion;
|
|
1543
1541
|
constructor(apiKeyOrOptions = {}) {
|
|
1544
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
1545
1542
|
const options = parseOptions(apiKeyOrOptions);
|
|
1546
1543
|
this.client = "client" in options ? options.client : createClient(options);
|
|
1547
1544
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -1665,13 +1662,14 @@ var _SeamHttpAccessMethods = class _SeamHttpAccessMethods {
|
|
|
1665
1662
|
});
|
|
1666
1663
|
}
|
|
1667
1664
|
};
|
|
1668
|
-
_SeamHttpAccessMethods.ltsVersion = seamApiLtsVersion;
|
|
1669
|
-
var SeamHttpAccessMethods = _SeamHttpAccessMethods;
|
|
1670
1665
|
|
|
1671
1666
|
// src/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.ts
|
|
1672
|
-
var
|
|
1667
|
+
var SeamHttpAcsAccessGroupsUnmanaged = class _SeamHttpAcsAccessGroupsUnmanaged {
|
|
1668
|
+
client;
|
|
1669
|
+
defaults;
|
|
1670
|
+
ltsVersion = seamApiLtsVersion;
|
|
1671
|
+
static ltsVersion = seamApiLtsVersion;
|
|
1673
1672
|
constructor(apiKeyOrOptions = {}) {
|
|
1674
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
1675
1673
|
const options = parseOptions(apiKeyOrOptions);
|
|
1676
1674
|
if (!options.isUndocumentedApiEnabled) {
|
|
1677
1675
|
throw new Error(
|
|
@@ -1786,13 +1784,14 @@ var _SeamHttpAcsAccessGroupsUnmanaged = class _SeamHttpAcsAccessGroupsUnmanaged
|
|
|
1786
1784
|
});
|
|
1787
1785
|
}
|
|
1788
1786
|
};
|
|
1789
|
-
_SeamHttpAcsAccessGroupsUnmanaged.ltsVersion = seamApiLtsVersion;
|
|
1790
|
-
var SeamHttpAcsAccessGroupsUnmanaged = _SeamHttpAcsAccessGroupsUnmanaged;
|
|
1791
1787
|
|
|
1792
1788
|
// src/lib/seam/connect/routes/acs/access-groups/access-groups.ts
|
|
1793
|
-
var
|
|
1789
|
+
var SeamHttpAcsAccessGroups = class _SeamHttpAcsAccessGroups {
|
|
1790
|
+
client;
|
|
1791
|
+
defaults;
|
|
1792
|
+
ltsVersion = seamApiLtsVersion;
|
|
1793
|
+
static ltsVersion = seamApiLtsVersion;
|
|
1794
1794
|
constructor(apiKeyOrOptions = {}) {
|
|
1795
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
1796
1795
|
const options = parseOptions(apiKeyOrOptions);
|
|
1797
1796
|
this.client = "client" in options ? options.client : createClient(options);
|
|
1798
1797
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -1931,13 +1930,14 @@ var _SeamHttpAcsAccessGroups = class _SeamHttpAcsAccessGroups {
|
|
|
1931
1930
|
});
|
|
1932
1931
|
}
|
|
1933
1932
|
};
|
|
1934
|
-
_SeamHttpAcsAccessGroups.ltsVersion = seamApiLtsVersion;
|
|
1935
|
-
var SeamHttpAcsAccessGroups = _SeamHttpAcsAccessGroups;
|
|
1936
1933
|
|
|
1937
1934
|
// src/lib/seam/connect/routes/acs/credential-pools/credential-pools.ts
|
|
1938
|
-
var
|
|
1935
|
+
var SeamHttpAcsCredentialPools = class _SeamHttpAcsCredentialPools {
|
|
1936
|
+
client;
|
|
1937
|
+
defaults;
|
|
1938
|
+
ltsVersion = seamApiLtsVersion;
|
|
1939
|
+
static ltsVersion = seamApiLtsVersion;
|
|
1939
1940
|
constructor(apiKeyOrOptions = {}) {
|
|
1940
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
1941
1941
|
const options = parseOptions(apiKeyOrOptions);
|
|
1942
1942
|
if (!options.isUndocumentedApiEnabled) {
|
|
1943
1943
|
throw new Error(
|
|
@@ -2035,13 +2035,14 @@ var _SeamHttpAcsCredentialPools = class _SeamHttpAcsCredentialPools {
|
|
|
2035
2035
|
});
|
|
2036
2036
|
}
|
|
2037
2037
|
};
|
|
2038
|
-
_SeamHttpAcsCredentialPools.ltsVersion = seamApiLtsVersion;
|
|
2039
|
-
var SeamHttpAcsCredentialPools = _SeamHttpAcsCredentialPools;
|
|
2040
2038
|
|
|
2041
2039
|
// src/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.ts
|
|
2042
|
-
var
|
|
2040
|
+
var SeamHttpAcsCredentialProvisioningAutomations = class _SeamHttpAcsCredentialProvisioningAutomations {
|
|
2041
|
+
client;
|
|
2042
|
+
defaults;
|
|
2043
|
+
ltsVersion = seamApiLtsVersion;
|
|
2044
|
+
static ltsVersion = seamApiLtsVersion;
|
|
2043
2045
|
constructor(apiKeyOrOptions = {}) {
|
|
2044
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
2045
2046
|
const options = parseOptions(apiKeyOrOptions);
|
|
2046
2047
|
if (!options.isUndocumentedApiEnabled) {
|
|
2047
2048
|
throw new Error(
|
|
@@ -2142,13 +2143,14 @@ var _SeamHttpAcsCredentialProvisioningAutomations = class _SeamHttpAcsCredential
|
|
|
2142
2143
|
});
|
|
2143
2144
|
}
|
|
2144
2145
|
};
|
|
2145
|
-
_SeamHttpAcsCredentialProvisioningAutomations.ltsVersion = seamApiLtsVersion;
|
|
2146
|
-
var SeamHttpAcsCredentialProvisioningAutomations = _SeamHttpAcsCredentialProvisioningAutomations;
|
|
2147
2146
|
|
|
2148
2147
|
// src/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.ts
|
|
2149
|
-
var
|
|
2148
|
+
var SeamHttpAcsCredentialsUnmanaged = class _SeamHttpAcsCredentialsUnmanaged {
|
|
2149
|
+
client;
|
|
2150
|
+
defaults;
|
|
2151
|
+
ltsVersion = seamApiLtsVersion;
|
|
2152
|
+
static ltsVersion = seamApiLtsVersion;
|
|
2150
2153
|
constructor(apiKeyOrOptions = {}) {
|
|
2151
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
2152
2154
|
const options = parseOptions(apiKeyOrOptions);
|
|
2153
2155
|
if (!options.isUndocumentedApiEnabled) {
|
|
2154
2156
|
throw new Error(
|
|
@@ -2263,13 +2265,14 @@ var _SeamHttpAcsCredentialsUnmanaged = class _SeamHttpAcsCredentialsUnmanaged {
|
|
|
2263
2265
|
});
|
|
2264
2266
|
}
|
|
2265
2267
|
};
|
|
2266
|
-
_SeamHttpAcsCredentialsUnmanaged.ltsVersion = seamApiLtsVersion;
|
|
2267
|
-
var SeamHttpAcsCredentialsUnmanaged = _SeamHttpAcsCredentialsUnmanaged;
|
|
2268
2268
|
|
|
2269
2269
|
// src/lib/seam/connect/routes/acs/credentials/credentials.ts
|
|
2270
|
-
var
|
|
2270
|
+
var SeamHttpAcsCredentials = class _SeamHttpAcsCredentials {
|
|
2271
|
+
client;
|
|
2272
|
+
defaults;
|
|
2273
|
+
ltsVersion = seamApiLtsVersion;
|
|
2274
|
+
static ltsVersion = seamApiLtsVersion;
|
|
2271
2275
|
constructor(apiKeyOrOptions = {}) {
|
|
2272
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
2273
2276
|
const options = parseOptions(apiKeyOrOptions);
|
|
2274
2277
|
this.client = "client" in options ? options.client : createClient(options);
|
|
2275
2278
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -2440,13 +2443,14 @@ var _SeamHttpAcsCredentials = class _SeamHttpAcsCredentials {
|
|
|
2440
2443
|
});
|
|
2441
2444
|
}
|
|
2442
2445
|
};
|
|
2443
|
-
_SeamHttpAcsCredentials.ltsVersion = seamApiLtsVersion;
|
|
2444
|
-
var SeamHttpAcsCredentials = _SeamHttpAcsCredentials;
|
|
2445
2446
|
|
|
2446
2447
|
// src/lib/seam/connect/routes/acs/encoders/simulate/simulate.ts
|
|
2447
|
-
var
|
|
2448
|
+
var SeamHttpAcsEncodersSimulate = class _SeamHttpAcsEncodersSimulate {
|
|
2449
|
+
client;
|
|
2450
|
+
defaults;
|
|
2451
|
+
ltsVersion = seamApiLtsVersion;
|
|
2452
|
+
static ltsVersion = seamApiLtsVersion;
|
|
2448
2453
|
constructor(apiKeyOrOptions = {}) {
|
|
2449
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
2450
2454
|
const options = parseOptions(apiKeyOrOptions);
|
|
2451
2455
|
this.client = "client" in options ? options.client : createClient(options);
|
|
2452
2456
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -2561,13 +2565,14 @@ var _SeamHttpAcsEncodersSimulate = class _SeamHttpAcsEncodersSimulate {
|
|
|
2561
2565
|
});
|
|
2562
2566
|
}
|
|
2563
2567
|
};
|
|
2564
|
-
_SeamHttpAcsEncodersSimulate.ltsVersion = seamApiLtsVersion;
|
|
2565
|
-
var SeamHttpAcsEncodersSimulate = _SeamHttpAcsEncodersSimulate;
|
|
2566
2568
|
|
|
2567
2569
|
// src/lib/seam/connect/routes/acs/encoders/encoders.ts
|
|
2568
|
-
var
|
|
2570
|
+
var SeamHttpAcsEncoders = class _SeamHttpAcsEncoders {
|
|
2571
|
+
client;
|
|
2572
|
+
defaults;
|
|
2573
|
+
ltsVersion = seamApiLtsVersion;
|
|
2574
|
+
static ltsVersion = seamApiLtsVersion;
|
|
2569
2575
|
constructor(apiKeyOrOptions = {}) {
|
|
2570
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
2571
2576
|
const options = parseOptions(apiKeyOrOptions);
|
|
2572
2577
|
this.client = "client" in options ? options.client : createClient(options);
|
|
2573
2578
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -2685,13 +2690,14 @@ var _SeamHttpAcsEncoders = class _SeamHttpAcsEncoders {
|
|
|
2685
2690
|
});
|
|
2686
2691
|
}
|
|
2687
2692
|
};
|
|
2688
|
-
_SeamHttpAcsEncoders.ltsVersion = seamApiLtsVersion;
|
|
2689
|
-
var SeamHttpAcsEncoders = _SeamHttpAcsEncoders;
|
|
2690
2693
|
|
|
2691
2694
|
// src/lib/seam/connect/routes/acs/entrances/entrances.ts
|
|
2692
|
-
var
|
|
2695
|
+
var SeamHttpAcsEntrances = class _SeamHttpAcsEntrances {
|
|
2696
|
+
client;
|
|
2697
|
+
defaults;
|
|
2698
|
+
ltsVersion = seamApiLtsVersion;
|
|
2699
|
+
static ltsVersion = seamApiLtsVersion;
|
|
2693
2700
|
constructor(apiKeyOrOptions = {}) {
|
|
2694
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
2695
2701
|
const options = parseOptions(apiKeyOrOptions);
|
|
2696
2702
|
this.client = "client" in options ? options.client : createClient(options);
|
|
2697
2703
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -2806,13 +2812,14 @@ var _SeamHttpAcsEntrances = class _SeamHttpAcsEntrances {
|
|
|
2806
2812
|
});
|
|
2807
2813
|
}
|
|
2808
2814
|
};
|
|
2809
|
-
_SeamHttpAcsEntrances.ltsVersion = seamApiLtsVersion;
|
|
2810
|
-
var SeamHttpAcsEntrances = _SeamHttpAcsEntrances;
|
|
2811
2815
|
|
|
2812
2816
|
// src/lib/seam/connect/routes/acs/systems/systems.ts
|
|
2813
|
-
var
|
|
2817
|
+
var SeamHttpAcsSystems = class _SeamHttpAcsSystems {
|
|
2818
|
+
client;
|
|
2819
|
+
defaults;
|
|
2820
|
+
ltsVersion = seamApiLtsVersion;
|
|
2821
|
+
static ltsVersion = seamApiLtsVersion;
|
|
2814
2822
|
constructor(apiKeyOrOptions = {}) {
|
|
2815
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
2816
2823
|
const options = parseOptions(apiKeyOrOptions);
|
|
2817
2824
|
this.client = "client" in options ? options.client : createClient(options);
|
|
2818
2825
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -2918,13 +2925,14 @@ var _SeamHttpAcsSystems = class _SeamHttpAcsSystems {
|
|
|
2918
2925
|
});
|
|
2919
2926
|
}
|
|
2920
2927
|
};
|
|
2921
|
-
_SeamHttpAcsSystems.ltsVersion = seamApiLtsVersion;
|
|
2922
|
-
var SeamHttpAcsSystems = _SeamHttpAcsSystems;
|
|
2923
2928
|
|
|
2924
2929
|
// src/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.ts
|
|
2925
|
-
var
|
|
2930
|
+
var SeamHttpAcsUsersUnmanaged = class _SeamHttpAcsUsersUnmanaged {
|
|
2931
|
+
client;
|
|
2932
|
+
defaults;
|
|
2933
|
+
ltsVersion = seamApiLtsVersion;
|
|
2934
|
+
static ltsVersion = seamApiLtsVersion;
|
|
2926
2935
|
constructor(apiKeyOrOptions = {}) {
|
|
2927
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
2928
2936
|
const options = parseOptions(apiKeyOrOptions);
|
|
2929
2937
|
if (!options.isUndocumentedApiEnabled) {
|
|
2930
2938
|
throw new Error(
|
|
@@ -3036,13 +3044,14 @@ var _SeamHttpAcsUsersUnmanaged = class _SeamHttpAcsUsersUnmanaged {
|
|
|
3036
3044
|
});
|
|
3037
3045
|
}
|
|
3038
3046
|
};
|
|
3039
|
-
_SeamHttpAcsUsersUnmanaged.ltsVersion = seamApiLtsVersion;
|
|
3040
|
-
var SeamHttpAcsUsersUnmanaged = _SeamHttpAcsUsersUnmanaged;
|
|
3041
3047
|
|
|
3042
3048
|
// src/lib/seam/connect/routes/acs/users/users.ts
|
|
3043
|
-
var
|
|
3049
|
+
var SeamHttpAcsUsers = class _SeamHttpAcsUsers {
|
|
3050
|
+
client;
|
|
3051
|
+
defaults;
|
|
3052
|
+
ltsVersion = seamApiLtsVersion;
|
|
3053
|
+
static ltsVersion = seamApiLtsVersion;
|
|
3044
3054
|
constructor(apiKeyOrOptions = {}) {
|
|
3045
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
3046
3055
|
const options = parseOptions(apiKeyOrOptions);
|
|
3047
3056
|
this.client = "client" in options ? options.client : createClient(options);
|
|
3048
3057
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -3223,13 +3232,14 @@ var _SeamHttpAcsUsers = class _SeamHttpAcsUsers {
|
|
|
3223
3232
|
});
|
|
3224
3233
|
}
|
|
3225
3234
|
};
|
|
3226
|
-
_SeamHttpAcsUsers.ltsVersion = seamApiLtsVersion;
|
|
3227
|
-
var SeamHttpAcsUsers = _SeamHttpAcsUsers;
|
|
3228
3235
|
|
|
3229
3236
|
// src/lib/seam/connect/routes/acs/acs.ts
|
|
3230
|
-
var
|
|
3237
|
+
var SeamHttpAcs = class _SeamHttpAcs {
|
|
3238
|
+
client;
|
|
3239
|
+
defaults;
|
|
3240
|
+
ltsVersion = seamApiLtsVersion;
|
|
3241
|
+
static ltsVersion = seamApiLtsVersion;
|
|
3231
3242
|
constructor(apiKeyOrOptions = {}) {
|
|
3232
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
3233
3243
|
const options = parseOptions(apiKeyOrOptions);
|
|
3234
3244
|
this.client = "client" in options ? options.client : createClient(options);
|
|
3235
3245
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -3335,13 +3345,14 @@ var _SeamHttpAcs = class _SeamHttpAcs {
|
|
|
3335
3345
|
return SeamHttpAcsUsers.fromClient(this.client, this.defaults);
|
|
3336
3346
|
}
|
|
3337
3347
|
};
|
|
3338
|
-
_SeamHttpAcs.ltsVersion = seamApiLtsVersion;
|
|
3339
|
-
var SeamHttpAcs = _SeamHttpAcs;
|
|
3340
3348
|
|
|
3341
3349
|
// src/lib/seam/connect/routes/action-attempts/action-attempts.ts
|
|
3342
|
-
var
|
|
3350
|
+
var SeamHttpActionAttempts = class _SeamHttpActionAttempts {
|
|
3351
|
+
client;
|
|
3352
|
+
defaults;
|
|
3353
|
+
ltsVersion = seamApiLtsVersion;
|
|
3354
|
+
static ltsVersion = seamApiLtsVersion;
|
|
3343
3355
|
constructor(apiKeyOrOptions = {}) {
|
|
3344
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
3345
3356
|
const options = parseOptions(apiKeyOrOptions);
|
|
3346
3357
|
this.client = "client" in options ? options.client : createClient(options);
|
|
3347
3358
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -3438,13 +3449,14 @@ var _SeamHttpActionAttempts = class _SeamHttpActionAttempts {
|
|
|
3438
3449
|
});
|
|
3439
3450
|
}
|
|
3440
3451
|
};
|
|
3441
|
-
_SeamHttpActionAttempts.ltsVersion = seamApiLtsVersion;
|
|
3442
|
-
var SeamHttpActionAttempts = _SeamHttpActionAttempts;
|
|
3443
3452
|
|
|
3444
3453
|
// src/lib/seam/connect/routes/bridges/bridges.ts
|
|
3445
|
-
var
|
|
3454
|
+
var SeamHttpBridges = class _SeamHttpBridges {
|
|
3455
|
+
client;
|
|
3456
|
+
defaults;
|
|
3457
|
+
ltsVersion = seamApiLtsVersion;
|
|
3458
|
+
static ltsVersion = seamApiLtsVersion;
|
|
3446
3459
|
constructor(apiKeyOrOptions = {}) {
|
|
3447
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
3448
3460
|
const options = parseOptions(apiKeyOrOptions);
|
|
3449
3461
|
if (!options.isUndocumentedApiEnabled) {
|
|
3450
3462
|
throw new Error(
|
|
@@ -3556,13 +3568,14 @@ var _SeamHttpBridges = class _SeamHttpBridges {
|
|
|
3556
3568
|
});
|
|
3557
3569
|
}
|
|
3558
3570
|
};
|
|
3559
|
-
_SeamHttpBridges.ltsVersion = seamApiLtsVersion;
|
|
3560
|
-
var SeamHttpBridges = _SeamHttpBridges;
|
|
3561
3571
|
|
|
3562
3572
|
// src/lib/seam/connect/routes/connect-webviews/connect-webviews.ts
|
|
3563
|
-
var
|
|
3573
|
+
var SeamHttpConnectWebviews = class _SeamHttpConnectWebviews {
|
|
3574
|
+
client;
|
|
3575
|
+
defaults;
|
|
3576
|
+
ltsVersion = seamApiLtsVersion;
|
|
3577
|
+
static ltsVersion = seamApiLtsVersion;
|
|
3564
3578
|
constructor(apiKeyOrOptions = {}) {
|
|
3565
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
3566
3579
|
const options = parseOptions(apiKeyOrOptions);
|
|
3567
3580
|
this.client = "client" in options ? options.client : createClient(options);
|
|
3568
3581
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -3677,13 +3690,14 @@ var _SeamHttpConnectWebviews = class _SeamHttpConnectWebviews {
|
|
|
3677
3690
|
});
|
|
3678
3691
|
}
|
|
3679
3692
|
};
|
|
3680
|
-
_SeamHttpConnectWebviews.ltsVersion = seamApiLtsVersion;
|
|
3681
|
-
var SeamHttpConnectWebviews = _SeamHttpConnectWebviews;
|
|
3682
3693
|
|
|
3683
3694
|
// src/lib/seam/connect/routes/connected-accounts/connected-accounts.ts
|
|
3684
|
-
var
|
|
3695
|
+
var SeamHttpConnectedAccounts = class _SeamHttpConnectedAccounts {
|
|
3696
|
+
client;
|
|
3697
|
+
defaults;
|
|
3698
|
+
ltsVersion = seamApiLtsVersion;
|
|
3699
|
+
static ltsVersion = seamApiLtsVersion;
|
|
3685
3700
|
constructor(apiKeyOrOptions = {}) {
|
|
3686
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
3687
3701
|
const options = parseOptions(apiKeyOrOptions);
|
|
3688
3702
|
this.client = "client" in options ? options.client : createClient(options);
|
|
3689
3703
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -3807,13 +3821,14 @@ var _SeamHttpConnectedAccounts = class _SeamHttpConnectedAccounts {
|
|
|
3807
3821
|
});
|
|
3808
3822
|
}
|
|
3809
3823
|
};
|
|
3810
|
-
_SeamHttpConnectedAccounts.ltsVersion = seamApiLtsVersion;
|
|
3811
|
-
var SeamHttpConnectedAccounts = _SeamHttpConnectedAccounts;
|
|
3812
3824
|
|
|
3813
3825
|
// src/lib/seam/connect/routes/customers/customers.ts
|
|
3814
|
-
var
|
|
3826
|
+
var SeamHttpCustomers = class _SeamHttpCustomers {
|
|
3827
|
+
client;
|
|
3828
|
+
defaults;
|
|
3829
|
+
ltsVersion = seamApiLtsVersion;
|
|
3830
|
+
static ltsVersion = seamApiLtsVersion;
|
|
3815
3831
|
constructor(apiKeyOrOptions = {}) {
|
|
3816
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
3817
3832
|
const options = parseOptions(apiKeyOrOptions);
|
|
3818
3833
|
this.client = "client" in options ? options.client : createClient(options);
|
|
3819
3834
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -3919,13 +3934,14 @@ var _SeamHttpCustomers = class _SeamHttpCustomers {
|
|
|
3919
3934
|
});
|
|
3920
3935
|
}
|
|
3921
3936
|
};
|
|
3922
|
-
_SeamHttpCustomers.ltsVersion = seamApiLtsVersion;
|
|
3923
|
-
var SeamHttpCustomers = _SeamHttpCustomers;
|
|
3924
3937
|
|
|
3925
3938
|
// src/lib/seam/connect/routes/devices/simulate/simulate.ts
|
|
3926
|
-
var
|
|
3939
|
+
var SeamHttpDevicesSimulate = class _SeamHttpDevicesSimulate {
|
|
3940
|
+
client;
|
|
3941
|
+
defaults;
|
|
3942
|
+
ltsVersion = seamApiLtsVersion;
|
|
3943
|
+
static ltsVersion = seamApiLtsVersion;
|
|
3927
3944
|
constructor(apiKeyOrOptions = {}) {
|
|
3928
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
3929
3945
|
const options = parseOptions(apiKeyOrOptions);
|
|
3930
3946
|
this.client = "client" in options ? options.client : createClient(options);
|
|
3931
3947
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -4058,13 +4074,14 @@ var _SeamHttpDevicesSimulate = class _SeamHttpDevicesSimulate {
|
|
|
4058
4074
|
});
|
|
4059
4075
|
}
|
|
4060
4076
|
};
|
|
4061
|
-
_SeamHttpDevicesSimulate.ltsVersion = seamApiLtsVersion;
|
|
4062
|
-
var SeamHttpDevicesSimulate = _SeamHttpDevicesSimulate;
|
|
4063
4077
|
|
|
4064
4078
|
// src/lib/seam/connect/routes/devices/unmanaged/unmanaged.ts
|
|
4065
|
-
var
|
|
4079
|
+
var SeamHttpDevicesUnmanaged = class _SeamHttpDevicesUnmanaged {
|
|
4080
|
+
client;
|
|
4081
|
+
defaults;
|
|
4082
|
+
ltsVersion = seamApiLtsVersion;
|
|
4083
|
+
static ltsVersion = seamApiLtsVersion;
|
|
4066
4084
|
constructor(apiKeyOrOptions = {}) {
|
|
4067
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
4068
4085
|
const options = parseOptions(apiKeyOrOptions);
|
|
4069
4086
|
this.client = "client" in options ? options.client : createClient(options);
|
|
4070
4087
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -4170,13 +4187,14 @@ var _SeamHttpDevicesUnmanaged = class _SeamHttpDevicesUnmanaged {
|
|
|
4170
4187
|
});
|
|
4171
4188
|
}
|
|
4172
4189
|
};
|
|
4173
|
-
_SeamHttpDevicesUnmanaged.ltsVersion = seamApiLtsVersion;
|
|
4174
|
-
var SeamHttpDevicesUnmanaged = _SeamHttpDevicesUnmanaged;
|
|
4175
4190
|
|
|
4176
4191
|
// src/lib/seam/connect/routes/devices/devices.ts
|
|
4177
|
-
var
|
|
4192
|
+
var SeamHttpDevices = class _SeamHttpDevices {
|
|
4193
|
+
client;
|
|
4194
|
+
defaults;
|
|
4195
|
+
ltsVersion = seamApiLtsVersion;
|
|
4196
|
+
static ltsVersion = seamApiLtsVersion;
|
|
4178
4197
|
constructor(apiKeyOrOptions = {}) {
|
|
4179
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
4180
4198
|
const options = parseOptions(apiKeyOrOptions);
|
|
4181
4199
|
this.client = "client" in options ? options.client : createClient(options);
|
|
4182
4200
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -4311,13 +4329,14 @@ var _SeamHttpDevices = class _SeamHttpDevices {
|
|
|
4311
4329
|
});
|
|
4312
4330
|
}
|
|
4313
4331
|
};
|
|
4314
|
-
_SeamHttpDevices.ltsVersion = seamApiLtsVersion;
|
|
4315
|
-
var SeamHttpDevices = _SeamHttpDevices;
|
|
4316
4332
|
|
|
4317
4333
|
// src/lib/seam/connect/routes/events/events.ts
|
|
4318
|
-
var
|
|
4334
|
+
var SeamHttpEvents = class _SeamHttpEvents {
|
|
4335
|
+
client;
|
|
4336
|
+
defaults;
|
|
4337
|
+
ltsVersion = seamApiLtsVersion;
|
|
4338
|
+
static ltsVersion = seamApiLtsVersion;
|
|
4319
4339
|
constructor(apiKeyOrOptions = {}) {
|
|
4320
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
4321
4340
|
const options = parseOptions(apiKeyOrOptions);
|
|
4322
4341
|
this.client = "client" in options ? options.client : createClient(options);
|
|
4323
4342
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -4414,13 +4433,14 @@ var _SeamHttpEvents = class _SeamHttpEvents {
|
|
|
4414
4433
|
});
|
|
4415
4434
|
}
|
|
4416
4435
|
};
|
|
4417
|
-
_SeamHttpEvents.ltsVersion = seamApiLtsVersion;
|
|
4418
|
-
var SeamHttpEvents = _SeamHttpEvents;
|
|
4419
4436
|
|
|
4420
4437
|
// src/lib/seam/connect/routes/instant-keys/instant-keys.ts
|
|
4421
|
-
var
|
|
4438
|
+
var SeamHttpInstantKeys = class _SeamHttpInstantKeys {
|
|
4439
|
+
client;
|
|
4440
|
+
defaults;
|
|
4441
|
+
ltsVersion = seamApiLtsVersion;
|
|
4442
|
+
static ltsVersion = seamApiLtsVersion;
|
|
4422
4443
|
constructor(apiKeyOrOptions = {}) {
|
|
4423
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
4424
4444
|
const options = parseOptions(apiKeyOrOptions);
|
|
4425
4445
|
this.client = "client" in options ? options.client : createClient(options);
|
|
4426
4446
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -4526,13 +4546,14 @@ var _SeamHttpInstantKeys = class _SeamHttpInstantKeys {
|
|
|
4526
4546
|
});
|
|
4527
4547
|
}
|
|
4528
4548
|
};
|
|
4529
|
-
_SeamHttpInstantKeys.ltsVersion = seamApiLtsVersion;
|
|
4530
|
-
var SeamHttpInstantKeys = _SeamHttpInstantKeys;
|
|
4531
4549
|
|
|
4532
4550
|
// src/lib/seam/connect/routes/locks/simulate/simulate.ts
|
|
4533
|
-
var
|
|
4551
|
+
var SeamHttpLocksSimulate = class _SeamHttpLocksSimulate {
|
|
4552
|
+
client;
|
|
4553
|
+
defaults;
|
|
4554
|
+
ltsVersion = seamApiLtsVersion;
|
|
4555
|
+
static ltsVersion = seamApiLtsVersion;
|
|
4534
4556
|
constructor(apiKeyOrOptions = {}) {
|
|
4535
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
4536
4557
|
const options = parseOptions(apiKeyOrOptions);
|
|
4537
4558
|
this.client = "client" in options ? options.client : createClient(options);
|
|
4538
4559
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -4629,13 +4650,14 @@ var _SeamHttpLocksSimulate = class _SeamHttpLocksSimulate {
|
|
|
4629
4650
|
});
|
|
4630
4651
|
}
|
|
4631
4652
|
};
|
|
4632
|
-
_SeamHttpLocksSimulate.ltsVersion = seamApiLtsVersion;
|
|
4633
|
-
var SeamHttpLocksSimulate = _SeamHttpLocksSimulate;
|
|
4634
4653
|
|
|
4635
4654
|
// src/lib/seam/connect/routes/locks/locks.ts
|
|
4636
|
-
var
|
|
4655
|
+
var SeamHttpLocks = class _SeamHttpLocks {
|
|
4656
|
+
client;
|
|
4657
|
+
defaults;
|
|
4658
|
+
ltsVersion = seamApiLtsVersion;
|
|
4659
|
+
static ltsVersion = seamApiLtsVersion;
|
|
4637
4660
|
constructor(apiKeyOrOptions = {}) {
|
|
4638
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
4639
4661
|
const options = parseOptions(apiKeyOrOptions);
|
|
4640
4662
|
this.client = "client" in options ? options.client : createClient(options);
|
|
4641
4663
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -4753,13 +4775,14 @@ var _SeamHttpLocks = class _SeamHttpLocks {
|
|
|
4753
4775
|
});
|
|
4754
4776
|
}
|
|
4755
4777
|
};
|
|
4756
|
-
_SeamHttpLocks.ltsVersion = seamApiLtsVersion;
|
|
4757
|
-
var SeamHttpLocks = _SeamHttpLocks;
|
|
4758
4778
|
|
|
4759
4779
|
// src/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.ts
|
|
4760
|
-
var
|
|
4780
|
+
var SeamHttpNoiseSensorsNoiseThresholds = class _SeamHttpNoiseSensorsNoiseThresholds {
|
|
4781
|
+
client;
|
|
4782
|
+
defaults;
|
|
4783
|
+
ltsVersion = seamApiLtsVersion;
|
|
4784
|
+
static ltsVersion = seamApiLtsVersion;
|
|
4761
4785
|
constructor(apiKeyOrOptions = {}) {
|
|
4762
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
4763
4786
|
const options = parseOptions(apiKeyOrOptions);
|
|
4764
4787
|
this.client = "client" in options ? options.client : createClient(options);
|
|
4765
4788
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -4886,13 +4909,14 @@ var _SeamHttpNoiseSensorsNoiseThresholds = class _SeamHttpNoiseSensorsNoiseThres
|
|
|
4886
4909
|
});
|
|
4887
4910
|
}
|
|
4888
4911
|
};
|
|
4889
|
-
_SeamHttpNoiseSensorsNoiseThresholds.ltsVersion = seamApiLtsVersion;
|
|
4890
|
-
var SeamHttpNoiseSensorsNoiseThresholds = _SeamHttpNoiseSensorsNoiseThresholds;
|
|
4891
4912
|
|
|
4892
4913
|
// src/lib/seam/connect/routes/noise-sensors/simulate/simulate.ts
|
|
4893
|
-
var
|
|
4914
|
+
var SeamHttpNoiseSensorsSimulate = class _SeamHttpNoiseSensorsSimulate {
|
|
4915
|
+
client;
|
|
4916
|
+
defaults;
|
|
4917
|
+
ltsVersion = seamApiLtsVersion;
|
|
4918
|
+
static ltsVersion = seamApiLtsVersion;
|
|
4894
4919
|
constructor(apiKeyOrOptions = {}) {
|
|
4895
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
4896
4920
|
const options = parseOptions(apiKeyOrOptions);
|
|
4897
4921
|
this.client = "client" in options ? options.client : createClient(options);
|
|
4898
4922
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -4980,13 +5004,14 @@ var _SeamHttpNoiseSensorsSimulate = class _SeamHttpNoiseSensorsSimulate {
|
|
|
4980
5004
|
});
|
|
4981
5005
|
}
|
|
4982
5006
|
};
|
|
4983
|
-
_SeamHttpNoiseSensorsSimulate.ltsVersion = seamApiLtsVersion;
|
|
4984
|
-
var SeamHttpNoiseSensorsSimulate = _SeamHttpNoiseSensorsSimulate;
|
|
4985
5007
|
|
|
4986
5008
|
// src/lib/seam/connect/routes/noise-sensors/noise-sensors.ts
|
|
4987
|
-
var
|
|
5009
|
+
var SeamHttpNoiseSensors = class _SeamHttpNoiseSensors {
|
|
5010
|
+
client;
|
|
5011
|
+
defaults;
|
|
5012
|
+
ltsVersion = seamApiLtsVersion;
|
|
5013
|
+
static ltsVersion = seamApiLtsVersion;
|
|
4988
5014
|
constructor(apiKeyOrOptions = {}) {
|
|
4989
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
4990
5015
|
const options = parseOptions(apiKeyOrOptions);
|
|
4991
5016
|
this.client = "client" in options ? options.client : createClient(options);
|
|
4992
5017
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -5083,13 +5108,14 @@ var _SeamHttpNoiseSensors = class _SeamHttpNoiseSensors {
|
|
|
5083
5108
|
});
|
|
5084
5109
|
}
|
|
5085
5110
|
};
|
|
5086
|
-
_SeamHttpNoiseSensors.ltsVersion = seamApiLtsVersion;
|
|
5087
|
-
var SeamHttpNoiseSensors = _SeamHttpNoiseSensors;
|
|
5088
5111
|
|
|
5089
5112
|
// src/lib/seam/connect/routes/phones/simulate/simulate.ts
|
|
5090
|
-
var
|
|
5113
|
+
var SeamHttpPhonesSimulate = class _SeamHttpPhonesSimulate {
|
|
5114
|
+
client;
|
|
5115
|
+
defaults;
|
|
5116
|
+
ltsVersion = seamApiLtsVersion;
|
|
5117
|
+
static ltsVersion = seamApiLtsVersion;
|
|
5091
5118
|
constructor(apiKeyOrOptions = {}) {
|
|
5092
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
5093
5119
|
const options = parseOptions(apiKeyOrOptions);
|
|
5094
5120
|
this.client = "client" in options ? options.client : createClient(options);
|
|
5095
5121
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -5177,13 +5203,14 @@ var _SeamHttpPhonesSimulate = class _SeamHttpPhonesSimulate {
|
|
|
5177
5203
|
});
|
|
5178
5204
|
}
|
|
5179
5205
|
};
|
|
5180
|
-
_SeamHttpPhonesSimulate.ltsVersion = seamApiLtsVersion;
|
|
5181
|
-
var SeamHttpPhonesSimulate = _SeamHttpPhonesSimulate;
|
|
5182
5206
|
|
|
5183
5207
|
// src/lib/seam/connect/routes/phones/phones.ts
|
|
5184
|
-
var
|
|
5208
|
+
var SeamHttpPhones = class _SeamHttpPhones {
|
|
5209
|
+
client;
|
|
5210
|
+
defaults;
|
|
5211
|
+
ltsVersion = seamApiLtsVersion;
|
|
5212
|
+
static ltsVersion = seamApiLtsVersion;
|
|
5185
5213
|
constructor(apiKeyOrOptions = {}) {
|
|
5186
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
5187
5214
|
const options = parseOptions(apiKeyOrOptions);
|
|
5188
5215
|
this.client = "client" in options ? options.client : createClient(options);
|
|
5189
5216
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -5292,13 +5319,14 @@ var _SeamHttpPhones = class _SeamHttpPhones {
|
|
|
5292
5319
|
});
|
|
5293
5320
|
}
|
|
5294
5321
|
};
|
|
5295
|
-
_SeamHttpPhones.ltsVersion = seamApiLtsVersion;
|
|
5296
|
-
var SeamHttpPhones = _SeamHttpPhones;
|
|
5297
5322
|
|
|
5298
5323
|
// src/lib/seam/connect/routes/seam/console/v1/timelines/timelines.ts
|
|
5299
|
-
var
|
|
5324
|
+
var SeamHttpSeamConsoleV1Timelines = class _SeamHttpSeamConsoleV1Timelines {
|
|
5325
|
+
client;
|
|
5326
|
+
defaults;
|
|
5327
|
+
ltsVersion = seamApiLtsVersion;
|
|
5328
|
+
static ltsVersion = seamApiLtsVersion;
|
|
5300
5329
|
constructor(apiKeyOrOptions = {}) {
|
|
5301
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
5302
5330
|
const options = parseOptions(apiKeyOrOptions);
|
|
5303
5331
|
if (!options.isUndocumentedApiEnabled) {
|
|
5304
5332
|
throw new Error(
|
|
@@ -5396,13 +5424,14 @@ var _SeamHttpSeamConsoleV1Timelines = class _SeamHttpSeamConsoleV1Timelines {
|
|
|
5396
5424
|
});
|
|
5397
5425
|
}
|
|
5398
5426
|
};
|
|
5399
|
-
_SeamHttpSeamConsoleV1Timelines.ltsVersion = seamApiLtsVersion;
|
|
5400
|
-
var SeamHttpSeamConsoleV1Timelines = _SeamHttpSeamConsoleV1Timelines;
|
|
5401
5427
|
|
|
5402
5428
|
// src/lib/seam/connect/routes/seam/console/v1/v1.ts
|
|
5403
|
-
var
|
|
5429
|
+
var SeamHttpSeamConsoleV1 = class _SeamHttpSeamConsoleV1 {
|
|
5430
|
+
client;
|
|
5431
|
+
defaults;
|
|
5432
|
+
ltsVersion = seamApiLtsVersion;
|
|
5433
|
+
static ltsVersion = seamApiLtsVersion;
|
|
5404
5434
|
constructor(apiKeyOrOptions = {}) {
|
|
5405
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
5406
5435
|
const options = parseOptions(apiKeyOrOptions);
|
|
5407
5436
|
if (!options.isUndocumentedApiEnabled) {
|
|
5408
5437
|
throw new Error(
|
|
@@ -5503,13 +5532,14 @@ var _SeamHttpSeamConsoleV1 = class _SeamHttpSeamConsoleV1 {
|
|
|
5503
5532
|
});
|
|
5504
5533
|
}
|
|
5505
5534
|
};
|
|
5506
|
-
_SeamHttpSeamConsoleV1.ltsVersion = seamApiLtsVersion;
|
|
5507
|
-
var SeamHttpSeamConsoleV1 = _SeamHttpSeamConsoleV1;
|
|
5508
5535
|
|
|
5509
5536
|
// src/lib/seam/connect/routes/seam/console/console.ts
|
|
5510
|
-
var
|
|
5537
|
+
var SeamHttpSeamConsole = class _SeamHttpSeamConsole {
|
|
5538
|
+
client;
|
|
5539
|
+
defaults;
|
|
5540
|
+
ltsVersion = seamApiLtsVersion;
|
|
5541
|
+
static ltsVersion = seamApiLtsVersion;
|
|
5511
5542
|
constructor(apiKeyOrOptions = {}) {
|
|
5512
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
5513
5543
|
const options = parseOptions(apiKeyOrOptions);
|
|
5514
5544
|
if (!options.isUndocumentedApiEnabled) {
|
|
5515
5545
|
throw new Error(
|
|
@@ -5596,13 +5626,14 @@ var _SeamHttpSeamConsole = class _SeamHttpSeamConsole {
|
|
|
5596
5626
|
return SeamHttpSeamConsoleV1.fromClient(this.client, this.defaults);
|
|
5597
5627
|
}
|
|
5598
5628
|
};
|
|
5599
|
-
_SeamHttpSeamConsole.ltsVersion = seamApiLtsVersion;
|
|
5600
|
-
var SeamHttpSeamConsole = _SeamHttpSeamConsole;
|
|
5601
5629
|
|
|
5602
5630
|
// src/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.ts
|
|
5603
|
-
var
|
|
5631
|
+
var SeamHttpSeamCustomerV1AutomationRuns = class _SeamHttpSeamCustomerV1AutomationRuns {
|
|
5632
|
+
client;
|
|
5633
|
+
defaults;
|
|
5634
|
+
ltsVersion = seamApiLtsVersion;
|
|
5635
|
+
static ltsVersion = seamApiLtsVersion;
|
|
5604
5636
|
constructor(apiKeyOrOptions = {}) {
|
|
5605
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
5606
5637
|
const options = parseOptions(apiKeyOrOptions);
|
|
5607
5638
|
if (!options.isUndocumentedApiEnabled) {
|
|
5608
5639
|
throw new Error(
|
|
@@ -5703,13 +5734,14 @@ var _SeamHttpSeamCustomerV1AutomationRuns = class _SeamHttpSeamCustomerV1Automat
|
|
|
5703
5734
|
});
|
|
5704
5735
|
}
|
|
5705
5736
|
};
|
|
5706
|
-
_SeamHttpSeamCustomerV1AutomationRuns.ltsVersion = seamApiLtsVersion;
|
|
5707
|
-
var SeamHttpSeamCustomerV1AutomationRuns = _SeamHttpSeamCustomerV1AutomationRuns;
|
|
5708
5737
|
|
|
5709
5738
|
// src/lib/seam/connect/routes/seam/customer/v1/automations/automations.ts
|
|
5710
|
-
var
|
|
5739
|
+
var SeamHttpSeamCustomerV1Automations = class _SeamHttpSeamCustomerV1Automations {
|
|
5740
|
+
client;
|
|
5741
|
+
defaults;
|
|
5742
|
+
ltsVersion = seamApiLtsVersion;
|
|
5743
|
+
static ltsVersion = seamApiLtsVersion;
|
|
5711
5744
|
constructor(apiKeyOrOptions = {}) {
|
|
5712
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
5713
5745
|
const options = parseOptions(apiKeyOrOptions);
|
|
5714
5746
|
if (!options.isUndocumentedApiEnabled) {
|
|
5715
5747
|
throw new Error(
|
|
@@ -5838,13 +5870,14 @@ var _SeamHttpSeamCustomerV1Automations = class _SeamHttpSeamCustomerV1Automation
|
|
|
5838
5870
|
});
|
|
5839
5871
|
}
|
|
5840
5872
|
};
|
|
5841
|
-
_SeamHttpSeamCustomerV1Automations.ltsVersion = seamApiLtsVersion;
|
|
5842
|
-
var SeamHttpSeamCustomerV1Automations = _SeamHttpSeamCustomerV1Automations;
|
|
5843
5873
|
|
|
5844
5874
|
// src/lib/seam/connect/routes/seam/customer/v1/events/events.ts
|
|
5845
|
-
var
|
|
5875
|
+
var SeamHttpSeamCustomerV1Events = class _SeamHttpSeamCustomerV1Events {
|
|
5876
|
+
client;
|
|
5877
|
+
defaults;
|
|
5878
|
+
ltsVersion = seamApiLtsVersion;
|
|
5879
|
+
static ltsVersion = seamApiLtsVersion;
|
|
5846
5880
|
constructor(apiKeyOrOptions = {}) {
|
|
5847
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
5848
5881
|
const options = parseOptions(apiKeyOrOptions);
|
|
5849
5882
|
if (!options.isUndocumentedApiEnabled) {
|
|
5850
5883
|
throw new Error(
|
|
@@ -5942,13 +5975,14 @@ var _SeamHttpSeamCustomerV1Events = class _SeamHttpSeamCustomerV1Events {
|
|
|
5942
5975
|
});
|
|
5943
5976
|
}
|
|
5944
5977
|
};
|
|
5945
|
-
_SeamHttpSeamCustomerV1Events.ltsVersion = seamApiLtsVersion;
|
|
5946
|
-
var SeamHttpSeamCustomerV1Events = _SeamHttpSeamCustomerV1Events;
|
|
5947
5978
|
|
|
5948
5979
|
// src/lib/seam/connect/routes/seam/customer/v1/portals/portals.ts
|
|
5949
|
-
var
|
|
5980
|
+
var SeamHttpSeamCustomerV1Portals = class _SeamHttpSeamCustomerV1Portals {
|
|
5981
|
+
client;
|
|
5982
|
+
defaults;
|
|
5983
|
+
ltsVersion = seamApiLtsVersion;
|
|
5984
|
+
static ltsVersion = seamApiLtsVersion;
|
|
5950
5985
|
constructor(apiKeyOrOptions = {}) {
|
|
5951
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
5952
5986
|
const options = parseOptions(apiKeyOrOptions);
|
|
5953
5987
|
if (!options.isUndocumentedApiEnabled) {
|
|
5954
5988
|
throw new Error(
|
|
@@ -6046,13 +6080,122 @@ var _SeamHttpSeamCustomerV1Portals = class _SeamHttpSeamCustomerV1Portals {
|
|
|
6046
6080
|
});
|
|
6047
6081
|
}
|
|
6048
6082
|
};
|
|
6049
|
-
|
|
6050
|
-
|
|
6083
|
+
|
|
6084
|
+
// src/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.ts
|
|
6085
|
+
var SeamHttpSeamCustomerV1Reservations = class _SeamHttpSeamCustomerV1Reservations {
|
|
6086
|
+
client;
|
|
6087
|
+
defaults;
|
|
6088
|
+
ltsVersion = seamApiLtsVersion;
|
|
6089
|
+
static ltsVersion = seamApiLtsVersion;
|
|
6090
|
+
constructor(apiKeyOrOptions = {}) {
|
|
6091
|
+
const options = parseOptions(apiKeyOrOptions);
|
|
6092
|
+
if (!options.isUndocumentedApiEnabled) {
|
|
6093
|
+
throw new Error(
|
|
6094
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6095
|
+
);
|
|
6096
|
+
}
|
|
6097
|
+
this.client = "client" in options ? options.client : createClient(options);
|
|
6098
|
+
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
6099
|
+
}
|
|
6100
|
+
static fromClient(client, options = {}) {
|
|
6101
|
+
const constructorOptions = { ...options, client };
|
|
6102
|
+
if (!isSeamHttpOptionsWithClient(constructorOptions)) {
|
|
6103
|
+
throw new SeamHttpInvalidOptionsError("Missing client");
|
|
6104
|
+
}
|
|
6105
|
+
return new _SeamHttpSeamCustomerV1Reservations(constructorOptions);
|
|
6106
|
+
}
|
|
6107
|
+
static fromApiKey(apiKey, options = {}) {
|
|
6108
|
+
const constructorOptions = { ...options, apiKey };
|
|
6109
|
+
if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
|
|
6110
|
+
throw new SeamHttpInvalidOptionsError("Missing apiKey");
|
|
6111
|
+
}
|
|
6112
|
+
return new _SeamHttpSeamCustomerV1Reservations(constructorOptions);
|
|
6113
|
+
}
|
|
6114
|
+
static fromClientSessionToken(clientSessionToken, options = {}) {
|
|
6115
|
+
const constructorOptions = { ...options, clientSessionToken };
|
|
6116
|
+
if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
|
|
6117
|
+
throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
|
|
6118
|
+
}
|
|
6119
|
+
return new _SeamHttpSeamCustomerV1Reservations(constructorOptions);
|
|
6120
|
+
}
|
|
6121
|
+
static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
|
|
6122
|
+
warnOnInsecureuserIdentifierKey(userIdentifierKey);
|
|
6123
|
+
const clientOptions = parseOptions({ ...options, publishableKey });
|
|
6124
|
+
if (isSeamHttpOptionsWithClient(clientOptions)) {
|
|
6125
|
+
throw new SeamHttpInvalidOptionsError(
|
|
6126
|
+
"The client option cannot be used with SeamHttpSeamCustomerV1Reservations.fromPublishableKey"
|
|
6127
|
+
);
|
|
6128
|
+
}
|
|
6129
|
+
const client = createClient(clientOptions);
|
|
6130
|
+
const clientSessions = SeamHttpClientSessions.fromClient(client);
|
|
6131
|
+
const { token } = await clientSessions.getOrCreate({
|
|
6132
|
+
user_identifier_key: userIdentifierKey
|
|
6133
|
+
});
|
|
6134
|
+
return _SeamHttpSeamCustomerV1Reservations.fromClientSessionToken(
|
|
6135
|
+
token,
|
|
6136
|
+
options
|
|
6137
|
+
);
|
|
6138
|
+
}
|
|
6139
|
+
static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
|
|
6140
|
+
const constructorOptions = { ...options, consoleSessionToken, workspaceId };
|
|
6141
|
+
if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
|
|
6142
|
+
throw new SeamHttpInvalidOptionsError(
|
|
6143
|
+
"Missing consoleSessionToken or workspaceId"
|
|
6144
|
+
);
|
|
6145
|
+
}
|
|
6146
|
+
return new _SeamHttpSeamCustomerV1Reservations(constructorOptions);
|
|
6147
|
+
}
|
|
6148
|
+
static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
|
|
6149
|
+
const constructorOptions = { ...options, personalAccessToken, workspaceId };
|
|
6150
|
+
if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
|
|
6151
|
+
throw new SeamHttpInvalidOptionsError(
|
|
6152
|
+
"Missing personalAccessToken or workspaceId"
|
|
6153
|
+
);
|
|
6154
|
+
}
|
|
6155
|
+
return new _SeamHttpSeamCustomerV1Reservations(constructorOptions);
|
|
6156
|
+
}
|
|
6157
|
+
createPaginator(request) {
|
|
6158
|
+
return new SeamPaginator(this, request);
|
|
6159
|
+
}
|
|
6160
|
+
async updateClientSessionToken(clientSessionToken) {
|
|
6161
|
+
const { headers } = this.client.defaults;
|
|
6162
|
+
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
6163
|
+
clientSessionToken
|
|
6164
|
+
});
|
|
6165
|
+
for (const key of Object.keys(authHeaders)) {
|
|
6166
|
+
if (headers[key] == null) {
|
|
6167
|
+
throw new Error(
|
|
6168
|
+
"Cannot update a clientSessionToken on a client created without a clientSessionToken"
|
|
6169
|
+
);
|
|
6170
|
+
}
|
|
6171
|
+
}
|
|
6172
|
+
this.client.defaults.headers = { ...headers, ...authHeaders };
|
|
6173
|
+
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
6174
|
+
await clientSessions.get();
|
|
6175
|
+
}
|
|
6176
|
+
list(parameters, options = {}) {
|
|
6177
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
6178
|
+
throw new Error(
|
|
6179
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6180
|
+
);
|
|
6181
|
+
}
|
|
6182
|
+
return new SeamHttpRequest(this, {
|
|
6183
|
+
pathname: "/seam/customer/v1/reservations/list",
|
|
6184
|
+
method: "POST",
|
|
6185
|
+
body: parameters,
|
|
6186
|
+
responseKey: "reservations",
|
|
6187
|
+
options
|
|
6188
|
+
});
|
|
6189
|
+
}
|
|
6190
|
+
};
|
|
6051
6191
|
|
|
6052
6192
|
// src/lib/seam/connect/routes/seam/customer/v1/settings/settings.ts
|
|
6053
|
-
var
|
|
6193
|
+
var SeamHttpSeamCustomerV1Settings = class _SeamHttpSeamCustomerV1Settings {
|
|
6194
|
+
client;
|
|
6195
|
+
defaults;
|
|
6196
|
+
ltsVersion = seamApiLtsVersion;
|
|
6197
|
+
static ltsVersion = seamApiLtsVersion;
|
|
6054
6198
|
constructor(apiKeyOrOptions = {}) {
|
|
6055
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
6056
6199
|
const options = parseOptions(apiKeyOrOptions);
|
|
6057
6200
|
if (!options.isUndocumentedApiEnabled) {
|
|
6058
6201
|
throw new Error(
|
|
@@ -6164,13 +6307,14 @@ var _SeamHttpSeamCustomerV1Settings = class _SeamHttpSeamCustomerV1Settings {
|
|
|
6164
6307
|
});
|
|
6165
6308
|
}
|
|
6166
6309
|
};
|
|
6167
|
-
_SeamHttpSeamCustomerV1Settings.ltsVersion = seamApiLtsVersion;
|
|
6168
|
-
var SeamHttpSeamCustomerV1Settings = _SeamHttpSeamCustomerV1Settings;
|
|
6169
6310
|
|
|
6170
6311
|
// src/lib/seam/connect/routes/seam/customer/v1/v1.ts
|
|
6171
|
-
var
|
|
6312
|
+
var SeamHttpSeamCustomerV1 = class _SeamHttpSeamCustomerV1 {
|
|
6313
|
+
client;
|
|
6314
|
+
defaults;
|
|
6315
|
+
ltsVersion = seamApiLtsVersion;
|
|
6316
|
+
static ltsVersion = seamApiLtsVersion;
|
|
6172
6317
|
constructor(apiKeyOrOptions = {}) {
|
|
6173
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
6174
6318
|
const options = parseOptions(apiKeyOrOptions);
|
|
6175
6319
|
if (!options.isUndocumentedApiEnabled) {
|
|
6176
6320
|
throw new Error(
|
|
@@ -6271,17 +6415,24 @@ var _SeamHttpSeamCustomerV1 = class _SeamHttpSeamCustomerV1 {
|
|
|
6271
6415
|
get portals() {
|
|
6272
6416
|
return SeamHttpSeamCustomerV1Portals.fromClient(this.client, this.defaults);
|
|
6273
6417
|
}
|
|
6418
|
+
get reservations() {
|
|
6419
|
+
return SeamHttpSeamCustomerV1Reservations.fromClient(
|
|
6420
|
+
this.client,
|
|
6421
|
+
this.defaults
|
|
6422
|
+
);
|
|
6423
|
+
}
|
|
6274
6424
|
get settings() {
|
|
6275
6425
|
return SeamHttpSeamCustomerV1Settings.fromClient(this.client, this.defaults);
|
|
6276
6426
|
}
|
|
6277
6427
|
};
|
|
6278
|
-
_SeamHttpSeamCustomerV1.ltsVersion = seamApiLtsVersion;
|
|
6279
|
-
var SeamHttpSeamCustomerV1 = _SeamHttpSeamCustomerV1;
|
|
6280
6428
|
|
|
6281
6429
|
// src/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.ts
|
|
6282
|
-
var
|
|
6430
|
+
var SeamHttpSeamPartnerV1BuildingBlocksSpaces = class _SeamHttpSeamPartnerV1BuildingBlocksSpaces {
|
|
6431
|
+
client;
|
|
6432
|
+
defaults;
|
|
6433
|
+
ltsVersion = seamApiLtsVersion;
|
|
6434
|
+
static ltsVersion = seamApiLtsVersion;
|
|
6283
6435
|
constructor(apiKeyOrOptions = {}) {
|
|
6284
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
6285
6436
|
const options = parseOptions(apiKeyOrOptions);
|
|
6286
6437
|
if (!options.isUndocumentedApiEnabled) {
|
|
6287
6438
|
throw new Error(
|
|
@@ -6382,13 +6533,14 @@ var _SeamHttpSeamPartnerV1BuildingBlocksSpaces = class _SeamHttpSeamPartnerV1Bui
|
|
|
6382
6533
|
});
|
|
6383
6534
|
}
|
|
6384
6535
|
};
|
|
6385
|
-
_SeamHttpSeamPartnerV1BuildingBlocksSpaces.ltsVersion = seamApiLtsVersion;
|
|
6386
|
-
var SeamHttpSeamPartnerV1BuildingBlocksSpaces = _SeamHttpSeamPartnerV1BuildingBlocksSpaces;
|
|
6387
6536
|
|
|
6388
6537
|
// src/lib/seam/connect/routes/seam/partner/v1/building-blocks/building-blocks.ts
|
|
6389
|
-
var
|
|
6538
|
+
var SeamHttpSeamPartnerV1BuildingBlocks = class _SeamHttpSeamPartnerV1BuildingBlocks {
|
|
6539
|
+
client;
|
|
6540
|
+
defaults;
|
|
6541
|
+
ltsVersion = seamApiLtsVersion;
|
|
6542
|
+
static ltsVersion = seamApiLtsVersion;
|
|
6390
6543
|
constructor(apiKeyOrOptions = {}) {
|
|
6391
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
6392
6544
|
const options = parseOptions(apiKeyOrOptions);
|
|
6393
6545
|
if (!options.isUndocumentedApiEnabled) {
|
|
6394
6546
|
throw new Error(
|
|
@@ -6481,13 +6633,14 @@ var _SeamHttpSeamPartnerV1BuildingBlocks = class _SeamHttpSeamPartnerV1BuildingB
|
|
|
6481
6633
|
);
|
|
6482
6634
|
}
|
|
6483
6635
|
};
|
|
6484
|
-
_SeamHttpSeamPartnerV1BuildingBlocks.ltsVersion = seamApiLtsVersion;
|
|
6485
|
-
var SeamHttpSeamPartnerV1BuildingBlocks = _SeamHttpSeamPartnerV1BuildingBlocks;
|
|
6486
6636
|
|
|
6487
6637
|
// src/lib/seam/connect/routes/spaces/spaces.ts
|
|
6488
|
-
var
|
|
6638
|
+
var SeamHttpSpaces = class _SeamHttpSpaces {
|
|
6639
|
+
client;
|
|
6640
|
+
defaults;
|
|
6641
|
+
ltsVersion = seamApiLtsVersion;
|
|
6642
|
+
static ltsVersion = seamApiLtsVersion;
|
|
6489
6643
|
constructor(apiKeyOrOptions = {}) {
|
|
6490
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
6491
6644
|
const options = parseOptions(apiKeyOrOptions);
|
|
6492
6645
|
this.client = "client" in options ? options.client : createClient(options);
|
|
6493
6646
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -6656,13 +6809,14 @@ var _SeamHttpSpaces = class _SeamHttpSpaces {
|
|
|
6656
6809
|
});
|
|
6657
6810
|
}
|
|
6658
6811
|
};
|
|
6659
|
-
_SeamHttpSpaces.ltsVersion = seamApiLtsVersion;
|
|
6660
|
-
var SeamHttpSpaces = _SeamHttpSpaces;
|
|
6661
6812
|
|
|
6662
6813
|
// src/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.ts
|
|
6663
|
-
var
|
|
6814
|
+
var SeamHttpThermostatsDailyPrograms = class _SeamHttpThermostatsDailyPrograms {
|
|
6815
|
+
client;
|
|
6816
|
+
defaults;
|
|
6817
|
+
ltsVersion = seamApiLtsVersion;
|
|
6818
|
+
static ltsVersion = seamApiLtsVersion;
|
|
6664
6819
|
constructor(apiKeyOrOptions = {}) {
|
|
6665
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
6666
6820
|
const options = parseOptions(apiKeyOrOptions);
|
|
6667
6821
|
this.client = "client" in options ? options.client : createClient(options);
|
|
6668
6822
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -6771,13 +6925,14 @@ var _SeamHttpThermostatsDailyPrograms = class _SeamHttpThermostatsDailyPrograms
|
|
|
6771
6925
|
});
|
|
6772
6926
|
}
|
|
6773
6927
|
};
|
|
6774
|
-
_SeamHttpThermostatsDailyPrograms.ltsVersion = seamApiLtsVersion;
|
|
6775
|
-
var SeamHttpThermostatsDailyPrograms = _SeamHttpThermostatsDailyPrograms;
|
|
6776
6928
|
|
|
6777
6929
|
// src/lib/seam/connect/routes/thermostats/schedules/schedules.ts
|
|
6778
|
-
var
|
|
6930
|
+
var SeamHttpThermostatsSchedules = class _SeamHttpThermostatsSchedules {
|
|
6931
|
+
client;
|
|
6932
|
+
defaults;
|
|
6933
|
+
ltsVersion = seamApiLtsVersion;
|
|
6934
|
+
static ltsVersion = seamApiLtsVersion;
|
|
6779
6935
|
constructor(apiKeyOrOptions = {}) {
|
|
6780
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
6781
6936
|
const options = parseOptions(apiKeyOrOptions);
|
|
6782
6937
|
this.client = "client" in options ? options.client : createClient(options);
|
|
6783
6938
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -6901,13 +7056,14 @@ var _SeamHttpThermostatsSchedules = class _SeamHttpThermostatsSchedules {
|
|
|
6901
7056
|
});
|
|
6902
7057
|
}
|
|
6903
7058
|
};
|
|
6904
|
-
_SeamHttpThermostatsSchedules.ltsVersion = seamApiLtsVersion;
|
|
6905
|
-
var SeamHttpThermostatsSchedules = _SeamHttpThermostatsSchedules;
|
|
6906
7059
|
|
|
6907
7060
|
// src/lib/seam/connect/routes/thermostats/simulate/simulate.ts
|
|
6908
|
-
var
|
|
7061
|
+
var SeamHttpThermostatsSimulate = class _SeamHttpThermostatsSimulate {
|
|
7062
|
+
client;
|
|
7063
|
+
defaults;
|
|
7064
|
+
ltsVersion = seamApiLtsVersion;
|
|
7065
|
+
static ltsVersion = seamApiLtsVersion;
|
|
6909
7066
|
constructor(apiKeyOrOptions = {}) {
|
|
6910
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
6911
7067
|
const options = parseOptions(apiKeyOrOptions);
|
|
6912
7068
|
this.client = "client" in options ? options.client : createClient(options);
|
|
6913
7069
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -7004,13 +7160,14 @@ var _SeamHttpThermostatsSimulate = class _SeamHttpThermostatsSimulate {
|
|
|
7004
7160
|
});
|
|
7005
7161
|
}
|
|
7006
7162
|
};
|
|
7007
|
-
_SeamHttpThermostatsSimulate.ltsVersion = seamApiLtsVersion;
|
|
7008
|
-
var SeamHttpThermostatsSimulate = _SeamHttpThermostatsSimulate;
|
|
7009
7163
|
|
|
7010
7164
|
// src/lib/seam/connect/routes/thermostats/thermostats.ts
|
|
7011
|
-
var
|
|
7165
|
+
var SeamHttpThermostats = class _SeamHttpThermostats {
|
|
7166
|
+
client;
|
|
7167
|
+
defaults;
|
|
7168
|
+
ltsVersion = seamApiLtsVersion;
|
|
7169
|
+
static ltsVersion = seamApiLtsVersion;
|
|
7012
7170
|
constructor(apiKeyOrOptions = {}) {
|
|
7013
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
7014
7171
|
const options = parseOptions(apiKeyOrOptions);
|
|
7015
7172
|
this.client = "client" in options ? options.client : createClient(options);
|
|
7016
7173
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -7241,13 +7398,14 @@ var _SeamHttpThermostats = class _SeamHttpThermostats {
|
|
|
7241
7398
|
});
|
|
7242
7399
|
}
|
|
7243
7400
|
};
|
|
7244
|
-
_SeamHttpThermostats.ltsVersion = seamApiLtsVersion;
|
|
7245
|
-
var SeamHttpThermostats = _SeamHttpThermostats;
|
|
7246
7401
|
|
|
7247
7402
|
// src/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.ts
|
|
7248
|
-
var
|
|
7403
|
+
var SeamHttpUnstablePartnerBuildingBlocks = class _SeamHttpUnstablePartnerBuildingBlocks {
|
|
7404
|
+
client;
|
|
7405
|
+
defaults;
|
|
7406
|
+
ltsVersion = seamApiLtsVersion;
|
|
7407
|
+
static ltsVersion = seamApiLtsVersion;
|
|
7249
7408
|
constructor(apiKeyOrOptions = {}) {
|
|
7250
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
7251
7409
|
const options = parseOptions(apiKeyOrOptions);
|
|
7252
7410
|
if (!options.isUndocumentedApiEnabled) {
|
|
7253
7411
|
throw new Error(
|
|
@@ -7390,13 +7548,14 @@ var _SeamHttpUnstablePartnerBuildingBlocks = class _SeamHttpUnstablePartnerBuild
|
|
|
7390
7548
|
});
|
|
7391
7549
|
}
|
|
7392
7550
|
};
|
|
7393
|
-
_SeamHttpUnstablePartnerBuildingBlocks.ltsVersion = seamApiLtsVersion;
|
|
7394
|
-
var SeamHttpUnstablePartnerBuildingBlocks = _SeamHttpUnstablePartnerBuildingBlocks;
|
|
7395
7551
|
|
|
7396
7552
|
// src/lib/seam/connect/routes/unstable-partner/unstable-partner.ts
|
|
7397
|
-
var
|
|
7553
|
+
var SeamHttpUnstablePartner = class _SeamHttpUnstablePartner {
|
|
7554
|
+
client;
|
|
7555
|
+
defaults;
|
|
7556
|
+
ltsVersion = seamApiLtsVersion;
|
|
7557
|
+
static ltsVersion = seamApiLtsVersion;
|
|
7398
7558
|
constructor(apiKeyOrOptions = {}) {
|
|
7399
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
7400
7559
|
const options = parseOptions(apiKeyOrOptions);
|
|
7401
7560
|
if (!options.isUndocumentedApiEnabled) {
|
|
7402
7561
|
throw new Error(
|
|
@@ -7486,13 +7645,14 @@ var _SeamHttpUnstablePartner = class _SeamHttpUnstablePartner {
|
|
|
7486
7645
|
);
|
|
7487
7646
|
}
|
|
7488
7647
|
};
|
|
7489
|
-
_SeamHttpUnstablePartner.ltsVersion = seamApiLtsVersion;
|
|
7490
|
-
var SeamHttpUnstablePartner = _SeamHttpUnstablePartner;
|
|
7491
7648
|
|
|
7492
7649
|
// src/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.ts
|
|
7493
|
-
var
|
|
7650
|
+
var SeamHttpUserIdentitiesEnrollmentAutomations = class _SeamHttpUserIdentitiesEnrollmentAutomations {
|
|
7651
|
+
client;
|
|
7652
|
+
defaults;
|
|
7653
|
+
ltsVersion = seamApiLtsVersion;
|
|
7654
|
+
static ltsVersion = seamApiLtsVersion;
|
|
7494
7655
|
constructor(apiKeyOrOptions = {}) {
|
|
7495
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
7496
7656
|
const options = parseOptions(apiKeyOrOptions);
|
|
7497
7657
|
if (!options.isUndocumentedApiEnabled) {
|
|
7498
7658
|
throw new Error(
|
|
@@ -7635,13 +7795,14 @@ var _SeamHttpUserIdentitiesEnrollmentAutomations = class _SeamHttpUserIdentities
|
|
|
7635
7795
|
});
|
|
7636
7796
|
}
|
|
7637
7797
|
};
|
|
7638
|
-
_SeamHttpUserIdentitiesEnrollmentAutomations.ltsVersion = seamApiLtsVersion;
|
|
7639
|
-
var SeamHttpUserIdentitiesEnrollmentAutomations = _SeamHttpUserIdentitiesEnrollmentAutomations;
|
|
7640
7798
|
|
|
7641
7799
|
// src/lib/seam/connect/routes/user-identities/user-identities.ts
|
|
7642
|
-
var
|
|
7800
|
+
var SeamHttpUserIdentities = class _SeamHttpUserIdentities {
|
|
7801
|
+
client;
|
|
7802
|
+
defaults;
|
|
7803
|
+
ltsVersion = seamApiLtsVersion;
|
|
7804
|
+
static ltsVersion = seamApiLtsVersion;
|
|
7643
7805
|
constructor(apiKeyOrOptions = {}) {
|
|
7644
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
7645
7806
|
const options = parseOptions(apiKeyOrOptions);
|
|
7646
7807
|
this.client = "client" in options ? options.client : createClient(options);
|
|
7647
7808
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -7843,13 +8004,14 @@ var _SeamHttpUserIdentities = class _SeamHttpUserIdentities {
|
|
|
7843
8004
|
});
|
|
7844
8005
|
}
|
|
7845
8006
|
};
|
|
7846
|
-
_SeamHttpUserIdentities.ltsVersion = seamApiLtsVersion;
|
|
7847
|
-
var SeamHttpUserIdentities = _SeamHttpUserIdentities;
|
|
7848
8007
|
|
|
7849
8008
|
// src/lib/seam/connect/routes/webhooks/webhooks.ts
|
|
7850
|
-
var
|
|
8009
|
+
var SeamHttpWebhooks = class _SeamHttpWebhooks {
|
|
8010
|
+
client;
|
|
8011
|
+
defaults;
|
|
8012
|
+
ltsVersion = seamApiLtsVersion;
|
|
8013
|
+
static ltsVersion = seamApiLtsVersion;
|
|
7851
8014
|
constructor(apiKeyOrOptions = {}) {
|
|
7852
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
7853
8015
|
const options = parseOptions(apiKeyOrOptions);
|
|
7854
8016
|
this.client = "client" in options ? options.client : createClient(options);
|
|
7855
8017
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -7973,13 +8135,14 @@ var _SeamHttpWebhooks = class _SeamHttpWebhooks {
|
|
|
7973
8135
|
});
|
|
7974
8136
|
}
|
|
7975
8137
|
};
|
|
7976
|
-
_SeamHttpWebhooks.ltsVersion = seamApiLtsVersion;
|
|
7977
|
-
var SeamHttpWebhooks = _SeamHttpWebhooks;
|
|
7978
8138
|
|
|
7979
8139
|
// src/lib/seam/connect/routes/workspaces/customization-profiles/customization-profiles.ts
|
|
7980
|
-
var
|
|
8140
|
+
var SeamHttpWorkspacesCustomizationProfiles = class _SeamHttpWorkspacesCustomizationProfiles {
|
|
8141
|
+
client;
|
|
8142
|
+
defaults;
|
|
8143
|
+
ltsVersion = seamApiLtsVersion;
|
|
8144
|
+
static ltsVersion = seamApiLtsVersion;
|
|
7981
8145
|
constructor(apiKeyOrOptions = {}) {
|
|
7982
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
7983
8146
|
const options = parseOptions(apiKeyOrOptions);
|
|
7984
8147
|
if (!options.isUndocumentedApiEnabled) {
|
|
7985
8148
|
throw new Error(
|
|
@@ -8136,13 +8299,14 @@ var _SeamHttpWorkspacesCustomizationProfiles = class _SeamHttpWorkspacesCustomiz
|
|
|
8136
8299
|
});
|
|
8137
8300
|
}
|
|
8138
8301
|
};
|
|
8139
|
-
_SeamHttpWorkspacesCustomizationProfiles.ltsVersion = seamApiLtsVersion;
|
|
8140
|
-
var SeamHttpWorkspacesCustomizationProfiles = _SeamHttpWorkspacesCustomizationProfiles;
|
|
8141
8302
|
|
|
8142
8303
|
// src/lib/seam/connect/routes/workspaces/workspaces.ts
|
|
8143
|
-
var
|
|
8304
|
+
var SeamHttpWorkspaces = class _SeamHttpWorkspaces {
|
|
8305
|
+
client;
|
|
8306
|
+
defaults;
|
|
8307
|
+
ltsVersion = seamApiLtsVersion;
|
|
8308
|
+
static ltsVersion = seamApiLtsVersion;
|
|
8144
8309
|
constructor(apiKeyOrOptions = {}) {
|
|
8145
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
8146
8310
|
const options = parseOptions(apiKeyOrOptions);
|
|
8147
8311
|
this.client = "client" in options ? options.client : createClient(options);
|
|
8148
8312
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -8286,13 +8450,14 @@ var _SeamHttpWorkspaces = class _SeamHttpWorkspaces {
|
|
|
8286
8450
|
});
|
|
8287
8451
|
}
|
|
8288
8452
|
};
|
|
8289
|
-
_SeamHttpWorkspaces.ltsVersion = seamApiLtsVersion;
|
|
8290
|
-
var SeamHttpWorkspaces = _SeamHttpWorkspaces;
|
|
8291
8453
|
|
|
8292
8454
|
// src/lib/seam/connect/routes/seam-http.ts
|
|
8293
|
-
var
|
|
8455
|
+
var SeamHttp = class _SeamHttp {
|
|
8456
|
+
client;
|
|
8457
|
+
defaults;
|
|
8458
|
+
ltsVersion = seamApiLtsVersion;
|
|
8459
|
+
static ltsVersion = seamApiLtsVersion;
|
|
8294
8460
|
constructor(apiKeyOrOptions = {}) {
|
|
8295
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
8296
8461
|
const options = parseOptions(apiKeyOrOptions);
|
|
8297
8462
|
this.client = "client" in options ? options.client : createClient(options);
|
|
8298
8463
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -8437,13 +8602,14 @@ var _SeamHttp = class _SeamHttp {
|
|
|
8437
8602
|
return SeamHttpWorkspaces.fromClient(this.client, this.defaults);
|
|
8438
8603
|
}
|
|
8439
8604
|
};
|
|
8440
|
-
_SeamHttp.ltsVersion = seamApiLtsVersion;
|
|
8441
|
-
var SeamHttp = _SeamHttp;
|
|
8442
8605
|
|
|
8443
8606
|
// src/lib/seam/connect/routes/seam-http-endpoints.ts
|
|
8444
|
-
var
|
|
8607
|
+
var SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
8608
|
+
client;
|
|
8609
|
+
defaults;
|
|
8610
|
+
ltsVersion = seamApiLtsVersion;
|
|
8611
|
+
static ltsVersion = seamApiLtsVersion;
|
|
8445
8612
|
constructor(apiKeyOrOptions = {}) {
|
|
8446
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
8447
8613
|
const options = parseOptions(apiKeyOrOptions);
|
|
8448
8614
|
this.client = "client" in options ? options.client : createClient(options);
|
|
8449
8615
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -8521,238 +8687,238 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
8521
8687
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
8522
8688
|
await clientSessions.get();
|
|
8523
8689
|
}
|
|
8524
|
-
get
|
|
8690
|
+
get "/access_codes/create"() {
|
|
8525
8691
|
const { client, defaults } = this;
|
|
8526
8692
|
return function accessCodesCreate(...args) {
|
|
8527
8693
|
const seam = SeamHttpAccessCodes.fromClient(client, defaults);
|
|
8528
8694
|
return seam.create(...args);
|
|
8529
8695
|
};
|
|
8530
8696
|
}
|
|
8531
|
-
get
|
|
8697
|
+
get "/access_codes/create_multiple"() {
|
|
8532
8698
|
const { client, defaults } = this;
|
|
8533
8699
|
return function accessCodesCreateMultiple(...args) {
|
|
8534
8700
|
const seam = SeamHttpAccessCodes.fromClient(client, defaults);
|
|
8535
8701
|
return seam.createMultiple(...args);
|
|
8536
8702
|
};
|
|
8537
8703
|
}
|
|
8538
|
-
get
|
|
8704
|
+
get "/access_codes/delete"() {
|
|
8539
8705
|
const { client, defaults } = this;
|
|
8540
8706
|
return function accessCodesDelete(...args) {
|
|
8541
8707
|
const seam = SeamHttpAccessCodes.fromClient(client, defaults);
|
|
8542
8708
|
return seam.delete(...args);
|
|
8543
8709
|
};
|
|
8544
8710
|
}
|
|
8545
|
-
get
|
|
8711
|
+
get "/access_codes/generate_code"() {
|
|
8546
8712
|
const { client, defaults } = this;
|
|
8547
8713
|
return function accessCodesGenerateCode(...args) {
|
|
8548
8714
|
const seam = SeamHttpAccessCodes.fromClient(client, defaults);
|
|
8549
8715
|
return seam.generateCode(...args);
|
|
8550
8716
|
};
|
|
8551
8717
|
}
|
|
8552
|
-
get
|
|
8718
|
+
get "/access_codes/get"() {
|
|
8553
8719
|
const { client, defaults } = this;
|
|
8554
8720
|
return function accessCodesGet(...args) {
|
|
8555
8721
|
const seam = SeamHttpAccessCodes.fromClient(client, defaults);
|
|
8556
8722
|
return seam.get(...args);
|
|
8557
8723
|
};
|
|
8558
8724
|
}
|
|
8559
|
-
get
|
|
8725
|
+
get "/access_codes/list"() {
|
|
8560
8726
|
const { client, defaults } = this;
|
|
8561
8727
|
return function accessCodesList(...args) {
|
|
8562
8728
|
const seam = SeamHttpAccessCodes.fromClient(client, defaults);
|
|
8563
8729
|
return seam.list(...args);
|
|
8564
8730
|
};
|
|
8565
8731
|
}
|
|
8566
|
-
get
|
|
8732
|
+
get "/access_codes/pull_backup_access_code"() {
|
|
8567
8733
|
const { client, defaults } = this;
|
|
8568
8734
|
return function accessCodesPullBackupAccessCode(...args) {
|
|
8569
8735
|
const seam = SeamHttpAccessCodes.fromClient(client, defaults);
|
|
8570
8736
|
return seam.pullBackupAccessCode(...args);
|
|
8571
8737
|
};
|
|
8572
8738
|
}
|
|
8573
|
-
get
|
|
8739
|
+
get "/access_codes/report_device_constraints"() {
|
|
8574
8740
|
const { client, defaults } = this;
|
|
8575
8741
|
return function accessCodesReportDeviceConstraints(...args) {
|
|
8576
8742
|
const seam = SeamHttpAccessCodes.fromClient(client, defaults);
|
|
8577
8743
|
return seam.reportDeviceConstraints(...args);
|
|
8578
8744
|
};
|
|
8579
8745
|
}
|
|
8580
|
-
get
|
|
8746
|
+
get "/access_codes/update"() {
|
|
8581
8747
|
const { client, defaults } = this;
|
|
8582
8748
|
return function accessCodesUpdate(...args) {
|
|
8583
8749
|
const seam = SeamHttpAccessCodes.fromClient(client, defaults);
|
|
8584
8750
|
return seam.update(...args);
|
|
8585
8751
|
};
|
|
8586
8752
|
}
|
|
8587
|
-
get
|
|
8753
|
+
get "/access_codes/update_multiple"() {
|
|
8588
8754
|
const { client, defaults } = this;
|
|
8589
8755
|
return function accessCodesUpdateMultiple(...args) {
|
|
8590
8756
|
const seam = SeamHttpAccessCodes.fromClient(client, defaults);
|
|
8591
8757
|
return seam.updateMultiple(...args);
|
|
8592
8758
|
};
|
|
8593
8759
|
}
|
|
8594
|
-
get
|
|
8760
|
+
get "/access_codes/simulate/create_unmanaged_access_code"() {
|
|
8595
8761
|
const { client, defaults } = this;
|
|
8596
8762
|
return function accessCodesSimulateCreateUnmanagedAccessCode(...args) {
|
|
8597
8763
|
const seam = SeamHttpAccessCodesSimulate.fromClient(client, defaults);
|
|
8598
8764
|
return seam.createUnmanagedAccessCode(...args);
|
|
8599
8765
|
};
|
|
8600
8766
|
}
|
|
8601
|
-
get
|
|
8767
|
+
get "/access_codes/unmanaged/convert_to_managed"() {
|
|
8602
8768
|
const { client, defaults } = this;
|
|
8603
8769
|
return function accessCodesUnmanagedConvertToManaged(...args) {
|
|
8604
8770
|
const seam = SeamHttpAccessCodesUnmanaged.fromClient(client, defaults);
|
|
8605
8771
|
return seam.convertToManaged(...args);
|
|
8606
8772
|
};
|
|
8607
8773
|
}
|
|
8608
|
-
get
|
|
8774
|
+
get "/access_codes/unmanaged/delete"() {
|
|
8609
8775
|
const { client, defaults } = this;
|
|
8610
8776
|
return function accessCodesUnmanagedDelete(...args) {
|
|
8611
8777
|
const seam = SeamHttpAccessCodesUnmanaged.fromClient(client, defaults);
|
|
8612
8778
|
return seam.delete(...args);
|
|
8613
8779
|
};
|
|
8614
8780
|
}
|
|
8615
|
-
get
|
|
8781
|
+
get "/access_codes/unmanaged/get"() {
|
|
8616
8782
|
const { client, defaults } = this;
|
|
8617
8783
|
return function accessCodesUnmanagedGet(...args) {
|
|
8618
8784
|
const seam = SeamHttpAccessCodesUnmanaged.fromClient(client, defaults);
|
|
8619
8785
|
return seam.get(...args);
|
|
8620
8786
|
};
|
|
8621
8787
|
}
|
|
8622
|
-
get
|
|
8788
|
+
get "/access_codes/unmanaged/list"() {
|
|
8623
8789
|
const { client, defaults } = this;
|
|
8624
8790
|
return function accessCodesUnmanagedList(...args) {
|
|
8625
8791
|
const seam = SeamHttpAccessCodesUnmanaged.fromClient(client, defaults);
|
|
8626
8792
|
return seam.list(...args);
|
|
8627
8793
|
};
|
|
8628
8794
|
}
|
|
8629
|
-
get
|
|
8795
|
+
get "/access_codes/unmanaged/update"() {
|
|
8630
8796
|
const { client, defaults } = this;
|
|
8631
8797
|
return function accessCodesUnmanagedUpdate(...args) {
|
|
8632
8798
|
const seam = SeamHttpAccessCodesUnmanaged.fromClient(client, defaults);
|
|
8633
8799
|
return seam.update(...args);
|
|
8634
8800
|
};
|
|
8635
8801
|
}
|
|
8636
|
-
get
|
|
8802
|
+
get "/access_grants/create"() {
|
|
8637
8803
|
const { client, defaults } = this;
|
|
8638
8804
|
return function accessGrantsCreate(...args) {
|
|
8639
8805
|
const seam = SeamHttpAccessGrants.fromClient(client, defaults);
|
|
8640
8806
|
return seam.create(...args);
|
|
8641
8807
|
};
|
|
8642
8808
|
}
|
|
8643
|
-
get
|
|
8809
|
+
get "/access_grants/delete"() {
|
|
8644
8810
|
const { client, defaults } = this;
|
|
8645
8811
|
return function accessGrantsDelete(...args) {
|
|
8646
8812
|
const seam = SeamHttpAccessGrants.fromClient(client, defaults);
|
|
8647
8813
|
return seam.delete(...args);
|
|
8648
8814
|
};
|
|
8649
8815
|
}
|
|
8650
|
-
get
|
|
8816
|
+
get "/access_grants/get"() {
|
|
8651
8817
|
const { client, defaults } = this;
|
|
8652
8818
|
return function accessGrantsGet(...args) {
|
|
8653
8819
|
const seam = SeamHttpAccessGrants.fromClient(client, defaults);
|
|
8654
8820
|
return seam.get(...args);
|
|
8655
8821
|
};
|
|
8656
8822
|
}
|
|
8657
|
-
get
|
|
8823
|
+
get "/access_grants/get_related"() {
|
|
8658
8824
|
const { client, defaults } = this;
|
|
8659
8825
|
return function accessGrantsGetRelated(...args) {
|
|
8660
8826
|
const seam = SeamHttpAccessGrants.fromClient(client, defaults);
|
|
8661
8827
|
return seam.getRelated(...args);
|
|
8662
8828
|
};
|
|
8663
8829
|
}
|
|
8664
|
-
get
|
|
8830
|
+
get "/access_grants/list"() {
|
|
8665
8831
|
const { client, defaults } = this;
|
|
8666
8832
|
return function accessGrantsList(...args) {
|
|
8667
8833
|
const seam = SeamHttpAccessGrants.fromClient(client, defaults);
|
|
8668
8834
|
return seam.list(...args);
|
|
8669
8835
|
};
|
|
8670
8836
|
}
|
|
8671
|
-
get
|
|
8837
|
+
get "/access_grants/update"() {
|
|
8672
8838
|
const { client, defaults } = this;
|
|
8673
8839
|
return function accessGrantsUpdate(...args) {
|
|
8674
8840
|
const seam = SeamHttpAccessGrants.fromClient(client, defaults);
|
|
8675
8841
|
return seam.update(...args);
|
|
8676
8842
|
};
|
|
8677
8843
|
}
|
|
8678
|
-
get
|
|
8844
|
+
get "/access_methods/delete"() {
|
|
8679
8845
|
const { client, defaults } = this;
|
|
8680
8846
|
return function accessMethodsDelete(...args) {
|
|
8681
8847
|
const seam = SeamHttpAccessMethods.fromClient(client, defaults);
|
|
8682
8848
|
return seam.delete(...args);
|
|
8683
8849
|
};
|
|
8684
8850
|
}
|
|
8685
|
-
get
|
|
8851
|
+
get "/access_methods/encode"() {
|
|
8686
8852
|
const { client, defaults } = this;
|
|
8687
8853
|
return function accessMethodsEncode(...args) {
|
|
8688
8854
|
const seam = SeamHttpAccessMethods.fromClient(client, defaults);
|
|
8689
8855
|
return seam.encode(...args);
|
|
8690
8856
|
};
|
|
8691
8857
|
}
|
|
8692
|
-
get
|
|
8858
|
+
get "/access_methods/get"() {
|
|
8693
8859
|
const { client, defaults } = this;
|
|
8694
8860
|
return function accessMethodsGet(...args) {
|
|
8695
8861
|
const seam = SeamHttpAccessMethods.fromClient(client, defaults);
|
|
8696
8862
|
return seam.get(...args);
|
|
8697
8863
|
};
|
|
8698
8864
|
}
|
|
8699
|
-
get
|
|
8865
|
+
get "/access_methods/get_related"() {
|
|
8700
8866
|
const { client, defaults } = this;
|
|
8701
8867
|
return function accessMethodsGetRelated(...args) {
|
|
8702
8868
|
const seam = SeamHttpAccessMethods.fromClient(client, defaults);
|
|
8703
8869
|
return seam.getRelated(...args);
|
|
8704
8870
|
};
|
|
8705
8871
|
}
|
|
8706
|
-
get
|
|
8872
|
+
get "/access_methods/list"() {
|
|
8707
8873
|
const { client, defaults } = this;
|
|
8708
8874
|
return function accessMethodsList(...args) {
|
|
8709
8875
|
const seam = SeamHttpAccessMethods.fromClient(client, defaults);
|
|
8710
8876
|
return seam.list(...args);
|
|
8711
8877
|
};
|
|
8712
8878
|
}
|
|
8713
|
-
get
|
|
8879
|
+
get "/acs/access_groups/add_user"() {
|
|
8714
8880
|
const { client, defaults } = this;
|
|
8715
8881
|
return function acsAccessGroupsAddUser(...args) {
|
|
8716
8882
|
const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults);
|
|
8717
8883
|
return seam.addUser(...args);
|
|
8718
8884
|
};
|
|
8719
8885
|
}
|
|
8720
|
-
get
|
|
8886
|
+
get "/acs/access_groups/get"() {
|
|
8721
8887
|
const { client, defaults } = this;
|
|
8722
8888
|
return function acsAccessGroupsGet(...args) {
|
|
8723
8889
|
const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults);
|
|
8724
8890
|
return seam.get(...args);
|
|
8725
8891
|
};
|
|
8726
8892
|
}
|
|
8727
|
-
get
|
|
8893
|
+
get "/acs/access_groups/list"() {
|
|
8728
8894
|
const { client, defaults } = this;
|
|
8729
8895
|
return function acsAccessGroupsList(...args) {
|
|
8730
8896
|
const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults);
|
|
8731
8897
|
return seam.list(...args);
|
|
8732
8898
|
};
|
|
8733
8899
|
}
|
|
8734
|
-
get
|
|
8900
|
+
get "/acs/access_groups/list_accessible_entrances"() {
|
|
8735
8901
|
const { client, defaults } = this;
|
|
8736
8902
|
return function acsAccessGroupsListAccessibleEntrances(...args) {
|
|
8737
8903
|
const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults);
|
|
8738
8904
|
return seam.listAccessibleEntrances(...args);
|
|
8739
8905
|
};
|
|
8740
8906
|
}
|
|
8741
|
-
get
|
|
8907
|
+
get "/acs/access_groups/list_users"() {
|
|
8742
8908
|
const { client, defaults } = this;
|
|
8743
8909
|
return function acsAccessGroupsListUsers(...args) {
|
|
8744
8910
|
const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults);
|
|
8745
8911
|
return seam.listUsers(...args);
|
|
8746
8912
|
};
|
|
8747
8913
|
}
|
|
8748
|
-
get
|
|
8914
|
+
get "/acs/access_groups/remove_user"() {
|
|
8749
8915
|
const { client, defaults } = this;
|
|
8750
8916
|
return function acsAccessGroupsRemoveUser(...args) {
|
|
8751
8917
|
const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults);
|
|
8752
8918
|
return seam.removeUser(...args);
|
|
8753
8919
|
};
|
|
8754
8920
|
}
|
|
8755
|
-
get
|
|
8921
|
+
get "/acs/access_groups/unmanaged/get"() {
|
|
8756
8922
|
const { client, defaults } = this;
|
|
8757
8923
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
8758
8924
|
throw new Error(
|
|
@@ -8764,7 +8930,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
8764
8930
|
return seam.get(...args);
|
|
8765
8931
|
};
|
|
8766
8932
|
}
|
|
8767
|
-
get
|
|
8933
|
+
get "/acs/access_groups/unmanaged/list"() {
|
|
8768
8934
|
const { client, defaults } = this;
|
|
8769
8935
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
8770
8936
|
throw new Error(
|
|
@@ -8776,7 +8942,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
8776
8942
|
return seam.list(...args);
|
|
8777
8943
|
};
|
|
8778
8944
|
}
|
|
8779
|
-
get
|
|
8945
|
+
get "/acs/credential_pools/list"() {
|
|
8780
8946
|
const { client, defaults } = this;
|
|
8781
8947
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
8782
8948
|
throw new Error(
|
|
@@ -8788,7 +8954,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
8788
8954
|
return seam.list(...args);
|
|
8789
8955
|
};
|
|
8790
8956
|
}
|
|
8791
|
-
get
|
|
8957
|
+
get "/acs/credential_provisioning_automations/launch"() {
|
|
8792
8958
|
const { client, defaults } = this;
|
|
8793
8959
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
8794
8960
|
throw new Error(
|
|
@@ -8803,21 +8969,21 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
8803
8969
|
return seam.launch(...args);
|
|
8804
8970
|
};
|
|
8805
8971
|
}
|
|
8806
|
-
get
|
|
8972
|
+
get "/acs/credentials/assign"() {
|
|
8807
8973
|
const { client, defaults } = this;
|
|
8808
8974
|
return function acsCredentialsAssign(...args) {
|
|
8809
8975
|
const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
|
|
8810
8976
|
return seam.assign(...args);
|
|
8811
8977
|
};
|
|
8812
8978
|
}
|
|
8813
|
-
get
|
|
8979
|
+
get "/acs/credentials/create"() {
|
|
8814
8980
|
const { client, defaults } = this;
|
|
8815
8981
|
return function acsCredentialsCreate(...args) {
|
|
8816
8982
|
const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
|
|
8817
8983
|
return seam.create(...args);
|
|
8818
8984
|
};
|
|
8819
8985
|
}
|
|
8820
|
-
get
|
|
8986
|
+
get "/acs/credentials/create_offline_code"() {
|
|
8821
8987
|
const { client, defaults } = this;
|
|
8822
8988
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
8823
8989
|
throw new Error(
|
|
@@ -8829,49 +8995,49 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
8829
8995
|
return seam.createOfflineCode(...args);
|
|
8830
8996
|
};
|
|
8831
8997
|
}
|
|
8832
|
-
get
|
|
8998
|
+
get "/acs/credentials/delete"() {
|
|
8833
8999
|
const { client, defaults } = this;
|
|
8834
9000
|
return function acsCredentialsDelete(...args) {
|
|
8835
9001
|
const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
|
|
8836
9002
|
return seam.delete(...args);
|
|
8837
9003
|
};
|
|
8838
9004
|
}
|
|
8839
|
-
get
|
|
9005
|
+
get "/acs/credentials/get"() {
|
|
8840
9006
|
const { client, defaults } = this;
|
|
8841
9007
|
return function acsCredentialsGet(...args) {
|
|
8842
9008
|
const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
|
|
8843
9009
|
return seam.get(...args);
|
|
8844
9010
|
};
|
|
8845
9011
|
}
|
|
8846
|
-
get
|
|
9012
|
+
get "/acs/credentials/list"() {
|
|
8847
9013
|
const { client, defaults } = this;
|
|
8848
9014
|
return function acsCredentialsList(...args) {
|
|
8849
9015
|
const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
|
|
8850
9016
|
return seam.list(...args);
|
|
8851
9017
|
};
|
|
8852
9018
|
}
|
|
8853
|
-
get
|
|
9019
|
+
get "/acs/credentials/list_accessible_entrances"() {
|
|
8854
9020
|
const { client, defaults } = this;
|
|
8855
9021
|
return function acsCredentialsListAccessibleEntrances(...args) {
|
|
8856
9022
|
const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
|
|
8857
9023
|
return seam.listAccessibleEntrances(...args);
|
|
8858
9024
|
};
|
|
8859
9025
|
}
|
|
8860
|
-
get
|
|
9026
|
+
get "/acs/credentials/unassign"() {
|
|
8861
9027
|
const { client, defaults } = this;
|
|
8862
9028
|
return function acsCredentialsUnassign(...args) {
|
|
8863
9029
|
const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
|
|
8864
9030
|
return seam.unassign(...args);
|
|
8865
9031
|
};
|
|
8866
9032
|
}
|
|
8867
|
-
get
|
|
9033
|
+
get "/acs/credentials/update"() {
|
|
8868
9034
|
const { client, defaults } = this;
|
|
8869
9035
|
return function acsCredentialsUpdate(...args) {
|
|
8870
9036
|
const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
|
|
8871
9037
|
return seam.update(...args);
|
|
8872
9038
|
};
|
|
8873
9039
|
}
|
|
8874
|
-
get
|
|
9040
|
+
get "/acs/credentials/unmanaged/get"() {
|
|
8875
9041
|
const { client, defaults } = this;
|
|
8876
9042
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
8877
9043
|
throw new Error(
|
|
@@ -8883,7 +9049,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
8883
9049
|
return seam.get(...args);
|
|
8884
9050
|
};
|
|
8885
9051
|
}
|
|
8886
|
-
get
|
|
9052
|
+
get "/acs/credentials/unmanaged/list"() {
|
|
8887
9053
|
const { client, defaults } = this;
|
|
8888
9054
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
8889
9055
|
throw new Error(
|
|
@@ -8895,189 +9061,189 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
8895
9061
|
return seam.list(...args);
|
|
8896
9062
|
};
|
|
8897
9063
|
}
|
|
8898
|
-
get
|
|
9064
|
+
get "/acs/encoders/encode_credential"() {
|
|
8899
9065
|
const { client, defaults } = this;
|
|
8900
9066
|
return function acsEncodersEncodeCredential(...args) {
|
|
8901
9067
|
const seam = SeamHttpAcsEncoders.fromClient(client, defaults);
|
|
8902
9068
|
return seam.encodeCredential(...args);
|
|
8903
9069
|
};
|
|
8904
9070
|
}
|
|
8905
|
-
get
|
|
9071
|
+
get "/acs/encoders/get"() {
|
|
8906
9072
|
const { client, defaults } = this;
|
|
8907
9073
|
return function acsEncodersGet(...args) {
|
|
8908
9074
|
const seam = SeamHttpAcsEncoders.fromClient(client, defaults);
|
|
8909
9075
|
return seam.get(...args);
|
|
8910
9076
|
};
|
|
8911
9077
|
}
|
|
8912
|
-
get
|
|
9078
|
+
get "/acs/encoders/list"() {
|
|
8913
9079
|
const { client, defaults } = this;
|
|
8914
9080
|
return function acsEncodersList(...args) {
|
|
8915
9081
|
const seam = SeamHttpAcsEncoders.fromClient(client, defaults);
|
|
8916
9082
|
return seam.list(...args);
|
|
8917
9083
|
};
|
|
8918
9084
|
}
|
|
8919
|
-
get
|
|
9085
|
+
get "/acs/encoders/scan_credential"() {
|
|
8920
9086
|
const { client, defaults } = this;
|
|
8921
9087
|
return function acsEncodersScanCredential(...args) {
|
|
8922
9088
|
const seam = SeamHttpAcsEncoders.fromClient(client, defaults);
|
|
8923
9089
|
return seam.scanCredential(...args);
|
|
8924
9090
|
};
|
|
8925
9091
|
}
|
|
8926
|
-
get
|
|
9092
|
+
get "/acs/encoders/simulate/next_credential_encode_will_fail"() {
|
|
8927
9093
|
const { client, defaults } = this;
|
|
8928
9094
|
return function acsEncodersSimulateNextCredentialEncodeWillFail(...args) {
|
|
8929
9095
|
const seam = SeamHttpAcsEncodersSimulate.fromClient(client, defaults);
|
|
8930
9096
|
return seam.nextCredentialEncodeWillFail(...args);
|
|
8931
9097
|
};
|
|
8932
9098
|
}
|
|
8933
|
-
get
|
|
9099
|
+
get "/acs/encoders/simulate/next_credential_encode_will_succeed"() {
|
|
8934
9100
|
const { client, defaults } = this;
|
|
8935
9101
|
return function acsEncodersSimulateNextCredentialEncodeWillSucceed(...args) {
|
|
8936
9102
|
const seam = SeamHttpAcsEncodersSimulate.fromClient(client, defaults);
|
|
8937
9103
|
return seam.nextCredentialEncodeWillSucceed(...args);
|
|
8938
9104
|
};
|
|
8939
9105
|
}
|
|
8940
|
-
get
|
|
9106
|
+
get "/acs/encoders/simulate/next_credential_scan_will_fail"() {
|
|
8941
9107
|
const { client, defaults } = this;
|
|
8942
9108
|
return function acsEncodersSimulateNextCredentialScanWillFail(...args) {
|
|
8943
9109
|
const seam = SeamHttpAcsEncodersSimulate.fromClient(client, defaults);
|
|
8944
9110
|
return seam.nextCredentialScanWillFail(...args);
|
|
8945
9111
|
};
|
|
8946
9112
|
}
|
|
8947
|
-
get
|
|
9113
|
+
get "/acs/encoders/simulate/next_credential_scan_will_succeed"() {
|
|
8948
9114
|
const { client, defaults } = this;
|
|
8949
9115
|
return function acsEncodersSimulateNextCredentialScanWillSucceed(...args) {
|
|
8950
9116
|
const seam = SeamHttpAcsEncodersSimulate.fromClient(client, defaults);
|
|
8951
9117
|
return seam.nextCredentialScanWillSucceed(...args);
|
|
8952
9118
|
};
|
|
8953
9119
|
}
|
|
8954
|
-
get
|
|
9120
|
+
get "/acs/entrances/get"() {
|
|
8955
9121
|
const { client, defaults } = this;
|
|
8956
9122
|
return function acsEntrancesGet(...args) {
|
|
8957
9123
|
const seam = SeamHttpAcsEntrances.fromClient(client, defaults);
|
|
8958
9124
|
return seam.get(...args);
|
|
8959
9125
|
};
|
|
8960
9126
|
}
|
|
8961
|
-
get
|
|
9127
|
+
get "/acs/entrances/grant_access"() {
|
|
8962
9128
|
const { client, defaults } = this;
|
|
8963
9129
|
return function acsEntrancesGrantAccess(...args) {
|
|
8964
9130
|
const seam = SeamHttpAcsEntrances.fromClient(client, defaults);
|
|
8965
9131
|
return seam.grantAccess(...args);
|
|
8966
9132
|
};
|
|
8967
9133
|
}
|
|
8968
|
-
get
|
|
9134
|
+
get "/acs/entrances/list"() {
|
|
8969
9135
|
const { client, defaults } = this;
|
|
8970
9136
|
return function acsEntrancesList(...args) {
|
|
8971
9137
|
const seam = SeamHttpAcsEntrances.fromClient(client, defaults);
|
|
8972
9138
|
return seam.list(...args);
|
|
8973
9139
|
};
|
|
8974
9140
|
}
|
|
8975
|
-
get
|
|
9141
|
+
get "/acs/entrances/list_credentials_with_access"() {
|
|
8976
9142
|
const { client, defaults } = this;
|
|
8977
9143
|
return function acsEntrancesListCredentialsWithAccess(...args) {
|
|
8978
9144
|
const seam = SeamHttpAcsEntrances.fromClient(client, defaults);
|
|
8979
9145
|
return seam.listCredentialsWithAccess(...args);
|
|
8980
9146
|
};
|
|
8981
9147
|
}
|
|
8982
|
-
get
|
|
9148
|
+
get "/acs/systems/get"() {
|
|
8983
9149
|
const { client, defaults } = this;
|
|
8984
9150
|
return function acsSystemsGet(...args) {
|
|
8985
9151
|
const seam = SeamHttpAcsSystems.fromClient(client, defaults);
|
|
8986
9152
|
return seam.get(...args);
|
|
8987
9153
|
};
|
|
8988
9154
|
}
|
|
8989
|
-
get
|
|
9155
|
+
get "/acs/systems/list"() {
|
|
8990
9156
|
const { client, defaults } = this;
|
|
8991
9157
|
return function acsSystemsList(...args) {
|
|
8992
9158
|
const seam = SeamHttpAcsSystems.fromClient(client, defaults);
|
|
8993
9159
|
return seam.list(...args);
|
|
8994
9160
|
};
|
|
8995
9161
|
}
|
|
8996
|
-
get
|
|
9162
|
+
get "/acs/systems/list_compatible_credential_manager_acs_systems"() {
|
|
8997
9163
|
const { client, defaults } = this;
|
|
8998
9164
|
return function acsSystemsListCompatibleCredentialManagerAcsSystems(...args) {
|
|
8999
9165
|
const seam = SeamHttpAcsSystems.fromClient(client, defaults);
|
|
9000
9166
|
return seam.listCompatibleCredentialManagerAcsSystems(...args);
|
|
9001
9167
|
};
|
|
9002
9168
|
}
|
|
9003
|
-
get
|
|
9169
|
+
get "/acs/users/add_to_access_group"() {
|
|
9004
9170
|
const { client, defaults } = this;
|
|
9005
9171
|
return function acsUsersAddToAccessGroup(...args) {
|
|
9006
9172
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9007
9173
|
return seam.addToAccessGroup(...args);
|
|
9008
9174
|
};
|
|
9009
9175
|
}
|
|
9010
|
-
get
|
|
9176
|
+
get "/acs/users/create"() {
|
|
9011
9177
|
const { client, defaults } = this;
|
|
9012
9178
|
return function acsUsersCreate(...args) {
|
|
9013
9179
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9014
9180
|
return seam.create(...args);
|
|
9015
9181
|
};
|
|
9016
9182
|
}
|
|
9017
|
-
get
|
|
9183
|
+
get "/acs/users/delete"() {
|
|
9018
9184
|
const { client, defaults } = this;
|
|
9019
9185
|
return function acsUsersDelete(...args) {
|
|
9020
9186
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9021
9187
|
return seam.delete(...args);
|
|
9022
9188
|
};
|
|
9023
9189
|
}
|
|
9024
|
-
get
|
|
9190
|
+
get "/acs/users/get"() {
|
|
9025
9191
|
const { client, defaults } = this;
|
|
9026
9192
|
return function acsUsersGet(...args) {
|
|
9027
9193
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9028
9194
|
return seam.get(...args);
|
|
9029
9195
|
};
|
|
9030
9196
|
}
|
|
9031
|
-
get
|
|
9197
|
+
get "/acs/users/list"() {
|
|
9032
9198
|
const { client, defaults } = this;
|
|
9033
9199
|
return function acsUsersList(...args) {
|
|
9034
9200
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9035
9201
|
return seam.list(...args);
|
|
9036
9202
|
};
|
|
9037
9203
|
}
|
|
9038
|
-
get
|
|
9204
|
+
get "/acs/users/list_accessible_entrances"() {
|
|
9039
9205
|
const { client, defaults } = this;
|
|
9040
9206
|
return function acsUsersListAccessibleEntrances(...args) {
|
|
9041
9207
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9042
9208
|
return seam.listAccessibleEntrances(...args);
|
|
9043
9209
|
};
|
|
9044
9210
|
}
|
|
9045
|
-
get
|
|
9211
|
+
get "/acs/users/remove_from_access_group"() {
|
|
9046
9212
|
const { client, defaults } = this;
|
|
9047
9213
|
return function acsUsersRemoveFromAccessGroup(...args) {
|
|
9048
9214
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9049
9215
|
return seam.removeFromAccessGroup(...args);
|
|
9050
9216
|
};
|
|
9051
9217
|
}
|
|
9052
|
-
get
|
|
9218
|
+
get "/acs/users/revoke_access_to_all_entrances"() {
|
|
9053
9219
|
const { client, defaults } = this;
|
|
9054
9220
|
return function acsUsersRevokeAccessToAllEntrances(...args) {
|
|
9055
9221
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9056
9222
|
return seam.revokeAccessToAllEntrances(...args);
|
|
9057
9223
|
};
|
|
9058
9224
|
}
|
|
9059
|
-
get
|
|
9225
|
+
get "/acs/users/suspend"() {
|
|
9060
9226
|
const { client, defaults } = this;
|
|
9061
9227
|
return function acsUsersSuspend(...args) {
|
|
9062
9228
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9063
9229
|
return seam.suspend(...args);
|
|
9064
9230
|
};
|
|
9065
9231
|
}
|
|
9066
|
-
get
|
|
9232
|
+
get "/acs/users/unsuspend"() {
|
|
9067
9233
|
const { client, defaults } = this;
|
|
9068
9234
|
return function acsUsersUnsuspend(...args) {
|
|
9069
9235
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9070
9236
|
return seam.unsuspend(...args);
|
|
9071
9237
|
};
|
|
9072
9238
|
}
|
|
9073
|
-
get
|
|
9239
|
+
get "/acs/users/update"() {
|
|
9074
9240
|
const { client, defaults } = this;
|
|
9075
9241
|
return function acsUsersUpdate(...args) {
|
|
9076
9242
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9077
9243
|
return seam.update(...args);
|
|
9078
9244
|
};
|
|
9079
9245
|
}
|
|
9080
|
-
get
|
|
9246
|
+
get "/acs/users/unmanaged/get"() {
|
|
9081
9247
|
const { client, defaults } = this;
|
|
9082
9248
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9083
9249
|
throw new Error(
|
|
@@ -9089,7 +9255,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9089
9255
|
return seam.get(...args);
|
|
9090
9256
|
};
|
|
9091
9257
|
}
|
|
9092
|
-
get
|
|
9258
|
+
get "/acs/users/unmanaged/list"() {
|
|
9093
9259
|
const { client, defaults } = this;
|
|
9094
9260
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9095
9261
|
throw new Error(
|
|
@@ -9101,21 +9267,21 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9101
9267
|
return seam.list(...args);
|
|
9102
9268
|
};
|
|
9103
9269
|
}
|
|
9104
|
-
get
|
|
9270
|
+
get "/action_attempts/get"() {
|
|
9105
9271
|
const { client, defaults } = this;
|
|
9106
9272
|
return function actionAttemptsGet(...args) {
|
|
9107
9273
|
const seam = SeamHttpActionAttempts.fromClient(client, defaults);
|
|
9108
9274
|
return seam.get(...args);
|
|
9109
9275
|
};
|
|
9110
9276
|
}
|
|
9111
|
-
get
|
|
9277
|
+
get "/action_attempts/list"() {
|
|
9112
9278
|
const { client, defaults } = this;
|
|
9113
9279
|
return function actionAttemptsList(...args) {
|
|
9114
9280
|
const seam = SeamHttpActionAttempts.fromClient(client, defaults);
|
|
9115
9281
|
return seam.list(...args);
|
|
9116
9282
|
};
|
|
9117
9283
|
}
|
|
9118
|
-
get
|
|
9284
|
+
get "/bridges/get"() {
|
|
9119
9285
|
const { client, defaults } = this;
|
|
9120
9286
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9121
9287
|
throw new Error(
|
|
@@ -9127,7 +9293,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9127
9293
|
return seam.get(...args);
|
|
9128
9294
|
};
|
|
9129
9295
|
}
|
|
9130
|
-
get
|
|
9296
|
+
get "/bridges/list"() {
|
|
9131
9297
|
const { client, defaults } = this;
|
|
9132
9298
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9133
9299
|
throw new Error(
|
|
@@ -9139,140 +9305,140 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9139
9305
|
return seam.list(...args);
|
|
9140
9306
|
};
|
|
9141
9307
|
}
|
|
9142
|
-
get
|
|
9308
|
+
get "/client_sessions/create"() {
|
|
9143
9309
|
const { client, defaults } = this;
|
|
9144
9310
|
return function clientSessionsCreate(...args) {
|
|
9145
9311
|
const seam = SeamHttpClientSessions.fromClient(client, defaults);
|
|
9146
9312
|
return seam.create(...args);
|
|
9147
9313
|
};
|
|
9148
9314
|
}
|
|
9149
|
-
get
|
|
9315
|
+
get "/client_sessions/delete"() {
|
|
9150
9316
|
const { client, defaults } = this;
|
|
9151
9317
|
return function clientSessionsDelete(...args) {
|
|
9152
9318
|
const seam = SeamHttpClientSessions.fromClient(client, defaults);
|
|
9153
9319
|
return seam.delete(...args);
|
|
9154
9320
|
};
|
|
9155
9321
|
}
|
|
9156
|
-
get
|
|
9322
|
+
get "/client_sessions/get"() {
|
|
9157
9323
|
const { client, defaults } = this;
|
|
9158
9324
|
return function clientSessionsGet(...args) {
|
|
9159
9325
|
const seam = SeamHttpClientSessions.fromClient(client, defaults);
|
|
9160
9326
|
return seam.get(...args);
|
|
9161
9327
|
};
|
|
9162
9328
|
}
|
|
9163
|
-
get
|
|
9329
|
+
get "/client_sessions/get_or_create"() {
|
|
9164
9330
|
const { client, defaults } = this;
|
|
9165
9331
|
return function clientSessionsGetOrCreate(...args) {
|
|
9166
9332
|
const seam = SeamHttpClientSessions.fromClient(client, defaults);
|
|
9167
9333
|
return seam.getOrCreate(...args);
|
|
9168
9334
|
};
|
|
9169
9335
|
}
|
|
9170
|
-
get
|
|
9336
|
+
get "/client_sessions/grant_access"() {
|
|
9171
9337
|
const { client, defaults } = this;
|
|
9172
9338
|
return function clientSessionsGrantAccess(...args) {
|
|
9173
9339
|
const seam = SeamHttpClientSessions.fromClient(client, defaults);
|
|
9174
9340
|
return seam.grantAccess(...args);
|
|
9175
9341
|
};
|
|
9176
9342
|
}
|
|
9177
|
-
get
|
|
9343
|
+
get "/client_sessions/list"() {
|
|
9178
9344
|
const { client, defaults } = this;
|
|
9179
9345
|
return function clientSessionsList(...args) {
|
|
9180
9346
|
const seam = SeamHttpClientSessions.fromClient(client, defaults);
|
|
9181
9347
|
return seam.list(...args);
|
|
9182
9348
|
};
|
|
9183
9349
|
}
|
|
9184
|
-
get
|
|
9350
|
+
get "/client_sessions/revoke"() {
|
|
9185
9351
|
const { client, defaults } = this;
|
|
9186
9352
|
return function clientSessionsRevoke(...args) {
|
|
9187
9353
|
const seam = SeamHttpClientSessions.fromClient(client, defaults);
|
|
9188
9354
|
return seam.revoke(...args);
|
|
9189
9355
|
};
|
|
9190
9356
|
}
|
|
9191
|
-
get
|
|
9357
|
+
get "/connect_webviews/create"() {
|
|
9192
9358
|
const { client, defaults } = this;
|
|
9193
9359
|
return function connectWebviewsCreate(...args) {
|
|
9194
9360
|
const seam = SeamHttpConnectWebviews.fromClient(client, defaults);
|
|
9195
9361
|
return seam.create(...args);
|
|
9196
9362
|
};
|
|
9197
9363
|
}
|
|
9198
|
-
get
|
|
9364
|
+
get "/connect_webviews/delete"() {
|
|
9199
9365
|
const { client, defaults } = this;
|
|
9200
9366
|
return function connectWebviewsDelete(...args) {
|
|
9201
9367
|
const seam = SeamHttpConnectWebviews.fromClient(client, defaults);
|
|
9202
9368
|
return seam.delete(...args);
|
|
9203
9369
|
};
|
|
9204
9370
|
}
|
|
9205
|
-
get
|
|
9371
|
+
get "/connect_webviews/get"() {
|
|
9206
9372
|
const { client, defaults } = this;
|
|
9207
9373
|
return function connectWebviewsGet(...args) {
|
|
9208
9374
|
const seam = SeamHttpConnectWebviews.fromClient(client, defaults);
|
|
9209
9375
|
return seam.get(...args);
|
|
9210
9376
|
};
|
|
9211
9377
|
}
|
|
9212
|
-
get
|
|
9378
|
+
get "/connect_webviews/list"() {
|
|
9213
9379
|
const { client, defaults } = this;
|
|
9214
9380
|
return function connectWebviewsList(...args) {
|
|
9215
9381
|
const seam = SeamHttpConnectWebviews.fromClient(client, defaults);
|
|
9216
9382
|
return seam.list(...args);
|
|
9217
9383
|
};
|
|
9218
9384
|
}
|
|
9219
|
-
get
|
|
9385
|
+
get "/connected_accounts/delete"() {
|
|
9220
9386
|
const { client, defaults } = this;
|
|
9221
9387
|
return function connectedAccountsDelete(...args) {
|
|
9222
9388
|
const seam = SeamHttpConnectedAccounts.fromClient(client, defaults);
|
|
9223
9389
|
return seam.delete(...args);
|
|
9224
9390
|
};
|
|
9225
9391
|
}
|
|
9226
|
-
get
|
|
9392
|
+
get "/connected_accounts/get"() {
|
|
9227
9393
|
const { client, defaults } = this;
|
|
9228
9394
|
return function connectedAccountsGet(...args) {
|
|
9229
9395
|
const seam = SeamHttpConnectedAccounts.fromClient(client, defaults);
|
|
9230
9396
|
return seam.get(...args);
|
|
9231
9397
|
};
|
|
9232
9398
|
}
|
|
9233
|
-
get
|
|
9399
|
+
get "/connected_accounts/list"() {
|
|
9234
9400
|
const { client, defaults } = this;
|
|
9235
9401
|
return function connectedAccountsList(...args) {
|
|
9236
9402
|
const seam = SeamHttpConnectedAccounts.fromClient(client, defaults);
|
|
9237
9403
|
return seam.list(...args);
|
|
9238
9404
|
};
|
|
9239
9405
|
}
|
|
9240
|
-
get
|
|
9406
|
+
get "/connected_accounts/sync"() {
|
|
9241
9407
|
const { client, defaults } = this;
|
|
9242
9408
|
return function connectedAccountsSync(...args) {
|
|
9243
9409
|
const seam = SeamHttpConnectedAccounts.fromClient(client, defaults);
|
|
9244
9410
|
return seam.sync(...args);
|
|
9245
9411
|
};
|
|
9246
9412
|
}
|
|
9247
|
-
get
|
|
9413
|
+
get "/connected_accounts/update"() {
|
|
9248
9414
|
const { client, defaults } = this;
|
|
9249
9415
|
return function connectedAccountsUpdate(...args) {
|
|
9250
9416
|
const seam = SeamHttpConnectedAccounts.fromClient(client, defaults);
|
|
9251
9417
|
return seam.update(...args);
|
|
9252
9418
|
};
|
|
9253
9419
|
}
|
|
9254
|
-
get
|
|
9420
|
+
get "/customers/create_portal"() {
|
|
9255
9421
|
const { client, defaults } = this;
|
|
9256
9422
|
return function customersCreatePortal(...args) {
|
|
9257
9423
|
const seam = SeamHttpCustomers.fromClient(client, defaults);
|
|
9258
9424
|
return seam.createPortal(...args);
|
|
9259
9425
|
};
|
|
9260
9426
|
}
|
|
9261
|
-
get
|
|
9427
|
+
get "/customers/delete_data"() {
|
|
9262
9428
|
const { client, defaults } = this;
|
|
9263
9429
|
return function customersDeleteData(...args) {
|
|
9264
9430
|
const seam = SeamHttpCustomers.fromClient(client, defaults);
|
|
9265
9431
|
return seam.deleteData(...args);
|
|
9266
9432
|
};
|
|
9267
9433
|
}
|
|
9268
|
-
get
|
|
9434
|
+
get "/customers/push_data"() {
|
|
9269
9435
|
const { client, defaults } = this;
|
|
9270
9436
|
return function customersPushData(...args) {
|
|
9271
9437
|
const seam = SeamHttpCustomers.fromClient(client, defaults);
|
|
9272
9438
|
return seam.pushData(...args);
|
|
9273
9439
|
};
|
|
9274
9440
|
}
|
|
9275
|
-
get
|
|
9441
|
+
get "/devices/delete"() {
|
|
9276
9442
|
const { client, defaults } = this;
|
|
9277
9443
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9278
9444
|
throw new Error(
|
|
@@ -9284,182 +9450,182 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9284
9450
|
return seam.delete(...args);
|
|
9285
9451
|
};
|
|
9286
9452
|
}
|
|
9287
|
-
get
|
|
9453
|
+
get "/devices/get"() {
|
|
9288
9454
|
const { client, defaults } = this;
|
|
9289
9455
|
return function devicesGet(...args) {
|
|
9290
9456
|
const seam = SeamHttpDevices.fromClient(client, defaults);
|
|
9291
9457
|
return seam.get(...args);
|
|
9292
9458
|
};
|
|
9293
9459
|
}
|
|
9294
|
-
get
|
|
9460
|
+
get "/devices/list"() {
|
|
9295
9461
|
const { client, defaults } = this;
|
|
9296
9462
|
return function devicesList(...args) {
|
|
9297
9463
|
const seam = SeamHttpDevices.fromClient(client, defaults);
|
|
9298
9464
|
return seam.list(...args);
|
|
9299
9465
|
};
|
|
9300
9466
|
}
|
|
9301
|
-
get
|
|
9467
|
+
get "/devices/list_device_providers"() {
|
|
9302
9468
|
const { client, defaults } = this;
|
|
9303
9469
|
return function devicesListDeviceProviders(...args) {
|
|
9304
9470
|
const seam = SeamHttpDevices.fromClient(client, defaults);
|
|
9305
9471
|
return seam.listDeviceProviders(...args);
|
|
9306
9472
|
};
|
|
9307
9473
|
}
|
|
9308
|
-
get
|
|
9474
|
+
get "/devices/update"() {
|
|
9309
9475
|
const { client, defaults } = this;
|
|
9310
9476
|
return function devicesUpdate(...args) {
|
|
9311
9477
|
const seam = SeamHttpDevices.fromClient(client, defaults);
|
|
9312
9478
|
return seam.update(...args);
|
|
9313
9479
|
};
|
|
9314
9480
|
}
|
|
9315
|
-
get
|
|
9481
|
+
get "/devices/simulate/connect"() {
|
|
9316
9482
|
const { client, defaults } = this;
|
|
9317
9483
|
return function devicesSimulateConnect(...args) {
|
|
9318
9484
|
const seam = SeamHttpDevicesSimulate.fromClient(client, defaults);
|
|
9319
9485
|
return seam.connect(...args);
|
|
9320
9486
|
};
|
|
9321
9487
|
}
|
|
9322
|
-
get
|
|
9488
|
+
get "/devices/simulate/connect_to_hub"() {
|
|
9323
9489
|
const { client, defaults } = this;
|
|
9324
9490
|
return function devicesSimulateConnectToHub(...args) {
|
|
9325
9491
|
const seam = SeamHttpDevicesSimulate.fromClient(client, defaults);
|
|
9326
9492
|
return seam.connectToHub(...args);
|
|
9327
9493
|
};
|
|
9328
9494
|
}
|
|
9329
|
-
get
|
|
9495
|
+
get "/devices/simulate/disconnect"() {
|
|
9330
9496
|
const { client, defaults } = this;
|
|
9331
9497
|
return function devicesSimulateDisconnect(...args) {
|
|
9332
9498
|
const seam = SeamHttpDevicesSimulate.fromClient(client, defaults);
|
|
9333
9499
|
return seam.disconnect(...args);
|
|
9334
9500
|
};
|
|
9335
9501
|
}
|
|
9336
|
-
get
|
|
9502
|
+
get "/devices/simulate/disconnect_from_hub"() {
|
|
9337
9503
|
const { client, defaults } = this;
|
|
9338
9504
|
return function devicesSimulateDisconnectFromHub(...args) {
|
|
9339
9505
|
const seam = SeamHttpDevicesSimulate.fromClient(client, defaults);
|
|
9340
9506
|
return seam.disconnectFromHub(...args);
|
|
9341
9507
|
};
|
|
9342
9508
|
}
|
|
9343
|
-
get
|
|
9509
|
+
get "/devices/simulate/paid_subscription"() {
|
|
9344
9510
|
const { client, defaults } = this;
|
|
9345
9511
|
return function devicesSimulatePaidSubscription(...args) {
|
|
9346
9512
|
const seam = SeamHttpDevicesSimulate.fromClient(client, defaults);
|
|
9347
9513
|
return seam.paidSubscription(...args);
|
|
9348
9514
|
};
|
|
9349
9515
|
}
|
|
9350
|
-
get
|
|
9516
|
+
get "/devices/simulate/remove"() {
|
|
9351
9517
|
const { client, defaults } = this;
|
|
9352
9518
|
return function devicesSimulateRemove(...args) {
|
|
9353
9519
|
const seam = SeamHttpDevicesSimulate.fromClient(client, defaults);
|
|
9354
9520
|
return seam.remove(...args);
|
|
9355
9521
|
};
|
|
9356
9522
|
}
|
|
9357
|
-
get
|
|
9523
|
+
get "/devices/unmanaged/get"() {
|
|
9358
9524
|
const { client, defaults } = this;
|
|
9359
9525
|
return function devicesUnmanagedGet(...args) {
|
|
9360
9526
|
const seam = SeamHttpDevicesUnmanaged.fromClient(client, defaults);
|
|
9361
9527
|
return seam.get(...args);
|
|
9362
9528
|
};
|
|
9363
9529
|
}
|
|
9364
|
-
get
|
|
9530
|
+
get "/devices/unmanaged/list"() {
|
|
9365
9531
|
const { client, defaults } = this;
|
|
9366
9532
|
return function devicesUnmanagedList(...args) {
|
|
9367
9533
|
const seam = SeamHttpDevicesUnmanaged.fromClient(client, defaults);
|
|
9368
9534
|
return seam.list(...args);
|
|
9369
9535
|
};
|
|
9370
9536
|
}
|
|
9371
|
-
get
|
|
9537
|
+
get "/devices/unmanaged/update"() {
|
|
9372
9538
|
const { client, defaults } = this;
|
|
9373
9539
|
return function devicesUnmanagedUpdate(...args) {
|
|
9374
9540
|
const seam = SeamHttpDevicesUnmanaged.fromClient(client, defaults);
|
|
9375
9541
|
return seam.update(...args);
|
|
9376
9542
|
};
|
|
9377
9543
|
}
|
|
9378
|
-
get
|
|
9544
|
+
get "/events/get"() {
|
|
9379
9545
|
const { client, defaults } = this;
|
|
9380
9546
|
return function eventsGet(...args) {
|
|
9381
9547
|
const seam = SeamHttpEvents.fromClient(client, defaults);
|
|
9382
9548
|
return seam.get(...args);
|
|
9383
9549
|
};
|
|
9384
9550
|
}
|
|
9385
|
-
get
|
|
9551
|
+
get "/events/list"() {
|
|
9386
9552
|
const { client, defaults } = this;
|
|
9387
9553
|
return function eventsList(...args) {
|
|
9388
9554
|
const seam = SeamHttpEvents.fromClient(client, defaults);
|
|
9389
9555
|
return seam.list(...args);
|
|
9390
9556
|
};
|
|
9391
9557
|
}
|
|
9392
|
-
get
|
|
9558
|
+
get "/instant_keys/delete"() {
|
|
9393
9559
|
const { client, defaults } = this;
|
|
9394
9560
|
return function instantKeysDelete(...args) {
|
|
9395
9561
|
const seam = SeamHttpInstantKeys.fromClient(client, defaults);
|
|
9396
9562
|
return seam.delete(...args);
|
|
9397
9563
|
};
|
|
9398
9564
|
}
|
|
9399
|
-
get
|
|
9565
|
+
get "/instant_keys/get"() {
|
|
9400
9566
|
const { client, defaults } = this;
|
|
9401
9567
|
return function instantKeysGet(...args) {
|
|
9402
9568
|
const seam = SeamHttpInstantKeys.fromClient(client, defaults);
|
|
9403
9569
|
return seam.get(...args);
|
|
9404
9570
|
};
|
|
9405
9571
|
}
|
|
9406
|
-
get
|
|
9572
|
+
get "/instant_keys/list"() {
|
|
9407
9573
|
const { client, defaults } = this;
|
|
9408
9574
|
return function instantKeysList(...args) {
|
|
9409
9575
|
const seam = SeamHttpInstantKeys.fromClient(client, defaults);
|
|
9410
9576
|
return seam.list(...args);
|
|
9411
9577
|
};
|
|
9412
9578
|
}
|
|
9413
|
-
get
|
|
9579
|
+
get "/locks/get"() {
|
|
9414
9580
|
const { client, defaults } = this;
|
|
9415
9581
|
return function locksGet(...args) {
|
|
9416
9582
|
const seam = SeamHttpLocks.fromClient(client, defaults);
|
|
9417
9583
|
return seam.get(...args);
|
|
9418
9584
|
};
|
|
9419
9585
|
}
|
|
9420
|
-
get
|
|
9586
|
+
get "/locks/list"() {
|
|
9421
9587
|
const { client, defaults } = this;
|
|
9422
9588
|
return function locksList(...args) {
|
|
9423
9589
|
const seam = SeamHttpLocks.fromClient(client, defaults);
|
|
9424
9590
|
return seam.list(...args);
|
|
9425
9591
|
};
|
|
9426
9592
|
}
|
|
9427
|
-
get
|
|
9593
|
+
get "/locks/lock_door"() {
|
|
9428
9594
|
const { client, defaults } = this;
|
|
9429
9595
|
return function locksLockDoor(...args) {
|
|
9430
9596
|
const seam = SeamHttpLocks.fromClient(client, defaults);
|
|
9431
9597
|
return seam.lockDoor(...args);
|
|
9432
9598
|
};
|
|
9433
9599
|
}
|
|
9434
|
-
get
|
|
9600
|
+
get "/locks/unlock_door"() {
|
|
9435
9601
|
const { client, defaults } = this;
|
|
9436
9602
|
return function locksUnlockDoor(...args) {
|
|
9437
9603
|
const seam = SeamHttpLocks.fromClient(client, defaults);
|
|
9438
9604
|
return seam.unlockDoor(...args);
|
|
9439
9605
|
};
|
|
9440
9606
|
}
|
|
9441
|
-
get
|
|
9607
|
+
get "/locks/simulate/keypad_code_entry"() {
|
|
9442
9608
|
const { client, defaults } = this;
|
|
9443
9609
|
return function locksSimulateKeypadCodeEntry(...args) {
|
|
9444
9610
|
const seam = SeamHttpLocksSimulate.fromClient(client, defaults);
|
|
9445
9611
|
return seam.keypadCodeEntry(...args);
|
|
9446
9612
|
};
|
|
9447
9613
|
}
|
|
9448
|
-
get
|
|
9614
|
+
get "/locks/simulate/manual_lock_via_keypad"() {
|
|
9449
9615
|
const { client, defaults } = this;
|
|
9450
9616
|
return function locksSimulateManualLockViaKeypad(...args) {
|
|
9451
9617
|
const seam = SeamHttpLocksSimulate.fromClient(client, defaults);
|
|
9452
9618
|
return seam.manualLockViaKeypad(...args);
|
|
9453
9619
|
};
|
|
9454
9620
|
}
|
|
9455
|
-
get
|
|
9621
|
+
get "/noise_sensors/list"() {
|
|
9456
9622
|
const { client, defaults } = this;
|
|
9457
9623
|
return function noiseSensorsList(...args) {
|
|
9458
9624
|
const seam = SeamHttpNoiseSensors.fromClient(client, defaults);
|
|
9459
9625
|
return seam.list(...args);
|
|
9460
9626
|
};
|
|
9461
9627
|
}
|
|
9462
|
-
get
|
|
9628
|
+
get "/noise_sensors/noise_thresholds/create"() {
|
|
9463
9629
|
const { client, defaults } = this;
|
|
9464
9630
|
return function noiseSensorsNoiseThresholdsCreate(...args) {
|
|
9465
9631
|
const seam = SeamHttpNoiseSensorsNoiseThresholds.fromClient(
|
|
@@ -9469,7 +9635,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9469
9635
|
return seam.create(...args);
|
|
9470
9636
|
};
|
|
9471
9637
|
}
|
|
9472
|
-
get
|
|
9638
|
+
get "/noise_sensors/noise_thresholds/delete"() {
|
|
9473
9639
|
const { client, defaults } = this;
|
|
9474
9640
|
return function noiseSensorsNoiseThresholdsDelete(...args) {
|
|
9475
9641
|
const seam = SeamHttpNoiseSensorsNoiseThresholds.fromClient(
|
|
@@ -9479,7 +9645,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9479
9645
|
return seam.delete(...args);
|
|
9480
9646
|
};
|
|
9481
9647
|
}
|
|
9482
|
-
get
|
|
9648
|
+
get "/noise_sensors/noise_thresholds/get"() {
|
|
9483
9649
|
const { client, defaults } = this;
|
|
9484
9650
|
return function noiseSensorsNoiseThresholdsGet(...args) {
|
|
9485
9651
|
const seam = SeamHttpNoiseSensorsNoiseThresholds.fromClient(
|
|
@@ -9489,7 +9655,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9489
9655
|
return seam.get(...args);
|
|
9490
9656
|
};
|
|
9491
9657
|
}
|
|
9492
|
-
get
|
|
9658
|
+
get "/noise_sensors/noise_thresholds/list"() {
|
|
9493
9659
|
const { client, defaults } = this;
|
|
9494
9660
|
return function noiseSensorsNoiseThresholdsList(...args) {
|
|
9495
9661
|
const seam = SeamHttpNoiseSensorsNoiseThresholds.fromClient(
|
|
@@ -9499,7 +9665,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9499
9665
|
return seam.list(...args);
|
|
9500
9666
|
};
|
|
9501
9667
|
}
|
|
9502
|
-
get
|
|
9668
|
+
get "/noise_sensors/noise_thresholds/update"() {
|
|
9503
9669
|
const { client, defaults } = this;
|
|
9504
9670
|
return function noiseSensorsNoiseThresholdsUpdate(...args) {
|
|
9505
9671
|
const seam = SeamHttpNoiseSensorsNoiseThresholds.fromClient(
|
|
@@ -9509,42 +9675,42 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9509
9675
|
return seam.update(...args);
|
|
9510
9676
|
};
|
|
9511
9677
|
}
|
|
9512
|
-
get
|
|
9678
|
+
get "/noise_sensors/simulate/trigger_noise_threshold"() {
|
|
9513
9679
|
const { client, defaults } = this;
|
|
9514
9680
|
return function noiseSensorsSimulateTriggerNoiseThreshold(...args) {
|
|
9515
9681
|
const seam = SeamHttpNoiseSensorsSimulate.fromClient(client, defaults);
|
|
9516
9682
|
return seam.triggerNoiseThreshold(...args);
|
|
9517
9683
|
};
|
|
9518
9684
|
}
|
|
9519
|
-
get
|
|
9685
|
+
get "/phones/deactivate"() {
|
|
9520
9686
|
const { client, defaults } = this;
|
|
9521
9687
|
return function phonesDeactivate(...args) {
|
|
9522
9688
|
const seam = SeamHttpPhones.fromClient(client, defaults);
|
|
9523
9689
|
return seam.deactivate(...args);
|
|
9524
9690
|
};
|
|
9525
9691
|
}
|
|
9526
|
-
get
|
|
9692
|
+
get "/phones/get"() {
|
|
9527
9693
|
const { client, defaults } = this;
|
|
9528
9694
|
return function phonesGet(...args) {
|
|
9529
9695
|
const seam = SeamHttpPhones.fromClient(client, defaults);
|
|
9530
9696
|
return seam.get(...args);
|
|
9531
9697
|
};
|
|
9532
9698
|
}
|
|
9533
|
-
get
|
|
9699
|
+
get "/phones/list"() {
|
|
9534
9700
|
const { client, defaults } = this;
|
|
9535
9701
|
return function phonesList(...args) {
|
|
9536
9702
|
const seam = SeamHttpPhones.fromClient(client, defaults);
|
|
9537
9703
|
return seam.list(...args);
|
|
9538
9704
|
};
|
|
9539
9705
|
}
|
|
9540
|
-
get
|
|
9706
|
+
get "/phones/simulate/create_sandbox_phone"() {
|
|
9541
9707
|
const { client, defaults } = this;
|
|
9542
9708
|
return function phonesSimulateCreateSandboxPhone(...args) {
|
|
9543
9709
|
const seam = SeamHttpPhonesSimulate.fromClient(client, defaults);
|
|
9544
9710
|
return seam.createSandboxPhone(...args);
|
|
9545
9711
|
};
|
|
9546
9712
|
}
|
|
9547
|
-
get
|
|
9713
|
+
get "/seam/console/v1/get_resource_locator"() {
|
|
9548
9714
|
const { client, defaults } = this;
|
|
9549
9715
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9550
9716
|
throw new Error(
|
|
@@ -9556,7 +9722,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9556
9722
|
return seam.getResourceLocator(...args);
|
|
9557
9723
|
};
|
|
9558
9724
|
}
|
|
9559
|
-
get
|
|
9725
|
+
get "/seam/console/v1/timelines/get"() {
|
|
9560
9726
|
const { client, defaults } = this;
|
|
9561
9727
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9562
9728
|
throw new Error(
|
|
@@ -9568,7 +9734,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9568
9734
|
return seam.get(...args);
|
|
9569
9735
|
};
|
|
9570
9736
|
}
|
|
9571
|
-
get
|
|
9737
|
+
get "/seam/customer/v1/automation_runs/list"() {
|
|
9572
9738
|
const { client, defaults } = this;
|
|
9573
9739
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9574
9740
|
throw new Error(
|
|
@@ -9583,7 +9749,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9583
9749
|
return seam.list(...args);
|
|
9584
9750
|
};
|
|
9585
9751
|
}
|
|
9586
|
-
get
|
|
9752
|
+
get "/seam/customer/v1/automations/delete"() {
|
|
9587
9753
|
const { client, defaults } = this;
|
|
9588
9754
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9589
9755
|
throw new Error(
|
|
@@ -9598,7 +9764,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9598
9764
|
return seam.delete(...args);
|
|
9599
9765
|
};
|
|
9600
9766
|
}
|
|
9601
|
-
get
|
|
9767
|
+
get "/seam/customer/v1/automations/get"() {
|
|
9602
9768
|
const { client, defaults } = this;
|
|
9603
9769
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9604
9770
|
throw new Error(
|
|
@@ -9613,7 +9779,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9613
9779
|
return seam.get(...args);
|
|
9614
9780
|
};
|
|
9615
9781
|
}
|
|
9616
|
-
get
|
|
9782
|
+
get "/seam/customer/v1/automations/update"() {
|
|
9617
9783
|
const { client, defaults } = this;
|
|
9618
9784
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9619
9785
|
throw new Error(
|
|
@@ -9628,7 +9794,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9628
9794
|
return seam.update(...args);
|
|
9629
9795
|
};
|
|
9630
9796
|
}
|
|
9631
|
-
get
|
|
9797
|
+
get "/seam/customer/v1/events/list"() {
|
|
9632
9798
|
const { client, defaults } = this;
|
|
9633
9799
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9634
9800
|
throw new Error(
|
|
@@ -9640,7 +9806,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9640
9806
|
return seam.list(...args);
|
|
9641
9807
|
};
|
|
9642
9808
|
}
|
|
9643
|
-
get
|
|
9809
|
+
get "/seam/customer/v1/portals/get"() {
|
|
9644
9810
|
const { client, defaults } = this;
|
|
9645
9811
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9646
9812
|
throw new Error(
|
|
@@ -9652,7 +9818,22 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9652
9818
|
return seam.get(...args);
|
|
9653
9819
|
};
|
|
9654
9820
|
}
|
|
9655
|
-
get
|
|
9821
|
+
get "/seam/customer/v1/reservations/list"() {
|
|
9822
|
+
const { client, defaults } = this;
|
|
9823
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9824
|
+
throw new Error(
|
|
9825
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
9826
|
+
);
|
|
9827
|
+
}
|
|
9828
|
+
return function seamCustomerV1ReservationsList(...args) {
|
|
9829
|
+
const seam = SeamHttpSeamCustomerV1Reservations.fromClient(
|
|
9830
|
+
client,
|
|
9831
|
+
defaults
|
|
9832
|
+
);
|
|
9833
|
+
return seam.list(...args);
|
|
9834
|
+
};
|
|
9835
|
+
}
|
|
9836
|
+
get "/seam/customer/v1/settings/get"() {
|
|
9656
9837
|
const { client, defaults } = this;
|
|
9657
9838
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9658
9839
|
throw new Error(
|
|
@@ -9664,7 +9845,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9664
9845
|
return seam.get(...args);
|
|
9665
9846
|
};
|
|
9666
9847
|
}
|
|
9667
|
-
get
|
|
9848
|
+
get "/seam/customer/v1/settings/update"() {
|
|
9668
9849
|
const { client, defaults } = this;
|
|
9669
9850
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9670
9851
|
throw new Error(
|
|
@@ -9676,7 +9857,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9676
9857
|
return seam.update(...args);
|
|
9677
9858
|
};
|
|
9678
9859
|
}
|
|
9679
|
-
get
|
|
9860
|
+
get "/seam/partner/v1/building_blocks/spaces/auto_map"() {
|
|
9680
9861
|
const { client, defaults } = this;
|
|
9681
9862
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9682
9863
|
throw new Error(
|
|
@@ -9691,105 +9872,105 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9691
9872
|
return seam.autoMap(...args);
|
|
9692
9873
|
};
|
|
9693
9874
|
}
|
|
9694
|
-
get
|
|
9875
|
+
get "/spaces/add_acs_entrances"() {
|
|
9695
9876
|
const { client, defaults } = this;
|
|
9696
9877
|
return function spacesAddAcsEntrances(...args) {
|
|
9697
9878
|
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
9698
9879
|
return seam.addAcsEntrances(...args);
|
|
9699
9880
|
};
|
|
9700
9881
|
}
|
|
9701
|
-
get
|
|
9882
|
+
get "/spaces/add_devices"() {
|
|
9702
9883
|
const { client, defaults } = this;
|
|
9703
9884
|
return function spacesAddDevices(...args) {
|
|
9704
9885
|
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
9705
9886
|
return seam.addDevices(...args);
|
|
9706
9887
|
};
|
|
9707
9888
|
}
|
|
9708
|
-
get
|
|
9889
|
+
get "/spaces/create"() {
|
|
9709
9890
|
const { client, defaults } = this;
|
|
9710
9891
|
return function spacesCreate(...args) {
|
|
9711
9892
|
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
9712
9893
|
return seam.create(...args);
|
|
9713
9894
|
};
|
|
9714
9895
|
}
|
|
9715
|
-
get
|
|
9896
|
+
get "/spaces/delete"() {
|
|
9716
9897
|
const { client, defaults } = this;
|
|
9717
9898
|
return function spacesDelete(...args) {
|
|
9718
9899
|
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
9719
9900
|
return seam.delete(...args);
|
|
9720
9901
|
};
|
|
9721
9902
|
}
|
|
9722
|
-
get
|
|
9903
|
+
get "/spaces/get"() {
|
|
9723
9904
|
const { client, defaults } = this;
|
|
9724
9905
|
return function spacesGet(...args) {
|
|
9725
9906
|
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
9726
9907
|
return seam.get(...args);
|
|
9727
9908
|
};
|
|
9728
9909
|
}
|
|
9729
|
-
get
|
|
9910
|
+
get "/spaces/get_related"() {
|
|
9730
9911
|
const { client, defaults } = this;
|
|
9731
9912
|
return function spacesGetRelated(...args) {
|
|
9732
9913
|
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
9733
9914
|
return seam.getRelated(...args);
|
|
9734
9915
|
};
|
|
9735
9916
|
}
|
|
9736
|
-
get
|
|
9917
|
+
get "/spaces/list"() {
|
|
9737
9918
|
const { client, defaults } = this;
|
|
9738
9919
|
return function spacesList(...args) {
|
|
9739
9920
|
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
9740
9921
|
return seam.list(...args);
|
|
9741
9922
|
};
|
|
9742
9923
|
}
|
|
9743
|
-
get
|
|
9924
|
+
get "/spaces/remove_acs_entrances"() {
|
|
9744
9925
|
const { client, defaults } = this;
|
|
9745
9926
|
return function spacesRemoveAcsEntrances(...args) {
|
|
9746
9927
|
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
9747
9928
|
return seam.removeAcsEntrances(...args);
|
|
9748
9929
|
};
|
|
9749
9930
|
}
|
|
9750
|
-
get
|
|
9931
|
+
get "/spaces/remove_devices"() {
|
|
9751
9932
|
const { client, defaults } = this;
|
|
9752
9933
|
return function spacesRemoveDevices(...args) {
|
|
9753
9934
|
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
9754
9935
|
return seam.removeDevices(...args);
|
|
9755
9936
|
};
|
|
9756
9937
|
}
|
|
9757
|
-
get
|
|
9938
|
+
get "/spaces/update"() {
|
|
9758
9939
|
const { client, defaults } = this;
|
|
9759
9940
|
return function spacesUpdate(...args) {
|
|
9760
9941
|
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
9761
9942
|
return seam.update(...args);
|
|
9762
9943
|
};
|
|
9763
9944
|
}
|
|
9764
|
-
get
|
|
9945
|
+
get "/thermostats/activate_climate_preset"() {
|
|
9765
9946
|
const { client, defaults } = this;
|
|
9766
9947
|
return function thermostatsActivateClimatePreset(...args) {
|
|
9767
9948
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
9768
9949
|
return seam.activateClimatePreset(...args);
|
|
9769
9950
|
};
|
|
9770
9951
|
}
|
|
9771
|
-
get
|
|
9952
|
+
get "/thermostats/cool"() {
|
|
9772
9953
|
const { client, defaults } = this;
|
|
9773
9954
|
return function thermostatsCool(...args) {
|
|
9774
9955
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
9775
9956
|
return seam.cool(...args);
|
|
9776
9957
|
};
|
|
9777
9958
|
}
|
|
9778
|
-
get
|
|
9959
|
+
get "/thermostats/create_climate_preset"() {
|
|
9779
9960
|
const { client, defaults } = this;
|
|
9780
9961
|
return function thermostatsCreateClimatePreset(...args) {
|
|
9781
9962
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
9782
9963
|
return seam.createClimatePreset(...args);
|
|
9783
9964
|
};
|
|
9784
9965
|
}
|
|
9785
|
-
get
|
|
9966
|
+
get "/thermostats/delete_climate_preset"() {
|
|
9786
9967
|
const { client, defaults } = this;
|
|
9787
9968
|
return function thermostatsDeleteClimatePreset(...args) {
|
|
9788
9969
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
9789
9970
|
return seam.deleteClimatePreset(...args);
|
|
9790
9971
|
};
|
|
9791
9972
|
}
|
|
9792
|
-
get
|
|
9973
|
+
get "/thermostats/get"() {
|
|
9793
9974
|
const { client, defaults } = this;
|
|
9794
9975
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9795
9976
|
throw new Error(
|
|
@@ -9801,147 +9982,147 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9801
9982
|
return seam.get(...args);
|
|
9802
9983
|
};
|
|
9803
9984
|
}
|
|
9804
|
-
get
|
|
9985
|
+
get "/thermostats/heat"() {
|
|
9805
9986
|
const { client, defaults } = this;
|
|
9806
9987
|
return function thermostatsHeat(...args) {
|
|
9807
9988
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
9808
9989
|
return seam.heat(...args);
|
|
9809
9990
|
};
|
|
9810
9991
|
}
|
|
9811
|
-
get
|
|
9992
|
+
get "/thermostats/heat_cool"() {
|
|
9812
9993
|
const { client, defaults } = this;
|
|
9813
9994
|
return function thermostatsHeatCool(...args) {
|
|
9814
9995
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
9815
9996
|
return seam.heatCool(...args);
|
|
9816
9997
|
};
|
|
9817
9998
|
}
|
|
9818
|
-
get
|
|
9999
|
+
get "/thermostats/list"() {
|
|
9819
10000
|
const { client, defaults } = this;
|
|
9820
10001
|
return function thermostatsList(...args) {
|
|
9821
10002
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
9822
10003
|
return seam.list(...args);
|
|
9823
10004
|
};
|
|
9824
10005
|
}
|
|
9825
|
-
get
|
|
10006
|
+
get "/thermostats/off"() {
|
|
9826
10007
|
const { client, defaults } = this;
|
|
9827
10008
|
return function thermostatsOff(...args) {
|
|
9828
10009
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
9829
10010
|
return seam.off(...args);
|
|
9830
10011
|
};
|
|
9831
10012
|
}
|
|
9832
|
-
get
|
|
10013
|
+
get "/thermostats/set_fallback_climate_preset"() {
|
|
9833
10014
|
const { client, defaults } = this;
|
|
9834
10015
|
return function thermostatsSetFallbackClimatePreset(...args) {
|
|
9835
10016
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
9836
10017
|
return seam.setFallbackClimatePreset(...args);
|
|
9837
10018
|
};
|
|
9838
10019
|
}
|
|
9839
|
-
get
|
|
10020
|
+
get "/thermostats/set_fan_mode"() {
|
|
9840
10021
|
const { client, defaults } = this;
|
|
9841
10022
|
return function thermostatsSetFanMode(...args) {
|
|
9842
10023
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
9843
10024
|
return seam.setFanMode(...args);
|
|
9844
10025
|
};
|
|
9845
10026
|
}
|
|
9846
|
-
get
|
|
10027
|
+
get "/thermostats/set_hvac_mode"() {
|
|
9847
10028
|
const { client, defaults } = this;
|
|
9848
10029
|
return function thermostatsSetHvacMode(...args) {
|
|
9849
10030
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
9850
10031
|
return seam.setHvacMode(...args);
|
|
9851
10032
|
};
|
|
9852
10033
|
}
|
|
9853
|
-
get
|
|
10034
|
+
get "/thermostats/set_temperature_threshold"() {
|
|
9854
10035
|
const { client, defaults } = this;
|
|
9855
10036
|
return function thermostatsSetTemperatureThreshold(...args) {
|
|
9856
10037
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
9857
10038
|
return seam.setTemperatureThreshold(...args);
|
|
9858
10039
|
};
|
|
9859
10040
|
}
|
|
9860
|
-
get
|
|
10041
|
+
get "/thermostats/update_climate_preset"() {
|
|
9861
10042
|
const { client, defaults } = this;
|
|
9862
10043
|
return function thermostatsUpdateClimatePreset(...args) {
|
|
9863
10044
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
9864
10045
|
return seam.updateClimatePreset(...args);
|
|
9865
10046
|
};
|
|
9866
10047
|
}
|
|
9867
|
-
get
|
|
10048
|
+
get "/thermostats/update_weekly_program"() {
|
|
9868
10049
|
const { client, defaults } = this;
|
|
9869
10050
|
return function thermostatsUpdateWeeklyProgram(...args) {
|
|
9870
10051
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
9871
10052
|
return seam.updateWeeklyProgram(...args);
|
|
9872
10053
|
};
|
|
9873
10054
|
}
|
|
9874
|
-
get
|
|
10055
|
+
get "/thermostats/daily_programs/create"() {
|
|
9875
10056
|
const { client, defaults } = this;
|
|
9876
10057
|
return function thermostatsDailyProgramsCreate(...args) {
|
|
9877
10058
|
const seam = SeamHttpThermostatsDailyPrograms.fromClient(client, defaults);
|
|
9878
10059
|
return seam.create(...args);
|
|
9879
10060
|
};
|
|
9880
10061
|
}
|
|
9881
|
-
get
|
|
10062
|
+
get "/thermostats/daily_programs/delete"() {
|
|
9882
10063
|
const { client, defaults } = this;
|
|
9883
10064
|
return function thermostatsDailyProgramsDelete(...args) {
|
|
9884
10065
|
const seam = SeamHttpThermostatsDailyPrograms.fromClient(client, defaults);
|
|
9885
10066
|
return seam.delete(...args);
|
|
9886
10067
|
};
|
|
9887
10068
|
}
|
|
9888
|
-
get
|
|
10069
|
+
get "/thermostats/daily_programs/update"() {
|
|
9889
10070
|
const { client, defaults } = this;
|
|
9890
10071
|
return function thermostatsDailyProgramsUpdate(...args) {
|
|
9891
10072
|
const seam = SeamHttpThermostatsDailyPrograms.fromClient(client, defaults);
|
|
9892
10073
|
return seam.update(...args);
|
|
9893
10074
|
};
|
|
9894
10075
|
}
|
|
9895
|
-
get
|
|
10076
|
+
get "/thermostats/schedules/create"() {
|
|
9896
10077
|
const { client, defaults } = this;
|
|
9897
10078
|
return function thermostatsSchedulesCreate(...args) {
|
|
9898
10079
|
const seam = SeamHttpThermostatsSchedules.fromClient(client, defaults);
|
|
9899
10080
|
return seam.create(...args);
|
|
9900
10081
|
};
|
|
9901
10082
|
}
|
|
9902
|
-
get
|
|
10083
|
+
get "/thermostats/schedules/delete"() {
|
|
9903
10084
|
const { client, defaults } = this;
|
|
9904
10085
|
return function thermostatsSchedulesDelete(...args) {
|
|
9905
10086
|
const seam = SeamHttpThermostatsSchedules.fromClient(client, defaults);
|
|
9906
10087
|
return seam.delete(...args);
|
|
9907
10088
|
};
|
|
9908
10089
|
}
|
|
9909
|
-
get
|
|
10090
|
+
get "/thermostats/schedules/get"() {
|
|
9910
10091
|
const { client, defaults } = this;
|
|
9911
10092
|
return function thermostatsSchedulesGet(...args) {
|
|
9912
10093
|
const seam = SeamHttpThermostatsSchedules.fromClient(client, defaults);
|
|
9913
10094
|
return seam.get(...args);
|
|
9914
10095
|
};
|
|
9915
10096
|
}
|
|
9916
|
-
get
|
|
10097
|
+
get "/thermostats/schedules/list"() {
|
|
9917
10098
|
const { client, defaults } = this;
|
|
9918
10099
|
return function thermostatsSchedulesList(...args) {
|
|
9919
10100
|
const seam = SeamHttpThermostatsSchedules.fromClient(client, defaults);
|
|
9920
10101
|
return seam.list(...args);
|
|
9921
10102
|
};
|
|
9922
10103
|
}
|
|
9923
|
-
get
|
|
10104
|
+
get "/thermostats/schedules/update"() {
|
|
9924
10105
|
const { client, defaults } = this;
|
|
9925
10106
|
return function thermostatsSchedulesUpdate(...args) {
|
|
9926
10107
|
const seam = SeamHttpThermostatsSchedules.fromClient(client, defaults);
|
|
9927
10108
|
return seam.update(...args);
|
|
9928
10109
|
};
|
|
9929
10110
|
}
|
|
9930
|
-
get
|
|
10111
|
+
get "/thermostats/simulate/hvac_mode_adjusted"() {
|
|
9931
10112
|
const { client, defaults } = this;
|
|
9932
10113
|
return function thermostatsSimulateHvacModeAdjusted(...args) {
|
|
9933
10114
|
const seam = SeamHttpThermostatsSimulate.fromClient(client, defaults);
|
|
9934
10115
|
return seam.hvacModeAdjusted(...args);
|
|
9935
10116
|
};
|
|
9936
10117
|
}
|
|
9937
|
-
get
|
|
10118
|
+
get "/thermostats/simulate/temperature_reached"() {
|
|
9938
10119
|
const { client, defaults } = this;
|
|
9939
10120
|
return function thermostatsSimulateTemperatureReached(...args) {
|
|
9940
10121
|
const seam = SeamHttpThermostatsSimulate.fromClient(client, defaults);
|
|
9941
10122
|
return seam.temperatureReached(...args);
|
|
9942
10123
|
};
|
|
9943
10124
|
}
|
|
9944
|
-
get
|
|
10125
|
+
get "/unstable_partner/building_blocks/connect_accounts"() {
|
|
9945
10126
|
const { client, defaults } = this;
|
|
9946
10127
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9947
10128
|
throw new Error(
|
|
@@ -9956,7 +10137,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9956
10137
|
return seam.connectAccounts(...args);
|
|
9957
10138
|
};
|
|
9958
10139
|
}
|
|
9959
|
-
get
|
|
10140
|
+
get "/unstable_partner/building_blocks/generate_magic_link"() {
|
|
9960
10141
|
const { client, defaults } = this;
|
|
9961
10142
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9962
10143
|
throw new Error(
|
|
@@ -9971,7 +10152,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9971
10152
|
return seam.generateMagicLink(...args);
|
|
9972
10153
|
};
|
|
9973
10154
|
}
|
|
9974
|
-
get
|
|
10155
|
+
get "/unstable_partner/building_blocks/manage_devices"() {
|
|
9975
10156
|
const { client, defaults } = this;
|
|
9976
10157
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9977
10158
|
throw new Error(
|
|
@@ -9986,7 +10167,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9986
10167
|
return seam.manageDevices(...args);
|
|
9987
10168
|
};
|
|
9988
10169
|
}
|
|
9989
|
-
get
|
|
10170
|
+
get "/unstable_partner/building_blocks/organize_spaces"() {
|
|
9990
10171
|
const { client, defaults } = this;
|
|
9991
10172
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9992
10173
|
throw new Error(
|
|
@@ -10001,98 +10182,98 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10001
10182
|
return seam.organizeSpaces(...args);
|
|
10002
10183
|
};
|
|
10003
10184
|
}
|
|
10004
|
-
get
|
|
10185
|
+
get "/user_identities/add_acs_user"() {
|
|
10005
10186
|
const { client, defaults } = this;
|
|
10006
10187
|
return function userIdentitiesAddAcsUser(...args) {
|
|
10007
10188
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10008
10189
|
return seam.addAcsUser(...args);
|
|
10009
10190
|
};
|
|
10010
10191
|
}
|
|
10011
|
-
get
|
|
10192
|
+
get "/user_identities/create"() {
|
|
10012
10193
|
const { client, defaults } = this;
|
|
10013
10194
|
return function userIdentitiesCreate(...args) {
|
|
10014
10195
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10015
10196
|
return seam.create(...args);
|
|
10016
10197
|
};
|
|
10017
10198
|
}
|
|
10018
|
-
get
|
|
10199
|
+
get "/user_identities/delete"() {
|
|
10019
10200
|
const { client, defaults } = this;
|
|
10020
10201
|
return function userIdentitiesDelete(...args) {
|
|
10021
10202
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10022
10203
|
return seam.delete(...args);
|
|
10023
10204
|
};
|
|
10024
10205
|
}
|
|
10025
|
-
get
|
|
10206
|
+
get "/user_identities/generate_instant_key"() {
|
|
10026
10207
|
const { client, defaults } = this;
|
|
10027
10208
|
return function userIdentitiesGenerateInstantKey(...args) {
|
|
10028
10209
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10029
10210
|
return seam.generateInstantKey(...args);
|
|
10030
10211
|
};
|
|
10031
10212
|
}
|
|
10032
|
-
get
|
|
10213
|
+
get "/user_identities/get"() {
|
|
10033
10214
|
const { client, defaults } = this;
|
|
10034
10215
|
return function userIdentitiesGet(...args) {
|
|
10035
10216
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10036
10217
|
return seam.get(...args);
|
|
10037
10218
|
};
|
|
10038
10219
|
}
|
|
10039
|
-
get
|
|
10220
|
+
get "/user_identities/grant_access_to_device"() {
|
|
10040
10221
|
const { client, defaults } = this;
|
|
10041
10222
|
return function userIdentitiesGrantAccessToDevice(...args) {
|
|
10042
10223
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10043
10224
|
return seam.grantAccessToDevice(...args);
|
|
10044
10225
|
};
|
|
10045
10226
|
}
|
|
10046
|
-
get
|
|
10227
|
+
get "/user_identities/list"() {
|
|
10047
10228
|
const { client, defaults } = this;
|
|
10048
10229
|
return function userIdentitiesList(...args) {
|
|
10049
10230
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10050
10231
|
return seam.list(...args);
|
|
10051
10232
|
};
|
|
10052
10233
|
}
|
|
10053
|
-
get
|
|
10234
|
+
get "/user_identities/list_accessible_devices"() {
|
|
10054
10235
|
const { client, defaults } = this;
|
|
10055
10236
|
return function userIdentitiesListAccessibleDevices(...args) {
|
|
10056
10237
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10057
10238
|
return seam.listAccessibleDevices(...args);
|
|
10058
10239
|
};
|
|
10059
10240
|
}
|
|
10060
|
-
get
|
|
10241
|
+
get "/user_identities/list_acs_systems"() {
|
|
10061
10242
|
const { client, defaults } = this;
|
|
10062
10243
|
return function userIdentitiesListAcsSystems(...args) {
|
|
10063
10244
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10064
10245
|
return seam.listAcsSystems(...args);
|
|
10065
10246
|
};
|
|
10066
10247
|
}
|
|
10067
|
-
get
|
|
10248
|
+
get "/user_identities/list_acs_users"() {
|
|
10068
10249
|
const { client, defaults } = this;
|
|
10069
10250
|
return function userIdentitiesListAcsUsers(...args) {
|
|
10070
10251
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10071
10252
|
return seam.listAcsUsers(...args);
|
|
10072
10253
|
};
|
|
10073
10254
|
}
|
|
10074
|
-
get
|
|
10255
|
+
get "/user_identities/remove_acs_user"() {
|
|
10075
10256
|
const { client, defaults } = this;
|
|
10076
10257
|
return function userIdentitiesRemoveAcsUser(...args) {
|
|
10077
10258
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10078
10259
|
return seam.removeAcsUser(...args);
|
|
10079
10260
|
};
|
|
10080
10261
|
}
|
|
10081
|
-
get
|
|
10262
|
+
get "/user_identities/revoke_access_to_device"() {
|
|
10082
10263
|
const { client, defaults } = this;
|
|
10083
10264
|
return function userIdentitiesRevokeAccessToDevice(...args) {
|
|
10084
10265
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10085
10266
|
return seam.revokeAccessToDevice(...args);
|
|
10086
10267
|
};
|
|
10087
10268
|
}
|
|
10088
|
-
get
|
|
10269
|
+
get "/user_identities/update"() {
|
|
10089
10270
|
const { client, defaults } = this;
|
|
10090
10271
|
return function userIdentitiesUpdate(...args) {
|
|
10091
10272
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10092
10273
|
return seam.update(...args);
|
|
10093
10274
|
};
|
|
10094
10275
|
}
|
|
10095
|
-
get
|
|
10276
|
+
get "/user_identities/enrollment_automations/delete"() {
|
|
10096
10277
|
const { client, defaults } = this;
|
|
10097
10278
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10098
10279
|
throw new Error(
|
|
@@ -10107,7 +10288,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10107
10288
|
return seam.delete(...args);
|
|
10108
10289
|
};
|
|
10109
10290
|
}
|
|
10110
|
-
get
|
|
10291
|
+
get "/user_identities/enrollment_automations/get"() {
|
|
10111
10292
|
const { client, defaults } = this;
|
|
10112
10293
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10113
10294
|
throw new Error(
|
|
@@ -10122,7 +10303,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10122
10303
|
return seam.get(...args);
|
|
10123
10304
|
};
|
|
10124
10305
|
}
|
|
10125
|
-
get
|
|
10306
|
+
get "/user_identities/enrollment_automations/launch"() {
|
|
10126
10307
|
const { client, defaults } = this;
|
|
10127
10308
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10128
10309
|
throw new Error(
|
|
@@ -10137,7 +10318,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10137
10318
|
return seam.launch(...args);
|
|
10138
10319
|
};
|
|
10139
10320
|
}
|
|
10140
|
-
get
|
|
10321
|
+
get "/user_identities/enrollment_automations/list"() {
|
|
10141
10322
|
const { client, defaults } = this;
|
|
10142
10323
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10143
10324
|
throw new Error(
|
|
@@ -10152,49 +10333,49 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10152
10333
|
return seam.list(...args);
|
|
10153
10334
|
};
|
|
10154
10335
|
}
|
|
10155
|
-
get
|
|
10336
|
+
get "/webhooks/create"() {
|
|
10156
10337
|
const { client, defaults } = this;
|
|
10157
10338
|
return function webhooksCreate(...args) {
|
|
10158
10339
|
const seam = SeamHttpWebhooks.fromClient(client, defaults);
|
|
10159
10340
|
return seam.create(...args);
|
|
10160
10341
|
};
|
|
10161
10342
|
}
|
|
10162
|
-
get
|
|
10343
|
+
get "/webhooks/delete"() {
|
|
10163
10344
|
const { client, defaults } = this;
|
|
10164
10345
|
return function webhooksDelete(...args) {
|
|
10165
10346
|
const seam = SeamHttpWebhooks.fromClient(client, defaults);
|
|
10166
10347
|
return seam.delete(...args);
|
|
10167
10348
|
};
|
|
10168
10349
|
}
|
|
10169
|
-
get
|
|
10350
|
+
get "/webhooks/get"() {
|
|
10170
10351
|
const { client, defaults } = this;
|
|
10171
10352
|
return function webhooksGet(...args) {
|
|
10172
10353
|
const seam = SeamHttpWebhooks.fromClient(client, defaults);
|
|
10173
10354
|
return seam.get(...args);
|
|
10174
10355
|
};
|
|
10175
10356
|
}
|
|
10176
|
-
get
|
|
10357
|
+
get "/webhooks/list"() {
|
|
10177
10358
|
const { client, defaults } = this;
|
|
10178
10359
|
return function webhooksList(...args) {
|
|
10179
10360
|
const seam = SeamHttpWebhooks.fromClient(client, defaults);
|
|
10180
10361
|
return seam.list(...args);
|
|
10181
10362
|
};
|
|
10182
10363
|
}
|
|
10183
|
-
get
|
|
10364
|
+
get "/webhooks/update"() {
|
|
10184
10365
|
const { client, defaults } = this;
|
|
10185
10366
|
return function webhooksUpdate(...args) {
|
|
10186
10367
|
const seam = SeamHttpWebhooks.fromClient(client, defaults);
|
|
10187
10368
|
return seam.update(...args);
|
|
10188
10369
|
};
|
|
10189
10370
|
}
|
|
10190
|
-
get
|
|
10371
|
+
get "/workspaces/create"() {
|
|
10191
10372
|
const { client, defaults } = this;
|
|
10192
10373
|
return function workspacesCreate(...args) {
|
|
10193
10374
|
const seam = SeamHttpWorkspaces.fromClient(client, defaults);
|
|
10194
10375
|
return seam.create(...args);
|
|
10195
10376
|
};
|
|
10196
10377
|
}
|
|
10197
|
-
get
|
|
10378
|
+
get "/workspaces/find_anything"() {
|
|
10198
10379
|
const { client, defaults } = this;
|
|
10199
10380
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10200
10381
|
throw new Error(
|
|
@@ -10206,35 +10387,35 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10206
10387
|
return seam.findAnything(...args);
|
|
10207
10388
|
};
|
|
10208
10389
|
}
|
|
10209
|
-
get
|
|
10390
|
+
get "/workspaces/get"() {
|
|
10210
10391
|
const { client, defaults } = this;
|
|
10211
10392
|
return function workspacesGet(...args) {
|
|
10212
10393
|
const seam = SeamHttpWorkspaces.fromClient(client, defaults);
|
|
10213
10394
|
return seam.get(...args);
|
|
10214
10395
|
};
|
|
10215
10396
|
}
|
|
10216
|
-
get
|
|
10397
|
+
get "/workspaces/list"() {
|
|
10217
10398
|
const { client, defaults } = this;
|
|
10218
10399
|
return function workspacesList(...args) {
|
|
10219
10400
|
const seam = SeamHttpWorkspaces.fromClient(client, defaults);
|
|
10220
10401
|
return seam.list(...args);
|
|
10221
10402
|
};
|
|
10222
10403
|
}
|
|
10223
|
-
get
|
|
10404
|
+
get "/workspaces/reset_sandbox"() {
|
|
10224
10405
|
const { client, defaults } = this;
|
|
10225
10406
|
return function workspacesResetSandbox(...args) {
|
|
10226
10407
|
const seam = SeamHttpWorkspaces.fromClient(client, defaults);
|
|
10227
10408
|
return seam.resetSandbox(...args);
|
|
10228
10409
|
};
|
|
10229
10410
|
}
|
|
10230
|
-
get
|
|
10411
|
+
get "/workspaces/update"() {
|
|
10231
10412
|
const { client, defaults } = this;
|
|
10232
10413
|
return function workspacesUpdate(...args) {
|
|
10233
10414
|
const seam = SeamHttpWorkspaces.fromClient(client, defaults);
|
|
10234
10415
|
return seam.update(...args);
|
|
10235
10416
|
};
|
|
10236
10417
|
}
|
|
10237
|
-
get
|
|
10418
|
+
get "/workspaces/customization_profiles/create"() {
|
|
10238
10419
|
const { client, defaults } = this;
|
|
10239
10420
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10240
10421
|
throw new Error(
|
|
@@ -10249,7 +10430,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10249
10430
|
return seam.create(...args);
|
|
10250
10431
|
};
|
|
10251
10432
|
}
|
|
10252
|
-
get
|
|
10433
|
+
get "/workspaces/customization_profiles/get"() {
|
|
10253
10434
|
const { client, defaults } = this;
|
|
10254
10435
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10255
10436
|
throw new Error(
|
|
@@ -10264,7 +10445,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10264
10445
|
return seam.get(...args);
|
|
10265
10446
|
};
|
|
10266
10447
|
}
|
|
10267
|
-
get
|
|
10448
|
+
get "/workspaces/customization_profiles/list"() {
|
|
10268
10449
|
const { client, defaults } = this;
|
|
10269
10450
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10270
10451
|
throw new Error(
|
|
@@ -10279,7 +10460,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10279
10460
|
return seam.list(...args);
|
|
10280
10461
|
};
|
|
10281
10462
|
}
|
|
10282
|
-
get
|
|
10463
|
+
get "/workspaces/customization_profiles/update"() {
|
|
10283
10464
|
const { client, defaults } = this;
|
|
10284
10465
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10285
10466
|
throw new Error(
|
|
@@ -10294,7 +10475,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10294
10475
|
return seam.update(...args);
|
|
10295
10476
|
};
|
|
10296
10477
|
}
|
|
10297
|
-
get
|
|
10478
|
+
get "/workspaces/customization_profiles/upload_images"() {
|
|
10298
10479
|
const { client, defaults } = this;
|
|
10299
10480
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10300
10481
|
throw new Error(
|
|
@@ -10310,13 +10491,14 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10310
10491
|
};
|
|
10311
10492
|
}
|
|
10312
10493
|
};
|
|
10313
|
-
_SeamHttpEndpoints.ltsVersion = seamApiLtsVersion;
|
|
10314
|
-
var SeamHttpEndpoints = _SeamHttpEndpoints;
|
|
10315
10494
|
|
|
10316
10495
|
// src/lib/seam/connect/routes/seam-http-endpoints-without-workspace.ts
|
|
10317
|
-
var
|
|
10496
|
+
var SeamHttpEndpointsWithoutWorkspace = class _SeamHttpEndpointsWithoutWorkspace {
|
|
10497
|
+
client;
|
|
10498
|
+
defaults;
|
|
10499
|
+
ltsVersion = seamApiLtsVersion;
|
|
10500
|
+
static ltsVersion = seamApiLtsVersion;
|
|
10318
10501
|
constructor(options = {}) {
|
|
10319
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
10320
10502
|
const opts = parseOptions(options);
|
|
10321
10503
|
this.client = "client" in opts ? opts.client : createClient(opts);
|
|
10322
10504
|
this.defaults = limitToSeamHttpRequestOptions(opts);
|
|
@@ -10350,14 +10532,14 @@ var _SeamHttpEndpointsWithoutWorkspace = class _SeamHttpEndpointsWithoutWorkspac
|
|
|
10350
10532
|
}
|
|
10351
10533
|
return new _SeamHttpEndpointsWithoutWorkspace(constructorOptions);
|
|
10352
10534
|
}
|
|
10353
|
-
get
|
|
10535
|
+
get "/workspaces/create"() {
|
|
10354
10536
|
const { client, defaults } = this;
|
|
10355
10537
|
return function workspacesCreate(...args) {
|
|
10356
10538
|
const seam = SeamHttpWorkspaces.fromClient(client, defaults);
|
|
10357
10539
|
return seam.create(...args);
|
|
10358
10540
|
};
|
|
10359
10541
|
}
|
|
10360
|
-
get
|
|
10542
|
+
get "/workspaces/list"() {
|
|
10361
10543
|
const { client, defaults } = this;
|
|
10362
10544
|
return function workspacesList(...args) {
|
|
10363
10545
|
const seam = SeamHttpWorkspaces.fromClient(client, defaults);
|
|
@@ -10365,13 +10547,14 @@ var _SeamHttpEndpointsWithoutWorkspace = class _SeamHttpEndpointsWithoutWorkspac
|
|
|
10365
10547
|
};
|
|
10366
10548
|
}
|
|
10367
10549
|
};
|
|
10368
|
-
_SeamHttpEndpointsWithoutWorkspace.ltsVersion = seamApiLtsVersion;
|
|
10369
|
-
var SeamHttpEndpointsWithoutWorkspace = _SeamHttpEndpointsWithoutWorkspace;
|
|
10370
10550
|
|
|
10371
10551
|
// src/lib/seam/connect/routes/seam-http-without-workspace.ts
|
|
10372
|
-
var
|
|
10552
|
+
var SeamHttpWithoutWorkspace = class _SeamHttpWithoutWorkspace {
|
|
10553
|
+
client;
|
|
10554
|
+
defaults;
|
|
10555
|
+
ltsVersion = seamApiLtsVersion;
|
|
10556
|
+
static ltsVersion = seamApiLtsVersion;
|
|
10373
10557
|
constructor(options = {}) {
|
|
10374
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
10375
10558
|
const opts = parseOptions(options);
|
|
10376
10559
|
this.client = "client" in opts ? opts.client : createClient(opts);
|
|
10377
10560
|
this.defaults = limitToSeamHttpRequestOptions(opts);
|
|
@@ -10409,8 +10592,6 @@ var _SeamHttpWithoutWorkspace = class _SeamHttpWithoutWorkspace {
|
|
|
10409
10592
|
return SeamHttpWorkspaces.fromClient(this.client, this.defaults);
|
|
10410
10593
|
}
|
|
10411
10594
|
};
|
|
10412
|
-
_SeamHttpWithoutWorkspace.ltsVersion = seamApiLtsVersion;
|
|
10413
|
-
var SeamHttpWithoutWorkspace = _SeamHttpWithoutWorkspace;
|
|
10414
10595
|
var SeamHttpMultiWorkspace = SeamHttpWithoutWorkspace;
|
|
10415
10596
|
|
|
10416
10597
|
exports.SeamActionAttemptError = SeamActionAttemptError;
|
|
@@ -10469,6 +10650,7 @@ exports.SeamHttpSeamCustomerV1AutomationRuns = SeamHttpSeamCustomerV1AutomationR
|
|
|
10469
10650
|
exports.SeamHttpSeamCustomerV1Automations = SeamHttpSeamCustomerV1Automations;
|
|
10470
10651
|
exports.SeamHttpSeamCustomerV1Events = SeamHttpSeamCustomerV1Events;
|
|
10471
10652
|
exports.SeamHttpSeamCustomerV1Portals = SeamHttpSeamCustomerV1Portals;
|
|
10653
|
+
exports.SeamHttpSeamCustomerV1Reservations = SeamHttpSeamCustomerV1Reservations;
|
|
10472
10654
|
exports.SeamHttpSeamCustomerV1Settings = SeamHttpSeamCustomerV1Settings;
|
|
10473
10655
|
exports.SeamHttpSeamPartnerV1BuildingBlocks = SeamHttpSeamPartnerV1BuildingBlocks;
|
|
10474
10656
|
exports.SeamHttpSeamPartnerV1BuildingBlocksSpaces = SeamHttpSeamPartnerV1BuildingBlocksSpaces;
|