@seamapi/http 1.118.0 → 1.120.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.
Files changed (46) hide show
  1. package/dist/connect.cjs +385 -0
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +122 -4
  4. package/dist/index.cjs +389 -0
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +1 -1
  7. package/lib/seam/connect/routes/seam/console/v1/index.d.ts +2 -0
  8. package/lib/seam/connect/routes/seam/console/v1/index.js +2 -0
  9. package/lib/seam/connect/routes/seam/console/v1/index.js.map +1 -1
  10. package/lib/seam/connect/routes/seam/console/v1/lynx-migration/index.d.ts +1 -0
  11. package/lib/seam/connect/routes/seam/console/v1/lynx-migration/index.js +6 -0
  12. package/lib/seam/connect/routes/seam/console/v1/lynx-migration/index.js.map +1 -0
  13. package/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.d.ts +73 -0
  14. package/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.js +140 -0
  15. package/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.js.map +1 -0
  16. package/lib/seam/connect/routes/seam/console/v1/v1.d.ts +2 -0
  17. package/lib/seam/connect/routes/seam/console/v1/v1.js +4 -0
  18. package/lib/seam/connect/routes/seam/console/v1/v1.js.map +1 -1
  19. package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/feature-flags.d.ts +47 -0
  20. package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/feature-flags.js +116 -0
  21. package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/feature-flags.js.map +1 -0
  22. package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/index.d.ts +1 -0
  23. package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/index.js +6 -0
  24. package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/index.js.map +1 -0
  25. package/lib/seam/connect/routes/seam/console/v1/workspace/index.d.ts +1 -0
  26. package/lib/seam/connect/routes/seam/console/v1/workspace/index.js +6 -0
  27. package/lib/seam/connect/routes/seam/console/v1/workspace/index.js.map +1 -0
  28. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.d.ts +3 -1
  29. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js +11 -0
  30. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js.map +1 -1
  31. package/lib/seam/connect/routes/seam-http-endpoints.d.ts +10 -2
  32. package/lib/seam/connect/routes/seam-http-endpoints.js +62 -0
  33. package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
  34. package/lib/version.d.ts +1 -1
  35. package/lib/version.js +1 -1
  36. package/package.json +3 -3
  37. package/src/lib/seam/connect/routes/seam/console/v1/index.ts +2 -0
  38. package/src/lib/seam/connect/routes/seam/console/v1/lynx-migration/index.ts +6 -0
  39. package/src/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.ts +350 -0
  40. package/src/lib/seam/connect/routes/seam/console/v1/v1.ts +8 -0
  41. package/src/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/feature-flags.ts +259 -0
  42. package/src/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/index.ts +6 -0
  43. package/src/lib/seam/connect/routes/seam/console/v1/workspace/index.ts +6 -0
  44. package/src/lib/seam/connect/routes/seam-http-endpoints-without-workspace.ts +28 -0
  45. package/src/lib/seam/connect/routes/seam-http-endpoints.ts +168 -0
  46. package/src/lib/version.ts +1 -1
@@ -611,6 +611,21 @@ import {
611
611
  type SeamConsoleV1GetResourceLocatorRequest,
612
612
  SeamHttpSeamConsoleV1,
613
613
  } from './seam/console/v1/index.js'
