@seamapi/http 1.23.0 → 1.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +61 -0
- package/dist/connect.cjs +398 -170
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +78 -4
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/index.d.ts +2 -0
- package/lib/seam/connect/index.js +2 -0
- package/lib/seam/connect/index.js.map +1 -1
- package/lib/seam/connect/routes/access-codes-simulate.d.ts +2 -0
- package/lib/seam/connect/routes/access-codes-simulate.js +5 -1
- package/lib/seam/connect/routes/access-codes-simulate.js.map +1 -1
- package/lib/seam/connect/routes/access-codes-unmanaged.d.ts +2 -0
- package/lib/seam/connect/routes/access-codes-unmanaged.js +9 -5
- package/lib/seam/connect/routes/access-codes-unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/access-codes.d.ts +2 -0
- package/lib/seam/connect/routes/access-codes.js +13 -9
- package/lib/seam/connect/routes/access-codes.js.map +1 -1
- package/lib/seam/connect/routes/acs-access-groups-unmanaged.d.ts +2 -0
- package/lib/seam/connect/routes/acs-access-groups-unmanaged.js +6 -2
- package/lib/seam/connect/routes/acs-access-groups-unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/acs-access-groups.d.ts +2 -0
- package/lib/seam/connect/routes/acs-access-groups.js +10 -6
- package/lib/seam/connect/routes/acs-access-groups.js.map +1 -1
- package/lib/seam/connect/routes/acs-credential-pools.d.ts +2 -0
- package/lib/seam/connect/routes/acs-credential-pools.js +5 -1
- package/lib/seam/connect/routes/acs-credential-pools.js.map +1 -1
- package/lib/seam/connect/routes/acs-credential-provisioning-automations.d.ts +2 -0
- package/lib/seam/connect/routes/acs-credential-provisioning-automations.js +5 -1
- package/lib/seam/connect/routes/acs-credential-provisioning-automations.js.map +1 -1
- package/lib/seam/connect/routes/acs-credentials-unmanaged.d.ts +2 -0
- package/lib/seam/connect/routes/acs-credentials-unmanaged.js +6 -2
- package/lib/seam/connect/routes/acs-credentials-unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/acs-credentials.d.ts +2 -0
- package/lib/seam/connect/routes/acs-credentials.js +13 -9
- package/lib/seam/connect/routes/acs-credentials.js.map +1 -1
- package/lib/seam/connect/routes/acs-encoders-simulate.d.ts +2 -0
- package/lib/seam/connect/routes/acs-encoders-simulate.js +8 -4
- package/lib/seam/connect/routes/acs-encoders-simulate.js.map +1 -1
- package/lib/seam/connect/routes/acs-encoders.d.ts +2 -0
- package/lib/seam/connect/routes/acs-encoders.js +7 -3
- package/lib/seam/connect/routes/acs-encoders.js.map +1 -1
- package/lib/seam/connect/routes/acs-entrances.d.ts +2 -0
- package/lib/seam/connect/routes/acs-entrances.js +8 -4
- package/lib/seam/connect/routes/acs-entrances.js.map +1 -1
- package/lib/seam/connect/routes/acs-systems.d.ts +2 -0
- package/lib/seam/connect/routes/acs-systems.js +7 -3
- package/lib/seam/connect/routes/acs-systems.js.map +1 -1
- package/lib/seam/connect/routes/acs-users-unmanaged.d.ts +2 -0
- package/lib/seam/connect/routes/acs-users-unmanaged.js +6 -2
- package/lib/seam/connect/routes/acs-users-unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/acs-users.d.ts +2 -0
- package/lib/seam/connect/routes/acs-users.js +15 -11
- package/lib/seam/connect/routes/acs-users.js.map +1 -1
- package/lib/seam/connect/routes/acs.d.ts +3 -0
- package/lib/seam/connect/routes/acs.js +4 -0
- package/lib/seam/connect/routes/acs.js.map +1 -1
- package/lib/seam/connect/routes/action-attempts.d.ts +2 -0
- package/lib/seam/connect/routes/action-attempts.js +6 -2
- package/lib/seam/connect/routes/action-attempts.js.map +1 -1
- package/lib/seam/connect/routes/bridges.d.ts +2 -0
- package/lib/seam/connect/routes/bridges.js +6 -2
- package/lib/seam/connect/routes/bridges.js.map +1 -1
- package/lib/seam/connect/routes/client-sessions.d.ts +2 -0
- package/lib/seam/connect/routes/client-sessions.js +11 -7
- package/lib/seam/connect/routes/client-sessions.js.map +1 -1
- package/lib/seam/connect/routes/connect-webviews.d.ts +2 -0
- package/lib/seam/connect/routes/connect-webviews.js +8 -4
- package/lib/seam/connect/routes/connect-webviews.js.map +1 -1
- package/lib/seam/connect/routes/connected-accounts.d.ts +2 -0
- package/lib/seam/connect/routes/connected-accounts.js +8 -4
- package/lib/seam/connect/routes/connected-accounts.js.map +1 -1
- package/lib/seam/connect/routes/devices-simulate.d.ts +2 -0
- package/lib/seam/connect/routes/devices-simulate.js +7 -3
- package/lib/seam/connect/routes/devices-simulate.js.map +1 -1
- package/lib/seam/connect/routes/devices-unmanaged.d.ts +2 -0
- package/lib/seam/connect/routes/devices-unmanaged.js +7 -3
- package/lib/seam/connect/routes/devices-unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/devices.d.ts +2 -0
- package/lib/seam/connect/routes/devices.js +9 -5
- package/lib/seam/connect/routes/devices.js.map +1 -1
- package/lib/seam/connect/routes/events.d.ts +2 -0
- package/lib/seam/connect/routes/events.js +6 -2
- package/lib/seam/connect/routes/events.js.map +1 -1
- package/lib/seam/connect/routes/locks.d.ts +2 -0
- package/lib/seam/connect/routes/locks.js +8 -4
- package/lib/seam/connect/routes/locks.js.map +1 -1
- package/lib/seam/connect/routes/networks.d.ts +2 -0
- package/lib/seam/connect/routes/networks.js +6 -2
- package/lib/seam/connect/routes/networks.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors-noise-thresholds.d.ts +2 -0
- package/lib/seam/connect/routes/noise-sensors-noise-thresholds.js +9 -5
- package/lib/seam/connect/routes/noise-sensors-noise-thresholds.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors-simulate.d.ts +2 -0
- package/lib/seam/connect/routes/noise-sensors-simulate.js +5 -1
- package/lib/seam/connect/routes/noise-sensors-simulate.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors.d.ts +2 -0
- package/lib/seam/connect/routes/noise-sensors.js +5 -1
- package/lib/seam/connect/routes/noise-sensors.js.map +1 -1
- package/lib/seam/connect/routes/phones-simulate.d.ts +2 -0
- package/lib/seam/connect/routes/phones-simulate.js +5 -1
- package/lib/seam/connect/routes/phones-simulate.js.map +1 -1
- package/lib/seam/connect/routes/phones.d.ts +6 -0
- package/lib/seam/connect/routes/phones.js +14 -2
- package/lib/seam/connect/routes/phones.js.map +1 -1
- package/lib/seam/connect/routes/thermostats-schedules.d.ts +2 -0
- package/lib/seam/connect/routes/thermostats-schedules.js +9 -5
- package/lib/seam/connect/routes/thermostats-schedules.js.map +1 -1
- package/lib/seam/connect/routes/thermostats-simulate.d.ts +2 -0
- package/lib/seam/connect/routes/thermostats-simulate.js +6 -2
- package/lib/seam/connect/routes/thermostats-simulate.js.map +1 -1
- package/lib/seam/connect/routes/thermostats.d.ts +2 -0
- package/lib/seam/connect/routes/thermostats.js +18 -14
- package/lib/seam/connect/routes/thermostats.js.map +1 -1
- package/lib/seam/connect/routes/user-identities-enrollment-automations.d.ts +2 -0
- package/lib/seam/connect/routes/user-identities-enrollment-automations.js +8 -4
- package/lib/seam/connect/routes/user-identities-enrollment-automations.js.map +1 -1
- package/lib/seam/connect/routes/user-identities.d.ts +2 -0
- package/lib/seam/connect/routes/user-identities.js +16 -12
- package/lib/seam/connect/routes/user-identities.js.map +1 -1
- package/lib/seam/connect/routes/webhooks.d.ts +2 -0
- package/lib/seam/connect/routes/webhooks.js +9 -5
- package/lib/seam/connect/routes/webhooks.js.map +1 -1
- package/lib/seam/connect/routes/workspaces.d.ts +2 -0
- package/lib/seam/connect/routes/workspaces.js +8 -4
- package/lib/seam/connect/routes/workspaces.js.map +1 -1
- package/lib/seam/connect/seam-http-request.d.ts +6 -3
- package/lib/seam/connect/seam-http-request.js +25 -14
- package/lib/seam/connect/seam-http-request.js.map +1 -1
- package/lib/seam/connect/seam-http.d.ts +3 -0
- package/lib/seam/connect/seam-http.js +4 -0
- package/lib/seam/connect/seam-http.js.map +1 -1
- package/lib/seam/connect/seam-paginator.d.ts +30 -0
- package/lib/seam/connect/seam-paginator.js +103 -0
- package/lib/seam/connect/seam-paginator.js.map +1 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +4 -4
- package/src/lib/seam/connect/index.ts +2 -0
- package/src/lib/seam/connect/routes/access-codes-simulate.ts +8 -1
- package/src/lib/seam/connect/routes/access-codes-unmanaged.ts +12 -5
- package/src/lib/seam/connect/routes/access-codes.ts +16 -9
- package/src/lib/seam/connect/routes/acs-access-groups-unmanaged.ts +9 -2
- package/src/lib/seam/connect/routes/acs-access-groups.ts +13 -6
- package/src/lib/seam/connect/routes/acs-credential-pools.ts +8 -1
- package/src/lib/seam/connect/routes/acs-credential-provisioning-automations.ts +8 -1
- package/src/lib/seam/connect/routes/acs-credentials-unmanaged.ts +9 -2
- package/src/lib/seam/connect/routes/acs-credentials.ts +16 -9
- package/src/lib/seam/connect/routes/acs-encoders-simulate.ts +11 -4
- package/src/lib/seam/connect/routes/acs-encoders.ts +10 -3
- package/src/lib/seam/connect/routes/acs-entrances.ts +11 -4
- package/src/lib/seam/connect/routes/acs-systems.ts +10 -3
- package/src/lib/seam/connect/routes/acs-users-unmanaged.ts +9 -2
- package/src/lib/seam/connect/routes/acs-users.ts +18 -11
- package/src/lib/seam/connect/routes/acs.ts +8 -0
- package/src/lib/seam/connect/routes/action-attempts.ts +9 -2
- package/src/lib/seam/connect/routes/bridges.ts +9 -2
- package/src/lib/seam/connect/routes/client-sessions.ts +14 -7
- package/src/lib/seam/connect/routes/connect-webviews.ts +11 -4
- package/src/lib/seam/connect/routes/connected-accounts.ts +11 -4
- package/src/lib/seam/connect/routes/devices-simulate.ts +10 -3
- package/src/lib/seam/connect/routes/devices-unmanaged.ts +10 -3
- package/src/lib/seam/connect/routes/devices.ts +12 -5
- package/src/lib/seam/connect/routes/events.ts +9 -2
- package/src/lib/seam/connect/routes/locks.ts +11 -4
- package/src/lib/seam/connect/routes/networks.ts +9 -2
- package/src/lib/seam/connect/routes/noise-sensors-noise-thresholds.ts +12 -5
- package/src/lib/seam/connect/routes/noise-sensors-simulate.ts +8 -1
- package/src/lib/seam/connect/routes/noise-sensors.ts +8 -1
- package/src/lib/seam/connect/routes/phones-simulate.ts +8 -1
- package/src/lib/seam/connect/routes/phones.ts +26 -2
- package/src/lib/seam/connect/routes/thermostats-schedules.ts +12 -5
- package/src/lib/seam/connect/routes/thermostats-simulate.ts +9 -2
- package/src/lib/seam/connect/routes/thermostats.ts +21 -14
- package/src/lib/seam/connect/routes/user-identities-enrollment-automations.ts +11 -4
- package/src/lib/seam/connect/routes/user-identities.ts +19 -12
- package/src/lib/seam/connect/routes/webhooks.ts +12 -5
- package/src/lib/seam/connect/routes/workspaces.ts +11 -4
- package/src/lib/seam/connect/seam-http-request.ts +45 -23
- package/src/lib/seam/connect/seam-http.ts +8 -0
- package/src/lib/seam/connect/seam-paginator.ts +155 -0
- package/src/lib/version.ts +1 -1
package/dist/connect.cjs
CHANGED
|
@@ -18,6 +18,7 @@ var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot
|
|
|
18
18
|
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
|
|
19
19
|
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);
|
|
20
20
|
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), member.set(obj, value), value);
|
|
21
|
+
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
|
21
22
|
|
|
22
23
|
// src/lib/lts-version.ts
|
|
23
24
|
var seamApiLtsVersion = "1.0.0";
|
|
@@ -649,46 +650,55 @@ var SeamHttpRequest = class {
|
|
|
649
650
|
}
|
|
650
651
|
get url() {
|
|
651
652
|
const { client } = __privateGet(this, _parent);
|
|
652
|
-
const { params } = __privateGet(this, _config);
|
|
653
653
|
const serializer = typeof client.defaults.paramsSerializer === "function" ? client.defaults.paramsSerializer : urlSearchParamsSerializer.serializeUrlSearchParams;
|
|
654
654
|
const origin = getUrlPrefix(client.defaults.baseURL ?? "");
|
|
655
|
-
const
|
|
656
|
-
const path = params == null ? pathname : `${pathname}?${serializer(params)}`;
|
|
655
|
+
const path = this.params == null ? this.pathname : `${this.pathname}?${serializer(this.params)}`;
|
|
657
656
|
return new URL(`${origin}${path}`);
|
|
658
657
|
}
|
|
658
|
+
get pathname() {
|
|
659
|
+
return __privateGet(this, _config).pathname.startsWith("/") ? __privateGet(this, _config).pathname : `/${__privateGet(this, _config).pathname}`;
|
|
660
|
+
}
|
|
659
661
|
get method() {
|
|
660
662
|
return __privateGet(this, _config).method;
|
|
661
663
|
}
|
|
664
|
+
get params() {
|
|
665
|
+
return __privateGet(this, _config).params;
|
|
666
|
+
}
|
|
662
667
|
get body() {
|
|
663
668
|
return __privateGet(this, _config).body;
|
|
664
669
|
}
|
|
665
670
|
async execute() {
|
|
666
|
-
const
|
|
667
|
-
const response = await client.request({
|
|
668
|
-
url: __privateGet(this, _config).path,
|
|
669
|
-
method: __privateGet(this, _config).method,
|
|
670
|
-
data: __privateGet(this, _config).body,
|
|
671
|
-
params: __privateGet(this, _config).params
|
|
672
|
-
});
|
|
671
|
+
const response = await this.fetchResponse();
|
|
673
672
|
if (this.responseKey === void 0) {
|
|
674
673
|
return void 0;
|
|
675
674
|
}
|
|
676
|
-
const data = response
|
|
675
|
+
const data = response[this.responseKey];
|
|
677
676
|
if (this.responseKey === "action_attempt") {
|
|
678
677
|
const waitForActionAttempt = __privateGet(this, _config).options?.waitForActionAttempt ?? __privateGet(this, _parent).defaults.waitForActionAttempt;
|
|
679
678
|
if (waitForActionAttempt !== false) {
|
|
680
|
-
|
|
679
|
+
const actionAttempt = await resolveActionAttempt(
|
|
681
680
|
data,
|
|
682
|
-
SeamHttpActionAttempts.fromClient(client, {
|
|
681
|
+
SeamHttpActionAttempts.fromClient(__privateGet(this, _parent).client, {
|
|
683
682
|
...__privateGet(this, _parent).defaults,
|
|
684
683
|
waitForActionAttempt: false
|
|
685
684
|
}),
|
|
686
685
|
typeof waitForActionAttempt === "boolean" ? {} : waitForActionAttempt
|
|
687
686
|
);
|
|
687
|
+
return actionAttempt;
|
|
688
688
|
}
|
|
689
689
|
}
|
|
690
690
|
return data;
|
|
691
691
|
}
|
|
692
|
+
async fetchResponse() {
|
|
693
|
+
const { client } = __privateGet(this, _parent);
|
|
694
|
+
const response = await client.request({
|
|
695
|
+
url: this.pathname,
|
|
696
|
+
method: this.method,
|
|
697
|
+
data: this.body,
|
|
698
|
+
params: this.params
|
|
699
|
+
});
|
|
700
|
+
return response.data;
|
|
701
|
+
}
|
|
692
702
|
async then(onfulfilled, onrejected) {
|
|
693
703
|
return await this.execute().then(onfulfilled, onrejected);
|
|
694
704
|
}
|
|
@@ -723,6 +733,95 @@ var canParseUrl = (input) => {
|
|
|
723
733
|
}
|
|
724
734
|
};
|
|
725
735
|
|
|
736
|
+
// src/lib/seam/connect/seam-paginator.ts
|
|
737
|
+
var _request, _parent2, _SeamPaginator_instances, fetch_fn;
|
|
738
|
+
var SeamPaginator = class {
|
|
739
|
+
constructor(parent, request) {
|
|
740
|
+
__privateAdd(this, _SeamPaginator_instances);
|
|
741
|
+
__privateAdd(this, _request);
|
|
742
|
+
__privateAdd(this, _parent2);
|
|
743
|
+
if (request.responseKey == null) {
|
|
744
|
+
throw new Error(
|
|
745
|
+
`The ${request.pathname} endpoint does not support pagination`
|
|
746
|
+
);
|
|
747
|
+
}
|
|
748
|
+
__privateSet(this, _parent2, parent);
|
|
749
|
+
__privateSet(this, _request, request);
|
|
750
|
+
}
|
|
751
|
+
async firstPage() {
|
|
752
|
+
return await __privateMethod(this, _SeamPaginator_instances, fetch_fn).call(this);
|
|
753
|
+
}
|
|
754
|
+
async nextPage(nextPageCursor) {
|
|
755
|
+
if (nextPageCursor == null) {
|
|
756
|
+
throw new Error("Cannot get the next page with a null nextPageCursor");
|
|
757
|
+
}
|
|
758
|
+
return await __privateMethod(this, _SeamPaginator_instances, fetch_fn).call(this, nextPageCursor);
|
|
759
|
+
}
|
|
760
|
+
async flattenToArray() {
|
|
761
|
+
const items = [];
|
|
762
|
+
let [current, pagination] = await this.firstPage();
|
|
763
|
+
items.push(...current);
|
|
764
|
+
while (pagination.hasNextPage) {
|
|
765
|
+
[current, pagination] = await this.nextPage(pagination.nextPageCursor);
|
|
766
|
+
items.push(...current);
|
|
767
|
+
}
|
|
768
|
+
return items;
|
|
769
|
+
}
|
|
770
|
+
async *flatten() {
|
|
771
|
+
let [current, pagination] = await this.firstPage();
|
|
772
|
+
for (const item of current) {
|
|
773
|
+
yield item;
|
|
774
|
+
}
|
|
775
|
+
while (pagination.hasNextPage) {
|
|
776
|
+
[current, pagination] = await this.nextPage(pagination.nextPageCursor);
|
|
777
|
+
for (const item of current) {
|
|
778
|
+
yield item;
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
async *[Symbol.asyncIterator]() {
|
|
783
|
+
let [current, pagination] = await this.firstPage();
|
|
784
|
+
yield current;
|
|
785
|
+
while (pagination.hasNextPage) {
|
|
786
|
+
[current, pagination] = await this.nextPage(pagination.nextPageCursor);
|
|
787
|
+
yield current;
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
};
|
|
791
|
+
_request = new WeakMap();
|
|
792
|
+
_parent2 = new WeakMap();
|
|
793
|
+
_SeamPaginator_instances = new WeakSet();
|
|
794
|
+
fetch_fn = async function(nextPageCursor) {
|
|
795
|
+
const responseKey = __privateGet(this, _request).responseKey;
|
|
796
|
+
if (responseKey == null) {
|
|
797
|
+
throw new Error("Cannot paginate a response without a responseKey");
|
|
798
|
+
}
|
|
799
|
+
const request = new SeamHttpRequest(__privateGet(this, _parent2), {
|
|
800
|
+
pathname: __privateGet(this, _request).pathname,
|
|
801
|
+
method: __privateGet(this, _request).method,
|
|
802
|
+
responseKey,
|
|
803
|
+
params: __privateGet(this, _request).params != null ? { ...__privateGet(this, _request).params, page_cursor: nextPageCursor } : void 0,
|
|
804
|
+
body: __privateGet(this, _request).body != null ? { ...__privateGet(this, _request).body, page_cursor: nextPageCursor } : void 0
|
|
805
|
+
});
|
|
806
|
+
const response = await request.fetchResponse();
|
|
807
|
+
const data = response[responseKey];
|
|
808
|
+
const paginationData = response != null && typeof response === "object" && "pagination" in response ? response.pagination : null;
|
|
809
|
+
const pagination = {
|
|
810
|
+
hasNextPage: paginationData?.has_next_page ?? false,
|
|
811
|
+
nextPageCursor: paginationData?.next_page_cursor ?? null,
|
|
812
|
+
nextPageUrl: paginationData?.next_page_url ?? null
|
|
813
|
+
};
|
|
814
|
+
if (!Array.isArray(data)) {
|
|
815
|
+
throw new Error(
|
|
816
|
+
`Expected an array response for ${String(responseKey)} but got ${String(typeof data)}`
|
|
817
|
+
);
|
|
818
|
+
}
|
|
819
|
+
return [
|
|
820
|
+
data,
|
|
821
|
+
pagination
|
|
822
|
+
];
|
|
823
|
+
};
|
|
824
|
+
|
|
726
825
|
// src/lib/seam/connect/routes/client-sessions.ts
|
|
727
826
|
var SeamHttpClientSessions = class _SeamHttpClientSessions {
|
|
728
827
|
constructor(apiKeyOrOptions = {}) {
|
|
@@ -784,6 +883,9 @@ var SeamHttpClientSessions = class _SeamHttpClientSessions {
|
|
|
784
883
|
}
|
|
785
884
|
return new _SeamHttpClientSessions(constructorOptions);
|
|
786
885
|
}
|
|
886
|
+
createPaginator(request) {
|
|
887
|
+
return new SeamPaginator(this, request);
|
|
888
|
+
}
|
|
787
889
|
async updateClientSessionToken(clientSessionToken) {
|
|
788
890
|
const { headers } = this.client.defaults;
|
|
789
891
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -802,7 +904,7 @@ var SeamHttpClientSessions = class _SeamHttpClientSessions {
|
|
|
802
904
|
}
|
|
803
905
|
create(body) {
|
|
804
906
|
return new SeamHttpRequest(this, {
|
|
805
|
-
|
|
907
|
+
pathname: "/client_sessions/create",
|
|
806
908
|
method: "post",
|
|
807
909
|
body,
|
|
808
910
|
responseKey: "client_session"
|
|
@@ -810,7 +912,7 @@ var SeamHttpClientSessions = class _SeamHttpClientSessions {
|
|
|
810
912
|
}
|
|
811
913
|
delete(body) {
|
|
812
914
|
return new SeamHttpRequest(this, {
|
|
813
|
-
|
|
915
|
+
pathname: "/client_sessions/delete",
|
|
814
916
|
method: "post",
|
|
815
917
|
body,
|
|
816
918
|
responseKey: void 0
|
|
@@ -818,7 +920,7 @@ var SeamHttpClientSessions = class _SeamHttpClientSessions {
|
|
|
818
920
|
}
|
|
819
921
|
get(body) {
|
|
820
922
|
return new SeamHttpRequest(this, {
|
|
821
|
-
|
|
923
|
+
pathname: "/client_sessions/get",
|
|
822
924
|
method: "post",
|
|
823
925
|
body,
|
|
824
926
|
responseKey: "client_session"
|
|
@@ -826,7 +928,7 @@ var SeamHttpClientSessions = class _SeamHttpClientSessions {
|
|
|
826
928
|
}
|
|
827
929
|
getOrCreate(body) {
|
|
828
930
|
return new SeamHttpRequest(this, {
|
|
829
|
-
|
|
931
|
+
pathname: "/client_sessions/get_or_create",
|
|
830
932
|
method: "post",
|
|
831
933
|
body,
|
|
832
934
|
responseKey: "client_session"
|
|
@@ -834,7 +936,7 @@ var SeamHttpClientSessions = class _SeamHttpClientSessions {
|
|
|
834
936
|
}
|
|
835
937
|
grantAccess(body) {
|
|
836
938
|
return new SeamHttpRequest(this, {
|
|
837
|
-
|
|
939
|
+
pathname: "/client_sessions/grant_access",
|
|
838
940
|
method: "post",
|
|
839
941
|
body,
|
|
840
942
|
responseKey: void 0
|
|
@@ -842,7 +944,7 @@ var SeamHttpClientSessions = class _SeamHttpClientSessions {
|
|
|
842
944
|
}
|
|
843
945
|
list(body) {
|
|
844
946
|
return new SeamHttpRequest(this, {
|
|
845
|
-
|
|
947
|
+
pathname: "/client_sessions/list",
|
|
846
948
|
method: "post",
|
|
847
949
|
body,
|
|
848
950
|
responseKey: "client_sessions"
|
|
@@ -850,7 +952,7 @@ var SeamHttpClientSessions = class _SeamHttpClientSessions {
|
|
|
850
952
|
}
|
|
851
953
|
revoke(body) {
|
|
852
954
|
return new SeamHttpRequest(this, {
|
|
853
|
-
|
|
955
|
+
pathname: "/client_sessions/revoke",
|
|
854
956
|
method: "post",
|
|
855
957
|
body,
|
|
856
958
|
responseKey: void 0
|
|
@@ -919,6 +1021,9 @@ var SeamHttpAccessCodesSimulate = class _SeamHttpAccessCodesSimulate {
|
|
|
919
1021
|
}
|
|
920
1022
|
return new _SeamHttpAccessCodesSimulate(constructorOptions);
|
|
921
1023
|
}
|
|
1024
|
+
createPaginator(request) {
|
|
1025
|
+
return new SeamPaginator(this, request);
|
|
1026
|
+
}
|
|
922
1027
|
async updateClientSessionToken(clientSessionToken) {
|
|
923
1028
|
const { headers } = this.client.defaults;
|
|
924
1029
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -937,7 +1042,7 @@ var SeamHttpAccessCodesSimulate = class _SeamHttpAccessCodesSimulate {
|
|
|
937
1042
|
}
|
|
938
1043
|
createUnmanagedAccessCode(body) {
|
|
939
1044
|
return new SeamHttpRequest(this, {
|
|
940
|
-
|
|
1045
|
+
pathname: "/access_codes/simulate/create_unmanaged_access_code",
|
|
941
1046
|
method: "post",
|
|
942
1047
|
body,
|
|
943
1048
|
responseKey: "access_code"
|
|
@@ -1006,6 +1111,9 @@ var SeamHttpAccessCodesUnmanaged = class _SeamHttpAccessCodesUnmanaged {
|
|
|
1006
1111
|
}
|
|
1007
1112
|
return new _SeamHttpAccessCodesUnmanaged(constructorOptions);
|
|
1008
1113
|
}
|
|
1114
|
+
createPaginator(request) {
|
|
1115
|
+
return new SeamPaginator(this, request);
|
|
1116
|
+
}
|
|
1009
1117
|
async updateClientSessionToken(clientSessionToken) {
|
|
1010
1118
|
const { headers } = this.client.defaults;
|
|
1011
1119
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -1024,7 +1132,7 @@ var SeamHttpAccessCodesUnmanaged = class _SeamHttpAccessCodesUnmanaged {
|
|
|
1024
1132
|
}
|
|
1025
1133
|
convertToManaged(body) {
|
|
1026
1134
|
return new SeamHttpRequest(this, {
|
|
1027
|
-
|
|
1135
|
+
pathname: "/access_codes/unmanaged/convert_to_managed",
|
|
1028
1136
|
method: "post",
|
|
1029
1137
|
body,
|
|
1030
1138
|
responseKey: void 0
|
|
@@ -1032,7 +1140,7 @@ var SeamHttpAccessCodesUnmanaged = class _SeamHttpAccessCodesUnmanaged {
|
|
|
1032
1140
|
}
|
|
1033
1141
|
delete(body) {
|
|
1034
1142
|
return new SeamHttpRequest(this, {
|
|
1035
|
-
|
|
1143
|
+
pathname: "/access_codes/unmanaged/delete",
|
|
1036
1144
|
method: "post",
|
|
1037
1145
|
body,
|
|
1038
1146
|
responseKey: void 0
|
|
@@ -1040,7 +1148,7 @@ var SeamHttpAccessCodesUnmanaged = class _SeamHttpAccessCodesUnmanaged {
|
|
|
1040
1148
|
}
|
|
1041
1149
|
get(body) {
|
|
1042
1150
|
return new SeamHttpRequest(this, {
|
|
1043
|
-
|
|
1151
|
+
pathname: "/access_codes/unmanaged/get",
|
|
1044
1152
|
method: "post",
|
|
1045
1153
|
body,
|
|
1046
1154
|
responseKey: "access_code"
|
|
@@ -1048,7 +1156,7 @@ var SeamHttpAccessCodesUnmanaged = class _SeamHttpAccessCodesUnmanaged {
|
|
|
1048
1156
|
}
|
|
1049
1157
|
list(body) {
|
|
1050
1158
|
return new SeamHttpRequest(this, {
|
|
1051
|
-
|
|
1159
|
+
pathname: "/access_codes/unmanaged/list",
|
|
1052
1160
|
method: "post",
|
|
1053
1161
|
body,
|
|
1054
1162
|
responseKey: "access_codes"
|
|
@@ -1056,7 +1164,7 @@ var SeamHttpAccessCodesUnmanaged = class _SeamHttpAccessCodesUnmanaged {
|
|
|
1056
1164
|
}
|
|
1057
1165
|
update(body) {
|
|
1058
1166
|
return new SeamHttpRequest(this, {
|
|
1059
|
-
|
|
1167
|
+
pathname: "/access_codes/unmanaged/update",
|
|
1060
1168
|
method: "post",
|
|
1061
1169
|
body,
|
|
1062
1170
|
responseKey: void 0
|
|
@@ -1125,6 +1233,9 @@ var SeamHttpAccessCodes = class _SeamHttpAccessCodes {
|
|
|
1125
1233
|
}
|
|
1126
1234
|
return new _SeamHttpAccessCodes(constructorOptions);
|
|
1127
1235
|
}
|
|
1236
|
+
createPaginator(request) {
|
|
1237
|
+
return new SeamPaginator(this, request);
|
|
1238
|
+
}
|
|
1128
1239
|
async updateClientSessionToken(clientSessionToken) {
|
|
1129
1240
|
const { headers } = this.client.defaults;
|
|
1130
1241
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -1149,7 +1260,7 @@ var SeamHttpAccessCodes = class _SeamHttpAccessCodes {
|
|
|
1149
1260
|
}
|
|
1150
1261
|
create(body) {
|
|
1151
1262
|
return new SeamHttpRequest(this, {
|
|
1152
|
-
|
|
1263
|
+
pathname: "/access_codes/create",
|
|
1153
1264
|
method: "post",
|
|
1154
1265
|
body,
|
|
1155
1266
|
responseKey: "access_code"
|
|
@@ -1157,7 +1268,7 @@ var SeamHttpAccessCodes = class _SeamHttpAccessCodes {
|
|
|
1157
1268
|
}
|
|
1158
1269
|
createMultiple(body) {
|
|
1159
1270
|
return new SeamHttpRequest(this, {
|
|
1160
|
-
|
|
1271
|
+
pathname: "/access_codes/create_multiple",
|
|
1161
1272
|
method: "post",
|
|
1162
1273
|
body,
|
|
1163
1274
|
responseKey: "access_codes"
|
|
@@ -1165,7 +1276,7 @@ var SeamHttpAccessCodes = class _SeamHttpAccessCodes {
|
|
|
1165
1276
|
}
|
|
1166
1277
|
delete(body) {
|
|
1167
1278
|
return new SeamHttpRequest(this, {
|
|
1168
|
-
|
|
1279
|
+
pathname: "/access_codes/delete",
|
|
1169
1280
|
method: "post",
|
|
1170
1281
|
body,
|
|
1171
1282
|
responseKey: void 0
|
|
@@ -1173,7 +1284,7 @@ var SeamHttpAccessCodes = class _SeamHttpAccessCodes {
|
|
|
1173
1284
|
}
|
|
1174
1285
|
generateCode(body) {
|
|
1175
1286
|
return new SeamHttpRequest(this, {
|
|
1176
|
-
|
|
1287
|
+
pathname: "/access_codes/generate_code",
|
|
1177
1288
|
method: "post",
|
|
1178
1289
|
body,
|
|
1179
1290
|
responseKey: "generated_code"
|
|
@@ -1181,7 +1292,7 @@ var SeamHttpAccessCodes = class _SeamHttpAccessCodes {
|
|
|
1181
1292
|
}
|
|
1182
1293
|
get(body) {
|
|
1183
1294
|
return new SeamHttpRequest(this, {
|
|
1184
|
-
|
|
1295
|
+
pathname: "/access_codes/get",
|
|
1185
1296
|
method: "post",
|
|
1186
1297
|
body,
|
|
1187
1298
|
responseKey: "access_code"
|
|
@@ -1189,7 +1300,7 @@ var SeamHttpAccessCodes = class _SeamHttpAccessCodes {
|
|
|
1189
1300
|
}
|
|
1190
1301
|
list(body) {
|
|
1191
1302
|
return new SeamHttpRequest(this, {
|
|
1192
|
-
|
|
1303
|
+
pathname: "/access_codes/list",
|
|
1193
1304
|
method: "post",
|
|
1194
1305
|
body,
|
|
1195
1306
|
responseKey: "access_codes"
|
|
@@ -1197,7 +1308,7 @@ var SeamHttpAccessCodes = class _SeamHttpAccessCodes {
|
|
|
1197
1308
|
}
|
|
1198
1309
|
pullBackupAccessCode(body) {
|
|
1199
1310
|
return new SeamHttpRequest(this, {
|
|
1200
|
-
|
|
1311
|
+
pathname: "/access_codes/pull_backup_access_code",
|
|
1201
1312
|
method: "post",
|
|
1202
1313
|
body,
|
|
1203
1314
|
responseKey: "access_code"
|
|
@@ -1205,7 +1316,7 @@ var SeamHttpAccessCodes = class _SeamHttpAccessCodes {
|
|
|
1205
1316
|
}
|
|
1206
1317
|
update(body) {
|
|
1207
1318
|
return new SeamHttpRequest(this, {
|
|
1208
|
-
|
|
1319
|
+
pathname: "/access_codes/update",
|
|
1209
1320
|
method: "post",
|
|
1210
1321
|
body,
|
|
1211
1322
|
responseKey: void 0
|
|
@@ -1213,7 +1324,7 @@ var SeamHttpAccessCodes = class _SeamHttpAccessCodes {
|
|
|
1213
1324
|
}
|
|
1214
1325
|
updateMultiple(body) {
|
|
1215
1326
|
return new SeamHttpRequest(this, {
|
|
1216
|
-
|
|
1327
|
+
pathname: "/access_codes/update_multiple",
|
|
1217
1328
|
method: "post",
|
|
1218
1329
|
body,
|
|
1219
1330
|
responseKey: void 0
|
|
@@ -1285,6 +1396,9 @@ var SeamHttpAcsAccessGroupsUnmanaged = class _SeamHttpAcsAccessGroupsUnmanaged {
|
|
|
1285
1396
|
}
|
|
1286
1397
|
return new _SeamHttpAcsAccessGroupsUnmanaged(constructorOptions);
|
|
1287
1398
|
}
|
|
1399
|
+
createPaginator(request) {
|
|
1400
|
+
return new SeamPaginator(this, request);
|
|
1401
|
+
}
|
|
1288
1402
|
async updateClientSessionToken(clientSessionToken) {
|
|
1289
1403
|
const { headers } = this.client.defaults;
|
|
1290
1404
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -1303,7 +1417,7 @@ var SeamHttpAcsAccessGroupsUnmanaged = class _SeamHttpAcsAccessGroupsUnmanaged {
|
|
|
1303
1417
|
}
|
|
1304
1418
|
get(body) {
|
|
1305
1419
|
return new SeamHttpRequest(this, {
|
|
1306
|
-
|
|
1420
|
+
pathname: "/acs/access_groups/unmanaged/get",
|
|
1307
1421
|
method: "post",
|
|
1308
1422
|
body,
|
|
1309
1423
|
responseKey: "acs_access_group"
|
|
@@ -1311,7 +1425,7 @@ var SeamHttpAcsAccessGroupsUnmanaged = class _SeamHttpAcsAccessGroupsUnmanaged {
|
|
|
1311
1425
|
}
|
|
1312
1426
|
list(body) {
|
|
1313
1427
|
return new SeamHttpRequest(this, {
|
|
1314
|
-
|
|
1428
|
+
pathname: "/acs/access_groups/unmanaged/list",
|
|
1315
1429
|
method: "post",
|
|
1316
1430
|
body,
|
|
1317
1431
|
responseKey: "acs_access_groups"
|
|
@@ -1380,6 +1494,9 @@ var SeamHttpAcsAccessGroups = class _SeamHttpAcsAccessGroups {
|
|
|
1380
1494
|
}
|
|
1381
1495
|
return new _SeamHttpAcsAccessGroups(constructorOptions);
|
|
1382
1496
|
}
|
|
1497
|
+
createPaginator(request) {
|
|
1498
|
+
return new SeamPaginator(this, request);
|
|
1499
|
+
}
|
|
1383
1500
|
async updateClientSessionToken(clientSessionToken) {
|
|
1384
1501
|
const { headers } = this.client.defaults;
|
|
1385
1502
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -1404,7 +1521,7 @@ var SeamHttpAcsAccessGroups = class _SeamHttpAcsAccessGroups {
|
|
|
1404
1521
|
}
|
|
1405
1522
|
addUser(body) {
|
|
1406
1523
|
return new SeamHttpRequest(this, {
|
|
1407
|
-
|
|
1524
|
+
pathname: "/acs/access_groups/add_user",
|
|
1408
1525
|
method: "post",
|
|
1409
1526
|
body,
|
|
1410
1527
|
responseKey: void 0
|
|
@@ -1412,7 +1529,7 @@ var SeamHttpAcsAccessGroups = class _SeamHttpAcsAccessGroups {
|
|
|
1412
1529
|
}
|
|
1413
1530
|
get(body) {
|
|
1414
1531
|
return new SeamHttpRequest(this, {
|
|
1415
|
-
|
|
1532
|
+
pathname: "/acs/access_groups/get",
|
|
1416
1533
|
method: "post",
|
|
1417
1534
|
body,
|
|
1418
1535
|
responseKey: "acs_access_group"
|
|
@@ -1420,7 +1537,7 @@ var SeamHttpAcsAccessGroups = class _SeamHttpAcsAccessGroups {
|
|
|
1420
1537
|
}
|
|
1421
1538
|
list(body) {
|
|
1422
1539
|
return new SeamHttpRequest(this, {
|
|
1423
|
-
|
|
1540
|
+
pathname: "/acs/access_groups/list",
|
|
1424
1541
|
method: "post",
|
|
1425
1542
|
body,
|
|
1426
1543
|
responseKey: "acs_access_groups"
|
|
@@ -1428,7 +1545,7 @@ var SeamHttpAcsAccessGroups = class _SeamHttpAcsAccessGroups {
|
|
|
1428
1545
|
}
|
|
1429
1546
|
listAccessibleEntrances(body) {
|
|
1430
1547
|
return new SeamHttpRequest(this, {
|
|
1431
|
-
|
|
1548
|
+
pathname: "/acs/access_groups/list_accessible_entrances",
|
|
1432
1549
|
method: "post",
|
|
1433
1550
|
body,
|
|
1434
1551
|
responseKey: "acs_entrances"
|
|
@@ -1436,7 +1553,7 @@ var SeamHttpAcsAccessGroups = class _SeamHttpAcsAccessGroups {
|
|
|
1436
1553
|
}
|
|
1437
1554
|
listUsers(body) {
|
|
1438
1555
|
return new SeamHttpRequest(this, {
|
|
1439
|
-
|
|
1556
|
+
pathname: "/acs/access_groups/list_users",
|
|
1440
1557
|
method: "post",
|
|
1441
1558
|
body,
|
|
1442
1559
|
responseKey: "acs_users"
|
|
@@ -1444,7 +1561,7 @@ var SeamHttpAcsAccessGroups = class _SeamHttpAcsAccessGroups {
|
|
|
1444
1561
|
}
|
|
1445
1562
|
removeUser(body) {
|
|
1446
1563
|
return new SeamHttpRequest(this, {
|
|
1447
|
-
|
|
1564
|
+
pathname: "/acs/access_groups/remove_user",
|
|
1448
1565
|
method: "post",
|
|
1449
1566
|
body,
|
|
1450
1567
|
responseKey: void 0
|
|
@@ -1513,6 +1630,9 @@ var SeamHttpAcsCredentialPools = class _SeamHttpAcsCredentialPools {
|
|
|
1513
1630
|
}
|
|
1514
1631
|
return new _SeamHttpAcsCredentialPools(constructorOptions);
|
|
1515
1632
|
}
|
|
1633
|
+
createPaginator(request) {
|
|
1634
|
+
return new SeamPaginator(this, request);
|
|
1635
|
+
}
|
|
1516
1636
|
async updateClientSessionToken(clientSessionToken) {
|
|
1517
1637
|
const { headers } = this.client.defaults;
|
|
1518
1638
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -1531,7 +1651,7 @@ var SeamHttpAcsCredentialPools = class _SeamHttpAcsCredentialPools {
|
|
|
1531
1651
|
}
|
|
1532
1652
|
list(body) {
|
|
1533
1653
|
return new SeamHttpRequest(this, {
|
|
1534
|
-
|
|
1654
|
+
pathname: "/acs/credential_pools/list",
|
|
1535
1655
|
method: "post",
|
|
1536
1656
|
body,
|
|
1537
1657
|
responseKey: "acs_credential_pools"
|
|
@@ -1603,6 +1723,9 @@ var SeamHttpAcsCredentialProvisioningAutomations = class _SeamHttpAcsCredentialP
|
|
|
1603
1723
|
}
|
|
1604
1724
|
return new _SeamHttpAcsCredentialProvisioningAutomations(constructorOptions);
|
|
1605
1725
|
}
|
|
1726
|
+
createPaginator(request) {
|
|
1727
|
+
return new SeamPaginator(this, request);
|
|
1728
|
+
}
|
|
1606
1729
|
async updateClientSessionToken(clientSessionToken) {
|
|
1607
1730
|
const { headers } = this.client.defaults;
|
|
1608
1731
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -1621,7 +1744,7 @@ var SeamHttpAcsCredentialProvisioningAutomations = class _SeamHttpAcsCredentialP
|
|
|
1621
1744
|
}
|
|
1622
1745
|
launch(body) {
|
|
1623
1746
|
return new SeamHttpRequest(this, {
|
|
1624
|
-
|
|
1747
|
+
pathname: "/acs/credential_provisioning_automations/launch",
|
|
1625
1748
|
method: "post",
|
|
1626
1749
|
body,
|
|
1627
1750
|
responseKey: "acs_credential_provisioning_automation"
|
|
@@ -1693,6 +1816,9 @@ var SeamHttpAcsCredentialsUnmanaged = class _SeamHttpAcsCredentialsUnmanaged {
|
|
|
1693
1816
|
}
|
|
1694
1817
|
return new _SeamHttpAcsCredentialsUnmanaged(constructorOptions);
|
|
1695
1818
|
}
|
|
1819
|
+
createPaginator(request) {
|
|
1820
|
+
return new SeamPaginator(this, request);
|
|
1821
|
+
}
|
|
1696
1822
|
async updateClientSessionToken(clientSessionToken) {
|
|
1697
1823
|
const { headers } = this.client.defaults;
|
|
1698
1824
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -1711,7 +1837,7 @@ var SeamHttpAcsCredentialsUnmanaged = class _SeamHttpAcsCredentialsUnmanaged {
|
|
|
1711
1837
|
}
|
|
1712
1838
|
get(body) {
|
|
1713
1839
|
return new SeamHttpRequest(this, {
|
|
1714
|
-
|
|
1840
|
+
pathname: "/acs/credentials/unmanaged/get",
|
|
1715
1841
|
method: "post",
|
|
1716
1842
|
body,
|
|
1717
1843
|
responseKey: "acs_credential"
|
|
@@ -1719,7 +1845,7 @@ var SeamHttpAcsCredentialsUnmanaged = class _SeamHttpAcsCredentialsUnmanaged {
|
|
|
1719
1845
|
}
|
|
1720
1846
|
list(body) {
|
|
1721
1847
|
return new SeamHttpRequest(this, {
|
|
1722
|
-
|
|
1848
|
+
pathname: "/acs/credentials/unmanaged/list",
|
|
1723
1849
|
method: "post",
|
|
1724
1850
|
body,
|
|
1725
1851
|
responseKey: "acs_credentials"
|
|
@@ -1788,6 +1914,9 @@ var SeamHttpAcsCredentials = class _SeamHttpAcsCredentials {
|
|
|
1788
1914
|
}
|
|
1789
1915
|
return new _SeamHttpAcsCredentials(constructorOptions);
|
|
1790
1916
|
}
|
|
1917
|
+
createPaginator(request) {
|
|
1918
|
+
return new SeamPaginator(this, request);
|
|
1919
|
+
}
|
|
1791
1920
|
async updateClientSessionToken(clientSessionToken) {
|
|
1792
1921
|
const { headers } = this.client.defaults;
|
|
1793
1922
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -1812,7 +1941,7 @@ var SeamHttpAcsCredentials = class _SeamHttpAcsCredentials {
|
|
|
1812
1941
|
}
|
|
1813
1942
|
assign(body) {
|
|
1814
1943
|
return new SeamHttpRequest(this, {
|
|
1815
|
-
|
|
1944
|
+
pathname: "/acs/credentials/assign",
|
|
1816
1945
|
method: "post",
|
|
1817
1946
|
body,
|
|
1818
1947
|
responseKey: void 0
|
|
@@ -1820,7 +1949,7 @@ var SeamHttpAcsCredentials = class _SeamHttpAcsCredentials {
|
|
|
1820
1949
|
}
|
|
1821
1950
|
create(body) {
|
|
1822
1951
|
return new SeamHttpRequest(this, {
|
|
1823
|
-
|
|
1952
|
+
pathname: "/acs/credentials/create",
|
|
1824
1953
|
method: "post",
|
|
1825
1954
|
body,
|
|
1826
1955
|
responseKey: "acs_credential"
|
|
@@ -1828,7 +1957,7 @@ var SeamHttpAcsCredentials = class _SeamHttpAcsCredentials {
|
|
|
1828
1957
|
}
|
|
1829
1958
|
createOfflineCode(body) {
|
|
1830
1959
|
return new SeamHttpRequest(this, {
|
|
1831
|
-
|
|
1960
|
+
pathname: "/acs/credentials/create_offline_code",
|
|
1832
1961
|
method: "post",
|
|
1833
1962
|
body,
|
|
1834
1963
|
responseKey: "acs_credential"
|
|
@@ -1836,7 +1965,7 @@ var SeamHttpAcsCredentials = class _SeamHttpAcsCredentials {
|
|
|
1836
1965
|
}
|
|
1837
1966
|
delete(body) {
|
|
1838
1967
|
return new SeamHttpRequest(this, {
|
|
1839
|
-
|
|
1968
|
+
pathname: "/acs/credentials/delete",
|
|
1840
1969
|
method: "post",
|
|
1841
1970
|
body,
|
|
1842
1971
|
responseKey: void 0
|
|
@@ -1844,7 +1973,7 @@ var SeamHttpAcsCredentials = class _SeamHttpAcsCredentials {
|
|
|
1844
1973
|
}
|
|
1845
1974
|
get(body) {
|
|
1846
1975
|
return new SeamHttpRequest(this, {
|
|
1847
|
-
|
|
1976
|
+
pathname: "/acs/credentials/get",
|
|
1848
1977
|
method: "post",
|
|
1849
1978
|
body,
|
|
1850
1979
|
responseKey: "acs_credential"
|
|
@@ -1852,7 +1981,7 @@ var SeamHttpAcsCredentials = class _SeamHttpAcsCredentials {
|
|
|
1852
1981
|
}
|
|
1853
1982
|
list(body) {
|
|
1854
1983
|
return new SeamHttpRequest(this, {
|
|
1855
|
-
|
|
1984
|
+
pathname: "/acs/credentials/list",
|
|
1856
1985
|
method: "post",
|
|
1857
1986
|
body,
|
|
1858
1987
|
responseKey: "acs_credentials"
|
|
@@ -1860,7 +1989,7 @@ var SeamHttpAcsCredentials = class _SeamHttpAcsCredentials {
|
|
|
1860
1989
|
}
|
|
1861
1990
|
listAccessibleEntrances(body) {
|
|
1862
1991
|
return new SeamHttpRequest(this, {
|
|
1863
|
-
|
|
1992
|
+
pathname: "/acs/credentials/list_accessible_entrances",
|
|
1864
1993
|
method: "post",
|
|
1865
1994
|
body,
|
|
1866
1995
|
responseKey: "acs_entrances"
|
|
@@ -1868,7 +1997,7 @@ var SeamHttpAcsCredentials = class _SeamHttpAcsCredentials {
|
|
|
1868
1997
|
}
|
|
1869
1998
|
unassign(body) {
|
|
1870
1999
|
return new SeamHttpRequest(this, {
|
|
1871
|
-
|
|
2000
|
+
pathname: "/acs/credentials/unassign",
|
|
1872
2001
|
method: "post",
|
|
1873
2002
|
body,
|
|
1874
2003
|
responseKey: void 0
|
|
@@ -1876,7 +2005,7 @@ var SeamHttpAcsCredentials = class _SeamHttpAcsCredentials {
|
|
|
1876
2005
|
}
|
|
1877
2006
|
update(body) {
|
|
1878
2007
|
return new SeamHttpRequest(this, {
|
|
1879
|
-
|
|
2008
|
+
pathname: "/acs/credentials/update",
|
|
1880
2009
|
method: "post",
|
|
1881
2010
|
body,
|
|
1882
2011
|
responseKey: void 0
|
|
@@ -1945,6 +2074,9 @@ var SeamHttpAcsEncodersSimulate = class _SeamHttpAcsEncodersSimulate {
|
|
|
1945
2074
|
}
|
|
1946
2075
|
return new _SeamHttpAcsEncodersSimulate(constructorOptions);
|
|
1947
2076
|
}
|
|
2077
|
+
createPaginator(request) {
|
|
2078
|
+
return new SeamPaginator(this, request);
|
|
2079
|
+
}
|
|
1948
2080
|
async updateClientSessionToken(clientSessionToken) {
|
|
1949
2081
|
const { headers } = this.client.defaults;
|
|
1950
2082
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -1963,7 +2095,7 @@ var SeamHttpAcsEncodersSimulate = class _SeamHttpAcsEncodersSimulate {
|
|
|
1963
2095
|
}
|
|
1964
2096
|
nextCredentialEncodeWillFail(body) {
|
|
1965
2097
|
return new SeamHttpRequest(this, {
|
|
1966
|
-
|
|
2098
|
+
pathname: "/acs/encoders/simulate/next_credential_encode_will_fail",
|
|
1967
2099
|
method: "post",
|
|
1968
2100
|
body,
|
|
1969
2101
|
responseKey: void 0
|
|
@@ -1971,7 +2103,7 @@ var SeamHttpAcsEncodersSimulate = class _SeamHttpAcsEncodersSimulate {
|
|
|
1971
2103
|
}
|
|
1972
2104
|
nextCredentialEncodeWillSucceed(body) {
|
|
1973
2105
|
return new SeamHttpRequest(this, {
|
|
1974
|
-
|
|
2106
|
+
pathname: "/acs/encoders/simulate/next_credential_encode_will_succeed",
|
|
1975
2107
|
method: "post",
|
|
1976
2108
|
body,
|
|
1977
2109
|
responseKey: void 0
|
|
@@ -1979,7 +2111,7 @@ var SeamHttpAcsEncodersSimulate = class _SeamHttpAcsEncodersSimulate {
|
|
|
1979
2111
|
}
|
|
1980
2112
|
nextCredentialScanWillFail(body) {
|
|
1981
2113
|
return new SeamHttpRequest(this, {
|
|
1982
|
-
|
|
2114
|
+
pathname: "/acs/encoders/simulate/next_credential_scan_will_fail",
|
|
1983
2115
|
method: "post",
|
|
1984
2116
|
body,
|
|
1985
2117
|
responseKey: void 0
|
|
@@ -1987,7 +2119,7 @@ var SeamHttpAcsEncodersSimulate = class _SeamHttpAcsEncodersSimulate {
|
|
|
1987
2119
|
}
|
|
1988
2120
|
nextCredentialScanWillSucceed(body) {
|
|
1989
2121
|
return new SeamHttpRequest(this, {
|
|
1990
|
-
|
|
2122
|
+
pathname: "/acs/encoders/simulate/next_credential_scan_will_succeed",
|
|
1991
2123
|
method: "post",
|
|
1992
2124
|
body,
|
|
1993
2125
|
responseKey: void 0
|
|
@@ -2056,6 +2188,9 @@ var SeamHttpAcsEncoders = class _SeamHttpAcsEncoders {
|
|
|
2056
2188
|
}
|
|
2057
2189
|
return new _SeamHttpAcsEncoders(constructorOptions);
|
|
2058
2190
|
}
|
|
2191
|
+
createPaginator(request) {
|
|
2192
|
+
return new SeamPaginator(this, request);
|
|
2193
|
+
}
|
|
2059
2194
|
async updateClientSessionToken(clientSessionToken) {
|
|
2060
2195
|
const { headers } = this.client.defaults;
|
|
2061
2196
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -2077,7 +2212,7 @@ var SeamHttpAcsEncoders = class _SeamHttpAcsEncoders {
|
|
|
2077
2212
|
}
|
|
2078
2213
|
encodeCredential(body, options = {}) {
|
|
2079
2214
|
return new SeamHttpRequest(this, {
|
|
2080
|
-
|
|
2215
|
+
pathname: "/acs/encoders/encode_credential",
|
|
2081
2216
|
method: "post",
|
|
2082
2217
|
body,
|
|
2083
2218
|
responseKey: "action_attempt",
|
|
@@ -2086,7 +2221,7 @@ var SeamHttpAcsEncoders = class _SeamHttpAcsEncoders {
|
|
|
2086
2221
|
}
|
|
2087
2222
|
list(body) {
|
|
2088
2223
|
return new SeamHttpRequest(this, {
|
|
2089
|
-
|
|
2224
|
+
pathname: "/acs/encoders/list",
|
|
2090
2225
|
method: "post",
|
|
2091
2226
|
body,
|
|
2092
2227
|
responseKey: "acs_encoders"
|
|
@@ -2094,7 +2229,7 @@ var SeamHttpAcsEncoders = class _SeamHttpAcsEncoders {
|
|
|
2094
2229
|
}
|
|
2095
2230
|
scanCredential(body, options = {}) {
|
|
2096
2231
|
return new SeamHttpRequest(this, {
|
|
2097
|
-
|
|
2232
|
+
pathname: "/acs/encoders/scan_credential",
|
|
2098
2233
|
method: "post",
|
|
2099
2234
|
body,
|
|
2100
2235
|
responseKey: "action_attempt",
|
|
@@ -2164,6 +2299,9 @@ var SeamHttpAcsEntrances = class _SeamHttpAcsEntrances {
|
|
|
2164
2299
|
}
|
|
2165
2300
|
return new _SeamHttpAcsEntrances(constructorOptions);
|
|
2166
2301
|
}
|
|
2302
|
+
createPaginator(request) {
|
|
2303
|
+
return new SeamPaginator(this, request);
|
|
2304
|
+
}
|
|
2167
2305
|
async updateClientSessionToken(clientSessionToken) {
|
|
2168
2306
|
const { headers } = this.client.defaults;
|
|
2169
2307
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -2182,7 +2320,7 @@ var SeamHttpAcsEntrances = class _SeamHttpAcsEntrances {
|
|
|
2182
2320
|
}
|
|
2183
2321
|
get(body) {
|
|
2184
2322
|
return new SeamHttpRequest(this, {
|
|
2185
|
-
|
|
2323
|
+
pathname: "/acs/entrances/get",
|
|
2186
2324
|
method: "post",
|
|
2187
2325
|
body,
|
|
2188
2326
|
responseKey: "acs_entrance"
|
|
@@ -2190,7 +2328,7 @@ var SeamHttpAcsEntrances = class _SeamHttpAcsEntrances {
|
|
|
2190
2328
|
}
|
|
2191
2329
|
grantAccess(body) {
|
|
2192
2330
|
return new SeamHttpRequest(this, {
|
|
2193
|
-
|
|
2331
|
+
pathname: "/acs/entrances/grant_access",
|
|
2194
2332
|
method: "post",
|
|
2195
2333
|
body,
|
|
2196
2334
|
responseKey: void 0
|
|
@@ -2198,7 +2336,7 @@ var SeamHttpAcsEntrances = class _SeamHttpAcsEntrances {
|
|
|
2198
2336
|
}
|
|
2199
2337
|
list(body) {
|
|
2200
2338
|
return new SeamHttpRequest(this, {
|
|
2201
|
-
|
|
2339
|
+
pathname: "/acs/entrances/list",
|
|
2202
2340
|
method: "post",
|
|
2203
2341
|
body,
|
|
2204
2342
|
responseKey: "acs_entrances"
|
|
@@ -2206,7 +2344,7 @@ var SeamHttpAcsEntrances = class _SeamHttpAcsEntrances {
|
|
|
2206
2344
|
}
|
|
2207
2345
|
listCredentialsWithAccess(body) {
|
|
2208
2346
|
return new SeamHttpRequest(this, {
|
|
2209
|
-
|
|
2347
|
+
pathname: "/acs/entrances/list_credentials_with_access",
|
|
2210
2348
|
method: "post",
|
|
2211
2349
|
body,
|
|
2212
2350
|
responseKey: "acs_credentials"
|
|
@@ -2275,6 +2413,9 @@ var SeamHttpAcsSystems = class _SeamHttpAcsSystems {
|
|
|
2275
2413
|
}
|
|
2276
2414
|
return new _SeamHttpAcsSystems(constructorOptions);
|
|
2277
2415
|
}
|
|
2416
|
+
createPaginator(request) {
|
|
2417
|
+
return new SeamPaginator(this, request);
|
|
2418
|
+
}
|
|
2278
2419
|
async updateClientSessionToken(clientSessionToken) {
|
|
2279
2420
|
const { headers } = this.client.defaults;
|
|
2280
2421
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -2293,7 +2434,7 @@ var SeamHttpAcsSystems = class _SeamHttpAcsSystems {
|
|
|
2293
2434
|
}
|
|
2294
2435
|
get(body) {
|
|
2295
2436
|
return new SeamHttpRequest(this, {
|
|
2296
|
-
|
|
2437
|
+
pathname: "/acs/systems/get",
|
|
2297
2438
|
method: "post",
|
|
2298
2439
|
body,
|
|
2299
2440
|
responseKey: "acs_system"
|
|
@@ -2301,7 +2442,7 @@ var SeamHttpAcsSystems = class _SeamHttpAcsSystems {
|
|
|
2301
2442
|
}
|
|
2302
2443
|
list(body) {
|
|
2303
2444
|
return new SeamHttpRequest(this, {
|
|
2304
|
-
|
|
2445
|
+
pathname: "/acs/systems/list",
|
|
2305
2446
|
method: "post",
|
|
2306
2447
|
body,
|
|
2307
2448
|
responseKey: "acs_systems"
|
|
@@ -2309,7 +2450,7 @@ var SeamHttpAcsSystems = class _SeamHttpAcsSystems {
|
|
|
2309
2450
|
}
|
|
2310
2451
|
listCompatibleCredentialManagerAcsSystems(body) {
|
|
2311
2452
|
return new SeamHttpRequest(this, {
|
|
2312
|
-
|
|
2453
|
+
pathname: "/acs/systems/list_compatible_credential_manager_acs_systems",
|
|
2313
2454
|
method: "post",
|
|
2314
2455
|
body,
|
|
2315
2456
|
responseKey: "acs_systems"
|
|
@@ -2378,6 +2519,9 @@ var SeamHttpAcsUsersUnmanaged = class _SeamHttpAcsUsersUnmanaged {
|
|
|
2378
2519
|
}
|
|
2379
2520
|
return new _SeamHttpAcsUsersUnmanaged(constructorOptions);
|
|
2380
2521
|
}
|
|
2522
|
+
createPaginator(request) {
|
|
2523
|
+
return new SeamPaginator(this, request);
|
|
2524
|
+
}
|
|
2381
2525
|
async updateClientSessionToken(clientSessionToken) {
|
|
2382
2526
|
const { headers } = this.client.defaults;
|
|
2383
2527
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -2396,7 +2540,7 @@ var SeamHttpAcsUsersUnmanaged = class _SeamHttpAcsUsersUnmanaged {
|
|
|
2396
2540
|
}
|
|
2397
2541
|
get(body) {
|
|
2398
2542
|
return new SeamHttpRequest(this, {
|
|
2399
|
-
|
|
2543
|
+
pathname: "/acs/users/unmanaged/get",
|
|
2400
2544
|
method: "post",
|
|
2401
2545
|
body,
|
|
2402
2546
|
responseKey: "acs_user"
|
|
@@ -2404,7 +2548,7 @@ var SeamHttpAcsUsersUnmanaged = class _SeamHttpAcsUsersUnmanaged {
|
|
|
2404
2548
|
}
|
|
2405
2549
|
list(body) {
|
|
2406
2550
|
return new SeamHttpRequest(this, {
|
|
2407
|
-
|
|
2551
|
+
pathname: "/acs/users/unmanaged/list",
|
|
2408
2552
|
method: "post",
|
|
2409
2553
|
body,
|
|
2410
2554
|
responseKey: "acs_users"
|
|
@@ -2473,6 +2617,9 @@ var SeamHttpAcsUsers = class _SeamHttpAcsUsers {
|
|
|
2473
2617
|
}
|
|
2474
2618
|
return new _SeamHttpAcsUsers(constructorOptions);
|
|
2475
2619
|
}
|
|
2620
|
+
createPaginator(request) {
|
|
2621
|
+
return new SeamPaginator(this, request);
|
|
2622
|
+
}
|
|
2476
2623
|
async updateClientSessionToken(clientSessionToken) {
|
|
2477
2624
|
const { headers } = this.client.defaults;
|
|
2478
2625
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -2494,7 +2641,7 @@ var SeamHttpAcsUsers = class _SeamHttpAcsUsers {
|
|
|
2494
2641
|
}
|
|
2495
2642
|
addToAccessGroup(body) {
|
|
2496
2643
|
return new SeamHttpRequest(this, {
|
|
2497
|
-
|
|
2644
|
+
pathname: "/acs/users/add_to_access_group",
|
|
2498
2645
|
method: "post",
|
|
2499
2646
|
body,
|
|
2500
2647
|
responseKey: void 0
|
|
@@ -2502,7 +2649,7 @@ var SeamHttpAcsUsers = class _SeamHttpAcsUsers {
|
|
|
2502
2649
|
}
|
|
2503
2650
|
create(body) {
|
|
2504
2651
|
return new SeamHttpRequest(this, {
|
|
2505
|
-
|
|
2652
|
+
pathname: "/acs/users/create",
|
|
2506
2653
|
method: "post",
|
|
2507
2654
|
body,
|
|
2508
2655
|
responseKey: "acs_user"
|
|
@@ -2510,7 +2657,7 @@ var SeamHttpAcsUsers = class _SeamHttpAcsUsers {
|
|
|
2510
2657
|
}
|
|
2511
2658
|
delete(body) {
|
|
2512
2659
|
return new SeamHttpRequest(this, {
|
|
2513
|
-
|
|
2660
|
+
pathname: "/acs/users/delete",
|
|
2514
2661
|
method: "post",
|
|
2515
2662
|
body,
|
|
2516
2663
|
responseKey: void 0
|
|
@@ -2518,7 +2665,7 @@ var SeamHttpAcsUsers = class _SeamHttpAcsUsers {
|
|
|
2518
2665
|
}
|
|
2519
2666
|
get(body) {
|
|
2520
2667
|
return new SeamHttpRequest(this, {
|
|
2521
|
-
|
|
2668
|
+
pathname: "/acs/users/get",
|
|
2522
2669
|
method: "post",
|
|
2523
2670
|
body,
|
|
2524
2671
|
responseKey: "acs_user"
|
|
@@ -2526,7 +2673,7 @@ var SeamHttpAcsUsers = class _SeamHttpAcsUsers {
|
|
|
2526
2673
|
}
|
|
2527
2674
|
list(body) {
|
|
2528
2675
|
return new SeamHttpRequest(this, {
|
|
2529
|
-
|
|
2676
|
+
pathname: "/acs/users/list",
|
|
2530
2677
|
method: "post",
|
|
2531
2678
|
body,
|
|
2532
2679
|
responseKey: "acs_users"
|
|
@@ -2534,7 +2681,7 @@ var SeamHttpAcsUsers = class _SeamHttpAcsUsers {
|
|
|
2534
2681
|
}
|
|
2535
2682
|
listAccessibleEntrances(body) {
|
|
2536
2683
|
return new SeamHttpRequest(this, {
|
|
2537
|
-
|
|
2684
|
+
pathname: "/acs/users/list_accessible_entrances",
|
|
2538
2685
|
method: "post",
|
|
2539
2686
|
body,
|
|
2540
2687
|
responseKey: "acs_entrances"
|
|
@@ -2542,7 +2689,7 @@ var SeamHttpAcsUsers = class _SeamHttpAcsUsers {
|
|
|
2542
2689
|
}
|
|
2543
2690
|
removeFromAccessGroup(body) {
|
|
2544
2691
|
return new SeamHttpRequest(this, {
|
|
2545
|
-
|
|
2692
|
+
pathname: "/acs/users/remove_from_access_group",
|
|
2546
2693
|
method: "post",
|
|
2547
2694
|
body,
|
|
2548
2695
|
responseKey: void 0
|
|
@@ -2550,7 +2697,7 @@ var SeamHttpAcsUsers = class _SeamHttpAcsUsers {
|
|
|
2550
2697
|
}
|
|
2551
2698
|
revokeAccessToAllEntrances(body) {
|
|
2552
2699
|
return new SeamHttpRequest(this, {
|
|
2553
|
-
|
|
2700
|
+
pathname: "/acs/users/revoke_access_to_all_entrances",
|
|
2554
2701
|
method: "post",
|
|
2555
2702
|
body,
|
|
2556
2703
|
responseKey: void 0
|
|
@@ -2558,7 +2705,7 @@ var SeamHttpAcsUsers = class _SeamHttpAcsUsers {
|
|
|
2558
2705
|
}
|
|
2559
2706
|
suspend(body) {
|
|
2560
2707
|
return new SeamHttpRequest(this, {
|
|
2561
|
-
|
|
2708
|
+
pathname: "/acs/users/suspend",
|
|
2562
2709
|
method: "post",
|
|
2563
2710
|
body,
|
|
2564
2711
|
responseKey: void 0
|
|
@@ -2566,7 +2713,7 @@ var SeamHttpAcsUsers = class _SeamHttpAcsUsers {
|
|
|
2566
2713
|
}
|
|
2567
2714
|
unsuspend(body) {
|
|
2568
2715
|
return new SeamHttpRequest(this, {
|
|
2569
|
-
|
|
2716
|
+
pathname: "/acs/users/unsuspend",
|
|
2570
2717
|
method: "post",
|
|
2571
2718
|
body,
|
|
2572
2719
|
responseKey: void 0
|
|
@@ -2574,7 +2721,7 @@ var SeamHttpAcsUsers = class _SeamHttpAcsUsers {
|
|
|
2574
2721
|
}
|
|
2575
2722
|
update(body) {
|
|
2576
2723
|
return new SeamHttpRequest(this, {
|
|
2577
|
-
|
|
2724
|
+
pathname: "/acs/users/update",
|
|
2578
2725
|
method: "post",
|
|
2579
2726
|
body,
|
|
2580
2727
|
responseKey: void 0
|
|
@@ -2643,6 +2790,9 @@ var SeamHttpAcs = class _SeamHttpAcs {
|
|
|
2643
2790
|
}
|
|
2644
2791
|
return new _SeamHttpAcs(constructorOptions);
|
|
2645
2792
|
}
|
|
2793
|
+
createPaginator(request) {
|
|
2794
|
+
return new SeamPaginator(this, request);
|
|
2795
|
+
}
|
|
2646
2796
|
async updateClientSessionToken(clientSessionToken) {
|
|
2647
2797
|
const { headers } = this.client.defaults;
|
|
2648
2798
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -2749,6 +2899,9 @@ var SeamHttpActionAttempts = class _SeamHttpActionAttempts {
|
|
|
2749
2899
|
}
|
|
2750
2900
|
return new _SeamHttpActionAttempts(constructorOptions);
|
|
2751
2901
|
}
|
|
2902
|
+
createPaginator(request) {
|
|
2903
|
+
return new SeamPaginator(this, request);
|
|
2904
|
+
}
|
|
2752
2905
|
async updateClientSessionToken(clientSessionToken) {
|
|
2753
2906
|
const { headers } = this.client.defaults;
|
|
2754
2907
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -2767,7 +2920,7 @@ var SeamHttpActionAttempts = class _SeamHttpActionAttempts {
|
|
|
2767
2920
|
}
|
|
2768
2921
|
get(body, options = {}) {
|
|
2769
2922
|
return new SeamHttpRequest(this, {
|
|
2770
|
-
|
|
2923
|
+
pathname: "/action_attempts/get",
|
|
2771
2924
|
method: "post",
|
|
2772
2925
|
body,
|
|
2773
2926
|
responseKey: "action_attempt",
|
|
@@ -2776,7 +2929,7 @@ var SeamHttpActionAttempts = class _SeamHttpActionAttempts {
|
|
|
2776
2929
|
}
|
|
2777
2930
|
list(body) {
|
|
2778
2931
|
return new SeamHttpRequest(this, {
|
|
2779
|
-
|
|
2932
|
+
pathname: "/action_attempts/list",
|
|
2780
2933
|
method: "post",
|
|
2781
2934
|
body,
|
|
2782
2935
|
responseKey: "action_attempts"
|
|
@@ -2845,6 +2998,9 @@ var SeamHttpBridges = class _SeamHttpBridges {
|
|
|
2845
2998
|
}
|
|
2846
2999
|
return new _SeamHttpBridges(constructorOptions);
|
|
2847
3000
|
}
|
|
3001
|
+
createPaginator(request) {
|
|
3002
|
+
return new SeamPaginator(this, request);
|
|
3003
|
+
}
|
|
2848
3004
|
async updateClientSessionToken(clientSessionToken) {
|
|
2849
3005
|
const { headers } = this.client.defaults;
|
|
2850
3006
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -2863,7 +3019,7 @@ var SeamHttpBridges = class _SeamHttpBridges {
|
|
|
2863
3019
|
}
|
|
2864
3020
|
get(body) {
|
|
2865
3021
|
return new SeamHttpRequest(this, {
|
|
2866
|
-
|
|
3022
|
+
pathname: "/bridges/get",
|
|
2867
3023
|
method: "post",
|
|
2868
3024
|
body,
|
|
2869
3025
|
responseKey: "bridge"
|
|
@@ -2871,7 +3027,7 @@ var SeamHttpBridges = class _SeamHttpBridges {
|
|
|
2871
3027
|
}
|
|
2872
3028
|
list(body) {
|
|
2873
3029
|
return new SeamHttpRequest(this, {
|
|
2874
|
-
|
|
3030
|
+
pathname: "/bridges/list",
|
|
2875
3031
|
method: "post",
|
|
2876
3032
|
body,
|
|
2877
3033
|
responseKey: "bridges"
|
|
@@ -2940,6 +3096,9 @@ var SeamHttpConnectWebviews = class _SeamHttpConnectWebviews {
|
|
|
2940
3096
|
}
|
|
2941
3097
|
return new _SeamHttpConnectWebviews(constructorOptions);
|
|
2942
3098
|
}
|
|
3099
|
+
createPaginator(request) {
|
|
3100
|
+
return new SeamPaginator(this, request);
|
|
3101
|
+
}
|
|
2943
3102
|
async updateClientSessionToken(clientSessionToken) {
|
|
2944
3103
|
const { headers } = this.client.defaults;
|
|
2945
3104
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -2958,7 +3117,7 @@ var SeamHttpConnectWebviews = class _SeamHttpConnectWebviews {
|
|
|
2958
3117
|
}
|
|
2959
3118
|
create(body) {
|
|
2960
3119
|
return new SeamHttpRequest(this, {
|
|
2961
|
-
|
|
3120
|
+
pathname: "/connect_webviews/create",
|
|
2962
3121
|
method: "post",
|
|
2963
3122
|
body,
|
|
2964
3123
|
responseKey: "connect_webview"
|
|
@@ -2966,7 +3125,7 @@ var SeamHttpConnectWebviews = class _SeamHttpConnectWebviews {
|
|
|
2966
3125
|
}
|
|
2967
3126
|
delete(body) {
|
|
2968
3127
|
return new SeamHttpRequest(this, {
|
|
2969
|
-
|
|
3128
|
+
pathname: "/connect_webviews/delete",
|
|
2970
3129
|
method: "post",
|
|
2971
3130
|
body,
|
|
2972
3131
|
responseKey: void 0
|
|
@@ -2974,7 +3133,7 @@ var SeamHttpConnectWebviews = class _SeamHttpConnectWebviews {
|
|
|
2974
3133
|
}
|
|
2975
3134
|
get(body) {
|
|
2976
3135
|
return new SeamHttpRequest(this, {
|
|
2977
|
-
|
|
3136
|
+
pathname: "/connect_webviews/get",
|
|
2978
3137
|
method: "post",
|
|
2979
3138
|
body,
|
|
2980
3139
|
responseKey: "connect_webview"
|
|
@@ -2982,7 +3141,7 @@ var SeamHttpConnectWebviews = class _SeamHttpConnectWebviews {
|
|
|
2982
3141
|
}
|
|
2983
3142
|
list(body) {
|
|
2984
3143
|
return new SeamHttpRequest(this, {
|
|
2985
|
-
|
|
3144
|
+
pathname: "/connect_webviews/list",
|
|
2986
3145
|
method: "post",
|
|
2987
3146
|
body,
|
|
2988
3147
|
responseKey: "connect_webviews"
|
|
@@ -3051,6 +3210,9 @@ var SeamHttpConnectedAccounts = class _SeamHttpConnectedAccounts {
|
|
|
3051
3210
|
}
|
|
3052
3211
|
return new _SeamHttpConnectedAccounts(constructorOptions);
|
|
3053
3212
|
}
|
|
3213
|
+
createPaginator(request) {
|
|
3214
|
+
return new SeamPaginator(this, request);
|
|
3215
|
+
}
|
|
3054
3216
|
async updateClientSessionToken(clientSessionToken) {
|
|
3055
3217
|
const { headers } = this.client.defaults;
|
|
3056
3218
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -3069,7 +3231,7 @@ var SeamHttpConnectedAccounts = class _SeamHttpConnectedAccounts {
|
|
|
3069
3231
|
}
|
|
3070
3232
|
delete(body) {
|
|
3071
3233
|
return new SeamHttpRequest(this, {
|
|
3072
|
-
|
|
3234
|
+
pathname: "/connected_accounts/delete",
|
|
3073
3235
|
method: "post",
|
|
3074
3236
|
body,
|
|
3075
3237
|
responseKey: void 0
|
|
@@ -3077,7 +3239,7 @@ var SeamHttpConnectedAccounts = class _SeamHttpConnectedAccounts {
|
|
|
3077
3239
|
}
|
|
3078
3240
|
get(body) {
|
|
3079
3241
|
return new SeamHttpRequest(this, {
|
|
3080
|
-
|
|
3242
|
+
pathname: "/connected_accounts/get",
|
|
3081
3243
|
method: "post",
|
|
3082
3244
|
body,
|
|
3083
3245
|
responseKey: "connected_account"
|
|
@@ -3085,7 +3247,7 @@ var SeamHttpConnectedAccounts = class _SeamHttpConnectedAccounts {
|
|
|
3085
3247
|
}
|
|
3086
3248
|
list(body) {
|
|
3087
3249
|
return new SeamHttpRequest(this, {
|
|
3088
|
-
|
|
3250
|
+
pathname: "/connected_accounts/list",
|
|
3089
3251
|
method: "post",
|
|
3090
3252
|
body,
|
|
3091
3253
|
responseKey: "connected_accounts"
|
|
@@ -3093,7 +3255,7 @@ var SeamHttpConnectedAccounts = class _SeamHttpConnectedAccounts {
|
|
|
3093
3255
|
}
|
|
3094
3256
|
update(body) {
|
|
3095
3257
|
return new SeamHttpRequest(this, {
|
|
3096
|
-
|
|
3258
|
+
pathname: "/connected_accounts/update",
|
|
3097
3259
|
method: "post",
|
|
3098
3260
|
body,
|
|
3099
3261
|
responseKey: void 0
|
|
@@ -3162,6 +3324,9 @@ var SeamHttpDevicesSimulate = class _SeamHttpDevicesSimulate {
|
|
|
3162
3324
|
}
|
|
3163
3325
|
return new _SeamHttpDevicesSimulate(constructorOptions);
|
|
3164
3326
|
}
|
|
3327
|
+
createPaginator(request) {
|
|
3328
|
+
return new SeamPaginator(this, request);
|
|
3329
|
+
}
|
|
3165
3330
|
async updateClientSessionToken(clientSessionToken) {
|
|
3166
3331
|
const { headers } = this.client.defaults;
|
|
3167
3332
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -3180,7 +3345,7 @@ var SeamHttpDevicesSimulate = class _SeamHttpDevicesSimulate {
|
|
|
3180
3345
|
}
|
|
3181
3346
|
connect(body) {
|
|
3182
3347
|
return new SeamHttpRequest(this, {
|
|
3183
|
-
|
|
3348
|
+
pathname: "/devices/simulate/connect",
|
|
3184
3349
|
method: "post",
|
|
3185
3350
|
body,
|
|
3186
3351
|
responseKey: void 0
|
|
@@ -3188,7 +3353,7 @@ var SeamHttpDevicesSimulate = class _SeamHttpDevicesSimulate {
|
|
|
3188
3353
|
}
|
|
3189
3354
|
disconnect(body) {
|
|
3190
3355
|
return new SeamHttpRequest(this, {
|
|
3191
|
-
|
|
3356
|
+
pathname: "/devices/simulate/disconnect",
|
|
3192
3357
|
method: "post",
|
|
3193
3358
|
body,
|
|
3194
3359
|
responseKey: void 0
|
|
@@ -3196,7 +3361,7 @@ var SeamHttpDevicesSimulate = class _SeamHttpDevicesSimulate {
|
|
|
3196
3361
|
}
|
|
3197
3362
|
remove(body) {
|
|
3198
3363
|
return new SeamHttpRequest(this, {
|
|
3199
|
-
|
|
3364
|
+
pathname: "/devices/simulate/remove",
|
|
3200
3365
|
method: "post",
|
|
3201
3366
|
body,
|
|
3202
3367
|
responseKey: void 0
|
|
@@ -3265,6 +3430,9 @@ var SeamHttpDevicesUnmanaged = class _SeamHttpDevicesUnmanaged {
|
|
|
3265
3430
|
}
|
|
3266
3431
|
return new _SeamHttpDevicesUnmanaged(constructorOptions);
|
|
3267
3432
|
}
|
|
3433
|
+
createPaginator(request) {
|
|
3434
|
+
return new SeamPaginator(this, request);
|
|
3435
|
+
}
|
|
3268
3436
|
async updateClientSessionToken(clientSessionToken) {
|
|
3269
3437
|
const { headers } = this.client.defaults;
|
|
3270
3438
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -3283,7 +3451,7 @@ var SeamHttpDevicesUnmanaged = class _SeamHttpDevicesUnmanaged {
|
|
|
3283
3451
|
}
|
|
3284
3452
|
get(body) {
|
|
3285
3453
|
return new SeamHttpRequest(this, {
|
|
3286
|
-
|
|
3454
|
+
pathname: "/devices/unmanaged/get",
|
|
3287
3455
|
method: "post",
|
|
3288
3456
|
body,
|
|
3289
3457
|
responseKey: "device"
|
|
@@ -3291,7 +3459,7 @@ var SeamHttpDevicesUnmanaged = class _SeamHttpDevicesUnmanaged {
|
|
|
3291
3459
|
}
|
|
3292
3460
|
list(body) {
|
|
3293
3461
|
return new SeamHttpRequest(this, {
|
|
3294
|
-
|
|
3462
|
+
pathname: "/devices/unmanaged/list",
|
|
3295
3463
|
method: "post",
|
|
3296
3464
|
body,
|
|
3297
3465
|
responseKey: "devices"
|
|
@@ -3299,7 +3467,7 @@ var SeamHttpDevicesUnmanaged = class _SeamHttpDevicesUnmanaged {
|
|
|
3299
3467
|
}
|
|
3300
3468
|
update(body) {
|
|
3301
3469
|
return new SeamHttpRequest(this, {
|
|
3302
|
-
|
|
3470
|
+
pathname: "/devices/unmanaged/update",
|
|
3303
3471
|
method: "post",
|
|
3304
3472
|
body,
|
|
3305
3473
|
responseKey: void 0
|
|
@@ -3368,6 +3536,9 @@ var SeamHttpDevices = class _SeamHttpDevices {
|
|
|
3368
3536
|
}
|
|
3369
3537
|
return new _SeamHttpDevices(constructorOptions);
|
|
3370
3538
|
}
|
|
3539
|
+
createPaginator(request) {
|
|
3540
|
+
return new SeamPaginator(this, request);
|
|
3541
|
+
}
|
|
3371
3542
|
async updateClientSessionToken(clientSessionToken) {
|
|
3372
3543
|
const { headers } = this.client.defaults;
|
|
3373
3544
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -3392,7 +3563,7 @@ var SeamHttpDevices = class _SeamHttpDevices {
|
|
|
3392
3563
|
}
|
|
3393
3564
|
delete(body) {
|
|
3394
3565
|
return new SeamHttpRequest(this, {
|
|
3395
|
-
|
|
3566
|
+
pathname: "/devices/delete",
|
|
3396
3567
|
method: "post",
|
|
3397
3568
|
body,
|
|
3398
3569
|
responseKey: void 0
|
|
@@ -3400,7 +3571,7 @@ var SeamHttpDevices = class _SeamHttpDevices {
|
|
|
3400
3571
|
}
|
|
3401
3572
|
get(body) {
|
|
3402
3573
|
return new SeamHttpRequest(this, {
|
|
3403
|
-
|
|
3574
|
+
pathname: "/devices/get",
|
|
3404
3575
|
method: "post",
|
|
3405
3576
|
body,
|
|
3406
3577
|
responseKey: "device"
|
|
@@ -3408,7 +3579,7 @@ var SeamHttpDevices = class _SeamHttpDevices {
|
|
|
3408
3579
|
}
|
|
3409
3580
|
list(body) {
|
|
3410
3581
|
return new SeamHttpRequest(this, {
|
|
3411
|
-
|
|
3582
|
+
pathname: "/devices/list",
|
|
3412
3583
|
method: "post",
|
|
3413
3584
|
body,
|
|
3414
3585
|
responseKey: "devices"
|
|
@@ -3416,7 +3587,7 @@ var SeamHttpDevices = class _SeamHttpDevices {
|
|
|
3416
3587
|
}
|
|
3417
3588
|
listDeviceProviders(body) {
|
|
3418
3589
|
return new SeamHttpRequest(this, {
|
|
3419
|
-
|
|
3590
|
+
pathname: "/devices/list_device_providers",
|
|
3420
3591
|
method: "post",
|
|
3421
3592
|
body,
|
|
3422
3593
|
responseKey: "device_providers"
|
|
@@ -3424,7 +3595,7 @@ var SeamHttpDevices = class _SeamHttpDevices {
|
|
|
3424
3595
|
}
|
|
3425
3596
|
update(body) {
|
|
3426
3597
|
return new SeamHttpRequest(this, {
|
|
3427
|
-
|
|
3598
|
+
pathname: "/devices/update",
|
|
3428
3599
|
method: "post",
|
|
3429
3600
|
body,
|
|
3430
3601
|
responseKey: void 0
|
|
@@ -3493,6 +3664,9 @@ var SeamHttpEvents = class _SeamHttpEvents {
|
|
|
3493
3664
|
}
|
|
3494
3665
|
return new _SeamHttpEvents(constructorOptions);
|
|
3495
3666
|
}
|
|
3667
|
+
createPaginator(request) {
|
|
3668
|
+
return new SeamPaginator(this, request);
|
|
3669
|
+
}
|
|
3496
3670
|
async updateClientSessionToken(clientSessionToken) {
|
|
3497
3671
|
const { headers } = this.client.defaults;
|
|
3498
3672
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -3511,7 +3685,7 @@ var SeamHttpEvents = class _SeamHttpEvents {
|
|
|
3511
3685
|
}
|
|
3512
3686
|
get(body) {
|
|
3513
3687
|
return new SeamHttpRequest(this, {
|
|
3514
|
-
|
|
3688
|
+
pathname: "/events/get",
|
|
3515
3689
|
method: "post",
|
|
3516
3690
|
body,
|
|
3517
3691
|
responseKey: "event"
|
|
@@ -3519,7 +3693,7 @@ var SeamHttpEvents = class _SeamHttpEvents {
|
|
|
3519
3693
|
}
|
|
3520
3694
|
list(body) {
|
|
3521
3695
|
return new SeamHttpRequest(this, {
|
|
3522
|
-
|
|
3696
|
+
pathname: "/events/list",
|
|
3523
3697
|
method: "post",
|
|
3524
3698
|
body,
|
|
3525
3699
|
responseKey: "events"
|
|
@@ -3588,6 +3762,9 @@ var SeamHttpLocks = class _SeamHttpLocks {
|
|
|
3588
3762
|
}
|
|
3589
3763
|
return new _SeamHttpLocks(constructorOptions);
|
|
3590
3764
|
}
|
|
3765
|
+
createPaginator(request) {
|
|
3766
|
+
return new SeamPaginator(this, request);
|
|
3767
|
+
}
|
|
3591
3768
|
async updateClientSessionToken(clientSessionToken) {
|
|
3592
3769
|
const { headers } = this.client.defaults;
|
|
3593
3770
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -3606,7 +3783,7 @@ var SeamHttpLocks = class _SeamHttpLocks {
|
|
|
3606
3783
|
}
|
|
3607
3784
|
get(body) {
|
|
3608
3785
|
return new SeamHttpRequest(this, {
|
|
3609
|
-
|
|
3786
|
+
pathname: "/locks/get",
|
|
3610
3787
|
method: "post",
|
|
3611
3788
|
body,
|
|
3612
3789
|
responseKey: "device"
|
|
@@ -3614,7 +3791,7 @@ var SeamHttpLocks = class _SeamHttpLocks {
|
|
|
3614
3791
|
}
|
|
3615
3792
|
list(body) {
|
|
3616
3793
|
return new SeamHttpRequest(this, {
|
|
3617
|
-
|
|
3794
|
+
pathname: "/locks/list",
|
|
3618
3795
|
method: "post",
|
|
3619
3796
|
body,
|
|
3620
3797
|
responseKey: "devices"
|
|
@@ -3622,7 +3799,7 @@ var SeamHttpLocks = class _SeamHttpLocks {
|
|
|
3622
3799
|
}
|
|
3623
3800
|
lockDoor(body, options = {}) {
|
|
3624
3801
|
return new SeamHttpRequest(this, {
|
|
3625
|
-
|
|
3802
|
+
pathname: "/locks/lock_door",
|
|
3626
3803
|
method: "post",
|
|
3627
3804
|
body,
|
|
3628
3805
|
responseKey: "action_attempt",
|
|
@@ -3631,7 +3808,7 @@ var SeamHttpLocks = class _SeamHttpLocks {
|
|
|
3631
3808
|
}
|
|
3632
3809
|
unlockDoor(body, options = {}) {
|
|
3633
3810
|
return new SeamHttpRequest(this, {
|
|
3634
|
-
|
|
3811
|
+
pathname: "/locks/unlock_door",
|
|
3635
3812
|
method: "post",
|
|
3636
3813
|
body,
|
|
3637
3814
|
responseKey: "action_attempt",
|
|
@@ -3701,6 +3878,9 @@ var SeamHttpNetworks = class _SeamHttpNetworks {
|
|
|
3701
3878
|
}
|
|
3702
3879
|
return new _SeamHttpNetworks(constructorOptions);
|
|
3703
3880
|
}
|
|
3881
|
+
createPaginator(request) {
|
|
3882
|
+
return new SeamPaginator(this, request);
|
|
3883
|
+
}
|
|
3704
3884
|
async updateClientSessionToken(clientSessionToken) {
|
|
3705
3885
|
const { headers } = this.client.defaults;
|
|
3706
3886
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -3719,7 +3899,7 @@ var SeamHttpNetworks = class _SeamHttpNetworks {
|
|
|
3719
3899
|
}
|
|
3720
3900
|
get(body) {
|
|
3721
3901
|
return new SeamHttpRequest(this, {
|
|
3722
|
-
|
|
3902
|
+
pathname: "/networks/get",
|
|
3723
3903
|
method: "post",
|
|
3724
3904
|
body,
|
|
3725
3905
|
responseKey: "network"
|
|
@@ -3727,7 +3907,7 @@ var SeamHttpNetworks = class _SeamHttpNetworks {
|
|
|
3727
3907
|
}
|
|
3728
3908
|
list(body) {
|
|
3729
3909
|
return new SeamHttpRequest(this, {
|
|
3730
|
-
|
|
3910
|
+
pathname: "/networks/list",
|
|
3731
3911
|
method: "post",
|
|
3732
3912
|
body,
|
|
3733
3913
|
responseKey: "networks"
|
|
@@ -3799,6 +3979,9 @@ var SeamHttpNoiseSensorsNoiseThresholds = class _SeamHttpNoiseSensorsNoiseThresh
|
|
|
3799
3979
|
}
|
|
3800
3980
|
return new _SeamHttpNoiseSensorsNoiseThresholds(constructorOptions);
|
|
3801
3981
|
}
|
|
3982
|
+
createPaginator(request) {
|
|
3983
|
+
return new SeamPaginator(this, request);
|
|
3984
|
+
}
|
|
3802
3985
|
async updateClientSessionToken(clientSessionToken) {
|
|
3803
3986
|
const { headers } = this.client.defaults;
|
|
3804
3987
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -3817,7 +4000,7 @@ var SeamHttpNoiseSensorsNoiseThresholds = class _SeamHttpNoiseSensorsNoiseThresh
|
|
|
3817
4000
|
}
|
|
3818
4001
|
create(body) {
|
|
3819
4002
|
return new SeamHttpRequest(this, {
|
|
3820
|
-
|
|
4003
|
+
pathname: "/noise_sensors/noise_thresholds/create",
|
|
3821
4004
|
method: "post",
|
|
3822
4005
|
body,
|
|
3823
4006
|
responseKey: "noise_threshold"
|
|
@@ -3825,7 +4008,7 @@ var SeamHttpNoiseSensorsNoiseThresholds = class _SeamHttpNoiseSensorsNoiseThresh
|
|
|
3825
4008
|
}
|
|
3826
4009
|
delete(body) {
|
|
3827
4010
|
return new SeamHttpRequest(this, {
|
|
3828
|
-
|
|
4011
|
+
pathname: "/noise_sensors/noise_thresholds/delete",
|
|
3829
4012
|
method: "post",
|
|
3830
4013
|
body,
|
|
3831
4014
|
responseKey: void 0
|
|
@@ -3833,7 +4016,7 @@ var SeamHttpNoiseSensorsNoiseThresholds = class _SeamHttpNoiseSensorsNoiseThresh
|
|
|
3833
4016
|
}
|
|
3834
4017
|
get(body) {
|
|
3835
4018
|
return new SeamHttpRequest(this, {
|
|
3836
|
-
|
|
4019
|
+
pathname: "/noise_sensors/noise_thresholds/get",
|
|
3837
4020
|
method: "post",
|
|
3838
4021
|
body,
|
|
3839
4022
|
responseKey: "noise_threshold"
|
|
@@ -3841,7 +4024,7 @@ var SeamHttpNoiseSensorsNoiseThresholds = class _SeamHttpNoiseSensorsNoiseThresh
|
|
|
3841
4024
|
}
|
|
3842
4025
|
list(body) {
|
|
3843
4026
|
return new SeamHttpRequest(this, {
|
|
3844
|
-
|
|
4027
|
+
pathname: "/noise_sensors/noise_thresholds/list",
|
|
3845
4028
|
method: "post",
|
|
3846
4029
|
body,
|
|
3847
4030
|
responseKey: "noise_thresholds"
|
|
@@ -3849,7 +4032,7 @@ var SeamHttpNoiseSensorsNoiseThresholds = class _SeamHttpNoiseSensorsNoiseThresh
|
|
|
3849
4032
|
}
|
|
3850
4033
|
update(body) {
|
|
3851
4034
|
return new SeamHttpRequest(this, {
|
|
3852
|
-
|
|
4035
|
+
pathname: "/noise_sensors/noise_thresholds/update",
|
|
3853
4036
|
method: "post",
|
|
3854
4037
|
body,
|
|
3855
4038
|
responseKey: void 0
|
|
@@ -3918,6 +4101,9 @@ var SeamHttpNoiseSensorsSimulate = class _SeamHttpNoiseSensorsSimulate {
|
|
|
3918
4101
|
}
|
|
3919
4102
|
return new _SeamHttpNoiseSensorsSimulate(constructorOptions);
|
|
3920
4103
|
}
|
|
4104
|
+
createPaginator(request) {
|
|
4105
|
+
return new SeamPaginator(this, request);
|
|
4106
|
+
}
|
|
3921
4107
|
async updateClientSessionToken(clientSessionToken) {
|
|
3922
4108
|
const { headers } = this.client.defaults;
|
|
3923
4109
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -3936,7 +4122,7 @@ var SeamHttpNoiseSensorsSimulate = class _SeamHttpNoiseSensorsSimulate {
|
|
|
3936
4122
|
}
|
|
3937
4123
|
triggerNoiseThreshold(body) {
|
|
3938
4124
|
return new SeamHttpRequest(this, {
|
|
3939
|
-
|
|
4125
|
+
pathname: "/noise_sensors/simulate/trigger_noise_threshold",
|
|
3940
4126
|
method: "post",
|
|
3941
4127
|
body,
|
|
3942
4128
|
responseKey: void 0
|
|
@@ -4005,6 +4191,9 @@ var SeamHttpNoiseSensors = class _SeamHttpNoiseSensors {
|
|
|
4005
4191
|
}
|
|
4006
4192
|
return new _SeamHttpNoiseSensors(constructorOptions);
|
|
4007
4193
|
}
|
|
4194
|
+
createPaginator(request) {
|
|
4195
|
+
return new SeamPaginator(this, request);
|
|
4196
|
+
}
|
|
4008
4197
|
async updateClientSessionToken(clientSessionToken) {
|
|
4009
4198
|
const { headers } = this.client.defaults;
|
|
4010
4199
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -4032,7 +4221,7 @@ var SeamHttpNoiseSensors = class _SeamHttpNoiseSensors {
|
|
|
4032
4221
|
}
|
|
4033
4222
|
list(body) {
|
|
4034
4223
|
return new SeamHttpRequest(this, {
|
|
4035
|
-
|
|
4224
|
+
pathname: "/noise_sensors/list",
|
|
4036
4225
|
method: "post",
|
|
4037
4226
|
body,
|
|
4038
4227
|
responseKey: "devices"
|
|
@@ -4101,6 +4290,9 @@ var SeamHttpPhonesSimulate = class _SeamHttpPhonesSimulate {
|
|
|
4101
4290
|
}
|
|
4102
4291
|
return new _SeamHttpPhonesSimulate(constructorOptions);
|
|
4103
4292
|
}
|
|
4293
|
+
createPaginator(request) {
|
|
4294
|
+
return new SeamPaginator(this, request);
|
|
4295
|
+
}
|
|
4104
4296
|
async updateClientSessionToken(clientSessionToken) {
|
|
4105
4297
|
const { headers } = this.client.defaults;
|
|
4106
4298
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -4119,7 +4311,7 @@ var SeamHttpPhonesSimulate = class _SeamHttpPhonesSimulate {
|
|
|
4119
4311
|
}
|
|
4120
4312
|
createSandboxPhone(body) {
|
|
4121
4313
|
return new SeamHttpRequest(this, {
|
|
4122
|
-
|
|
4314
|
+
pathname: "/phones/simulate/create_sandbox_phone",
|
|
4123
4315
|
method: "post",
|
|
4124
4316
|
body,
|
|
4125
4317
|
responseKey: "phone"
|
|
@@ -4188,6 +4380,9 @@ var SeamHttpPhones = class _SeamHttpPhones {
|
|
|
4188
4380
|
}
|
|
4189
4381
|
return new _SeamHttpPhones(constructorOptions);
|
|
4190
4382
|
}
|
|
4383
|
+
createPaginator(request) {
|
|
4384
|
+
return new SeamPaginator(this, request);
|
|
4385
|
+
}
|
|
4191
4386
|
async updateClientSessionToken(clientSessionToken) {
|
|
4192
4387
|
const { headers } = this.client.defaults;
|
|
4193
4388
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -4209,15 +4404,23 @@ var SeamHttpPhones = class _SeamHttpPhones {
|
|
|
4209
4404
|
}
|
|
4210
4405
|
deactivate(body) {
|
|
4211
4406
|
return new SeamHttpRequest(this, {
|
|
4212
|
-
|
|
4407
|
+
pathname: "/phones/deactivate",
|
|
4213
4408
|
method: "post",
|
|
4214
4409
|
body,
|
|
4215
4410
|
responseKey: void 0
|
|
4216
4411
|
});
|
|
4217
4412
|
}
|
|
4413
|
+
get(body) {
|
|
4414
|
+
return new SeamHttpRequest(this, {
|
|
4415
|
+
pathname: "/phones/get",
|
|
4416
|
+
method: "post",
|
|
4417
|
+
body,
|
|
4418
|
+
responseKey: "phone"
|
|
4419
|
+
});
|
|
4420
|
+
}
|
|
4218
4421
|
list(body) {
|
|
4219
4422
|
return new SeamHttpRequest(this, {
|
|
4220
|
-
|
|
4423
|
+
pathname: "/phones/list",
|
|
4221
4424
|
method: "post",
|
|
4222
4425
|
body,
|
|
4223
4426
|
responseKey: "phones"
|
|
@@ -4286,6 +4489,9 @@ var SeamHttpThermostatsSchedules = class _SeamHttpThermostatsSchedules {
|
|
|
4286
4489
|
}
|
|
4287
4490
|
return new _SeamHttpThermostatsSchedules(constructorOptions);
|
|
4288
4491
|
}
|
|
4492
|
+
createPaginator(request) {
|
|
4493
|
+
return new SeamPaginator(this, request);
|
|
4494
|
+
}
|
|
4289
4495
|
async updateClientSessionToken(clientSessionToken) {
|
|
4290
4496
|
const { headers } = this.client.defaults;
|
|
4291
4497
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -4304,7 +4510,7 @@ var SeamHttpThermostatsSchedules = class _SeamHttpThermostatsSchedules {
|
|
|
4304
4510
|
}
|
|
4305
4511
|
create(body) {
|
|
4306
4512
|
return new SeamHttpRequest(this, {
|
|
4307
|
-
|
|
4513
|
+
pathname: "/thermostats/schedules/create",
|
|
4308
4514
|
method: "post",
|
|
4309
4515
|
body,
|
|
4310
4516
|
responseKey: "thermostat_schedule"
|
|
@@ -4312,7 +4518,7 @@ var SeamHttpThermostatsSchedules = class _SeamHttpThermostatsSchedules {
|
|
|
4312
4518
|
}
|
|
4313
4519
|
delete(body) {
|
|
4314
4520
|
return new SeamHttpRequest(this, {
|
|
4315
|
-
|
|
4521
|
+
pathname: "/thermostats/schedules/delete",
|
|
4316
4522
|
method: "post",
|
|
4317
4523
|
body,
|
|
4318
4524
|
responseKey: void 0
|
|
@@ -4320,7 +4526,7 @@ var SeamHttpThermostatsSchedules = class _SeamHttpThermostatsSchedules {
|
|
|
4320
4526
|
}
|
|
4321
4527
|
get(body) {
|
|
4322
4528
|
return new SeamHttpRequest(this, {
|
|
4323
|
-
|
|
4529
|
+
pathname: "/thermostats/schedules/get",
|
|
4324
4530
|
method: "post",
|
|
4325
4531
|
body,
|
|
4326
4532
|
responseKey: "thermostat_schedule"
|
|
@@ -4328,7 +4534,7 @@ var SeamHttpThermostatsSchedules = class _SeamHttpThermostatsSchedules {
|
|
|
4328
4534
|
}
|
|
4329
4535
|
list(body) {
|
|
4330
4536
|
return new SeamHttpRequest(this, {
|
|
4331
|
-
|
|
4537
|
+
pathname: "/thermostats/schedules/list",
|
|
4332
4538
|
method: "post",
|
|
4333
4539
|
body,
|
|
4334
4540
|
responseKey: "thermostat_schedules"
|
|
@@ -4336,7 +4542,7 @@ var SeamHttpThermostatsSchedules = class _SeamHttpThermostatsSchedules {
|
|
|
4336
4542
|
}
|
|
4337
4543
|
update(body) {
|
|
4338
4544
|
return new SeamHttpRequest(this, {
|
|
4339
|
-
|
|
4545
|
+
pathname: "/thermostats/schedules/update",
|
|
4340
4546
|
method: "post",
|
|
4341
4547
|
body,
|
|
4342
4548
|
responseKey: void 0
|
|
@@ -4405,6 +4611,9 @@ var SeamHttpThermostatsSimulate = class _SeamHttpThermostatsSimulate {
|
|
|
4405
4611
|
}
|
|
4406
4612
|
return new _SeamHttpThermostatsSimulate(constructorOptions);
|
|
4407
4613
|
}
|
|
4614
|
+
createPaginator(request) {
|
|
4615
|
+
return new SeamPaginator(this, request);
|
|
4616
|
+
}
|
|
4408
4617
|
async updateClientSessionToken(clientSessionToken) {
|
|
4409
4618
|
const { headers } = this.client.defaults;
|
|
4410
4619
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -4423,7 +4632,7 @@ var SeamHttpThermostatsSimulate = class _SeamHttpThermostatsSimulate {
|
|
|
4423
4632
|
}
|
|
4424
4633
|
hvacModeAdjusted(body) {
|
|
4425
4634
|
return new SeamHttpRequest(this, {
|
|
4426
|
-
|
|
4635
|
+
pathname: "/thermostats/simulate/hvac_mode_adjusted",
|
|
4427
4636
|
method: "post",
|
|
4428
4637
|
body,
|
|
4429
4638
|
responseKey: void 0
|
|
@@ -4431,7 +4640,7 @@ var SeamHttpThermostatsSimulate = class _SeamHttpThermostatsSimulate {
|
|
|
4431
4640
|
}
|
|
4432
4641
|
temperatureReached(body) {
|
|
4433
4642
|
return new SeamHttpRequest(this, {
|
|
4434
|
-
|
|
4643
|
+
pathname: "/thermostats/simulate/temperature_reached",
|
|
4435
4644
|
method: "post",
|
|
4436
4645
|
body,
|
|
4437
4646
|
responseKey: void 0
|
|
@@ -4500,6 +4709,9 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
|
|
|
4500
4709
|
}
|
|
4501
4710
|
return new _SeamHttpThermostats(constructorOptions);
|
|
4502
4711
|
}
|
|
4712
|
+
createPaginator(request) {
|
|
4713
|
+
return new SeamPaginator(this, request);
|
|
4714
|
+
}
|
|
4503
4715
|
async updateClientSessionToken(clientSessionToken) {
|
|
4504
4716
|
const { headers } = this.client.defaults;
|
|
4505
4717
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -4524,7 +4736,7 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
|
|
|
4524
4736
|
}
|
|
4525
4737
|
activateClimatePreset(body, options = {}) {
|
|
4526
4738
|
return new SeamHttpRequest(this, {
|
|
4527
|
-
|
|
4739
|
+
pathname: "/thermostats/activate_climate_preset",
|
|
4528
4740
|
method: "post",
|
|
4529
4741
|
body,
|
|
4530
4742
|
responseKey: "action_attempt",
|
|
@@ -4533,7 +4745,7 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
|
|
|
4533
4745
|
}
|
|
4534
4746
|
cool(body, options = {}) {
|
|
4535
4747
|
return new SeamHttpRequest(this, {
|
|
4536
|
-
|
|
4748
|
+
pathname: "/thermostats/cool",
|
|
4537
4749
|
method: "post",
|
|
4538
4750
|
body,
|
|
4539
4751
|
responseKey: "action_attempt",
|
|
@@ -4542,7 +4754,7 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
|
|
|
4542
4754
|
}
|
|
4543
4755
|
createClimatePreset(body) {
|
|
4544
4756
|
return new SeamHttpRequest(this, {
|
|
4545
|
-
|
|
4757
|
+
pathname: "/thermostats/create_climate_preset",
|
|
4546
4758
|
method: "post",
|
|
4547
4759
|
body,
|
|
4548
4760
|
responseKey: void 0
|
|
@@ -4550,7 +4762,7 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
|
|
|
4550
4762
|
}
|
|
4551
4763
|
deleteClimatePreset(body) {
|
|
4552
4764
|
return new SeamHttpRequest(this, {
|
|
4553
|
-
|
|
4765
|
+
pathname: "/thermostats/delete_climate_preset",
|
|
4554
4766
|
method: "post",
|
|
4555
4767
|
body,
|
|
4556
4768
|
responseKey: void 0
|
|
@@ -4558,7 +4770,7 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
|
|
|
4558
4770
|
}
|
|
4559
4771
|
get(body) {
|
|
4560
4772
|
return new SeamHttpRequest(this, {
|
|
4561
|
-
|
|
4773
|
+
pathname: "/thermostats/get",
|
|
4562
4774
|
method: "post",
|
|
4563
4775
|
body,
|
|
4564
4776
|
responseKey: "thermostat"
|
|
@@ -4566,7 +4778,7 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
|
|
|
4566
4778
|
}
|
|
4567
4779
|
heat(body, options = {}) {
|
|
4568
4780
|
return new SeamHttpRequest(this, {
|
|
4569
|
-
|
|
4781
|
+
pathname: "/thermostats/heat",
|
|
4570
4782
|
method: "post",
|
|
4571
4783
|
body,
|
|
4572
4784
|
responseKey: "action_attempt",
|
|
@@ -4575,7 +4787,7 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
|
|
|
4575
4787
|
}
|
|
4576
4788
|
heatCool(body, options = {}) {
|
|
4577
4789
|
return new SeamHttpRequest(this, {
|
|
4578
|
-
|
|
4790
|
+
pathname: "/thermostats/heat_cool",
|
|
4579
4791
|
method: "post",
|
|
4580
4792
|
body,
|
|
4581
4793
|
responseKey: "action_attempt",
|
|
@@ -4584,7 +4796,7 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
|
|
|
4584
4796
|
}
|
|
4585
4797
|
list(body) {
|
|
4586
4798
|
return new SeamHttpRequest(this, {
|
|
4587
|
-
|
|
4799
|
+
pathname: "/thermostats/list",
|
|
4588
4800
|
method: "post",
|
|
4589
4801
|
body,
|
|
4590
4802
|
responseKey: "devices"
|
|
@@ -4592,7 +4804,7 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
|
|
|
4592
4804
|
}
|
|
4593
4805
|
off(body, options = {}) {
|
|
4594
4806
|
return new SeamHttpRequest(this, {
|
|
4595
|
-
|
|
4807
|
+
pathname: "/thermostats/off",
|
|
4596
4808
|
method: "post",
|
|
4597
4809
|
body,
|
|
4598
4810
|
responseKey: "action_attempt",
|
|
@@ -4601,7 +4813,7 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
|
|
|
4601
4813
|
}
|
|
4602
4814
|
setFallbackClimatePreset(body) {
|
|
4603
4815
|
return new SeamHttpRequest(this, {
|
|
4604
|
-
|
|
4816
|
+
pathname: "/thermostats/set_fallback_climate_preset",
|
|
4605
4817
|
method: "post",
|
|
4606
4818
|
body,
|
|
4607
4819
|
responseKey: void 0
|
|
@@ -4609,7 +4821,7 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
|
|
|
4609
4821
|
}
|
|
4610
4822
|
setFanMode(body, options = {}) {
|
|
4611
4823
|
return new SeamHttpRequest(this, {
|
|
4612
|
-
|
|
4824
|
+
pathname: "/thermostats/set_fan_mode",
|
|
4613
4825
|
method: "post",
|
|
4614
4826
|
body,
|
|
4615
4827
|
responseKey: "action_attempt",
|
|
@@ -4618,7 +4830,7 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
|
|
|
4618
4830
|
}
|
|
4619
4831
|
setHvacMode(body, options = {}) {
|
|
4620
4832
|
return new SeamHttpRequest(this, {
|
|
4621
|
-
|
|
4833
|
+
pathname: "/thermostats/set_hvac_mode",
|
|
4622
4834
|
method: "post",
|
|
4623
4835
|
body,
|
|
4624
4836
|
responseKey: "action_attempt",
|
|
@@ -4627,7 +4839,7 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
|
|
|
4627
4839
|
}
|
|
4628
4840
|
setTemperatureThreshold(body) {
|
|
4629
4841
|
return new SeamHttpRequest(this, {
|
|
4630
|
-
|
|
4842
|
+
pathname: "/thermostats/set_temperature_threshold",
|
|
4631
4843
|
method: "post",
|
|
4632
4844
|
body,
|
|
4633
4845
|
responseKey: void 0
|
|
@@ -4635,7 +4847,7 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
|
|
|
4635
4847
|
}
|
|
4636
4848
|
updateClimatePreset(body) {
|
|
4637
4849
|
return new SeamHttpRequest(this, {
|
|
4638
|
-
|
|
4850
|
+
pathname: "/thermostats/update_climate_preset",
|
|
4639
4851
|
method: "post",
|
|
4640
4852
|
body,
|
|
4641
4853
|
responseKey: void 0
|
|
@@ -4707,6 +4919,9 @@ var SeamHttpUserIdentitiesEnrollmentAutomations = class _SeamHttpUserIdentitiesE
|
|
|
4707
4919
|
}
|
|
4708
4920
|
return new _SeamHttpUserIdentitiesEnrollmentAutomations(constructorOptions);
|
|
4709
4921
|
}
|
|
4922
|
+
createPaginator(request) {
|
|
4923
|
+
return new SeamPaginator(this, request);
|
|
4924
|
+
}
|
|
4710
4925
|
async updateClientSessionToken(clientSessionToken) {
|
|
4711
4926
|
const { headers } = this.client.defaults;
|
|
4712
4927
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -4725,7 +4940,7 @@ var SeamHttpUserIdentitiesEnrollmentAutomations = class _SeamHttpUserIdentitiesE
|
|
|
4725
4940
|
}
|
|
4726
4941
|
delete(body) {
|
|
4727
4942
|
return new SeamHttpRequest(this, {
|
|
4728
|
-
|
|
4943
|
+
pathname: "/user_identities/enrollment_automations/delete",
|
|
4729
4944
|
method: "post",
|
|
4730
4945
|
body,
|
|
4731
4946
|
responseKey: void 0
|
|
@@ -4733,7 +4948,7 @@ var SeamHttpUserIdentitiesEnrollmentAutomations = class _SeamHttpUserIdentitiesE
|
|
|
4733
4948
|
}
|
|
4734
4949
|
get(body) {
|
|
4735
4950
|
return new SeamHttpRequest(this, {
|
|
4736
|
-
|
|
4951
|
+
pathname: "/user_identities/enrollment_automations/get",
|
|
4737
4952
|
method: "post",
|
|
4738
4953
|
body,
|
|
4739
4954
|
responseKey: "enrollment_automation"
|
|
@@ -4741,7 +4956,7 @@ var SeamHttpUserIdentitiesEnrollmentAutomations = class _SeamHttpUserIdentitiesE
|
|
|
4741
4956
|
}
|
|
4742
4957
|
launch(body) {
|
|
4743
4958
|
return new SeamHttpRequest(this, {
|
|
4744
|
-
|
|
4959
|
+
pathname: "/user_identities/enrollment_automations/launch",
|
|
4745
4960
|
method: "post",
|
|
4746
4961
|
body,
|
|
4747
4962
|
responseKey: "enrollment_automation"
|
|
@@ -4749,7 +4964,7 @@ var SeamHttpUserIdentitiesEnrollmentAutomations = class _SeamHttpUserIdentitiesE
|
|
|
4749
4964
|
}
|
|
4750
4965
|
list(body) {
|
|
4751
4966
|
return new SeamHttpRequest(this, {
|
|
4752
|
-
|
|
4967
|
+
pathname: "/user_identities/enrollment_automations/list",
|
|
4753
4968
|
method: "post",
|
|
4754
4969
|
body,
|
|
4755
4970
|
responseKey: "enrollment_automations"
|
|
@@ -4818,6 +5033,9 @@ var SeamHttpUserIdentities = class _SeamHttpUserIdentities {
|
|
|
4818
5033
|
}
|
|
4819
5034
|
return new _SeamHttpUserIdentities(constructorOptions);
|
|
4820
5035
|
}
|
|
5036
|
+
createPaginator(request) {
|
|
5037
|
+
return new SeamPaginator(this, request);
|
|
5038
|
+
}
|
|
4821
5039
|
async updateClientSessionToken(clientSessionToken) {
|
|
4822
5040
|
const { headers } = this.client.defaults;
|
|
4823
5041
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -4842,7 +5060,7 @@ var SeamHttpUserIdentities = class _SeamHttpUserIdentities {
|
|
|
4842
5060
|
}
|
|
4843
5061
|
addAcsUser(body) {
|
|
4844
5062
|
return new SeamHttpRequest(this, {
|
|
4845
|
-
|
|
5063
|
+
pathname: "/user_identities/add_acs_user",
|
|
4846
5064
|
method: "post",
|
|
4847
5065
|
body,
|
|
4848
5066
|
responseKey: void 0
|
|
@@ -4850,7 +5068,7 @@ var SeamHttpUserIdentities = class _SeamHttpUserIdentities {
|
|
|
4850
5068
|
}
|
|
4851
5069
|
create(body) {
|
|
4852
5070
|
return new SeamHttpRequest(this, {
|
|
4853
|
-
|
|
5071
|
+
pathname: "/user_identities/create",
|
|
4854
5072
|
method: "post",
|
|
4855
5073
|
body,
|
|
4856
5074
|
responseKey: "user_identity"
|
|
@@ -4858,7 +5076,7 @@ var SeamHttpUserIdentities = class _SeamHttpUserIdentities {
|
|
|
4858
5076
|
}
|
|
4859
5077
|
delete(body) {
|
|
4860
5078
|
return new SeamHttpRequest(this, {
|
|
4861
|
-
|
|
5079
|
+
pathname: "/user_identities/delete",
|
|
4862
5080
|
method: "post",
|
|
4863
5081
|
body,
|
|
4864
5082
|
responseKey: void 0
|
|
@@ -4866,7 +5084,7 @@ var SeamHttpUserIdentities = class _SeamHttpUserIdentities {
|
|
|
4866
5084
|
}
|
|
4867
5085
|
get(body) {
|
|
4868
5086
|
return new SeamHttpRequest(this, {
|
|
4869
|
-
|
|
5087
|
+
pathname: "/user_identities/get",
|
|
4870
5088
|
method: "post",
|
|
4871
5089
|
body,
|
|
4872
5090
|
responseKey: "user_identity"
|
|
@@ -4874,7 +5092,7 @@ var SeamHttpUserIdentities = class _SeamHttpUserIdentities {
|
|
|
4874
5092
|
}
|
|
4875
5093
|
grantAccessToDevice(body) {
|
|
4876
5094
|
return new SeamHttpRequest(this, {
|
|
4877
|
-
|
|
5095
|
+
pathname: "/user_identities/grant_access_to_device",
|
|
4878
5096
|
method: "post",
|
|
4879
5097
|
body,
|
|
4880
5098
|
responseKey: void 0
|
|
@@ -4882,7 +5100,7 @@ var SeamHttpUserIdentities = class _SeamHttpUserIdentities {
|
|
|
4882
5100
|
}
|
|
4883
5101
|
list(body) {
|
|
4884
5102
|
return new SeamHttpRequest(this, {
|
|
4885
|
-
|
|
5103
|
+
pathname: "/user_identities/list",
|
|
4886
5104
|
method: "post",
|
|
4887
5105
|
body,
|
|
4888
5106
|
responseKey: "user_identities"
|
|
@@ -4890,7 +5108,7 @@ var SeamHttpUserIdentities = class _SeamHttpUserIdentities {
|
|
|
4890
5108
|
}
|
|
4891
5109
|
listAccessibleDevices(body) {
|
|
4892
5110
|
return new SeamHttpRequest(this, {
|
|
4893
|
-
|
|
5111
|
+
pathname: "/user_identities/list_accessible_devices",
|
|
4894
5112
|
method: "post",
|
|
4895
5113
|
body,
|
|
4896
5114
|
responseKey: "devices"
|
|
@@ -4898,7 +5116,7 @@ var SeamHttpUserIdentities = class _SeamHttpUserIdentities {
|
|
|
4898
5116
|
}
|
|
4899
5117
|
listAcsSystems(body) {
|
|
4900
5118
|
return new SeamHttpRequest(this, {
|
|
4901
|
-
|
|
5119
|
+
pathname: "/user_identities/list_acs_systems",
|
|
4902
5120
|
method: "post",
|
|
4903
5121
|
body,
|
|
4904
5122
|
responseKey: "acs_systems"
|
|
@@ -4906,7 +5124,7 @@ var SeamHttpUserIdentities = class _SeamHttpUserIdentities {
|
|
|
4906
5124
|
}
|
|
4907
5125
|
listAcsUsers(body) {
|
|
4908
5126
|
return new SeamHttpRequest(this, {
|
|
4909
|
-
|
|
5127
|
+
pathname: "/user_identities/list_acs_users",
|
|
4910
5128
|
method: "post",
|
|
4911
5129
|
body,
|
|
4912
5130
|
responseKey: "acs_users"
|
|
@@ -4914,7 +5132,7 @@ var SeamHttpUserIdentities = class _SeamHttpUserIdentities {
|
|
|
4914
5132
|
}
|
|
4915
5133
|
removeAcsUser(body) {
|
|
4916
5134
|
return new SeamHttpRequest(this, {
|
|
4917
|
-
|
|
5135
|
+
pathname: "/user_identities/remove_acs_user",
|
|
4918
5136
|
method: "post",
|
|
4919
5137
|
body,
|
|
4920
5138
|
responseKey: void 0
|
|
@@ -4922,7 +5140,7 @@ var SeamHttpUserIdentities = class _SeamHttpUserIdentities {
|
|
|
4922
5140
|
}
|
|
4923
5141
|
revokeAccessToDevice(body) {
|
|
4924
5142
|
return new SeamHttpRequest(this, {
|
|
4925
|
-
|
|
5143
|
+
pathname: "/user_identities/revoke_access_to_device",
|
|
4926
5144
|
method: "post",
|
|
4927
5145
|
body,
|
|
4928
5146
|
responseKey: void 0
|
|
@@ -4930,7 +5148,7 @@ var SeamHttpUserIdentities = class _SeamHttpUserIdentities {
|
|
|
4930
5148
|
}
|
|
4931
5149
|
update(body) {
|
|
4932
5150
|
return new SeamHttpRequest(this, {
|
|
4933
|
-
|
|
5151
|
+
pathname: "/user_identities/update",
|
|
4934
5152
|
method: "post",
|
|
4935
5153
|
body,
|
|
4936
5154
|
responseKey: void 0
|
|
@@ -4999,6 +5217,9 @@ var SeamHttpWebhooks = class _SeamHttpWebhooks {
|
|
|
4999
5217
|
}
|
|
5000
5218
|
return new _SeamHttpWebhooks(constructorOptions);
|
|
5001
5219
|
}
|
|
5220
|
+
createPaginator(request) {
|
|
5221
|
+
return new SeamPaginator(this, request);
|
|
5222
|
+
}
|
|
5002
5223
|
async updateClientSessionToken(clientSessionToken) {
|
|
5003
5224
|
const { headers } = this.client.defaults;
|
|
5004
5225
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -5017,7 +5238,7 @@ var SeamHttpWebhooks = class _SeamHttpWebhooks {
|
|
|
5017
5238
|
}
|
|
5018
5239
|
create(body) {
|
|
5019
5240
|
return new SeamHttpRequest(this, {
|
|
5020
|
-
|
|
5241
|
+
pathname: "/webhooks/create",
|
|
5021
5242
|
method: "post",
|
|
5022
5243
|
body,
|
|
5023
5244
|
responseKey: "webhook"
|
|
@@ -5025,7 +5246,7 @@ var SeamHttpWebhooks = class _SeamHttpWebhooks {
|
|
|
5025
5246
|
}
|
|
5026
5247
|
delete(body) {
|
|
5027
5248
|
return new SeamHttpRequest(this, {
|
|
5028
|
-
|
|
5249
|
+
pathname: "/webhooks/delete",
|
|
5029
5250
|
method: "post",
|
|
5030
5251
|
body,
|
|
5031
5252
|
responseKey: void 0
|
|
@@ -5033,7 +5254,7 @@ var SeamHttpWebhooks = class _SeamHttpWebhooks {
|
|
|
5033
5254
|
}
|
|
5034
5255
|
get(body) {
|
|
5035
5256
|
return new SeamHttpRequest(this, {
|
|
5036
|
-
|
|
5257
|
+
pathname: "/webhooks/get",
|
|
5037
5258
|
method: "post",
|
|
5038
5259
|
body,
|
|
5039
5260
|
responseKey: "webhook"
|
|
@@ -5041,7 +5262,7 @@ var SeamHttpWebhooks = class _SeamHttpWebhooks {
|
|
|
5041
5262
|
}
|
|
5042
5263
|
list(body) {
|
|
5043
5264
|
return new SeamHttpRequest(this, {
|
|
5044
|
-
|
|
5265
|
+
pathname: "/webhooks/list",
|
|
5045
5266
|
method: "post",
|
|
5046
5267
|
body,
|
|
5047
5268
|
responseKey: "webhooks"
|
|
@@ -5049,7 +5270,7 @@ var SeamHttpWebhooks = class _SeamHttpWebhooks {
|
|
|
5049
5270
|
}
|
|
5050
5271
|
update(body) {
|
|
5051
5272
|
return new SeamHttpRequest(this, {
|
|
5052
|
-
|
|
5273
|
+
pathname: "/webhooks/update",
|
|
5053
5274
|
method: "post",
|
|
5054
5275
|
body,
|
|
5055
5276
|
responseKey: void 0
|
|
@@ -5118,6 +5339,9 @@ var SeamHttpWorkspaces = class _SeamHttpWorkspaces {
|
|
|
5118
5339
|
}
|
|
5119
5340
|
return new _SeamHttpWorkspaces(constructorOptions);
|
|
5120
5341
|
}
|
|
5342
|
+
createPaginator(request) {
|
|
5343
|
+
return new SeamPaginator(this, request);
|
|
5344
|
+
}
|
|
5121
5345
|
async updateClientSessionToken(clientSessionToken) {
|
|
5122
5346
|
const { headers } = this.client.defaults;
|
|
5123
5347
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -5136,7 +5360,7 @@ var SeamHttpWorkspaces = class _SeamHttpWorkspaces {
|
|
|
5136
5360
|
}
|
|
5137
5361
|
create(body) {
|
|
5138
5362
|
return new SeamHttpRequest(this, {
|
|
5139
|
-
|
|
5363
|
+
pathname: "/workspaces/create",
|
|
5140
5364
|
method: "post",
|
|
5141
5365
|
body,
|
|
5142
5366
|
responseKey: "workspace"
|
|
@@ -5144,7 +5368,7 @@ var SeamHttpWorkspaces = class _SeamHttpWorkspaces {
|
|
|
5144
5368
|
}
|
|
5145
5369
|
get(body) {
|
|
5146
5370
|
return new SeamHttpRequest(this, {
|
|
5147
|
-
|
|
5371
|
+
pathname: "/workspaces/get",
|
|
5148
5372
|
method: "post",
|
|
5149
5373
|
body,
|
|
5150
5374
|
responseKey: "workspace"
|
|
@@ -5152,7 +5376,7 @@ var SeamHttpWorkspaces = class _SeamHttpWorkspaces {
|
|
|
5152
5376
|
}
|
|
5153
5377
|
list(body) {
|
|
5154
5378
|
return new SeamHttpRequest(this, {
|
|
5155
|
-
|
|
5379
|
+
pathname: "/workspaces/list",
|
|
5156
5380
|
method: "post",
|
|
5157
5381
|
body,
|
|
5158
5382
|
responseKey: "workspaces"
|
|
@@ -5160,7 +5384,7 @@ var SeamHttpWorkspaces = class _SeamHttpWorkspaces {
|
|
|
5160
5384
|
}
|
|
5161
5385
|
resetSandbox(body, options = {}) {
|
|
5162
5386
|
return new SeamHttpRequest(this, {
|
|
5163
|
-
|
|
5387
|
+
pathname: "/workspaces/reset_sandbox",
|
|
5164
5388
|
method: "post",
|
|
5165
5389
|
body,
|
|
5166
5390
|
responseKey: "action_attempt",
|
|
@@ -5231,6 +5455,9 @@ var _SeamHttp = class _SeamHttp {
|
|
|
5231
5455
|
}
|
|
5232
5456
|
return new _SeamHttp(constructorOptions);
|
|
5233
5457
|
}
|
|
5458
|
+
createPaginator(request) {
|
|
5459
|
+
return new SeamPaginator(this, request);
|
|
5460
|
+
}
|
|
5234
5461
|
async updateClientSessionToken(clientSessionToken) {
|
|
5235
5462
|
const { headers } = this.client.defaults;
|
|
5236
5463
|
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
@@ -5391,6 +5618,7 @@ exports.SeamHttpUserIdentities = SeamHttpUserIdentities;
|
|
|
5391
5618
|
exports.SeamHttpUserIdentitiesEnrollmentAutomations = SeamHttpUserIdentitiesEnrollmentAutomations;
|
|
5392
5619
|
exports.SeamHttpWebhooks = SeamHttpWebhooks;
|
|
5393
5620
|
exports.SeamHttpWorkspaces = SeamHttpWorkspaces;
|
|
5621
|
+
exports.SeamPaginator = SeamPaginator;
|
|
5394
5622
|
exports.errorInterceptor = errorInterceptor;
|
|
5395
5623
|
exports.getOpenapiSchema = getOpenapiSchema;
|
|
5396
5624
|
exports.isApiKey = isApiKey;
|