@seamapi/http 1.57.0 → 1.58.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 +0 -328
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +3 -146
- package/dist/index.cjs +0 -330
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/routes/index.d.ts +0 -1
- package/lib/seam/connect/routes/index.js +0 -1
- package/lib/seam/connect/routes/index.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +2 -12
- package/lib/seam/connect/routes/seam-http-endpoints.js +0 -91
- package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
- package/lib/seam/connect/routes/seam-http.d.ts +0 -2
- package/lib/seam/connect/routes/seam-http.js +0 -4
- package/lib/seam/connect/routes/seam-http.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/index.ts +0 -1
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +0 -201
- package/src/lib/seam/connect/routes/seam-http.ts +0 -5
- package/src/lib/version.ts +1 -1
- package/lib/seam/connect/routes/unstable-locations/index.d.ts +0 -1
- package/lib/seam/connect/routes/unstable-locations/index.js +0 -6
- package/lib/seam/connect/routes/unstable-locations/index.js.map +0 -1
- package/lib/seam/connect/routes/unstable-locations/unstable-locations.d.ts +0 -138
- package/lib/seam/connect/routes/unstable-locations/unstable-locations.js +0 -198
- package/lib/seam/connect/routes/unstable-locations/unstable-locations.js.map +0 -1
- package/src/lib/seam/connect/routes/unstable-locations/index.ts +0 -6
- package/src/lib/seam/connect/routes/unstable-locations/unstable-locations.ts +0 -544
|
@@ -707,36 +707,6 @@ import {
|
|
|
707
707
|
type ThermostatsSimulateTemperatureReachedParameters,
|
|
708
708
|
type ThermostatsSimulateTemperatureReachedRequest,
|
|
709
709
|
} from './thermostats/simulate/index.js'
|
|
710
|
-
import {
|
|
711
|
-
SeamHttpUnstableLocations,
|
|
712
|
-
type UnstableLocationsAddAcsEntrancesOptions,
|
|
713
|
-
type UnstableLocationsAddAcsEntrancesParameters,
|
|
714
|
-
type UnstableLocationsAddAcsEntrancesRequest,
|
|
715
|
-
type UnstableLocationsAddDevicesOptions,
|
|
716
|
-
type UnstableLocationsAddDevicesParameters,
|
|
717
|
-
type UnstableLocationsAddDevicesRequest,
|
|
718
|
-
type UnstableLocationsCreateOptions,
|
|
719
|
-
type UnstableLocationsCreateParameters,
|
|
720
|
-
type UnstableLocationsCreateRequest,
|
|
721
|
-
type UnstableLocationsDeleteOptions,
|
|
722
|
-
type UnstableLocationsDeleteParameters,
|
|
723
|
-
type UnstableLocationsDeleteRequest,
|
|
724
|
-
type UnstableLocationsGetOptions,
|
|
725
|
-
type UnstableLocationsGetParameters,
|
|
726
|
-
type UnstableLocationsGetRequest,
|
|
727
|
-
type UnstableLocationsListOptions,
|
|
728
|
-
type UnstableLocationsListParameters,
|
|
729
|
-
type UnstableLocationsListRequest,
|
|
730
|
-
type UnstableLocationsRemoveAcsEntrancesOptions,
|
|
731
|
-
type UnstableLocationsRemoveAcsEntrancesParameters,
|
|
732
|
-
type UnstableLocationsRemoveAcsEntrancesRequest,
|
|
733
|
-
type UnstableLocationsRemoveDevicesOptions,
|
|
734
|
-
type UnstableLocationsRemoveDevicesParameters,
|
|
735
|
-
type UnstableLocationsRemoveDevicesRequest,
|
|
736
|
-
type UnstableLocationsUpdateOptions,
|
|
737
|
-
type UnstableLocationsUpdateParameters,
|
|
738
|
-
type UnstableLocationsUpdateRequest,
|
|
739
|
-
} from './unstable-locations/index.js'
|
|
740
710
|
import {
|
|
741
711
|
SeamHttpUnstablePartnerBuildingBlocks,
|
|
742
712
|
type UnstablePartnerBuildingBlocksConnectAccountsOptions,
|
|
@@ -3458,168 +3428,6 @@ export class SeamHttpEndpoints {
|
|
|
3458
3428
|
}
|
|
3459
3429
|
}
|
|
3460
3430
|
|
|
3461
|
-
get ['/unstable_locations/add_acs_entrances'](): (
|
|
3462
|
-
parameters?: UnstableLocationsAddAcsEntrancesParameters,
|
|
3463
|
-
options?: UnstableLocationsAddAcsEntrancesOptions,
|
|
3464
|
-
) => UnstableLocationsAddAcsEntrancesRequest {
|
|
3465
|
-
const { client, defaults } = this
|
|
3466
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
3467
|
-
throw new Error(
|
|
3468
|
-
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
3469
|
-
)
|
|
3470
|
-
}
|
|
3471
|
-
return function unstableLocationsAddAcsEntrances(
|
|
3472
|
-
...args: Parameters<SeamHttpUnstableLocations['addAcsEntrances']>
|
|
3473
|
-
): ReturnType<SeamHttpUnstableLocations['addAcsEntrances']> {
|
|
3474
|
-
const seam = SeamHttpUnstableLocations.fromClient(client, defaults)
|
|
3475
|
-
return seam.addAcsEntrances(...args)
|
|
3476
|
-
}
|
|
3477
|
-
}
|
|
3478
|
-
|
|
3479
|
-
get ['/unstable_locations/add_devices'](): (
|
|
3480
|
-
parameters?: UnstableLocationsAddDevicesParameters,
|
|
3481
|
-
options?: UnstableLocationsAddDevicesOptions,
|
|
3482
|
-
) => UnstableLocationsAddDevicesRequest {
|
|
3483
|
-
const { client, defaults } = this
|
|
3484
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
3485
|
-
throw new Error(
|
|
3486
|
-
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
3487
|
-
)
|
|
3488
|
-
}
|
|
3489
|
-
return function unstableLocationsAddDevices(
|
|
3490
|
-
...args: Parameters<SeamHttpUnstableLocations['addDevices']>
|
|
3491
|
-
): ReturnType<SeamHttpUnstableLocations['addDevices']> {
|
|
3492
|
-
const seam = SeamHttpUnstableLocations.fromClient(client, defaults)
|
|
3493
|
-
return seam.addDevices(...args)
|
|
3494
|
-
}
|
|
3495
|
-
}
|
|
3496
|
-
|
|
3497
|
-
get ['/unstable_locations/create'](): (
|
|
3498
|
-
parameters?: UnstableLocationsCreateParameters,
|
|
3499
|
-
options?: UnstableLocationsCreateOptions,
|
|
3500
|
-
) => UnstableLocationsCreateRequest {
|
|
3501
|
-
const { client, defaults } = this
|
|
3502
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
3503
|
-
throw new Error(
|
|
3504
|
-
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
3505
|
-
)
|
|
3506
|
-
}
|
|
3507
|
-
return function unstableLocationsCreate(
|
|
3508
|
-
...args: Parameters<SeamHttpUnstableLocations['create']>
|
|
3509
|
-
): ReturnType<SeamHttpUnstableLocations['create']> {
|
|
3510
|
-
const seam = SeamHttpUnstableLocations.fromClient(client, defaults)
|
|
3511
|
-
return seam.create(...args)
|
|
3512
|
-
}
|
|
3513
|
-
}
|
|
3514
|
-
|
|
3515
|
-
get ['/unstable_locations/delete'](): (
|
|
3516
|
-
parameters?: UnstableLocationsDeleteParameters,
|
|
3517
|
-
options?: UnstableLocationsDeleteOptions,
|
|
3518
|
-
) => UnstableLocationsDeleteRequest {
|
|
3519
|
-
const { client, defaults } = this
|
|
3520
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
3521
|
-
throw new Error(
|
|
3522
|
-
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
3523
|
-
)
|
|
3524
|
-
}
|
|
3525
|
-
return function unstableLocationsDelete(
|
|
3526
|
-
...args: Parameters<SeamHttpUnstableLocations['delete']>
|
|
3527
|
-
): ReturnType<SeamHttpUnstableLocations['delete']> {
|
|
3528
|
-
const seam = SeamHttpUnstableLocations.fromClient(client, defaults)
|
|
3529
|
-
return seam.delete(...args)
|
|
3530
|
-
}
|
|
3531
|
-
}
|
|
3532
|
-
|
|
3533
|
-
get ['/unstable_locations/get'](): (
|
|
3534
|
-
parameters?: UnstableLocationsGetParameters,
|
|
3535
|
-
options?: UnstableLocationsGetOptions,
|
|
3536
|
-
) => UnstableLocationsGetRequest {
|
|
3537
|
-
const { client, defaults } = this
|
|
3538
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
3539
|
-
throw new Error(
|
|
3540
|
-
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
3541
|
-
)
|
|
3542
|
-
}
|
|
3543
|
-
return function unstableLocationsGet(
|
|
3544
|
-
...args: Parameters<SeamHttpUnstableLocations['get']>
|
|
3545
|
-
): ReturnType<SeamHttpUnstableLocations['get']> {
|
|
3546
|
-
const seam = SeamHttpUnstableLocations.fromClient(client, defaults)
|
|
3547
|
-
return seam.get(...args)
|
|
3548
|
-
}
|
|
3549
|
-
}
|
|
3550
|
-
|
|
3551
|
-
get ['/unstable_locations/list'](): (
|
|
3552
|
-
parameters?: UnstableLocationsListParameters,
|
|
3553
|
-
options?: UnstableLocationsListOptions,
|
|
3554
|
-
) => UnstableLocationsListRequest {
|
|
3555
|
-
const { client, defaults } = this
|
|
3556
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
3557
|
-
throw new Error(
|
|
3558
|
-
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
3559
|
-
)
|
|
3560
|
-
}
|
|
3561
|
-
return function unstableLocationsList(
|
|
3562
|
-
...args: Parameters<SeamHttpUnstableLocations['list']>
|
|
3563
|
-
): ReturnType<SeamHttpUnstableLocations['list']> {
|
|
3564
|
-
const seam = SeamHttpUnstableLocations.fromClient(client, defaults)
|
|
3565
|
-
return seam.list(...args)
|
|
3566
|
-
}
|
|
3567
|
-
}
|
|
3568
|
-
|
|
3569
|
-
get ['/unstable_locations/remove_acs_entrances'](): (
|
|
3570
|
-
parameters?: UnstableLocationsRemoveAcsEntrancesParameters,
|
|
3571
|
-
options?: UnstableLocationsRemoveAcsEntrancesOptions,
|
|
3572
|
-
) => UnstableLocationsRemoveAcsEntrancesRequest {
|
|
3573
|
-
const { client, defaults } = this
|
|
3574
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
3575
|
-
throw new Error(
|
|
3576
|
-
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
3577
|
-
)
|
|
3578
|
-
}
|
|
3579
|
-
return function unstableLocationsRemoveAcsEntrances(
|
|
3580
|
-
...args: Parameters<SeamHttpUnstableLocations['removeAcsEntrances']>
|
|
3581
|
-
): ReturnType<SeamHttpUnstableLocations['removeAcsEntrances']> {
|
|
3582
|
-
const seam = SeamHttpUnstableLocations.fromClient(client, defaults)
|
|
3583
|
-
return seam.removeAcsEntrances(...args)
|
|
3584
|
-
}
|
|
3585
|
-
}
|
|
3586
|
-
|
|
3587
|
-
get ['/unstable_locations/remove_devices'](): (
|
|
3588
|
-
parameters?: UnstableLocationsRemoveDevicesParameters,
|
|
3589
|
-
options?: UnstableLocationsRemoveDevicesOptions,
|
|
3590
|
-
) => UnstableLocationsRemoveDevicesRequest {
|
|
3591
|
-
const { client, defaults } = this
|
|
3592
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
3593
|
-
throw new Error(
|
|
3594
|
-
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
3595
|
-
)
|
|
3596
|
-
}
|
|
3597
|
-
return function unstableLocationsRemoveDevices(
|
|
3598
|
-
...args: Parameters<SeamHttpUnstableLocations['removeDevices']>
|
|
3599
|
-
): ReturnType<SeamHttpUnstableLocations['removeDevices']> {
|
|
3600
|
-
const seam = SeamHttpUnstableLocations.fromClient(client, defaults)
|
|
3601
|
-
return seam.removeDevices(...args)
|
|
3602
|
-
}
|
|
3603
|
-
}
|
|
3604
|
-
|
|
3605
|
-
get ['/unstable_locations/update'](): (
|
|
3606
|
-
parameters?: UnstableLocationsUpdateParameters,
|
|
3607
|
-
options?: UnstableLocationsUpdateOptions,
|
|
3608
|
-
) => UnstableLocationsUpdateRequest {
|
|
3609
|
-
const { client, defaults } = this
|
|
3610
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
3611
|
-
throw new Error(
|
|
3612
|
-
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
3613
|
-
)
|
|
3614
|
-
}
|
|
3615
|
-
return function unstableLocationsUpdate(
|
|
3616
|
-
...args: Parameters<SeamHttpUnstableLocations['update']>
|
|
3617
|
-
): ReturnType<SeamHttpUnstableLocations['update']> {
|
|
3618
|
-
const seam = SeamHttpUnstableLocations.fromClient(client, defaults)
|
|
3619
|
-
return seam.update(...args)
|
|
3620
|
-
}
|
|
3621
|
-
}
|
|
3622
|
-
|
|
3623
3431
|
get ['/unstable_partner/building_blocks/connect_accounts'](): (
|
|
3624
3432
|
parameters?: UnstablePartnerBuildingBlocksConnectAccountsParameters,
|
|
3625
3433
|
options?: UnstablePartnerBuildingBlocksConnectAccountsOptions,
|
|
@@ -4191,8 +3999,6 @@ export type SeamHttpEndpointQueryPaths =
|
|
|
4191
3999
|
| '/thermostats/list'
|
|
4192
4000
|
| '/thermostats/schedules/get'
|
|
4193
4001
|
| '/thermostats/schedules/list'
|
|
4194
|
-
| '/unstable_locations/get'
|
|
4195
|
-
| '/unstable_locations/list'
|
|
4196
4002
|
| '/unstable_partner/building_blocks/generate_magic_link'
|
|
4197
4003
|
| '/user_identities/get'
|
|
4198
4004
|
| '/user_identities/list'
|
|
@@ -4319,13 +4125,6 @@ export type SeamHttpEndpointMutationPaths =
|
|
|
4319
4125
|
| '/thermostats/schedules/update'
|
|
4320
4126
|
| '/thermostats/simulate/hvac_mode_adjusted'
|
|
4321
4127
|
| '/thermostats/simulate/temperature_reached'
|
|
4322
|
-
| '/unstable_locations/add_acs_entrances'
|
|
4323
|
-
| '/unstable_locations/add_devices'
|
|
4324
|
-
| '/unstable_locations/create'
|
|
4325
|
-
| '/unstable_locations/delete'
|
|
4326
|
-
| '/unstable_locations/remove_acs_entrances'
|
|
4327
|
-
| '/unstable_locations/remove_devices'
|
|
4328
|
-
| '/unstable_locations/update'
|
|
4329
4128
|
| '/unstable_partner/building_blocks/connect_accounts'
|
|
4330
4129
|
| '/unstable_partner/building_blocks/manage_devices'
|
|
4331
4130
|
| '/unstable_partner/building_blocks/organize_spaces'
|
|
@@ -50,7 +50,6 @@ import { SeamHttpNoiseSensors } from './noise-sensors/index.js'
|
|
|
50
50
|
import { SeamHttpPhones } from './phones/index.js'
|
|
51
51
|
import { SeamHttpSpaces } from './spaces/index.js'
|
|
52
52
|
import { SeamHttpThermostats } from './thermostats/index.js'
|
|
53
|
-
import { SeamHttpUnstableLocations } from './unstable-locations/index.js'
|
|
54
53
|
import { SeamHttpUnstablePartner } from './unstable-partner/index.js'
|
|
55
54
|
import { SeamHttpUserIdentities } from './user-identities/index.js'
|
|
56
55
|
import { SeamHttpWebhooks } from './webhooks/index.js'
|
|
@@ -255,10 +254,6 @@ export class SeamHttp {
|
|
|
255
254
|
return SeamHttpThermostats.fromClient(this.client, this.defaults)
|
|
256
255
|
}
|
|
257
256
|
|
|
258
|
-
get unstableLocations(): SeamHttpUnstableLocations {
|
|
259
|
-
return SeamHttpUnstableLocations.fromClient(this.client, this.defaults)
|
|
260
|
-
}
|
|
261
|
-
|
|
262
257
|
get unstablePartner(): SeamHttpUnstablePartner {
|
|
263
258
|
return SeamHttpUnstablePartner.fromClient(this.client, this.defaults)
|
|
264
259
|
}
|
package/src/lib/version.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './unstable-locations.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/routes/unstable-locations/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,yBAAyB,CAAA"}
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import type { RouteRequestBody, RouteRequestParams, RouteResponse } from '@seamapi/types/connect';
|
|
2
|
-
import { type Client } from '../../../../../lib/seam/connect/client.js';
|
|
3
|
-
import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../../lib/seam/connect/options.js';
|
|
4
|
-
import { SeamHttpRequest } from '../../../../../lib/seam/connect/seam-http-request.js';
|
|
5
|
-
import { SeamPaginator } from '../../../../../lib/seam/connect/seam-paginator.js';
|
|
6
|
-
import type { SetNonNullable } from '../../../../../lib/types.js';
|
|
7
|
-
export declare class SeamHttpUnstableLocations {
|
|
8
|
-
client: Client;
|
|
9
|
-
readonly defaults: Required<SeamHttpRequestOptions>;
|
|
10
|
-
readonly ltsVersion = "1.0.0";
|
|
11
|
-
static ltsVersion: string;
|
|
12
|
-
constructor(apiKeyOrOptions?: string | SeamHttpOptions);
|
|
13
|
-
static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpUnstableLocations;
|
|
14
|
-
static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpUnstableLocations;
|
|
15
|
-
static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpUnstableLocations;
|
|
16
|
-
static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpUnstableLocations>;
|
|
17
|
-
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpUnstableLocations;
|
|
18
|
-
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpUnstableLocations;
|
|
19
|
-
createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(request: SeamHttpRequest<TResponse, TResponseKey>): SeamPaginator<TResponse, TResponseKey>;
|
|
20
|
-
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
21
|
-
addAcsEntrances(parameters?: UnstableLocationsAddAcsEntrancesParameters, options?: UnstableLocationsAddAcsEntrancesOptions): UnstableLocationsAddAcsEntrancesRequest;
|
|
22
|
-
addDevices(parameters?: UnstableLocationsAddDevicesParameters, options?: UnstableLocationsAddDevicesOptions): UnstableLocationsAddDevicesRequest;
|
|
23
|
-
create(parameters?: UnstableLocationsCreateParameters, options?: UnstableLocationsCreateOptions): UnstableLocationsCreateRequest;
|
|
24
|
-
delete(parameters?: UnstableLocationsDeleteParameters, options?: UnstableLocationsDeleteOptions): UnstableLocationsDeleteRequest;
|
|
25
|
-
get(parameters?: UnstableLocationsGetParameters, options?: UnstableLocationsGetOptions): UnstableLocationsGetRequest;
|
|
26
|
-
list(parameters?: UnstableLocationsListParameters, options?: UnstableLocationsListOptions): UnstableLocationsListRequest;
|
|
27
|
-
removeAcsEntrances(parameters?: UnstableLocationsRemoveAcsEntrancesParameters, options?: UnstableLocationsRemoveAcsEntrancesOptions): UnstableLocationsRemoveAcsEntrancesRequest;
|
|
28
|
-
removeDevices(parameters?: UnstableLocationsRemoveDevicesParameters, options?: UnstableLocationsRemoveDevicesOptions): UnstableLocationsRemoveDevicesRequest;
|
|
29
|
-
update(parameters?: UnstableLocationsUpdateParameters, options?: UnstableLocationsUpdateOptions): UnstableLocationsUpdateRequest;
|
|
30
|
-
}
|
|
31
|
-
export type UnstableLocationsAddAcsEntrancesParameters = RouteRequestBody<'/unstable_locations/add_acs_entrances'>;
|
|
32
|
-
/**
|
|
33
|
-
* @deprecated Use UnstableLocationsAddAcsEntrancesParameters instead.
|
|
34
|
-
*/
|
|
35
|
-
export type UnstableLocationsAddAcsEntrancesBody = UnstableLocationsAddAcsEntrancesParameters;
|
|
36
|
-
/**
|
|
37
|
-
* @deprecated Use UnstableLocationsAddAcsEntrancesRequest instead.
|
|
38
|
-
*/
|
|
39
|
-
export type UnstableLocationsAddAcsEntrancesResponse = SetNonNullable<Required<RouteResponse<'/unstable_locations/add_acs_entrances'>>>;
|
|
40
|
-
export type UnstableLocationsAddAcsEntrancesRequest = SeamHttpRequest<void, undefined>;
|
|
41
|
-
export interface UnstableLocationsAddAcsEntrancesOptions {
|
|
42
|
-
}
|
|
43
|
-
export type UnstableLocationsAddDevicesParameters = RouteRequestBody<'/unstable_locations/add_devices'>;
|
|
44
|
-
/**
|
|
45
|
-
* @deprecated Use UnstableLocationsAddDevicesParameters instead.
|
|
46
|
-
*/
|
|
47
|
-
export type UnstableLocationsAddDevicesBody = UnstableLocationsAddDevicesParameters;
|
|
48
|
-
/**
|
|
49
|
-
* @deprecated Use UnstableLocationsAddDevicesRequest instead.
|
|
50
|
-
*/
|
|
51
|
-
export type UnstableLocationsAddDevicesResponse = SetNonNullable<Required<RouteResponse<'/unstable_locations/add_devices'>>>;
|
|
52
|
-
export type UnstableLocationsAddDevicesRequest = SeamHttpRequest<void, undefined>;
|
|
53
|
-
export interface UnstableLocationsAddDevicesOptions {
|
|
54
|
-
}
|
|
55
|
-
export type UnstableLocationsCreateParameters = RouteRequestBody<'/unstable_locations/create'>;
|
|
56
|
-
/**
|
|
57
|
-
* @deprecated Use UnstableLocationsCreateParameters instead.
|
|
58
|
-
*/
|
|
59
|
-
export type UnstableLocationsCreateBody = UnstableLocationsCreateParameters;
|
|
60
|
-
/**
|
|
61
|
-
* @deprecated Use UnstableLocationsCreateRequest instead.
|
|
62
|
-
*/
|
|
63
|
-
export type UnstableLocationsCreateResponse = SetNonNullable<Required<RouteResponse<'/unstable_locations/create'>>>;
|
|
64
|
-
export type UnstableLocationsCreateRequest = SeamHttpRequest<UnstableLocationsCreateResponse, 'location'>;
|
|
65
|
-
export interface UnstableLocationsCreateOptions {
|
|
66
|
-
}
|
|
67
|
-
export type UnstableLocationsDeleteParameters = RouteRequestBody<'/unstable_locations/delete'>;
|
|
68
|
-
/**
|
|
69
|
-
* @deprecated Use UnstableLocationsDeleteParameters instead.
|
|
70
|
-
*/
|
|
71
|
-
export type UnstableLocationsDeleteParams = UnstableLocationsDeleteParameters;
|
|
72
|
-
/**
|
|
73
|
-
* @deprecated Use UnstableLocationsDeleteRequest instead.
|
|
74
|
-
*/
|
|
75
|
-
export type UnstableLocationsDeleteResponse = SetNonNullable<Required<RouteResponse<'/unstable_locations/delete'>>>;
|
|
76
|
-
export type UnstableLocationsDeleteRequest = SeamHttpRequest<void, undefined>;
|
|
77
|
-
export interface UnstableLocationsDeleteOptions {
|
|
78
|
-
}
|
|
79
|
-
export type UnstableLocationsGetParameters = RouteRequestBody<'/unstable_locations/get'>;
|
|
80
|
-
/**
|
|
81
|
-
* @deprecated Use UnstableLocationsGetParameters instead.
|
|
82
|
-
*/
|
|
83
|
-
export type UnstableLocationsGetParams = UnstableLocationsGetParameters;
|
|
84
|
-
/**
|
|
85
|
-
* @deprecated Use UnstableLocationsGetRequest instead.
|
|
86
|
-
*/
|
|
87
|
-
export type UnstableLocationsGetResponse = SetNonNullable<Required<RouteResponse<'/unstable_locations/get'>>>;
|
|
88
|
-
export type UnstableLocationsGetRequest = SeamHttpRequest<UnstableLocationsGetResponse, 'location'>;
|
|
89
|
-
export interface UnstableLocationsGetOptions {
|
|
90
|
-
}
|
|
91
|
-
export type UnstableLocationsListParameters = RouteRequestParams<'/unstable_locations/list'>;
|
|
92
|
-
/**
|
|
93
|
-
* @deprecated Use UnstableLocationsListParameters instead.
|
|
94
|
-
*/
|
|
95
|
-
export type UnstableLocationsListParams = UnstableLocationsListParameters;
|
|
96
|
-
/**
|
|
97
|
-
* @deprecated Use UnstableLocationsListRequest instead.
|
|
98
|
-
*/
|
|
99
|
-
export type UnstableLocationsListResponse = SetNonNullable<Required<RouteResponse<'/unstable_locations/list'>>>;
|
|
100
|
-
export type UnstableLocationsListRequest = SeamHttpRequest<UnstableLocationsListResponse, 'locations'>;
|
|
101
|
-
export interface UnstableLocationsListOptions {
|
|
102
|
-
}
|
|
103
|
-
export type UnstableLocationsRemoveAcsEntrancesParameters = RouteRequestBody<'/unstable_locations/remove_acs_entrances'>;
|
|
104
|
-
/**
|
|
105
|
-
* @deprecated Use UnstableLocationsRemoveAcsEntrancesParameters instead.
|
|
106
|
-
*/
|
|
107
|
-
export type UnstableLocationsRemoveAcsEntrancesParams = UnstableLocationsRemoveAcsEntrancesParameters;
|
|
108
|
-
/**
|
|
109
|
-
* @deprecated Use UnstableLocationsRemoveAcsEntrancesRequest instead.
|
|
110
|
-
*/
|
|
111
|
-
export type UnstableLocationsRemoveAcsEntrancesResponse = SetNonNullable<Required<RouteResponse<'/unstable_locations/remove_acs_entrances'>>>;
|
|
112
|
-
export type UnstableLocationsRemoveAcsEntrancesRequest = SeamHttpRequest<void, undefined>;
|
|
113
|
-
export interface UnstableLocationsRemoveAcsEntrancesOptions {
|
|
114
|
-
}
|
|
115
|
-
export type UnstableLocationsRemoveDevicesParameters = RouteRequestBody<'/unstable_locations/remove_devices'>;
|
|
116
|
-
/**
|
|
117
|
-
* @deprecated Use UnstableLocationsRemoveDevicesParameters instead.
|
|
118
|
-
*/
|
|
119
|
-
export type UnstableLocationsRemoveDevicesParams = UnstableLocationsRemoveDevicesParameters;
|
|
120
|
-
/**
|
|
121
|
-
* @deprecated Use UnstableLocationsRemoveDevicesRequest instead.
|
|
122
|
-
*/
|
|
123
|
-
export type UnstableLocationsRemoveDevicesResponse = SetNonNullable<Required<RouteResponse<'/unstable_locations/remove_devices'>>>;
|
|
124
|
-
export type UnstableLocationsRemoveDevicesRequest = SeamHttpRequest<void, undefined>;
|
|
125
|
-
export interface UnstableLocationsRemoveDevicesOptions {
|
|
126
|
-
}
|
|
127
|
-
export type UnstableLocationsUpdateParameters = RouteRequestBody<'/unstable_locations/update'>;
|
|
128
|
-
/**
|
|
129
|
-
* @deprecated Use UnstableLocationsUpdateParameters instead.
|
|
130
|
-
*/
|
|
131
|
-
export type UnstableLocationsUpdateBody = UnstableLocationsUpdateParameters;
|
|
132
|
-
/**
|
|
133
|
-
* @deprecated Use UnstableLocationsUpdateRequest instead.
|
|
134
|
-
*/
|
|
135
|
-
export type UnstableLocationsUpdateResponse = SetNonNullable<Required<RouteResponse<'/unstable_locations/update'>>>;
|
|
136
|
-
export type UnstableLocationsUpdateRequest = SeamHttpRequest<UnstableLocationsUpdateResponse, 'location'>;
|
|
137
|
-
export interface UnstableLocationsUpdateOptions {
|
|
138
|
-
}
|
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Automatically generated by codegen/smith.ts.
|
|
3
|
-
* Do not edit this file or add other files to this directory.
|
|
4
|
-
*/
|
|
5
|
-
import { seamApiLtsVersion } from '../../../../../lib/lts-version.js';
|
|
6
|
-
import { getAuthHeadersForClientSessionToken, warnOnInsecureuserIdentifierKey, } from '../../../../../lib/seam/connect/auth.js';
|
|
7
|
-
import { createClient } from '../../../../../lib/seam/connect/client.js';
|
|
8
|
-
import { isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, SeamHttpInvalidOptionsError, } from '../../../../../lib/seam/connect/options.js';
|
|
9
|
-
import { limitToSeamHttpRequestOptions, parseOptions, } from '../../../../../lib/seam/connect/parse-options.js';
|
|
10
|
-
import { SeamHttpClientSessions } from '../../../../../lib/seam/connect/routes/client-sessions/index.js';
|
|
11
|
-
import { SeamHttpRequest } from '../../../../../lib/seam/connect/seam-http-request.js';
|
|
12
|
-
import { SeamPaginator } from '../../../../../lib/seam/connect/seam-paginator.js';
|
|
13
|
-
export class SeamHttpUnstableLocations {
|
|
14
|
-
constructor(apiKeyOrOptions = {}) {
|
|
15
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
16
|
-
const options = parseOptions(apiKeyOrOptions);
|
|
17
|
-
if (!options.isUndocumentedApiEnabled) {
|
|
18
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
19
|
-
}
|
|
20
|
-
this.client = 'client' in options ? options.client : createClient(options);
|
|
21
|
-
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
22
|
-
}
|
|
23
|
-
static fromClient(client, options = {}) {
|
|
24
|
-
const constructorOptions = { ...options, client };
|
|
25
|
-
if (!isSeamHttpOptionsWithClient(constructorOptions)) {
|
|
26
|
-
throw new SeamHttpInvalidOptionsError('Missing client');
|
|
27
|
-
}
|
|
28
|
-
return new SeamHttpUnstableLocations(constructorOptions);
|
|
29
|
-
}
|
|
30
|
-
static fromApiKey(apiKey, options = {}) {
|
|
31
|
-
const constructorOptions = { ...options, apiKey };
|
|
32
|
-
if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
|
|
33
|
-
throw new SeamHttpInvalidOptionsError('Missing apiKey');
|
|
34
|
-
}
|
|
35
|
-
return new SeamHttpUnstableLocations(constructorOptions);
|
|
36
|
-
}
|
|
37
|
-
static fromClientSessionToken(clientSessionToken, options = {}) {
|
|
38
|
-
const constructorOptions = { ...options, clientSessionToken };
|
|
39
|
-
if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
|
|
40
|
-
throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
|
|
41
|
-
}
|
|
42
|
-
return new SeamHttpUnstableLocations(constructorOptions);
|
|
43
|
-
}
|
|
44
|
-
static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
|
|
45
|
-
warnOnInsecureuserIdentifierKey(userIdentifierKey);
|
|
46
|
-
const clientOptions = parseOptions({ ...options, publishableKey });
|
|
47
|
-
if (isSeamHttpOptionsWithClient(clientOptions)) {
|
|
48
|
-
throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttpUnstableLocations.fromPublishableKey');
|
|
49
|
-
}
|
|
50
|
-
const client = createClient(clientOptions);
|
|
51
|
-
const clientSessions = SeamHttpClientSessions.fromClient(client);
|
|
52
|
-
const { token } = await clientSessions.getOrCreate({
|
|
53
|
-
user_identifier_key: userIdentifierKey,
|
|
54
|
-
});
|
|
55
|
-
return SeamHttpUnstableLocations.fromClientSessionToken(token, options);
|
|
56
|
-
}
|
|
57
|
-
static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
|
|
58
|
-
const constructorOptions = { ...options, consoleSessionToken, workspaceId };
|
|
59
|
-
if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
|
|
60
|
-
throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
|
|
61
|
-
}
|
|
62
|
-
return new SeamHttpUnstableLocations(constructorOptions);
|
|
63
|
-
}
|
|
64
|
-
static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
|
|
65
|
-
const constructorOptions = { ...options, personalAccessToken, workspaceId };
|
|
66
|
-
if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
|
|
67
|
-
throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
|
|
68
|
-
}
|
|
69
|
-
return new SeamHttpUnstableLocations(constructorOptions);
|
|
70
|
-
}
|
|
71
|
-
createPaginator(request) {
|
|
72
|
-
return new SeamPaginator(this, request);
|
|
73
|
-
}
|
|
74
|
-
async updateClientSessionToken(clientSessionToken) {
|
|
75
|
-
const { headers } = this.client.defaults;
|
|
76
|
-
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
77
|
-
clientSessionToken,
|
|
78
|
-
});
|
|
79
|
-
for (const key of Object.keys(authHeaders)) {
|
|
80
|
-
if (headers[key] == null) {
|
|
81
|
-
throw new Error('Cannot update a clientSessionToken on a client created without a clientSessionToken');
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
this.client.defaults.headers = { ...headers, ...authHeaders };
|
|
85
|
-
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
86
|
-
await clientSessions.get();
|
|
87
|
-
}
|
|
88
|
-
addAcsEntrances(parameters, options = {}) {
|
|
89
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
90
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
91
|
-
}
|
|
92
|
-
return new SeamHttpRequest(this, {
|
|
93
|
-
pathname: '/unstable_locations/add_acs_entrances',
|
|
94
|
-
method: 'PUT',
|
|
95
|
-
body: parameters,
|
|
96
|
-
responseKey: undefined,
|
|
97
|
-
options,
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
addDevices(parameters, options = {}) {
|
|
101
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
102
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
103
|
-
}
|
|
104
|
-
return new SeamHttpRequest(this, {
|
|
105
|
-
pathname: '/unstable_locations/add_devices',
|
|
106
|
-
method: 'PUT',
|
|
107
|
-
body: parameters,
|
|
108
|
-
responseKey: undefined,
|
|
109
|
-
options,
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
create(parameters, options = {}) {
|
|
113
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
114
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
115
|
-
}
|
|
116
|
-
return new SeamHttpRequest(this, {
|
|
117
|
-
pathname: '/unstable_locations/create',
|
|
118
|
-
method: 'POST',
|
|
119
|
-
body: parameters,
|
|
120
|
-
responseKey: 'location',
|
|
121
|
-
options,
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
delete(parameters, options = {}) {
|
|
125
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
126
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
127
|
-
}
|
|
128
|
-
return new SeamHttpRequest(this, {
|
|
129
|
-
pathname: '/unstable_locations/delete',
|
|
130
|
-
method: 'POST',
|
|
131
|
-
body: parameters,
|
|
132
|
-
responseKey: undefined,
|
|
133
|
-
options,
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
get(parameters, options = {}) {
|
|
137
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
138
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
139
|
-
}
|
|
140
|
-
return new SeamHttpRequest(this, {
|
|
141
|
-
pathname: '/unstable_locations/get',
|
|
142
|
-
method: 'POST',
|
|
143
|
-
body: parameters,
|
|
144
|
-
responseKey: 'location',
|
|
145
|
-
options,
|
|
146
|
-
});
|
|
147
|
-
}
|
|
148
|
-
list(parameters, options = {}) {
|
|
149
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
150
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
151
|
-
}
|
|
152
|
-
return new SeamHttpRequest(this, {
|
|
153
|
-
pathname: '/unstable_locations/list',
|
|
154
|
-
method: 'GET',
|
|
155
|
-
params: parameters,
|
|
156
|
-
responseKey: 'locations',
|
|
157
|
-
options,
|
|
158
|
-
});
|
|
159
|
-
}
|
|
160
|
-
removeAcsEntrances(parameters, options = {}) {
|
|
161
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
162
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
163
|
-
}
|
|
164
|
-
return new SeamHttpRequest(this, {
|
|
165
|
-
pathname: '/unstable_locations/remove_acs_entrances',
|
|
166
|
-
method: 'POST',
|
|
167
|
-
body: parameters,
|
|
168
|
-
responseKey: undefined,
|
|
169
|
-
options,
|
|
170
|
-
});
|
|
171
|
-
}
|
|
172
|
-
removeDevices(parameters, options = {}) {
|
|
173
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
174
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
175
|
-
}
|
|
176
|
-
return new SeamHttpRequest(this, {
|
|
177
|
-
pathname: '/unstable_locations/remove_devices',
|
|
178
|
-
method: 'POST',
|
|
179
|
-
body: parameters,
|
|
180
|
-
responseKey: undefined,
|
|
181
|
-
options,
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
update(parameters, options = {}) {
|
|
185
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
186
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
187
|
-
}
|
|
188
|
-
return new SeamHttpRequest(this, {
|
|
189
|
-
pathname: '/unstable_locations/update',
|
|
190
|
-
method: 'PATCH',
|
|
191
|
-
body: parameters,
|
|
192
|
-
responseKey: 'location',
|
|
193
|
-
options,
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
SeamHttpUnstableLocations.ltsVersion = seamApiLtsVersion;
|
|
198
|
-
//# sourceMappingURL=unstable-locations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unstable-locations.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/routes/unstable-locations/unstable-locations.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAQH,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EACL,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAe,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACtE,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,uCAAuC,EACvC,wCAAwC,EACxC,wCAAwC,EAExC,2BAA2B,GAQ5B,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,6BAA6B,EAC7B,YAAY,GACb,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAA;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAA;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAGlE,MAAM,OAAO,yBAAyB;IAMpC,YAAY,kBAA4C,EAAE;QAHjD,eAAU,GAAG,iBAAiB,C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