@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/index.cjs
CHANGED
|
@@ -6373,6 +6373,11 @@ var SeamHttpSeamCustomerV1Connectors = class _SeamHttpSeamCustomerV1Connectors {
|
|
|
6373
6373
|
static ltsVersion = seamApiLtsVersion;
|
|
6374
6374
|
constructor(apiKeyOrOptions = {}) {
|
|
6375
6375
|
const options = parseOptions(apiKeyOrOptions);
|
|
6376
|
+
if (!options.isUndocumentedApiEnabled) {
|
|
6377
|
+
throw new Error(
|
|
6378
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6379
|
+
);
|
|
6380
|
+
}
|
|
6376
6381
|
this.client = "client" in options ? options.client : createClient(options);
|
|
6377
6382
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
6378
6383
|
}
|
|
@@ -6481,6 +6486,11 @@ var SeamHttpSeamCustomerV1Connectors = class _SeamHttpSeamCustomerV1Connectors {
|
|
|
6481
6486
|
});
|
|
6482
6487
|
}
|
|
6483
6488
|
sync(parameters, options = {}) {
|
|
6489
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
6490
|
+
throw new Error(
|
|
6491
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6492
|
+
);
|
|
6493
|
+
}
|
|
6484
6494
|
return new SeamHttpRequest(this, {
|
|
6485
6495
|
pathname: "/seam/customer/v1/connectors/sync",
|
|
6486
6496
|
method: "POST",
|
|
@@ -6950,6 +6960,11 @@ var SeamHttpSeamCustomerV1Spaces = class _SeamHttpSeamCustomerV1Spaces {
|
|
|
6950
6960
|
static ltsVersion = seamApiLtsVersion;
|
|
6951
6961
|
constructor(apiKeyOrOptions = {}) {
|
|
6952
6962
|
const options = parseOptions(apiKeyOrOptions);
|
|
6963
|
+
if (!options.isUndocumentedApiEnabled) {
|
|
6964
|
+
throw new Error(
|
|
6965
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6966
|
+
);
|
|
6967
|
+
}
|
|
6953
6968
|
this.client = "client" in options ? options.client : createClient(options);
|
|
6954
6969
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
6955
6970
|
}
|
|
@@ -7027,6 +7042,11 @@ var SeamHttpSeamCustomerV1Spaces = class _SeamHttpSeamCustomerV1Spaces {
|
|
|
7027
7042
|
await clientSessions.get();
|
|
7028
7043
|
}
|
|
7029
7044
|
create(parameters, options = {}) {
|
|
7045
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7046
|
+
throw new Error(
|
|
7047
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
7048
|
+
);
|
|
7049
|
+
}
|
|
7030
7050
|
return new SeamHttpRequest(this, {
|
|
7031
7051
|
pathname: "/seam/customer/v1/spaces/create",
|
|
7032
7052
|
method: "POST",
|
|
@@ -7036,6 +7056,11 @@ var SeamHttpSeamCustomerV1Spaces = class _SeamHttpSeamCustomerV1Spaces {
|
|
|
7036
7056
|
});
|
|
7037
7057
|
}
|
|
7038
7058
|
list(parameters, options = {}) {
|
|
7059
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7060
|
+
throw new Error(
|
|
7061
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
7062
|
+
);
|
|
7063
|
+
}
|
|
7039
7064
|
return new SeamHttpRequest(this, {
|
|
7040
7065
|
pathname: "/seam/customer/v1/spaces/list",
|
|
7041
7066
|
method: "POST",
|
|
@@ -7176,6 +7201,11 @@ var SeamHttpSeamCustomerV1 = class _SeamHttpSeamCustomerV1 {
|
|
|
7176
7201
|
static ltsVersion = seamApiLtsVersion;
|
|
7177
7202
|
constructor(apiKeyOrOptions = {}) {
|
|
7178
7203
|
const options = parseOptions(apiKeyOrOptions);
|
|
7204
|
+
if (!options.isUndocumentedApiEnabled) {
|
|
7205
|
+
throw new Error(
|
|
7206
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
7207
|
+
);
|
|
7208
|
+
}
|
|
7179
7209
|
this.client = "client" in options ? options.client : createClient(options);
|
|
7180
7210
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
7181
7211
|
}
|
|
@@ -10861,6 +10891,11 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10861
10891
|
}
|
|
10862
10892
|
get "/seam/customer/v1/connectors/sync"() {
|
|
10863
10893
|
const { client, defaults } = this;
|
|
10894
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10895
|
+
throw new Error(
|
|
10896
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
10897
|
+
);
|
|
10898
|
+
}
|
|
10864
10899
|
return function seamCustomerV1ConnectorsSync(...args) {
|
|
10865
10900
|
const seam = SeamHttpSeamCustomerV1Connectors.fromClient(client, defaults);
|
|
10866
10901
|
return seam.sync(...args);
|
|
@@ -10946,6 +10981,11 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10946
10981
|
}
|
|
10947
10982
|
get "/seam/customer/v1/spaces/create"() {
|
|
10948
10983
|
const { client, defaults } = this;
|
|
10984
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10985
|
+
throw new Error(
|
|
10986
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
10987
|
+
);
|
|
10988
|
+
}
|
|
10949
10989
|
return function seamCustomerV1SpacesCreate(...args) {
|
|
10950
10990
|
const seam = SeamHttpSeamCustomerV1Spaces.fromClient(client, defaults);
|
|
10951
10991
|
return seam.create(...args);
|
|
@@ -10953,6 +10993,11 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10953
10993
|
}
|
|
10954
10994
|
get "/seam/customer/v1/spaces/list"() {
|
|
10955
10995
|
const { client, defaults } = this;
|
|
10996
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10997
|
+
throw new Error(
|
|
10998
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
10999
|
+
);
|
|
11000
|
+
}
|
|
10956
11001
|
return function seamCustomerV1SpacesList(...args) {
|
|
10957
11002
|
const seam = SeamHttpSeamCustomerV1Spaces.fromClient(client, defaults);
|
|
10958
11003
|
return seam.list(...args);
|