@seamapi/http 1.89.0 → 1.90.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
@@ -6312,6 +6312,20 @@ var SeamHttpSeamCustomerV1Connectors = class _SeamHttpSeamCustomerV1Connectors {
6312
6312
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
6313
6313
  await clientSessions.get();
6314
6314
  }
6315
+ connectorTypes(parameters, options = {}) {
6316
+ if (!this.defaults.isUndocumentedApiEnabled) {
6317
+ throw new Error(
6318
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
6319
+ );
6320
+ }
6321
+ return new SeamHttpRequest(this, {
6322
+ pathname: "/seam/customer/v1/connectors/connector_types",
6323
+ method: "GET",
6324
+ params: parameters,
6325
+ responseKey: "connector_types",
6326
+ options
6327
+ });
6328
+ }
6315
6329
  create(parameters, options = {}) {
6316
6330
  if (!this.defaults.isUndocumentedApiEnabled) {
6317
6331
  throw new Error(
@@ -10769,6 +10783,18 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
10769
10783
  return seam.update(...args);
10770
10784
  };
10771
10785
  }
10786
+ get "/seam/customer/v1/connectors/connector_types"() {
10787
+ const { client, defaults } = this;
10788
+ if (!this.defaults.isUndocumentedApiEnabled) {
10789
+ throw new Error(
10790
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
10791
+ );
10792
+ }
10793
+ return function seamCustomerV1ConnectorsConnectorTypes(...args) {
10794
+ const seam = SeamHttpSeamCustomerV1Connectors.fromClient(client, defaults);
10795
+ return seam.connectorTypes(...args);
10796
+ };
10797
+ }
10772
10798
  get "/seam/customer/v1/connectors/create"() {
10773
10799
  const { client, defaults } = this;
10774
10800
  if (!this.defaults.isUndocumentedApiEnabled) {