@seamapi/http 1.115.0 → 1.117.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +32 -29
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +30 -16
- package/dist/index.cjs +32 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/connectors/ical/ical.d.ts +0 -13
- package/lib/seam/connect/routes/seam/customer/v1/connectors/ical/ical.js +0 -12
- package/lib/seam/connect/routes/seam/customer/v1/connectors/ical/ical.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +5 -4
- package/lib/seam/connect/routes/seam-http-endpoints.js +14 -10
- package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
- package/lib/seam/connect/routes/spaces/spaces.d.ts +26 -0
- package/lib/seam/connect/routes/spaces/spaces.js +18 -0
- package/lib/seam/connect/routes/spaces/spaces.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/src/lib/seam/connect/routes/seam/customer/v1/connectors/ical/ical.ts +0 -41
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +34 -27
- package/src/lib/seam/connect/routes/spaces/spaces.ts +68 -0
- package/src/lib/version.ts +1 -1
package/dist/connect.cjs
CHANGED
|
@@ -6804,20 +6804,6 @@ var SeamHttpSeamCustomerV1ConnectorsIcal = class _SeamHttpSeamCustomerV1Connecto
|
|
|
6804
6804
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
6805
6805
|
await clientSessions.get();
|
|
6806
6806
|
}
|
|
6807
|
-
generateConfig(parameters, options = {}) {
|
|
6808
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
6809
|
-
throw new Error(
|
|
6810
|
-
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6811
|
-
);
|
|
6812
|
-
}
|
|
6813
|
-
return new SeamHttpRequest(this, {
|
|
6814
|
-
pathname: "/seam/customer/v1/connectors/ical/generate-config",
|
|
6815
|
-
method: "POST",
|
|
6816
|
-
body: parameters,
|
|
6817
|
-
responseKey: "generated_config",
|
|
6818
|
-
options
|
|
6819
|
-
});
|
|
6820
|
-
}
|
|
6821
6807
|
validateConfig(parameters, options = {}) {
|
|
6822
6808
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
6823
6809
|
throw new Error(
|
|
@@ -8734,6 +8720,15 @@ var SeamHttpSpaces = class _SeamHttpSpaces {
|
|
|
8734
8720
|
options
|
|
8735
8721
|
});
|
|
8736
8722
|
}
|
|
8723
|
+
addConnectedAccount(parameters, options = {}) {
|
|
8724
|
+
return new SeamHttpRequest(this, {
|
|
8725
|
+
pathname: "/spaces/add_connected_account",
|
|
8726
|
+
method: "PUT",
|
|
8727
|
+
body: parameters,
|
|
8728
|
+
responseKey: void 0,
|
|
8729
|
+
options
|
|
8730
|
+
});
|
|
8731
|
+
}
|
|
8737
8732
|
addDevices(parameters, options = {}) {
|
|
8738
8733
|
return new SeamHttpRequest(this, {
|
|
8739
8734
|
pathname: "/spaces/add_devices",
|
|
@@ -8797,6 +8792,15 @@ var SeamHttpSpaces = class _SeamHttpSpaces {
|
|
|
8797
8792
|
options
|
|
8798
8793
|
});
|
|
8799
8794
|
}
|
|
8795
|
+
removeConnectedAccount(parameters, options = {}) {
|
|
8796
|
+
return new SeamHttpRequest(this, {
|
|
8797
|
+
pathname: "/spaces/remove_connected_account",
|
|
8798
|
+
method: "POST",
|
|
8799
|
+
body: parameters,
|
|
8800
|
+
responseKey: void 0,
|
|
8801
|
+
options
|
|
8802
|
+
});
|
|
8803
|
+
}
|
|
8800
8804
|
removeDevices(parameters, options = {}) {
|
|
8801
8805
|
return new SeamHttpRequest(this, {
|
|
8802
8806
|
pathname: "/spaces/remove_devices",
|
|
@@ -12187,21 +12191,6 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
12187
12191
|
return seam.update(...args);
|
|
12188
12192
|
};
|
|
12189
12193
|
}
|
|
12190
|
-
get "/seam/customer/v1/connectors/ical/generate-config"() {
|
|
12191
|
-
const { client, defaults } = this;
|
|
12192
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
12193
|
-
throw new Error(
|
|
12194
|
-
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
12195
|
-
);
|
|
12196
|
-
}
|
|
12197
|
-
return function seamCustomerV1ConnectorsIcalGenerateConfig(...args) {
|
|
12198
|
-
const seam = SeamHttpSeamCustomerV1ConnectorsIcal.fromClient(
|
|
12199
|
-
client,
|
|
12200
|
-
defaults
|
|
12201
|
-
);
|
|
12202
|
-
return seam.generateConfig(...args);
|
|
12203
|
-
};
|
|
12204
|
-
}
|
|
12205
12194
|
get "/seam/customer/v1/connectors/ical/validate-config"() {
|
|
12206
12195
|
const { client, defaults } = this;
|
|
12207
12196
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
@@ -12515,6 +12504,13 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
12515
12504
|
return seam.addAcsEntrances(...args);
|
|
12516
12505
|
};
|
|
12517
12506
|
}
|
|
12507
|
+
get "/spaces/add_connected_account"() {
|
|
12508
|
+
const { client, defaults } = this;
|
|
12509
|
+
return function spacesAddConnectedAccount(...args) {
|
|
12510
|
+
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
12511
|
+
return seam.addConnectedAccount(...args);
|
|
12512
|
+
};
|
|
12513
|
+
}
|
|
12518
12514
|
get "/spaces/add_devices"() {
|
|
12519
12515
|
const { client, defaults } = this;
|
|
12520
12516
|
return function spacesAddDevices(...args) {
|
|
@@ -12564,6 +12560,13 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
12564
12560
|
return seam.removeAcsEntrances(...args);
|
|
12565
12561
|
};
|
|
12566
12562
|
}
|
|
12563
|
+
get "/spaces/remove_connected_account"() {
|
|
12564
|
+
const { client, defaults } = this;
|
|
12565
|
+
return function spacesRemoveConnectedAccount(...args) {
|
|
12566
|
+
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
12567
|
+
return seam.removeConnectedAccount(...args);
|
|
12568
|
+
};
|
|
12569
|
+
}
|
|
12567
12570
|
get "/spaces/remove_devices"() {
|
|
12568
12571
|
const { client, defaults } = this;
|
|
12569
12572
|
return function spacesRemoveDevices(...args) {
|