@seamapi/http 1.114.0 → 1.116.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 +33 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +31 -3
- package/dist/index.cjs +33 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/routes/customers/customers.d.ts +1 -1
- package/lib/seam/connect/routes/customers/customers.js +1 -1
- package/lib/seam/connect/routes/customers/customers.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +4 -2
- package/lib/seam/connect/routes/seam-http-endpoints.js +14 -0
- 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/customers/customers.ts +2 -2
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +34 -0
- package/src/lib/seam/connect/routes/spaces/spaces.ts +68 -0
- package/src/lib/version.ts +1 -1
package/dist/connect.cjs
CHANGED
|
@@ -4396,7 +4396,7 @@ var SeamHttpCustomers = class _SeamHttpCustomers {
|
|
|
4396
4396
|
pathname: "/customers/create_portal",
|
|
4397
4397
|
method: "POST",
|
|
4398
4398
|
body: parameters,
|
|
4399
|
-
responseKey: "
|
|
4399
|
+
responseKey: "customer_portal",
|
|
4400
4400
|
options
|
|
4401
4401
|
});
|
|
4402
4402
|
}
|
|
@@ -8734,6 +8734,15 @@ var SeamHttpSpaces = class _SeamHttpSpaces {
|
|
|
8734
8734
|
options
|
|
8735
8735
|
});
|
|
8736
8736
|
}
|
|
8737
|
+
addConnectedAccount(parameters, options = {}) {
|
|
8738
|
+
return new SeamHttpRequest(this, {
|
|
8739
|
+
pathname: "/spaces/add_connected_account",
|
|
8740
|
+
method: "PUT",
|
|
8741
|
+
body: parameters,
|
|
8742
|
+
responseKey: void 0,
|
|
8743
|
+
options
|
|
8744
|
+
});
|
|
8745
|
+
}
|
|
8737
8746
|
addDevices(parameters, options = {}) {
|
|
8738
8747
|
return new SeamHttpRequest(this, {
|
|
8739
8748
|
pathname: "/spaces/add_devices",
|
|
@@ -8797,6 +8806,15 @@ var SeamHttpSpaces = class _SeamHttpSpaces {
|
|
|
8797
8806
|
options
|
|
8798
8807
|
});
|
|
8799
8808
|
}
|
|
8809
|
+
removeConnectedAccount(parameters, options = {}) {
|
|
8810
|
+
return new SeamHttpRequest(this, {
|
|
8811
|
+
pathname: "/spaces/remove_connected_account",
|
|
8812
|
+
method: "POST",
|
|
8813
|
+
body: parameters,
|
|
8814
|
+
responseKey: void 0,
|
|
8815
|
+
options
|
|
8816
|
+
});
|
|
8817
|
+
}
|
|
8800
8818
|
removeDevices(parameters, options = {}) {
|
|
8801
8819
|
return new SeamHttpRequest(this, {
|
|
8802
8820
|
pathname: "/spaces/remove_devices",
|
|
@@ -12515,6 +12533,13 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
12515
12533
|
return seam.addAcsEntrances(...args);
|
|
12516
12534
|
};
|
|
12517
12535
|
}
|
|
12536
|
+
get "/spaces/add_connected_account"() {
|
|
12537
|
+
const { client, defaults } = this;
|
|
12538
|
+
return function spacesAddConnectedAccount(...args) {
|
|
12539
|
+
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
12540
|
+
return seam.addConnectedAccount(...args);
|
|
12541
|
+
};
|
|
12542
|
+
}
|
|
12518
12543
|
get "/spaces/add_devices"() {
|
|
12519
12544
|
const { client, defaults } = this;
|
|
12520
12545
|
return function spacesAddDevices(...args) {
|
|
@@ -12564,6 +12589,13 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
12564
12589
|
return seam.removeAcsEntrances(...args);
|
|
12565
12590
|
};
|
|
12566
12591
|
}
|
|
12592
|
+
get "/spaces/remove_connected_account"() {
|
|
12593
|
+
const { client, defaults } = this;
|
|
12594
|
+
return function spacesRemoveConnectedAccount(...args) {
|
|
12595
|
+
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
12596
|
+
return seam.removeConnectedAccount(...args);
|
|
12597
|
+
};
|
|
12598
|
+
}
|
|
12567
12599
|
get "/spaces/remove_devices"() {
|
|
12568
12600
|
const { client, defaults } = this;
|
|
12569
12601
|
return function spacesRemoveDevices(...args) {
|