@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.
@@ -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']> {
@@ -1,3 +1,3 @@
1
- const seamapiJavascriptHttpVersion = '1.86.0'
1
+ const seamapiJavascriptHttpVersion = '1.87.0'
2
2
 
3
3
  export default seamapiJavascriptHttpVersion