@seamapi/types 1.370.3 → 1.372.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 +30 -144
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +35 -21
- package/lib/seam/connect/openapi.d.ts +19 -18
- package/lib/seam/connect/openapi.js +27 -141
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +16 -3
- package/package.json +2 -2
- package/src/lib/seam/connect/openapi.ts +29 -141
- package/src/lib/seam/connect/route-types.ts +22 -112
package/dist/connect.d.cts
CHANGED
|
@@ -36601,6 +36601,18 @@ declare const _default: {
|
|
|
36601
36601
|
description: string;
|
|
36602
36602
|
type: string;
|
|
36603
36603
|
};
|
|
36604
|
+
limit: {
|
|
36605
|
+
default: number;
|
|
36606
|
+
description: string;
|
|
36607
|
+
exclusiveMinimum: boolean;
|
|
36608
|
+
minimum: number;
|
|
36609
|
+
type: string;
|
|
36610
|
+
};
|
|
36611
|
+
page_cursor: {
|
|
36612
|
+
description: string;
|
|
36613
|
+
nullable: boolean;
|
|
36614
|
+
type: string;
|
|
36615
|
+
};
|
|
36604
36616
|
user_identifier_key: {
|
|
36605
36617
|
description: string;
|
|
36606
36618
|
type: string;
|
|
@@ -36626,6 +36638,9 @@ declare const _default: {
|
|
|
36626
36638
|
ok: {
|
|
36627
36639
|
type: string;
|
|
36628
36640
|
};
|
|
36641
|
+
pagination: {
|
|
36642
|
+
$ref: string;
|
|
36643
|
+
};
|
|
36629
36644
|
};
|
|
36630
36645
|
required: string[];
|
|
36631
36646
|
type: string;
|
|
@@ -41532,28 +41547,14 @@ declare const _default: {
|
|
|
41532
41547
|
};
|
|
41533
41548
|
device_type: {
|
|
41534
41549
|
description: string;
|
|
41535
|
-
|
|
41536
|
-
|
|
41537
|
-
type: string;
|
|
41538
|
-
description?: never;
|
|
41539
|
-
} | {
|
|
41540
|
-
description: string;
|
|
41541
|
-
enum: string[];
|
|
41542
|
-
type: string;
|
|
41543
|
-
})[];
|
|
41550
|
+
enum: string[];
|
|
41551
|
+
type: string;
|
|
41544
41552
|
};
|
|
41545
41553
|
device_types: {
|
|
41546
41554
|
description: string;
|
|
41547
41555
|
items: {
|
|
41548
|
-
|
|
41549
|
-
|
|
41550
|
-
type: string;
|
|
41551
|
-
description?: never;
|
|
41552
|
-
} | {
|
|
41553
|
-
description: string;
|
|
41554
|
-
enum: string[];
|
|
41555
|
-
type: string;
|
|
41556
|
-
})[];
|
|
41556
|
+
enum: string[];
|
|
41557
|
+
type: string;
|
|
41557
41558
|
};
|
|
41558
41559
|
type: string;
|
|
41559
41560
|
};
|
|
@@ -61890,6 +61891,10 @@ interface Routes {
|
|
|
61890
61891
|
user_identifier_key?: string | undefined;
|
|
61891
61892
|
/** Returns accounts whose custom_metadata contains all of the provided key/value pairs. */
|
|
61892
61893
|
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
61894
|
+
/** Maximum number of records to return per page. */
|
|
61895
|
+
limit?: number;
|
|
61896
|
+
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
61897
|
+
page_cursor?: (string | undefined) | null;
|
|
61893
61898
|
};
|
|
61894
61899
|
formData: {};
|
|
61895
61900
|
jsonResponse: {
|
|
@@ -61965,6 +61970,15 @@ interface Routes {
|
|
|
61965
61970
|
custom_metadata: Record<string, string | boolean>;
|
|
61966
61971
|
automatically_manage_new_devices: boolean;
|
|
61967
61972
|
}>;
|
|
61973
|
+
/** Information about the current page of results. */
|
|
61974
|
+
pagination: {
|
|
61975
|
+
/** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
|
|
61976
|
+
next_page_cursor: string | null;
|
|
61977
|
+
/** Indicates whether there is another page of results after this one. */
|
|
61978
|
+
has_next_page: boolean;
|
|
61979
|
+
/** URL to get the next page of results. */
|
|
61980
|
+
next_page_url: string | null;
|
|
61981
|
+
};
|
|
61968
61982
|
};
|
|
61969
61983
|
};
|
|
61970
61984
|
'/connected_accounts/update': {
|
|
@@ -80846,11 +80860,11 @@ interface Routes {
|
|
|
80846
80860
|
/** ID of the Connect Webview by which to filter devices. */
|
|
80847
80861
|
connect_webview_id?: string | undefined;
|
|
80848
80862
|
/** Device type by which to filter devices. */
|
|
80849
|
-
device_type?: (
|
|
80863
|
+
device_type?: ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat') | undefined;
|
|
80850
80864
|
/** Array of device types by which to filter devices. */
|
|
80851
|
-
device_types?: Array<
|
|
80865
|
+
device_types?: Array<'ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat'> | undefined;
|
|
80852
80866
|
/** Manufacturer by which to filter devices. */
|
|
80853
|
-
manufacturer?: ('
|
|
80867
|
+
manufacturer?: ('ecobee' | 'nest' | 'honeywell_resideo' | 'tado') | undefined;
|
|
80854
80868
|
/** Array of device IDs by which to filter devices. */
|
|
80855
80869
|
device_ids?: string[] | undefined;
|
|
80856
80870
|
/** Numerical limit on the number of devices to return. */
|
|
@@ -17291,6 +17291,18 @@ declare const _default: {
|
|
|
17291
17291
|
description: string;
|
|
17292
17292
|
type: string;
|
|
17293
17293
|
};
|
|
17294
|
+
limit: {
|
|
17295
|
+
default: number;
|
|
17296
|
+
description: string;
|
|
17297
|
+
exclusiveMinimum: boolean;
|
|
17298
|
+
minimum: number;
|
|
17299
|
+
type: string;
|
|
17300
|
+
};
|
|
17301
|
+
page_cursor: {
|
|
17302
|
+
description: string;
|
|
17303
|
+
nullable: boolean;
|
|
17304
|
+
type: string;
|
|
17305
|
+
};
|
|
17294
17306
|
user_identifier_key: {
|
|
17295
17307
|
description: string;
|
|
17296
17308
|
type: string;
|
|
@@ -17316,6 +17328,9 @@ declare const _default: {
|
|
|
17316
17328
|
ok: {
|
|
17317
17329
|
type: string;
|
|
17318
17330
|
};
|
|
17331
|
+
pagination: {
|
|
17332
|
+
$ref: string;
|
|
17333
|
+
};
|
|
17319
17334
|
};
|
|
17320
17335
|
required: string[];
|
|
17321
17336
|
type: string;
|
|
@@ -22222,28 +22237,14 @@ declare const _default: {
|
|
|
22222
22237
|
};
|
|
22223
22238
|
device_type: {
|
|
22224
22239
|
description: string;
|
|
22225
|
-
|
|
22226
|
-
|
|
22227
|
-
type: string;
|
|
22228
|
-
description?: never;
|
|
22229
|
-
} | {
|
|
22230
|
-
description: string;
|
|
22231
|
-
enum: string[];
|
|
22232
|
-
type: string;
|
|
22233
|
-
})[];
|
|
22240
|
+
enum: string[];
|
|
22241
|
+
type: string;
|
|
22234
22242
|
};
|
|
22235
22243
|
device_types: {
|
|
22236
22244
|
description: string;
|
|
22237
22245
|
items: {
|
|
22238
|
-
|
|
22239
|
-
|
|
22240
|
-
type: string;
|
|
22241
|
-
description?: never;
|
|
22242
|
-
} | {
|
|
22243
|
-
description: string;
|
|
22244
|
-
enum: string[];
|
|
22245
|
-
type: string;
|
|
22246
|
-
})[];
|
|
22246
|
+
enum: string[];
|
|
22247
|
+
type: string;
|
|
22247
22248
|
};
|
|
22248
22249
|
type: string;
|
|
22249
22250
|
};
|
|
@@ -20862,6 +20862,18 @@ export default {
|
|
|
20862
20862
|
description: 'Returns accounts whose custom_metadata contains all of the provided key/value pairs.',
|
|
20863
20863
|
type: 'object',
|
|
20864
20864
|
},
|
|
20865
|
+
limit: {
|
|
20866
|
+
default: 11000,
|
|
20867
|
+
description: 'Maximum number of records to return per page.',
|
|
20868
|
+
exclusiveMinimum: true,
|
|
20869
|
+
minimum: 0,
|
|
20870
|
+
type: 'integer',
|
|
20871
|
+
},
|
|
20872
|
+
page_cursor: {
|
|
20873
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
20874
|
+
nullable: true,
|
|
20875
|
+
type: 'string',
|
|
20876
|
+
},
|
|
20865
20877
|
user_identifier_key: {
|
|
20866
20878
|
description: 'Returns accounts that can be accessed by the provided user_identifier_key.',
|
|
20867
20879
|
type: 'string',
|
|
@@ -20883,8 +20895,9 @@ export default {
|
|
|
20883
20895
|
type: 'array',
|
|
20884
20896
|
},
|
|
20885
20897
|
ok: { type: 'boolean' },
|
|
20898
|
+
pagination: { $ref: '#/components/schemas/pagination' },
|
|
20886
20899
|
},
|
|
20887
|
-
required: ['connected_accounts', 'ok'],
|
|
20900
|
+
required: ['connected_accounts', 'pagination', 'ok'],
|
|
20888
20901
|
type: 'object',
|
|
20889
20902
|
},
|
|
20890
20903
|
},
|
|
@@ -25357,114 +25370,24 @@ export default {
|
|
|
25357
25370
|
},
|
|
25358
25371
|
device_type: {
|
|
25359
25372
|
description: 'Device type by which to filter devices.',
|
|
25360
|
-
|
|
25361
|
-
|
|
25362
|
-
|
|
25363
|
-
|
|
25364
|
-
|
|
25365
|
-
'brivo_access_point',
|
|
25366
|
-
'butterflymx_panel',
|
|
25367
|
-
'avigilon_alta_entry',
|
|
25368
|
-
'doorking_lock',
|
|
25369
|
-
'genie_door',
|
|
25370
|
-
'igloo_lock',
|
|
25371
|
-
'linear_lock',
|
|
25372
|
-
'lockly_lock',
|
|
25373
|
-
'kwikset_lock',
|
|
25374
|
-
'nuki_lock',
|
|
25375
|
-
'salto_lock',
|
|
25376
|
-
'schlage_lock',
|
|
25377
|
-
'seam_relay',
|
|
25378
|
-
'smartthings_lock',
|
|
25379
|
-
'wyze_lock',
|
|
25380
|
-
'yale_lock',
|
|
25381
|
-
'two_n_intercom',
|
|
25382
|
-
'controlbyweb_device',
|
|
25383
|
-
'ttlock_lock',
|
|
25384
|
-
'igloohome_lock',
|
|
25385
|
-
'hubitat_lock',
|
|
25386
|
-
'four_suites_door',
|
|
25387
|
-
'dormakaba_oracode_door',
|
|
25388
|
-
'tedee_lock',
|
|
25389
|
-
'akiles_lock',
|
|
25390
|
-
],
|
|
25391
|
-
type: 'string',
|
|
25392
|
-
},
|
|
25393
|
-
{
|
|
25394
|
-
enum: ['noiseaware_activity_zone', 'minut_sensor'],
|
|
25395
|
-
type: 'string',
|
|
25396
|
-
},
|
|
25397
|
-
{
|
|
25398
|
-
enum: [
|
|
25399
|
-
'ecobee_thermostat',
|
|
25400
|
-
'nest_thermostat',
|
|
25401
|
-
'honeywell_resideo_thermostat',
|
|
25402
|
-
'tado_thermostat',
|
|
25403
|
-
],
|
|
25404
|
-
type: 'string',
|
|
25405
|
-
},
|
|
25406
|
-
{
|
|
25407
|
-
description: 'Type of phone.',
|
|
25408
|
-
enum: ['ios_phone', 'android_phone'],
|
|
25409
|
-
type: 'string',
|
|
25410
|
-
},
|
|
25373
|
+
enum: [
|
|
25374
|
+
'ecobee_thermostat',
|
|
25375
|
+
'nest_thermostat',
|
|
25376
|
+
'honeywell_resideo_thermostat',
|
|
25377
|
+
'tado_thermostat',
|
|
25411
25378
|
],
|
|
25379
|
+
type: 'string',
|
|
25412
25380
|
},
|
|
25413
25381
|
device_types: {
|
|
25414
25382
|
description: 'Array of device types by which to filter devices.',
|
|
25415
25383
|
items: {
|
|
25416
|
-
|
|
25417
|
-
|
|
25418
|
-
|
|
25419
|
-
|
|
25420
|
-
|
|
25421
|
-
'brivo_access_point',
|
|
25422
|
-
'butterflymx_panel',
|
|
25423
|
-
'avigilon_alta_entry',
|
|
25424
|
-
'doorking_lock',
|
|
25425
|
-
'genie_door',
|
|
25426
|
-
'igloo_lock',
|
|
25427
|
-
'linear_lock',
|
|
25428
|
-
'lockly_lock',
|
|
25429
|
-
'kwikset_lock',
|
|
25430
|
-
'nuki_lock',
|
|
25431
|
-
'salto_lock',
|
|
25432
|
-
'schlage_lock',
|
|
25433
|
-
'seam_relay',
|
|
25434
|
-
'smartthings_lock',
|
|
25435
|
-
'wyze_lock',
|
|
25436
|
-
'yale_lock',
|
|
25437
|
-
'two_n_intercom',
|
|
25438
|
-
'controlbyweb_device',
|
|
25439
|
-
'ttlock_lock',
|
|
25440
|
-
'igloohome_lock',
|
|
25441
|
-
'hubitat_lock',
|
|
25442
|
-
'four_suites_door',
|
|
25443
|
-
'dormakaba_oracode_door',
|
|
25444
|
-
'tedee_lock',
|
|
25445
|
-
'akiles_lock',
|
|
25446
|
-
],
|
|
25447
|
-
type: 'string',
|
|
25448
|
-
},
|
|
25449
|
-
{
|
|
25450
|
-
enum: ['noiseaware_activity_zone', 'minut_sensor'],
|
|
25451
|
-
type: 'string',
|
|
25452
|
-
},
|
|
25453
|
-
{
|
|
25454
|
-
enum: [
|
|
25455
|
-
'ecobee_thermostat',
|
|
25456
|
-
'nest_thermostat',
|
|
25457
|
-
'honeywell_resideo_thermostat',
|
|
25458
|
-
'tado_thermostat',
|
|
25459
|
-
],
|
|
25460
|
-
type: 'string',
|
|
25461
|
-
},
|
|
25462
|
-
{
|
|
25463
|
-
description: 'Type of phone.',
|
|
25464
|
-
enum: ['ios_phone', 'android_phone'],
|
|
25465
|
-
type: 'string',
|
|
25466
|
-
},
|
|
25384
|
+
enum: [
|
|
25385
|
+
'ecobee_thermostat',
|
|
25386
|
+
'nest_thermostat',
|
|
25387
|
+
'honeywell_resideo_thermostat',
|
|
25388
|
+
'tado_thermostat',
|
|
25467
25389
|
],
|
|
25390
|
+
type: 'string',
|
|
25468
25391
|
},
|
|
25469
25392
|
type: 'array',
|
|
25470
25393
|
},
|
|
@@ -25516,44 +25439,7 @@ export default {
|
|
|
25516
25439
|
},
|
|
25517
25440
|
manufacturer: {
|
|
25518
25441
|
description: 'Manufacturer by which to filter devices.',
|
|
25519
|
-
enum: [
|
|
25520
|
-
'akuvox',
|
|
25521
|
-
'august',
|
|
25522
|
-
'avigilon_alta',
|
|
25523
|
-
'brivo',
|
|
25524
|
-
'butterflymx',
|
|
25525
|
-
'doorking',
|
|
25526
|
-
'four_suites',
|
|
25527
|
-
'genie',
|
|
25528
|
-
'igloo',
|
|
25529
|
-
'keywe',
|
|
25530
|
-
'kwikset',
|
|
25531
|
-
'linear',
|
|
25532
|
-
'lockly',
|
|
25533
|
-
'nuki',
|
|
25534
|
-
'philia',
|
|
25535
|
-
'salto',
|
|
25536
|
-
'samsung',
|
|
25537
|
-
'schlage',
|
|
25538
|
-
'seam',
|
|
25539
|
-
'unknown',
|
|
25540
|
-
'wyze',
|
|
25541
|
-
'yale',
|
|
25542
|
-
'minut',
|
|
25543
|
-
'two_n',
|
|
25544
|
-
'ttlock',
|
|
25545
|
-
'nest',
|
|
25546
|
-
'igloohome',
|
|
25547
|
-
'ecobee',
|
|
25548
|
-
'hubitat',
|
|
25549
|
-
'controlbyweb',
|
|
25550
|
-
'smartthings',
|
|
25551
|
-
'dormakaba_oracode',
|
|
25552
|
-
'tedee',
|
|
25553
|
-
'honeywell_resideo',
|
|
25554
|
-
'akiles',
|
|
25555
|
-
'tado',
|
|
25556
|
-
],
|
|
25442
|
+
enum: ['ecobee', 'nest', 'honeywell_resideo', 'tado'],
|
|
25557
25443
|
type: 'string',
|
|
25558
25444
|
},
|
|
25559
25445
|
unstable_location_id: {
|