@seamapi/http 1.106.0 → 1.107.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.
Files changed (26) hide show
  1. package/dist/connect.cjs +20 -4
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +17 -4
  4. package/dist/index.cjs +20 -4
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +1 -1
  7. package/lib/seam/connect/routes/acs/entrances/entrances.d.ts +12 -0
  8. package/lib/seam/connect/routes/acs/entrances/entrances.js +9 -0
  9. package/lib/seam/connect/routes/acs/entrances/entrances.js.map +1 -1
  10. package/lib/seam/connect/routes/seam/customer/v1/automations/automations.d.ts +2 -2
  11. package/lib/seam/connect/routes/seam/customer/v1/automations/automations.js +2 -2
  12. package/lib/seam/connect/routes/seam/customer/v1/automations/automations.js.map +1 -1
  13. package/lib/seam/connect/routes/seam/customer/v1/customers/automations/automations.d.ts +2 -2
  14. package/lib/seam/connect/routes/seam/customer/v1/customers/automations/automations.js +2 -2
  15. package/lib/seam/connect/routes/seam/customer/v1/customers/automations/automations.js.map +1 -1
  16. package/lib/seam/connect/routes/seam-http-endpoints.d.ts +3 -2
  17. package/lib/seam/connect/routes/seam-http-endpoints.js +7 -0
  18. package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
  19. package/lib/version.d.ts +1 -1
  20. package/lib/version.js +1 -1
  21. package/package.json +3 -3
  22. package/src/lib/seam/connect/routes/acs/entrances/entrances.ts +38 -0
  23. package/src/lib/seam/connect/routes/seam/customer/v1/automations/automations.ts +4 -8
  24. package/src/lib/seam/connect/routes/seam/customer/v1/customers/automations/automations.ts +8 -4
  25. package/src/lib/seam/connect/routes/seam-http-endpoints.ts +17 -0
  26. 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: "GET",
6553
- params: parameters,
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: "POST",
6965
- body: parameters,
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) {