@seamapi/http 1.97.0 → 1.99.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 CHANGED
@@ -2116,6 +2116,15 @@ var SeamHttpAcsAccessGroups = class _SeamHttpAcsAccessGroups {
2116
2116
  options
2117
2117
  });
2118
2118
  }
2119
+ delete(parameters, options = {}) {
2120
+ return new SeamHttpRequest(this, {
2121
+ pathname: "/acs/access_groups/delete",
2122
+ method: "POST",
2123
+ body: parameters,
2124
+ responseKey: void 0,
2125
+ options
2126
+ });
2127
+ }
2119
2128
  get(parameters, options = {}) {
2120
2129
  return new SeamHttpRequest(this, {
2121
2130
  pathname: "/acs/access_groups/get",
@@ -6631,6 +6640,20 @@ var SeamHttpSeamCustomerV1Customers = class _SeamHttpSeamCustomerV1Customers {
6631
6640
  options
6632
6641
  });
6633
6642
  }
6643
+ openPortal(parameters, options = {}) {
6644
+ if (!this.defaults.isUndocumentedApiEnabled) {
6645
+ throw new Error(
6646
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
6647
+ );
6648
+ }
6649
+ return new SeamHttpRequest(this, {
6650
+ pathname: "/seam/customer/v1/customers/open_portal",
6651
+ method: "POST",
6652
+ body: parameters,
6653
+ responseKey: "magic_link",
6654
+ options
6655
+ });
6656
+ }
6634
6657
  };
6635
6658
 
6636
6659
  // src/lib/seam/connect/routes/seam/customer/v1/events/events.ts
@@ -10105,6 +10128,13 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
10105
10128
  return seam.addUser(...args);
10106
10129
  };
10107
10130
  }
10131
+ get "/acs/access_groups/delete"() {
10132
+ const { client, defaults } = this;
10133
+ return function acsAccessGroupsDelete(...args) {
10134
+ const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults);
10135
+ return seam.delete(...args);
10136
+ };
10137
+ }
10108
10138
  get "/acs/access_groups/get"() {
10109
10139
  const { client, defaults } = this;
10110
10140
  return function acsAccessGroupsGet(...args) {
@@ -11151,6 +11181,18 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
11151
11181
  return seam.list(...args);
11152
11182
  };
11153
11183
  }
11184
+ get "/seam/customer/v1/customers/open_portal"() {
11185
+ const { client, defaults } = this;
11186
+ if (!this.defaults.isUndocumentedApiEnabled) {
11187
+ throw new Error(
11188
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
11189
+ );
11190
+ }
11191
+ return function seamCustomerV1CustomersOpenPortal(...args) {
11192
+ const seam = SeamHttpSeamCustomerV1Customers.fromClient(client, defaults);
11193
+ return seam.openPortal(...args);
11194
+ };
11195
+ }
11154
11196
  get "/seam/customer/v1/events/list"() {
11155
11197
  const { client, defaults } = this;
11156
11198
  if (!this.defaults.isUndocumentedApiEnabled) {