614
+ import {
615
+ type SeamConsoleV1LynxMigrationGetPropertyMigrationStatusOptions,
616
+ type SeamConsoleV1LynxMigrationGetPropertyMigrationStatusParameters,
617
+ type SeamConsoleV1LynxMigrationGetPropertyMigrationStatusRequest,
618
+ type SeamConsoleV1LynxMigrationGetReservationMigrationStatusOptions,
619
+ type SeamConsoleV1LynxMigrationGetReservationMigrationStatusParameters,
620
+ type SeamConsoleV1LynxMigrationGetReservationMigrationStatusRequest,
621
+ type SeamConsoleV1LynxMigrationListPropertyReservationsOptions,
622
+ type SeamConsoleV1LynxMigrationListPropertyReservationsParameters,
623
+ type SeamConsoleV1LynxMigrationListPropertyReservationsRequest,
624
+ type SeamConsoleV1LynxMigrationMigratePropertyOptions,
625
+ type SeamConsoleV1LynxMigrationMigratePropertyParameters,
626
+ type SeamConsoleV1LynxMigrationMigratePropertyRequest,
627
+ SeamHttpSeamConsoleV1LynxMigration,
628
+ } from './seam/console/v1/lynx-migration/index.js'
614
629
  import {
615
630
  type SeamConsoleV1SitesCreateOptions,
616
631
  type SeamConsoleV1SitesCreateParameters,
@@ -632,6 +647,15 @@ import {
632
647
  type SeamConsoleV1TimelinesGetRequest,
633
648
  SeamHttpSeamConsoleV1Timelines,
634
649
  } from './seam/console/v1/timelines/index.js'
650
+ import {
651
+ type SeamConsoleV1WorkspaceFeatureFlagsListOptions,
652
+ type SeamConsoleV1WorkspaceFeatureFlagsListParameters,
653
+ type SeamConsoleV1WorkspaceFeatureFlagsListRequest,
654
+ type SeamConsoleV1WorkspaceFeatureFlagsUpdateOptions,
655
+ type SeamConsoleV1WorkspaceFeatureFlagsUpdateParameters,
656
+ type SeamConsoleV1WorkspaceFeatureFlagsUpdateRequest,
657
+ SeamHttpSeamConsoleV1WorkspaceFeatureFlags,
658
+ } from './seam/console/v1/workspace/feature-flags/index.js'
635
659
  import {
636
660
  type SeamCustomerV1AccessGrantsListOptions,
637
661
  type SeamCustomerV1AccessGrantsListParameters,
@@ -3309,6 +3333,102 @@ export class SeamHttpEndpoints {
3309
3333
  }
3310
3334
  }
3311
3335
 
3336
+ get '/seam/console/v1/lynx_migration/get_property_migration_status'(): (
3337
+ parameters?: SeamConsoleV1LynxMigrationGetPropertyMigrationStatusParameters,
3338
+ options?: SeamConsoleV1LynxMigrationGetPropertyMigrationStatusOptions,
3339
+ ) => SeamConsoleV1LynxMigrationGetPropertyMigrationStatusRequest {
3340
+ const { client, defaults } = this
3341
+ if (!this.defaults.isUndocumentedApiEnabled) {
3342
+ throw new Error(
3343
+ 'Cannot use undocumented API without isUndocumentedApiEnabled',
3344
+ )
3345
+ }
3346
+ return function seamConsoleV1LynxMigrationGetPropertyMigrationStatus(
3347
+ ...args: Parameters<
3348
+ SeamHttpSeamConsoleV1LynxMigration['getPropertyMigrationStatus']
3349
+ >
3350
+ ): ReturnType<
3351
+ SeamHttpSeamConsoleV1LynxMigration['getPropertyMigrationStatus']
3352
+ > {
3353
+ const seam = SeamHttpSeamConsoleV1LynxMigration.fromClient(
3354
+ client,
3355
+ defaults,
3356
+ )
3357
+ return seam.getPropertyMigrationStatus(...args)
3358
+ }
3359
+ }
3360
+
3361
+ get '/seam/console/v1/lynx_migration/get_reservation_migration_status'(): (
3362
+ parameters?: SeamConsoleV1LynxMigrationGetReservationMigrationStatusParameters,
3363
+ options?: SeamConsoleV1LynxMigrationGetReservationMigrationStatusOptions,
3364
+ ) => SeamConsoleV1LynxMigrationGetReservationMigrationStatusRequest {
3365
+ const { client, defaults } = this
3366
+ if (!this.defaults.isUndocumentedApiEnabled) {
3367
+ throw new Error(
3368
+ 'Cannot use undocumented API without isUndocumentedApiEnabled',
3369
+ )
3370
+ }
3371
+ return function seamConsoleV1LynxMigrationGetReservationMigrationStatus(
3372
+ ...args: Parameters<
3373
+ SeamHttpSeamConsoleV1LynxMigration['getReservationMigrationStatus']
3374
+ >
3375
+ ): ReturnType<
3376
+ SeamHttpSeamConsoleV1LynxMigration['getReservationMigrationStatus']
3377
+ > {
3378
+ const seam = SeamHttpSeamConsoleV1LynxMigration.fromClient(
3379
+ client,
3380
+ defaults,
3381
+ )
3382
+ return seam.getReservationMigrationStatus(...args)
3383
+ }
3384
+ }
3385
+
3386
+ get '/seam/console/v1/lynx_migration/list_property_reservations'(): (
3387
+ parameters?: SeamConsoleV1LynxMigrationListPropertyReservationsParameters,
3388
+ options?: SeamConsoleV1LynxMigrationListPropertyReservationsOptions,
3389
+ ) => SeamConsoleV1LynxMigrationListPropertyReservationsRequest {
3390
+ const { client, defaults } = this
3391
+ if (!this.defaults.isUndocumentedApiEnabled) {
3392
+ throw new Error(
3393
+ 'Cannot use undocumented API without isUndocumentedApiEnabled',
3394
+ )
3395
+ }
3396
+ return function seamConsoleV1LynxMigrationListPropertyReservations(
3397
+ ...args: Parameters<
3398
+ SeamHttpSeamConsoleV1LynxMigration['listPropertyReservations']
3399
+ >
3400
+ ): ReturnType<
3401
+ SeamHttpSeamConsoleV1LynxMigration['listPropertyReservations']
3402
+ > {
3403
+ const seam = SeamHttpSeamConsoleV1LynxMigration.fromClient(
3404
+ client,
3405
+ defaults,
3406
+ )
3407
+ return seam.listPropertyReservations(...args)
3408
+ }
3409
+ }
3410
+
3411
+ get '/seam/console/v1/lynx_migration/migrate_property'(): (
3412
+ parameters?: SeamConsoleV1LynxMigrationMigratePropertyParameters,
3413
+ options?: SeamConsoleV1LynxMigrationMigratePropertyOptions,
3414
+ ) => SeamConsoleV1LynxMigrationMigratePropertyRequest {
3415
+ const { client, defaults } = this
3416
+ if (!this.defaults.isUndocumentedApiEnabled) {
3417
+ throw new Error(
3418
+ 'Cannot use undocumented API without isUndocumentedApiEnabled',
3419
+ )
3420
+ }
3421
+ return function seamConsoleV1LynxMigrationMigrateProperty(
3422
+ ...args: Parameters<SeamHttpSeamConsoleV1LynxMigration['migrateProperty']>
3423
+ ): ReturnType<SeamHttpSeamConsoleV1LynxMigration['migrateProperty']> {
3424
+ const seam = SeamHttpSeamConsoleV1LynxMigration.fromClient(
3425
+ client,
3426
+ defaults,
3427
+ )
3428
+ return seam.migrateProperty(...args)
3429
+ }
3430
+ }
3431
+
3312
3432
  get '/seam/console/v1/sites/create'(): (
3313
3433
  parameters?: SeamConsoleV1SitesCreateParameters,
3314
3434
  options?: SeamConsoleV1SitesCreateOptions,
@@ -3399,6 +3519,48 @@ export class SeamHttpEndpoints {
3399
3519
  }
3400
3520
  }
3401
3521
 
3522
+ get '/seam/console/v1/workspace/feature_flags/list'(): (
3523
+ parameters?: SeamConsoleV1WorkspaceFeatureFlagsListParameters,
3524
+ options?: SeamConsoleV1WorkspaceFeatureFlagsListOptions,
3525
+ ) => SeamConsoleV1WorkspaceFeatureFlagsListRequest {
3526
+ const { client, defaults } = this
3527
+ if (!this.defaults.isUndocumentedApiEnabled) {
3528
+ throw new Error(
3529
+ 'Cannot use undocumented API without isUndocumentedApiEnabled',
3530
+ )
3531
+ }
3532
+ return function seamConsoleV1WorkspaceFeatureFlagsList(
3533
+ ...args: Parameters<SeamHttpSeamConsoleV1WorkspaceFeatureFlags['list']>
3534
+ ): ReturnType<SeamHttpSeamConsoleV1WorkspaceFeatureFlags['list']> {
3535
+ const seam = SeamHttpSeamConsoleV1WorkspaceFeatureFlags.fromClient(
3536
+ client,
3537
+ defaults,
3538
+ )
3539
+ return seam.list(...args)
3540
+ }
3541
+ }
3542
+
3543
+ get '/seam/console/v1/workspace/feature_flags/update'(): (
3544
+ parameters?: SeamConsoleV1WorkspaceFeatureFlagsUpdateParameters,
3545
+ options?: SeamConsoleV1WorkspaceFeatureFlagsUpdateOptions,
3546
+ ) => SeamConsoleV1WorkspaceFeatureFlagsUpdateRequest {
3547
+ const { client, defaults } = this
3548
+ if (!this.defaults.isUndocumentedApiEnabled) {
3549
+ throw new Error(
3550
+ 'Cannot use undocumented API without isUndocumentedApiEnabled',
3551
+ )
3552
+ }
3553
+ return function seamConsoleV1WorkspaceFeatureFlagsUpdate(
3554
+ ...args: Parameters<SeamHttpSeamConsoleV1WorkspaceFeatureFlags['update']>
3555
+ ): ReturnType<SeamHttpSeamConsoleV1WorkspaceFeatureFlags['update']> {
3556
+ const seam = SeamHttpSeamConsoleV1WorkspaceFeatureFlags.fromClient(
3557
+ client,
3558
+ defaults,
3559
+ )
3560
+ return seam.update(...args)
3561
+ }
3562
+ }
3563
+
3402
3564
  get '/seam/customer/v1/access_grants/list'(): (
3403
3565
  parameters?: SeamCustomerV1AccessGrantsListParameters,
3404
3566
  options?: SeamCustomerV1AccessGrantsListOptions,
@@ -5375,8 +5537,12 @@ export type SeamHttpEndpointQueryPaths =
5375
5537
  | '/phones/get'
5376
5538
  | '/phones/list'
5377
5539
  | '/seam/console/v1/get_resource_locator'
5540
+ | '/seam/console/v1/lynx_migration/get_property_migration_status'
5541
+ | '/seam/console/v1/lynx_migration/get_reservation_migration_status'
5542
+ | '/seam/console/v1/lynx_migration/list_property_reservations'
5378
5543
  | '/seam/console/v1/sites/list'
5379
5544
  | '/seam/console/v1/timelines/get'
5545
+ | '/seam/console/v1/workspace/feature_flags/list'
5380
5546
  | '/seam/customer/v1/access_grants/list'
5381
5547
  | '/seam/customer/v1/automation_runs/list'
5382
5548
  | '/seam/customer/v1/automations/get'
@@ -5535,9 +5701,11 @@ export type SeamHttpEndpointMutationPaths =
5535
5701
  | '/noise_sensors/simulate/trigger_noise_threshold'
5536
5702
  | '/phones/deactivate'
5537
5703
  | '/phones/simulate/create_sandbox_phone'
5704
+ | '/seam/console/v1/lynx_migration/migrate_property'
5538
5705
  | '/seam/console/v1/sites/create'
5539
5706
  | '/seam/console/v1/sites/delete'
5540
5707
  | '/seam/console/v1/sites/update'
5708
+ | '/seam/console/v1/workspace/feature_flags/update'
5541
5709
  | '/seam/customer/v1/access_grants/update'
5542
5710
  | '/seam/customer/v1/access_methods/encode'
5543
5711
  | '/seam/customer/v1/automations/delete'
@@ -1,3 +1,3 @@
1
- const seamapiJavascriptHttpVersion = '1.118.0'
1
+ const seamapiJavascriptHttpVersion = '1.120.0'
2
2
 
3
3
  export default seamapiJavascriptHttpVersion