@seamapi/http 1.86.0 → 1.87.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 +45 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/index.cjs +45 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/connectors/connectors.js +6 -0
- package/lib/seam/connect/routes/seam/customer/v1/connectors/connectors.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.js +9 -0
- package/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/v1.js +3 -0
- package/lib/seam/connect/routes/seam/customer/v1/v1.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.js +9 -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 +10 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.ts +15 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/v1.ts +5 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +15 -0
- package/src/lib/version.ts +1 -1
package/dist/connect.cjs
CHANGED
|
@@ -6120,6 +6120,11 @@ var SeamHttpSeamCustomerV1Connectors = class _SeamHttpSeamCustomerV1Connectors {
|
|
|
6120
6120
|
static ltsVersion = seamApiLtsVersion;
|
|
6121
6121
|
constructor(apiKeyOrOptions = {}) {
|
|
6122
6122
|
const options = parseOptions(apiKeyOrOptions);
|
|
6123
|
+
if (!options.isUndocumentedApiEnabled) {
|
|
6124
|
+
throw new Error(
|
|
6125
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6126
|
+
);
|
|
6127
|
+
}
|
|
6123
6128
|
this.client = "client" in options ? options.client : createClient(options);
|
|
6124
6129
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
6125
6130
|
}
|
|
@@ -6228,6 +6233,11 @@ var SeamHttpSeamCustomerV1Connectors = class _SeamHttpSeamCustomerV1Connectors {
|
|
|
6228
6233
|
});
|
|
6229
6234
|
}
|
|
6230
6235
|
sync(parameters, options = {}) {
|
|
6236
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
6237
|
+
throw new Error(
|
|
6238
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6239
|
+
);
|
|
6240
|
+
}
|
|
6231
6241
|
return new SeamHttpRequest(this, {
|
|
6232
6242
|
pathname: "/seam/customer/v1/connectors/sync",
|
|
6233
6243
|
method: "POST",
|
|
@@ -6697,6 +6707,11 @@ var SeamHttpSeamCustomerV1Spaces = class _SeamHttpSeamCustomerV1Spaces {
|
|
|
6697
6707
|
static ltsVersion = seamApiLtsVersion;
|
|
6698
6708
|
constructor(apiKeyOrOptions = {}) {
|
|
6699
6709
|
const options = parseOptions(apiKeyOrOptions);
|
|
6710
|
+
if (!options.isUndocumentedApiEnabled) {
|
|
6711
|
+
throw new Error(
|
|
6712
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6713
|
+
);
|
|
6714
|
+
}
|
|
6700
6715
|
this.client = "client" in options ? options.client : createClient(options);
|
|
6701
6716
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
6702
6717
|
}
|
|
@@ -6774,6 +6789,11 @@ var SeamHttpSeamCustomerV1Spaces = class _SeamHttpSeamCustomerV1Spaces {
|
|
|
6774
6789
|
await clientSessions.get();
|
|
6775
6790
|
}
|
|
6776
6791
|
create(parameters, options = {}) {
|
|
6792
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
6793
|
+
throw new Error(
|
|
6794
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6795
|
+
);
|
|
6796
|
+
}
|
|
6777
6797
|
return new SeamHttpRequest(this, {
|
|
6778
6798
|
pathname: "/seam/customer/v1/spaces/create",
|
|
6779
6799
|
method: "POST",
|
|
@@ -6783,6 +6803,11 @@ var SeamHttpSeamCustomerV1Spaces = class _SeamHttpSeamCustomerV1Spaces {
|
|
|
6783
6803
|
});
|
|
6784
6804
|
}
|
|
6785
6805
|
list(parameters, options = {}) {
|
|
6806
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
6807
|
+
throw new Error(
|
|
6808
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6809
|
+
);
|
|
6810
|
+
}
|
|
6786
6811
|
return new SeamHttpRequest(this, {
|
|
6787
6812
|
pathname: "/seam/customer/v1/spaces/list",
|
|
6788
6813
|
method: "POST",
|
|
@@ -6923,6 +6948,11 @@ var SeamHttpSeamCustomerV1 = class _SeamHttpSeamCustomerV1 {
|
|
|
6923
6948
|
static ltsVersion = seamApiLtsVersion;
|
|
6924
6949
|
constructor(apiKeyOrOptions = {}) {
|
|
6925
6950
|
const options = parseOptions(apiKeyOrOptions);
|
|
6951
|
+
if (!options.isUndocumentedApiEnabled) {
|
|
6952
|
+
throw new Error(
|
|
6953
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6954
|
+
);
|
|
6955
|
+
}
|
|
6926
6956
|
this.client = "client" in options ? options.client : createClient(options);
|
|
6927
6957
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
6928
6958
|
}
|
|
@@ -10608,6 +10638,11 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10608
10638
|
}
|
|
10609
10639
|
get "/seam/customer/v1/connectors/sync"() {
|
|
10610
10640
|
const { client, defaults } = this;
|
|
10641
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10642
|
+
throw new Error(
|
|
10643
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
10644
|
+
);
|
|
10645
|
+
}
|
|
10611
10646
|
return function seamCustomerV1ConnectorsSync(...args) {
|
|
10612
10647
|
const seam = SeamHttpSeamCustomerV1Connectors.fromClient(client, defaults);
|
|
10613
10648
|
return seam.sync(...args);
|
|
@@ -10693,6 +10728,11 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10693
10728
|
}
|
|
10694
10729
|
get "/seam/customer/v1/spaces/create"() {
|
|
10695
10730
|
const { client, defaults } = this;
|
|
10731
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10732
|
+
throw new Error(
|
|
10733
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
10734
|
+
);
|
|
10735
|
+
}
|
|
10696
10736
|
return function seamCustomerV1SpacesCreate(...args) {
|
|
10697
10737
|
const seam = SeamHttpSeamCustomerV1Spaces.fromClient(client, defaults);
|
|
10698
10738
|
return seam.create(...args);
|
|
@@ -10700,6 +10740,11 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10700
10740
|
}
|
|
10701
10741
|
get "/seam/customer/v1/spaces/list"() {
|
|
10702
10742
|
const { client, defaults } = this;
|
|
10743
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10744
|
+
throw new Error(
|
|
10745
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
10746
|
+
);
|
|
10747
|
+
}
|
|
10703
10748
|
return function seamCustomerV1SpacesList(...args) {
|
|
10704
10749
|
const seam = SeamHttpSeamCustomerV1Spaces.fromClient(client, defaults);
|
|
10705
10750
|
return seam.list(...args);
|