@seamapi/http 1.106.0 → 1.108.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 +20 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +18 -5
- package/dist/index.cjs +20 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/routes/acs/entrances/entrances.d.ts +12 -0
- package/lib/seam/connect/routes/acs/entrances/entrances.js +9 -0
- package/lib/seam/connect/routes/acs/entrances/entrances.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/automations/automations.d.ts +2 -2
- package/lib/seam/connect/routes/seam/customer/v1/automations/automations.js +2 -2
- package/lib/seam/connect/routes/seam/customer/v1/automations/automations.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/customers/automations/automations.d.ts +2 -2
- package/lib/seam/connect/routes/seam/customer/v1/customers/automations/automations.js +2 -2
- package/lib/seam/connect/routes/seam/customer/v1/customers/automations/automations.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +4 -3
- package/lib/seam/connect/routes/seam-http-endpoints.js +7 -0
- package/lib/seam/connect/routes/seam-http-endpoints.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/acs/entrances/entrances.ts +38 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/automations/automations.ts +4 -8
- package/src/lib/seam/connect/routes/seam/customer/v1/customers/automations/automations.ts +8 -4
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +18 -0
- package/src/lib/version.ts +1 -1
package/dist/connect.cjs
CHANGED
|
@@ -3061,6 +3061,15 @@ var SeamHttpAcsEntrances = class _SeamHttpAcsEntrances {
|
|
|
3061
3061
|
options
|
|
3062
3062
|
});
|
|
3063
3063
|
}
|
|
3064
|
+
unlock(parameters, options = {}) {
|
|
3065
|
+
return new SeamHttpRequest(this, {
|
|
3066
|
+
pathname: "/acs/entrances/unlock",
|
|
3067
|
+
method: "POST",
|
|
3068
|
+
body: parameters,
|
|
3069
|
+
responseKey: "action_attempt",
|
|
3070
|
+
options
|
|
3071
|
+
});
|
|
3072
|
+
}
|
|
3064
3073
|
};
|
|
3065
3074
|
|
|
3066
3075
|
// src/lib/seam/connect/routes/acs/systems/systems.ts
|
|
@@ -6549,8 +6558,8 @@ var SeamHttpSeamCustomerV1Automations = class _SeamHttpSeamCustomerV1Automations
|
|
|
6549
6558
|
}
|
|
6550
6559
|
return new SeamHttpRequest(this, {
|
|
6551
6560
|
pathname: "/seam/customer/v1/automations/get",
|
|
6552
|
-
method: "
|
|
6553
|
-
|
|
6561
|
+
method: "POST",
|
|
6562
|
+
body: parameters,
|
|
6554
6563
|
responseKey: void 0,
|
|
6555
6564
|
options
|
|
6556
6565
|
});
|
|
@@ -6961,8 +6970,8 @@ var SeamHttpSeamCustomerV1CustomersAutomations = class _SeamHttpSeamCustomerV1Cu
|
|
|
6961
6970
|
get(parameters, options = {}) {
|
|
6962
6971
|
return new SeamHttpRequest(this, {
|
|
6963
6972
|
pathname: "/seam/customer/v1/customers/automations/get",
|
|
6964
|
-
method: "
|
|
6965
|
-
|
|
6973
|
+
method: "GET",
|
|
6974
|
+
params: parameters,
|
|
6966
6975
|
responseKey: "automation",
|
|
6967
6976
|
options
|
|
6968
6977
|
});
|
|
@@ -11101,6 +11110,13 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
11101
11110
|
return seam.listCredentialsWithAccess(...args);
|
|
11102
11111
|
};
|
|
11103
11112
|
}
|
|
11113
|
+
get "/acs/entrances/unlock"() {
|
|
11114
|
+
const { client, defaults } = this;
|
|
11115
|
+
return function acsEntrancesUnlock(...args) {
|
|
11116
|
+
const seam = SeamHttpAcsEntrances.fromClient(client, defaults);
|
|
11117
|
+
return seam.unlock(...args);
|
|
11118
|
+
};
|
|
11119
|
+
}
|
|
11104
11120
|
get "/acs/systems/get"() {
|
|
11105
11121
|
const { client, defaults } = this;
|
|
11106
11122
|
return function acsSystemsGet(...args) {
|