@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
|
@@ -3159,6 +3159,11 @@ export class SeamHttpEndpoints {
|
|
|
3159
3159
|
options?: SeamCustomerV1ConnectorsSyncOptions,
|
|
3160
3160
|
) => SeamCustomerV1ConnectorsSyncRequest {
|
|
3161
3161
|
const { client, defaults } = this
|
|
3162
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
3163
|
+
throw new Error(
|
|
3164
|
+
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
3165
|
+
)
|
|
3166
|
+
}
|
|
3162
3167
|
return function seamCustomerV1ConnectorsSync(
|
|
3163
3168
|
...args: Parameters<SeamHttpSeamCustomerV1Connectors['sync']>
|
|
3164
3169
|
): ReturnType<SeamHttpSeamCustomerV1Connectors['sync']> {
|
|
@@ -3286,6 +3291,11 @@ export class SeamHttpEndpoints {
|
|
|
3286
3291
|
options?: SeamCustomerV1SpacesCreateOptions,
|
|
3287
3292
|
) => SeamCustomerV1SpacesCreateRequest {
|
|
3288
3293
|
const { client, defaults } = this
|
|
3294
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
3295
|
+
throw new Error(
|
|
3296
|
+
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
3297
|
+
)
|
|
3298
|
+
}
|
|
3289
3299
|
return function seamCustomerV1SpacesCreate(
|
|
3290
3300
|
...args: Parameters<SeamHttpSeamCustomerV1Spaces['create']>
|
|
3291
3301
|
): ReturnType<SeamHttpSeamCustomerV1Spaces['create']> {
|
|
@@ -3299,6 +3309,11 @@ export class SeamHttpEndpoints {
|
|
|
3299
3309
|
options?: SeamCustomerV1SpacesListOptions,
|
|
3300
3310
|
) => SeamCustomerV1SpacesListRequest {
|
|
3301
3311
|
const { client, defaults } = this
|
|
3312
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
3313
|
+
throw new Error(
|
|
3314
|
+
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
3315
|
+
)
|
|
3316
|
+
}
|
|
3302
3317
|
return function seamCustomerV1SpacesList(
|
|
3303
3318
|
...args: Parameters<SeamHttpSeamCustomerV1Spaces['list']>
|
|
3304
3319
|
): ReturnType<SeamHttpSeamCustomerV1Spaces['list']> {
|
package/src/lib/version.ts
CHANGED