@seamapi/types 1.703.0 → 1.705.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 +224 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +742 -56
- package/dist/index.cjs +224 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
- package/lib/seam/connect/models/batch.d.ts +140 -33
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +3 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js +5 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +94 -12
- package/lib/seam/connect/models/devices/device.js +45 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +42 -13
- package/lib/seam/connect/openapi.d.ts +126 -0
- package/lib/seam/connect/openapi.js +187 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +370 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +5 -0
- package/src/lib/seam/connect/models/devices/device.ts +63 -0
- package/src/lib/seam/connect/openapi.ts +210 -0
- package/src/lib/seam/connect/route-types.ts +438 -0
|
@@ -11294,6 +11294,26 @@ export type Routes = {
|
|
|
11294
11294
|
custom_metadata: {
|
|
11295
11295
|
[x: string]: string | boolean;
|
|
11296
11296
|
};
|
|
11297
|
+
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
11298
|
+
device_provider?: {
|
|
11299
|
+
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
11300
|
+
provider_category: string;
|
|
11301
|
+
/** Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on. */
|
|
11302
|
+
device_provider_name: string;
|
|
11303
|
+
/** Display name for the device provider type. */
|
|
11304
|
+
display_name: string;
|
|
11305
|
+
/** Image URL for the device provider. */
|
|
11306
|
+
image_url?: string | undefined;
|
|
11307
|
+
} | undefined;
|
|
11308
|
+
/** Manufacturer of the device. Represents the hardware brand, which may differ from the provider. */
|
|
11309
|
+
device_manufacturer?: {
|
|
11310
|
+
/** Manufacturer identifier, such as `august`, `yale`, `salto`, and so on. */
|
|
11311
|
+
manufacturer: string;
|
|
11312
|
+
/** Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on. */
|
|
11313
|
+
display_name: string;
|
|
11314
|
+
/** Image URL for the manufacturer logo. */
|
|
11315
|
+
image_url?: string | undefined;
|
|
11316
|
+
} | undefined;
|
|
11297
11317
|
can_remotely_unlock?: boolean | undefined;
|
|
11298
11318
|
can_remotely_lock?: boolean | undefined;
|
|
11299
11319
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -11460,6 +11480,8 @@ export type Routes = {
|
|
|
11460
11480
|
account_type?: string | undefined;
|
|
11461
11481
|
/** Display name for the connected account type. */
|
|
11462
11482
|
account_type_display_name: string;
|
|
11483
|
+
/** Logo URL for the connected account provider. */
|
|
11484
|
+
image_url?: string | undefined;
|
|
11463
11485
|
/** Display name for the connected account. */
|
|
11464
11486
|
display_name: string;
|
|
11465
11487
|
/** Errors associated with the connected account. */
|
|
@@ -14753,6 +14775,26 @@ export type Routes = {
|
|
|
14753
14775
|
custom_metadata: {
|
|
14754
14776
|
[x: string]: string | boolean;
|
|
14755
14777
|
};
|
|
14778
|
+
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
14779
|
+
device_provider?: {
|
|
14780
|
+
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
14781
|
+
provider_category: string;
|
|
14782
|
+
/** Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on. */
|
|
14783
|
+
device_provider_name: string;
|
|
14784
|
+
/** Display name for the device provider type. */
|
|
14785
|
+
display_name: string;
|
|
14786
|
+
/** Image URL for the device provider. */
|
|
14787
|
+
image_url?: string | undefined;
|
|
14788
|
+
} | undefined;
|
|
14789
|
+
/** Manufacturer of the device. Represents the hardware brand, which may differ from the provider. */
|
|
14790
|
+
device_manufacturer?: {
|
|
14791
|
+
/** Manufacturer identifier, such as `august`, `yale`, `salto`, and so on. */
|
|
14792
|
+
manufacturer: string;
|
|
14793
|
+
/** Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on. */
|
|
14794
|
+
display_name: string;
|
|
14795
|
+
/** Image URL for the manufacturer logo. */
|
|
14796
|
+
image_url?: string | undefined;
|
|
14797
|
+
} | undefined;
|
|
14756
14798
|
can_remotely_unlock?: boolean | undefined;
|
|
14757
14799
|
can_remotely_lock?: boolean | undefined;
|
|
14758
14800
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -26033,6 +26075,8 @@ export type Routes = {
|
|
|
26033
26075
|
account_type?: string | undefined;
|
|
26034
26076
|
/** Display name for the connected account type. */
|
|
26035
26077
|
account_type_display_name: string;
|
|
26078
|
+
/** Logo URL for the connected account provider. */
|
|
26079
|
+
image_url?: string | undefined;
|
|
26036
26080
|
/** Display name for the connected account. */
|
|
26037
26081
|
display_name: string;
|
|
26038
26082
|
/** Errors associated with the connected account. */
|
|
@@ -26188,6 +26232,8 @@ export type Routes = {
|
|
|
26188
26232
|
account_type?: string | undefined;
|
|
26189
26233
|
/** Display name for the connected account type. */
|
|
26190
26234
|
account_type_display_name: string;
|
|
26235
|
+
/** Logo URL for the connected account provider. */
|
|
26236
|
+
image_url?: string | undefined;
|
|
26191
26237
|
/** Display name for the connected account. */
|
|
26192
26238
|
display_name: string;
|
|
26193
26239
|
/** Errors associated with the connected account. */
|
|
@@ -26377,6 +26423,8 @@ export type Routes = {
|
|
|
26377
26423
|
account_type?: string | undefined;
|
|
26378
26424
|
/** Display name for the connected account type. */
|
|
26379
26425
|
account_type_display_name: string;
|
|
26426
|
+
/** Logo URL for the connected account provider. */
|
|
26427
|
+
image_url?: string | undefined;
|
|
26380
26428
|
/** Display name for the connected account. */
|
|
26381
26429
|
display_name: string;
|
|
26382
26430
|
/** Errors associated with the connected account. */
|
|
@@ -28481,6 +28529,26 @@ export type Routes = {
|
|
|
28481
28529
|
custom_metadata: {
|
|
28482
28530
|
[x: string]: string | boolean;
|
|
28483
28531
|
};
|
|
28532
|
+
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
28533
|
+
device_provider?: {
|
|
28534
|
+
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
28535
|
+
provider_category: string;
|
|
28536
|
+
/** Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on. */
|
|
28537
|
+
device_provider_name: string;
|
|
28538
|
+
/** Display name for the device provider type. */
|
|
28539
|
+
display_name: string;
|
|
28540
|
+
/** Image URL for the device provider. */
|
|
28541
|
+
image_url?: string | undefined;
|
|
28542
|
+
} | undefined;
|
|
28543
|
+
/** Manufacturer of the device. Represents the hardware brand, which may differ from the provider. */
|
|
28544
|
+
device_manufacturer?: {
|
|
28545
|
+
/** Manufacturer identifier, such as `august`, `yale`, `salto`, and so on. */
|
|
28546
|
+
manufacturer: string;
|
|
28547
|
+
/** Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on. */
|
|
28548
|
+
display_name: string;
|
|
28549
|
+
/** Image URL for the manufacturer logo. */
|
|
28550
|
+
image_url?: string | undefined;
|
|
28551
|
+
} | undefined;
|
|
28484
28552
|
can_remotely_unlock?: boolean | undefined;
|
|
28485
28553
|
can_remotely_lock?: boolean | undefined;
|
|
28486
28554
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -29774,6 +29842,26 @@ export type Routes = {
|
|
|
29774
29842
|
custom_metadata: {
|
|
29775
29843
|
[x: string]: string | boolean;
|
|
29776
29844
|
};
|
|
29845
|
+
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
29846
|
+
device_provider?: {
|
|
29847
|
+
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
29848
|
+
provider_category: string;
|
|
29849
|
+
/** Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on. */
|
|
29850
|
+
device_provider_name: string;
|
|
29851
|
+
/** Display name for the device provider type. */
|
|
29852
|
+
display_name: string;
|
|
29853
|
+
/** Image URL for the device provider. */
|
|
29854
|
+
image_url?: string | undefined;
|
|
29855
|
+
} | undefined;
|
|
29856
|
+
/** Manufacturer of the device. Represents the hardware brand, which may differ from the provider. */
|
|
29857
|
+
device_manufacturer?: {
|
|
29858
|
+
/** Manufacturer identifier, such as `august`, `yale`, `salto`, and so on. */
|
|
29859
|
+
manufacturer: string;
|
|
29860
|
+
/** Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on. */
|
|
29861
|
+
display_name: string;
|
|
29862
|
+
/** Image URL for the manufacturer logo. */
|
|
29863
|
+
image_url?: string | undefined;
|
|
29864
|
+
} | undefined;
|
|
29777
29865
|
can_remotely_unlock?: boolean | undefined;
|
|
29778
29866
|
can_remotely_lock?: boolean | undefined;
|
|
29779
29867
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -32938,6 +33026,24 @@ export type Routes = {
|
|
|
32938
33026
|
acs_user_id?: string | undefined;
|
|
32939
33027
|
/** ID of the user identity for which you want to list events. */
|
|
32940
33028
|
user_identity_id?: string | undefined;
|
|
33029
|
+
/** ID of the access grant for which you want to list events. */
|
|
33030
|
+
access_grant_id?: string | undefined;
|
|
33031
|
+
/** IDs of the access grants for which you want to list events. */
|
|
33032
|
+
access_grant_ids?: string[] | undefined;
|
|
33033
|
+
/** ID of the access method for which you want to list events. */
|
|
33034
|
+
access_method_id?: string | undefined;
|
|
33035
|
+
/** IDs of the access methods for which you want to list events. */
|
|
33036
|
+
access_method_ids?: string[] | undefined;
|
|
33037
|
+
/** ID of the ACS credential for which you want to list events. */
|
|
33038
|
+
acs_credential_id?: string | undefined;
|
|
33039
|
+
/** ID of the space for which you want to list events. */
|
|
33040
|
+
space_id?: string | undefined;
|
|
33041
|
+
/** IDs of the spaces for which you want to list events. */
|
|
33042
|
+
space_ids?: string[] | undefined;
|
|
33043
|
+
/** ID of the ACS access group for which you want to list events. */
|
|
33044
|
+
acs_access_group_id?: string | undefined;
|
|
33045
|
+
/** ID of the ACS encoder for which you want to list events. */
|
|
33046
|
+
acs_encoder_id?: string | undefined;
|
|
32941
33047
|
};
|
|
32942
33048
|
formData: {};
|
|
32943
33049
|
jsonResponse: {
|
|
@@ -36279,6 +36385,26 @@ export type Routes = {
|
|
|
36279
36385
|
custom_metadata: {
|
|
36280
36386
|
[x: string]: string | boolean;
|
|
36281
36387
|
};
|
|
36388
|
+
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
36389
|
+
device_provider?: {
|
|
36390
|
+
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
36391
|
+
provider_category: string;
|
|
36392
|
+
/** Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on. */
|
|
36393
|
+
device_provider_name: string;
|
|
36394
|
+
/** Display name for the device provider type. */
|
|
36395
|
+
display_name: string;
|
|
36396
|
+
/** Image URL for the device provider. */
|
|
36397
|
+
image_url?: string | undefined;
|
|
36398
|
+
} | undefined;
|
|
36399
|
+
/** Manufacturer of the device. Represents the hardware brand, which may differ from the provider. */
|
|
36400
|
+
device_manufacturer?: {
|
|
36401
|
+
/** Manufacturer identifier, such as `august`, `yale`, `salto`, and so on. */
|
|
36402
|
+
manufacturer: string;
|
|
36403
|
+
/** Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on. */
|
|
36404
|
+
display_name: string;
|
|
36405
|
+
/** Image URL for the manufacturer logo. */
|
|
36406
|
+
image_url?: string | undefined;
|
|
36407
|
+
} | undefined;
|
|
36282
36408
|
can_remotely_unlock?: boolean | undefined;
|
|
36283
36409
|
can_remotely_lock?: boolean | undefined;
|
|
36284
36410
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -37522,6 +37648,26 @@ export type Routes = {
|
|
|
37522
37648
|
custom_metadata: {
|
|
37523
37649
|
[x: string]: string | boolean;
|
|
37524
37650
|
};
|
|
37651
|
+
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
37652
|
+
device_provider?: {
|
|
37653
|
+
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
37654
|
+
provider_category: string;
|
|
37655
|
+
/** Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on. */
|
|
37656
|
+
device_provider_name: string;
|
|
37657
|
+
/** Display name for the device provider type. */
|
|
37658
|
+
display_name: string;
|
|
37659
|
+
/** Image URL for the device provider. */
|
|
37660
|
+
image_url?: string | undefined;
|
|
37661
|
+
} | undefined;
|
|
37662
|
+
/** Manufacturer of the device. Represents the hardware brand, which may differ from the provider. */
|
|
37663
|
+
device_manufacturer?: {
|
|
37664
|
+
/** Manufacturer identifier, such as `august`, `yale`, `salto`, and so on. */
|
|
37665
|
+
manufacturer: string;
|
|
37666
|
+
/** Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on. */
|
|
37667
|
+
display_name: string;
|
|
37668
|
+
/** Image URL for the manufacturer logo. */
|
|
37669
|
+
image_url?: string | undefined;
|
|
37670
|
+
} | undefined;
|
|
37525
37671
|
can_remotely_unlock?: boolean | undefined;
|
|
37526
37672
|
can_remotely_lock?: boolean | undefined;
|
|
37527
37673
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -38815,6 +38961,26 @@ export type Routes = {
|
|
|
38815
38961
|
custom_metadata: {
|
|
38816
38962
|
[x: string]: string | boolean;
|
|
38817
38963
|
};
|
|
38964
|
+
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
38965
|
+
device_provider?: {
|
|
38966
|
+
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
38967
|
+
provider_category: string;
|
|
38968
|
+
/** Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on. */
|
|
38969
|
+
device_provider_name: string;
|
|
38970
|
+
/** Display name for the device provider type. */
|
|
38971
|
+
display_name: string;
|
|
38972
|
+
/** Image URL for the device provider. */
|
|
38973
|
+
image_url?: string | undefined;
|
|
38974
|
+
} | undefined;
|
|
38975
|
+
/** Manufacturer of the device. Represents the hardware brand, which may differ from the provider. */
|
|
38976
|
+
device_manufacturer?: {
|
|
38977
|
+
/** Manufacturer identifier, such as `august`, `yale`, `salto`, and so on. */
|
|
38978
|
+
manufacturer: string;
|
|
38979
|
+
/** Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on. */
|
|
38980
|
+
display_name: string;
|
|
38981
|
+
/** Image URL for the manufacturer logo. */
|
|
38982
|
+
image_url?: string | undefined;
|
|
38983
|
+
} | undefined;
|
|
38818
38984
|
can_remotely_unlock?: boolean | undefined;
|
|
38819
38985
|
can_remotely_lock?: boolean | undefined;
|
|
38820
38986
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -40057,6 +40223,26 @@ export type Routes = {
|
|
|
40057
40223
|
custom_metadata: {
|
|
40058
40224
|
[x: string]: string | boolean;
|
|
40059
40225
|
};
|
|
40226
|
+
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
40227
|
+
device_provider?: {
|
|
40228
|
+
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
40229
|
+
provider_category: string;
|
|
40230
|
+
/** Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on. */
|
|
40231
|
+
device_provider_name: string;
|
|
40232
|
+
/** Display name for the device provider type. */
|
|
40233
|
+
display_name: string;
|
|
40234
|
+
/** Image URL for the device provider. */
|
|
40235
|
+
image_url?: string | undefined;
|
|
40236
|
+
} | undefined;
|
|
40237
|
+
/** Manufacturer of the device. Represents the hardware brand, which may differ from the provider. */
|
|
40238
|
+
device_manufacturer?: {
|
|
40239
|
+
/** Manufacturer identifier, such as `august`, `yale`, `salto`, and so on. */
|
|
40240
|
+
manufacturer: string;
|
|
40241
|
+
/** Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on. */
|
|
40242
|
+
display_name: string;
|
|
40243
|
+
/** Image URL for the manufacturer logo. */
|
|
40244
|
+
image_url?: string | undefined;
|
|
40245
|
+
} | undefined;
|
|
40060
40246
|
can_remotely_unlock?: boolean | undefined;
|
|
40061
40247
|
can_remotely_lock?: boolean | undefined;
|
|
40062
40248
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -46432,6 +46618,26 @@ export type Routes = {
|
|
|
46432
46618
|
custom_metadata: {
|
|
46433
46619
|
[x: string]: string | boolean;
|
|
46434
46620
|
};
|
|
46621
|
+
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
46622
|
+
device_provider?: {
|
|
46623
|
+
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
46624
|
+
provider_category: string;
|
|
46625
|
+
/** Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on. */
|
|
46626
|
+
device_provider_name: string;
|
|
46627
|
+
/** Display name for the device provider type. */
|
|
46628
|
+
display_name: string;
|
|
46629
|
+
/** Image URL for the device provider. */
|
|
46630
|
+
image_url?: string | undefined;
|
|
46631
|
+
} | undefined;
|
|
46632
|
+
/** Manufacturer of the device. Represents the hardware brand, which may differ from the provider. */
|
|
46633
|
+
device_manufacturer?: {
|
|
46634
|
+
/** Manufacturer identifier, such as `august`, `yale`, `salto`, and so on. */
|
|
46635
|
+
manufacturer: string;
|
|
46636
|
+
/** Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on. */
|
|
46637
|
+
display_name: string;
|
|
46638
|
+
/** Image URL for the manufacturer logo. */
|
|
46639
|
+
image_url?: string | undefined;
|
|
46640
|
+
} | undefined;
|
|
46435
46641
|
can_remotely_unlock?: boolean | undefined;
|
|
46436
46642
|
can_remotely_lock?: boolean | undefined;
|
|
46437
46643
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -47674,6 +47880,26 @@ export type Routes = {
|
|
|
47674
47880
|
custom_metadata: {
|
|
47675
47881
|
[x: string]: string | boolean;
|
|
47676
47882
|
};
|
|
47883
|
+
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
47884
|
+
device_provider?: {
|
|
47885
|
+
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
47886
|
+
provider_category: string;
|
|
47887
|
+
/** Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on. */
|
|
47888
|
+
device_provider_name: string;
|
|
47889
|
+
/** Display name for the device provider type. */
|
|
47890
|
+
display_name: string;
|
|
47891
|
+
/** Image URL for the device provider. */
|
|
47892
|
+
image_url?: string | undefined;
|
|
47893
|
+
} | undefined;
|
|
47894
|
+
/** Manufacturer of the device. Represents the hardware brand, which may differ from the provider. */
|
|
47895
|
+
device_manufacturer?: {
|
|
47896
|
+
/** Manufacturer identifier, such as `august`, `yale`, `salto`, and so on. */
|
|
47897
|
+
manufacturer: string;
|
|
47898
|
+
/** Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on. */
|
|
47899
|
+
display_name: string;
|
|
47900
|
+
/** Image URL for the manufacturer logo. */
|
|
47901
|
+
image_url?: string | undefined;
|
|
47902
|
+
} | undefined;
|
|
47677
47903
|
can_remotely_unlock?: boolean | undefined;
|
|
47678
47904
|
can_remotely_lock?: boolean | undefined;
|
|
47679
47905
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -57408,6 +57634,26 @@ export type Routes = {
|
|
|
57408
57634
|
custom_metadata: {
|
|
57409
57635
|
[x: string]: string | boolean;
|
|
57410
57636
|
};
|
|
57637
|
+
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
57638
|
+
device_provider?: {
|
|
57639
|
+
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
57640
|
+
provider_category: string;
|
|
57641
|
+
/** Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on. */
|
|
57642
|
+
device_provider_name: string;
|
|
57643
|
+
/** Display name for the device provider type. */
|
|
57644
|
+
display_name: string;
|
|
57645
|
+
/** Image URL for the device provider. */
|
|
57646
|
+
image_url?: string | undefined;
|
|
57647
|
+
} | undefined;
|
|
57648
|
+
/** Manufacturer of the device. Represents the hardware brand, which may differ from the provider. */
|
|
57649
|
+
device_manufacturer?: {
|
|
57650
|
+
/** Manufacturer identifier, such as `august`, `yale`, `salto`, and so on. */
|
|
57651
|
+
manufacturer: string;
|
|
57652
|
+
/** Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on. */
|
|
57653
|
+
display_name: string;
|
|
57654
|
+
/** Image URL for the manufacturer logo. */
|
|
57655
|
+
image_url?: string | undefined;
|
|
57656
|
+
} | undefined;
|
|
57411
57657
|
can_remotely_unlock?: boolean | undefined;
|
|
57412
57658
|
can_remotely_lock?: boolean | undefined;
|
|
57413
57659
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -57574,6 +57820,8 @@ export type Routes = {
|
|
|
57574
57820
|
account_type?: string | undefined;
|
|
57575
57821
|
/** Display name for the connected account type. */
|
|
57576
57822
|
account_type_display_name: string;
|
|
57823
|
+
/** Logo URL for the connected account provider. */
|
|
57824
|
+
image_url?: string | undefined;
|
|
57577
57825
|
/** Display name for the connected account. */
|
|
57578
57826
|
display_name: string;
|
|
57579
57827
|
/** Errors associated with the connected account. */
|
|
@@ -63099,6 +63347,26 @@ export type Routes = {
|
|
|
63099
63347
|
custom_metadata: {
|
|
63100
63348
|
[x: string]: string | boolean;
|
|
63101
63349
|
};
|
|
63350
|
+
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
63351
|
+
device_provider?: {
|
|
63352
|
+
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
63353
|
+
provider_category: string;
|
|
63354
|
+
/** Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on. */
|
|
63355
|
+
device_provider_name: string;
|
|
63356
|
+
/** Display name for the device provider type. */
|
|
63357
|
+
display_name: string;
|
|
63358
|
+
/** Image URL for the device provider. */
|
|
63359
|
+
image_url?: string | undefined;
|
|
63360
|
+
} | undefined;
|
|
63361
|
+
/** Manufacturer of the device. Represents the hardware brand, which may differ from the provider. */
|
|
63362
|
+
device_manufacturer?: {
|
|
63363
|
+
/** Manufacturer identifier, such as `august`, `yale`, `salto`, and so on. */
|
|
63364
|
+
manufacturer: string;
|
|
63365
|
+
/** Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on. */
|
|
63366
|
+
display_name: string;
|
|
63367
|
+
/** Image URL for the manufacturer logo. */
|
|
63368
|
+
image_url?: string | undefined;
|
|
63369
|
+
} | undefined;
|
|
63102
63370
|
can_remotely_unlock?: boolean | undefined;
|
|
63103
63371
|
can_remotely_lock?: boolean | undefined;
|
|
63104
63372
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -66946,6 +67214,26 @@ export type Routes = {
|
|
|
66946
67214
|
custom_metadata: {
|
|
66947
67215
|
[x: string]: string | boolean;
|
|
66948
67216
|
};
|
|
67217
|
+
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
67218
|
+
device_provider?: {
|
|
67219
|
+
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
67220
|
+
provider_category: string;
|
|
67221
|
+
/** Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on. */
|
|
67222
|
+
device_provider_name: string;
|
|
67223
|
+
/** Display name for the device provider type. */
|
|
67224
|
+
display_name: string;
|
|
67225
|
+
/** Image URL for the device provider. */
|
|
67226
|
+
image_url?: string | undefined;
|
|
67227
|
+
} | undefined;
|
|
67228
|
+
/** Manufacturer of the device. Represents the hardware brand, which may differ from the provider. */
|
|
67229
|
+
device_manufacturer?: {
|
|
67230
|
+
/** Manufacturer identifier, such as `august`, `yale`, `salto`, and so on. */
|
|
67231
|
+
manufacturer: string;
|
|
67232
|
+
/** Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on. */
|
|
67233
|
+
display_name: string;
|
|
67234
|
+
/** Image URL for the manufacturer logo. */
|
|
67235
|
+
image_url?: string | undefined;
|
|
67236
|
+
} | undefined;
|
|
66949
67237
|
can_remotely_unlock?: boolean | undefined;
|
|
66950
67238
|
can_remotely_lock?: boolean | undefined;
|
|
66951
67239
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -68188,6 +68476,26 @@ export type Routes = {
|
|
|
68188
68476
|
custom_metadata: {
|
|
68189
68477
|
[x: string]: string | boolean;
|
|
68190
68478
|
};
|
|
68479
|
+
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
68480
|
+
device_provider?: {
|
|
68481
|
+
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
68482
|
+
provider_category: string;
|
|
68483
|
+
/** Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on. */
|
|
68484
|
+
device_provider_name: string;
|
|
68485
|
+
/** Display name for the device provider type. */
|
|
68486
|
+
display_name: string;
|
|
68487
|
+
/** Image URL for the device provider. */
|
|
68488
|
+
image_url?: string | undefined;
|
|
68489
|
+
} | undefined;
|
|
68490
|
+
/** Manufacturer of the device. Represents the hardware brand, which may differ from the provider. */
|
|
68491
|
+
device_manufacturer?: {
|
|
68492
|
+
/** Manufacturer identifier, such as `august`, `yale`, `salto`, and so on. */
|
|
68493
|
+
manufacturer: string;
|
|
68494
|
+
/** Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on. */
|
|
68495
|
+
display_name: string;
|
|
68496
|
+
/** Image URL for the manufacturer logo. */
|
|
68497
|
+
image_url?: string | undefined;
|
|
68498
|
+
} | undefined;
|
|
68191
68499
|
can_remotely_unlock?: boolean | undefined;
|
|
68192
68500
|
can_remotely_lock?: boolean | undefined;
|
|
68193
68501
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -75450,6 +75758,26 @@ export type Routes = {
|
|
|
75450
75758
|
custom_metadata: {
|
|
75451
75759
|
[x: string]: string | boolean;
|
|
75452
75760
|
};
|
|
75761
|
+
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
75762
|
+
device_provider?: {
|
|
75763
|
+
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
75764
|
+
provider_category: string;
|
|
75765
|
+
/** Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on. */
|
|
75766
|
+
device_provider_name: string;
|
|
75767
|
+
/** Display name for the device provider type. */
|
|
75768
|
+
display_name: string;
|
|
75769
|
+
/** Image URL for the device provider. */
|
|
75770
|
+
image_url?: string | undefined;
|
|
75771
|
+
} | undefined;
|
|
75772
|
+
/** Manufacturer of the device. Represents the hardware brand, which may differ from the provider. */
|
|
75773
|
+
device_manufacturer?: {
|
|
75774
|
+
/** Manufacturer identifier, such as `august`, `yale`, `salto`, and so on. */
|
|
75775
|
+
manufacturer: string;
|
|
75776
|
+
/** Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on. */
|
|
75777
|
+
display_name: string;
|
|
75778
|
+
/** Image URL for the manufacturer logo. */
|
|
75779
|
+
image_url?: string | undefined;
|
|
75780
|
+
} | undefined;
|
|
75453
75781
|
can_remotely_unlock?: boolean | undefined;
|
|
75454
75782
|
can_remotely_lock?: boolean | undefined;
|
|
75455
75783
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -76694,6 +77022,26 @@ export type Routes = {
|
|
|
76694
77022
|
custom_metadata: {
|
|
76695
77023
|
[x: string]: string | boolean;
|
|
76696
77024
|
};
|
|
77025
|
+
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
77026
|
+
device_provider?: {
|
|
77027
|
+
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
77028
|
+
provider_category: string;
|
|
77029
|
+
/** Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on. */
|
|
77030
|
+
device_provider_name: string;
|
|
77031
|
+
/** Display name for the device provider type. */
|
|
77032
|
+
display_name: string;
|
|
77033
|
+
/** Image URL for the device provider. */
|
|
77034
|
+
image_url?: string | undefined;
|
|
77035
|
+
} | undefined;
|
|
77036
|
+
/** Manufacturer of the device. Represents the hardware brand, which may differ from the provider. */
|
|
77037
|
+
device_manufacturer?: {
|
|
77038
|
+
/** Manufacturer identifier, such as `august`, `yale`, `salto`, and so on. */
|
|
77039
|
+
manufacturer: string;
|
|
77040
|
+
/** Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on. */
|
|
77041
|
+
display_name: string;
|
|
77042
|
+
/** Image URL for the manufacturer logo. */
|
|
77043
|
+
image_url?: string | undefined;
|
|
77044
|
+
} | undefined;
|
|
76697
77045
|
can_remotely_unlock?: boolean | undefined;
|
|
76698
77046
|
can_remotely_lock?: boolean | undefined;
|
|
76699
77047
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -78903,6 +79251,26 @@ export type Routes = {
|
|
|
78903
79251
|
custom_metadata: {
|
|
78904
79252
|
[x: string]: string | boolean;
|
|
78905
79253
|
};
|
|
79254
|
+
/** Provider of the device. Represents the third-party service through which the device is controlled. */
|
|
79255
|
+
device_provider?: {
|
|
79256
|
+
/** Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations. */
|
|
79257
|
+
provider_category: string;
|
|
79258
|
+
/** Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on. */
|
|
79259
|
+
device_provider_name: string;
|
|
79260
|
+
/** Display name for the device provider type. */
|
|
79261
|
+
display_name: string;
|
|
79262
|
+
/** Image URL for the device provider. */
|
|
79263
|
+
image_url?: string | undefined;
|
|
79264
|
+
} | undefined;
|
|
79265
|
+
/** Manufacturer of the device. Represents the hardware brand, which may differ from the provider. */
|
|
79266
|
+
device_manufacturer?: {
|
|
79267
|
+
/** Manufacturer identifier, such as `august`, `yale`, `salto`, and so on. */
|
|
79268
|
+
manufacturer: string;
|
|
79269
|
+
/** Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on. */
|
|
79270
|
+
display_name: string;
|
|
79271
|
+
/** Image URL for the manufacturer logo. */
|
|
79272
|
+
image_url?: string | undefined;
|
|
79273
|
+
} | undefined;
|
|
78906
79274
|
can_remotely_unlock?: boolean | undefined;
|
|
78907
79275
|
can_remotely_lock?: boolean | undefined;
|
|
78908
79276
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -81593,6 +81961,8 @@ export type Routes = {
|
|
|
81593
81961
|
account_type?: string | undefined;
|
|
81594
81962
|
/** Display name for the connected account type. */
|
|
81595
81963
|
account_type_display_name: string;
|
|
81964
|
+
/** Logo URL for the connected account provider. */
|
|
81965
|
+
image_url?: string | undefined;
|
|
81596
81966
|
/** Display name for the connected account. */
|
|
81597
81967
|
display_name: string;
|
|
81598
81968
|
/** Errors associated with the connected account. */
|
package/package.json
CHANGED
|
@@ -302,6 +302,11 @@ export const connected_account = z.object({
|
|
|
302
302
|
account_type_display_name: z
|
|
303
303
|
.string()
|
|
304
304
|
.describe('Display name for the connected account type.'),
|
|
305
|
+
image_url: z
|
|
306
|
+
.string()
|
|
307
|
+
.url()
|
|
308
|
+
.optional()
|
|
309
|
+
.describe('Logo URL for the connected account provider.'),
|
|
305
310
|
display_name: z.string().describe('Display name for the connected account.'),
|
|
306
311
|
errors: z
|
|
307
312
|
.array(connected_account_error)
|
|
@@ -528,6 +528,57 @@ const _device_warning_map = z.object({
|
|
|
528
528
|
|
|
529
529
|
export type DeviceWarningMap = z.infer<typeof _device_warning_map>
|
|
530
530
|
|
|
531
|
+
export const device_provider_info = z
|
|
532
|
+
.object({
|
|
533
|
+
provider_category: z
|
|
534
|
+
.string()
|
|
535
|
+
.describe(
|
|
536
|
+
'Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations.',
|
|
537
|
+
),
|
|
538
|
+
device_provider_name: z
|
|
539
|
+
.string()
|
|
540
|
+
.describe(
|
|
541
|
+
'Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on.',
|
|
542
|
+
),
|
|
543
|
+
display_name: z
|
|
544
|
+
.string()
|
|
545
|
+
.describe('Display name for the device provider type.'),
|
|
546
|
+
image_url: z
|
|
547
|
+
.string()
|
|
548
|
+
.url()
|
|
549
|
+
.optional()
|
|
550
|
+
.describe('Image URL for the device provider.'),
|
|
551
|
+
})
|
|
552
|
+
.describe(
|
|
553
|
+
'Provider of the device. Represents the third-party service through which the device is controlled.',
|
|
554
|
+
)
|
|
555
|
+
|
|
556
|
+
export type DeviceProviderInfo = z.infer<typeof device_provider_info>
|
|
557
|
+
|
|
558
|
+
export const device_manufacturer_info = z
|
|
559
|
+
.object({
|
|
560
|
+
manufacturer: z
|
|
561
|
+
.string()
|
|
562
|
+
.describe(
|
|
563
|
+
'Manufacturer identifier, such as `august`, `yale`, `salto`, and so on.',
|
|
564
|
+
),
|
|
565
|
+
display_name: z
|
|
566
|
+
.string()
|
|
567
|
+
.describe(
|
|
568
|
+
'Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on.',
|
|
569
|
+
),
|
|
570
|
+
image_url: z
|
|
571
|
+
.string()
|
|
572
|
+
.url()
|
|
573
|
+
.optional()
|
|
574
|
+
.describe('Image URL for the manufacturer logo.'),
|
|
575
|
+
})
|
|
576
|
+
.describe(
|
|
577
|
+
'Manufacturer of the device. Represents the hardware brand, which may differ from the provider.',
|
|
578
|
+
)
|
|
579
|
+
|
|
580
|
+
export type DeviceManufacturerInfo = z.infer<typeof device_manufacturer_info>
|
|
581
|
+
|
|
531
582
|
export const common_device_properties = z.object({
|
|
532
583
|
online: z.boolean().describe('Indicates whether the device is online.'),
|
|
533
584
|
name: z.string().describe(`
|
|
@@ -866,6 +917,18 @@ export const device = z
|
|
|
866
917
|
'Indicates whether Seam manages the device. See also [Managed and Unmanaged Devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices).',
|
|
867
918
|
),
|
|
868
919
|
custom_metadata,
|
|
920
|
+
device_provider: device_provider_info.optional().describe(`
|
|
921
|
+
---
|
|
922
|
+
property_group_key: hardware
|
|
923
|
+
---
|
|
924
|
+
Provider of the device. Represents the third-party service through which the device is controlled.
|
|
925
|
+
`),
|
|
926
|
+
device_manufacturer: device_manufacturer_info.optional().describe(`
|
|
927
|
+
---
|
|
928
|
+
property_group_key: hardware
|
|
929
|
+
---
|
|
930
|
+
Manufacturer of the device. Represents the hardware brand, which may differ from the provider.
|
|
931
|
+
`),
|
|
869
932
|
})
|
|
870
933
|
.merge(device_capability_flags).describe(`
|
|
871
934
|
---
|