@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 +26 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +16 -2
- package/dist/index.cjs +26 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/connectors/connectors.d.ts +13 -0
- package/lib/seam/connect/routes/seam/customer/v1/connectors/connectors.js +12 -0
- package/lib/seam/connect/routes/seam/customer/v1/connectors/connectors.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +3 -2
- package/lib/seam/connect/routes/seam-http-endpoints.js +10 -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/seam/customer/v1/connectors/connectors.ts +41 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +22 -0
- package/src/lib/version.ts +1 -1
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) {
|