@seamapi/http 1.87.0 → 1.88.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
@@ -6218,6 +6218,20 @@ var SeamHttpSeamCustomerV1Connectors = class _SeamHttpSeamCustomerV1Connectors {
6218
6218
  options
6219
6219
  });
6220
6220
  }
6221
+ delete(parameters, options = {}) {
6222
+ if (!this.defaults.isUndocumentedApiEnabled) {
6223
+ throw new Error(
6224
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
6225
+ );
6226
+ }
6227
+ return new SeamHttpRequest(this, {
6228
+ pathname: "/seam/customer/v1/connectors/delete",
6229
+ method: "POST",
6230
+ body: parameters,
6231
+ responseKey: "connector",
6232
+ options
6233
+ });
6234
+ }
6221
6235
  list(parameters, options = {}) {
6222
6236
  if (!this.defaults.isUndocumentedApiEnabled) {
6223
6237
  throw new Error(
@@ -6246,6 +6260,20 @@ var SeamHttpSeamCustomerV1Connectors = class _SeamHttpSeamCustomerV1Connectors {
6246
6260
  options
6247
6261
  });
6248
6262
  }
6263
+ update(parameters, options = {}) {
6264
+ if (!this.defaults.isUndocumentedApiEnabled) {
6265
+ throw new Error(
6266
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
6267
+ );
6268
+ }
6269
+ return new SeamHttpRequest(this, {
6270
+ pathname: "/seam/customer/v1/connectors/update",
6271
+ method: "POST",
6272
+ body: parameters,
6273
+ responseKey: "connector",
6274
+ options
6275
+ });
6276
+ }
6249
6277
  };
6250
6278
 
6251
6279
  // src/lib/seam/connect/routes/seam/customer/v1/events/events.ts
@@ -10624,6 +10652,18 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
10624
10652
  return seam.create(...args);
10625
10653
  };
10626
10654
  }
10655
+ get "/seam/customer/v1/connectors/delete"() {
10656
+ const { client, defaults } = this;
10657
+ if (!this.defaults.isUndocumentedApiEnabled) {
10658
+ throw new Error(
10659
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
10660
+ );
10661
+ }
10662
+ return function seamCustomerV1ConnectorsDelete(...args) {
10663
+ const seam = SeamHttpSeamCustomerV1Connectors.fromClient(client, defaults);
10664
+ return seam.delete(...args);
10665
+ };
10666
+ }
10627
10667
  get "/seam/customer/v1/connectors/list"() {
10628
10668
  const { client, defaults } = this;
10629
10669
  if (!this.defaults.isUndocumentedApiEnabled) {
@@ -10648,6 +10688,18 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
10648
10688
  return seam.sync(...args);
10649
10689
  };
10650
10690
  }
10691
+ get "/seam/customer/v1/connectors/update"() {
10692
+ const { client, defaults } = this;
10693
+ if (!this.defaults.isUndocumentedApiEnabled) {
10694
+ throw new Error(
10695
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
10696
+ );
10697
+ }
10698
+ return function seamCustomerV1ConnectorsUpdate(...args) {
10699
+ const seam = SeamHttpSeamCustomerV1Connectors.fromClient(client, defaults);
10700
+ return seam.update(...args);
10701
+ };
10702
+ }
10651
10703
  get "/seam/customer/v1/events/list"() {
10652
10704
  const { client, defaults } = this;
10653
10705
  if (!this.defaults.isUndocumentedApiEnabled) {