@seamapi/types 1.51.0 → 1.52.1
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 +229 -35
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +542 -60
- package/lib/seam/connect/openapi.d.ts +215 -23
- package/lib/seam/connect/openapi.js +228 -34
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +327 -37
- package/lib/seam/connect/unstable/models/devices/managed-device.js +83 -33
- package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/unstable/models/user-identity.d.ts +6 -0
- package/lib/seam/connect/unstable/models/user-identity.js +2 -0
- package/lib/seam/connect/unstable/models/user-identity.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +248 -34
- package/src/lib/seam/connect/route-types.ts +327 -36
- package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +111 -41
- package/src/lib/seam/connect/unstable/models/user-identity.ts +2 -0
|
@@ -604,6 +604,7 @@ declare const _default: {
|
|
|
604
604
|
device: {
|
|
605
605
|
properties: {
|
|
606
606
|
capabilities_supported: {
|
|
607
|
+
description: string;
|
|
607
608
|
items: {
|
|
608
609
|
enum: string[];
|
|
609
610
|
type: string;
|
|
@@ -611,24 +612,29 @@ declare const _default: {
|
|
|
611
612
|
type: string;
|
|
612
613
|
};
|
|
613
614
|
connected_account_id: {
|
|
615
|
+
description: string;
|
|
614
616
|
format: string;
|
|
615
617
|
type: string;
|
|
616
618
|
};
|
|
617
619
|
created_at: {
|
|
620
|
+
description: string;
|
|
618
621
|
format: string;
|
|
619
622
|
type: string;
|
|
620
623
|
};
|
|
621
624
|
device_id: {
|
|
625
|
+
description: string;
|
|
622
626
|
format: string;
|
|
623
627
|
type: string;
|
|
624
628
|
};
|
|
625
629
|
device_type: {
|
|
630
|
+
description: string;
|
|
626
631
|
oneOf: {
|
|
627
632
|
enum: string[];
|
|
628
633
|
type: string;
|
|
629
634
|
}[];
|
|
630
635
|
};
|
|
631
636
|
errors: {
|
|
637
|
+
description: string;
|
|
632
638
|
items: {
|
|
633
639
|
properties: {
|
|
634
640
|
error_code: {
|
|
@@ -644,16 +650,20 @@ declare const _default: {
|
|
|
644
650
|
type: string;
|
|
645
651
|
};
|
|
646
652
|
is_managed: {
|
|
653
|
+
description: string;
|
|
647
654
|
enum: boolean[];
|
|
648
655
|
type: string;
|
|
649
656
|
};
|
|
650
657
|
location: {
|
|
658
|
+
description: string;
|
|
651
659
|
nullable: boolean;
|
|
652
660
|
properties: {
|
|
653
661
|
location_name: {
|
|
662
|
+
description: string;
|
|
654
663
|
type: string;
|
|
655
664
|
};
|
|
656
665
|
timezone: {
|
|
666
|
+
description: string;
|
|
657
667
|
type: string;
|
|
658
668
|
};
|
|
659
669
|
};
|
|
@@ -664,6 +674,7 @@ declare const _default: {
|
|
|
664
674
|
allOf: ({
|
|
665
675
|
properties: {
|
|
666
676
|
battery: {
|
|
677
|
+
description: string;
|
|
667
678
|
properties: {
|
|
668
679
|
level: {
|
|
669
680
|
maximum: number;
|
|
@@ -679,38 +690,48 @@ declare const _default: {
|
|
|
679
690
|
type: string;
|
|
680
691
|
};
|
|
681
692
|
battery_level: {
|
|
693
|
+
description: string;
|
|
682
694
|
maximum: number;
|
|
683
695
|
minimum: number;
|
|
684
696
|
type: string;
|
|
685
697
|
};
|
|
686
698
|
has_direct_power: {
|
|
699
|
+
description: string;
|
|
687
700
|
type: string;
|
|
688
701
|
};
|
|
689
702
|
image_alt_text: {
|
|
703
|
+
description: string;
|
|
690
704
|
type: string;
|
|
691
705
|
};
|
|
692
706
|
image_url: {
|
|
707
|
+
description: string;
|
|
693
708
|
format: string;
|
|
694
709
|
type: string;
|
|
695
710
|
};
|
|
696
711
|
manufacturer: {
|
|
712
|
+
description: string;
|
|
697
713
|
type: string;
|
|
698
714
|
};
|
|
699
715
|
model: {
|
|
700
716
|
properties: {
|
|
701
717
|
accessory_keypad_supported: {
|
|
718
|
+
description: string;
|
|
702
719
|
type: string;
|
|
703
720
|
};
|
|
704
721
|
display_name: {
|
|
722
|
+
description: string;
|
|
705
723
|
type: string;
|
|
706
724
|
};
|
|
707
725
|
manufacturer_display_name: {
|
|
726
|
+
description: string;
|
|
708
727
|
type: string;
|
|
709
728
|
};
|
|
710
729
|
offline_access_codes_supported: {
|
|
730
|
+
description: string;
|
|
711
731
|
type: string;
|
|
712
732
|
};
|
|
713
733
|
online_access_codes_supported: {
|
|
734
|
+
description: string;
|
|
714
735
|
type: string;
|
|
715
736
|
};
|
|
716
737
|
};
|
|
@@ -718,6 +739,7 @@ declare const _default: {
|
|
|
718
739
|
type: string;
|
|
719
740
|
};
|
|
720
741
|
name: {
|
|
742
|
+
description: string;
|
|
721
743
|
type: string;
|
|
722
744
|
};
|
|
723
745
|
offline_access_codes_enabled: {
|
|
@@ -725,6 +747,7 @@ declare const _default: {
|
|
|
725
747
|
type: string;
|
|
726
748
|
};
|
|
727
749
|
online: {
|
|
750
|
+
description: string;
|
|
728
751
|
type: string;
|
|
729
752
|
};
|
|
730
753
|
online_access_codes_enabled: {
|
|
@@ -732,6 +755,7 @@ declare const _default: {
|
|
|
732
755
|
type: string;
|
|
733
756
|
};
|
|
734
757
|
serial_number: {
|
|
758
|
+
description: string;
|
|
735
759
|
type: string;
|
|
736
760
|
};
|
|
737
761
|
supports_accessory_keypad: {
|
|
@@ -1913,8 +1937,10 @@ declare const _default: {
|
|
|
1913
1937
|
type?: never;
|
|
1914
1938
|
})[];
|
|
1915
1939
|
})[];
|
|
1940
|
+
description: string;
|
|
1916
1941
|
};
|
|
1917
1942
|
warnings: {
|
|
1943
|
+
description: string;
|
|
1918
1944
|
items: {
|
|
1919
1945
|
properties: {
|
|
1920
1946
|
message: {
|
|
@@ -1930,6 +1956,7 @@ declare const _default: {
|
|
|
1930
1956
|
type: string;
|
|
1931
1957
|
};
|
|
1932
1958
|
workspace_id: {
|
|
1959
|
+
description: string;
|
|
1933
1960
|
format: string;
|
|
1934
1961
|
type: string;
|
|
1935
1962
|
};
|
|
@@ -2100,6 +2127,7 @@ declare const _default: {
|
|
|
2100
2127
|
unmanaged_device: {
|
|
2101
2128
|
properties: {
|
|
2102
2129
|
capabilities_supported: {
|
|
2130
|
+
description: string;
|
|
2103
2131
|
items: {
|
|
2104
2132
|
enum: string[];
|
|
2105
2133
|
type: string;
|
|
@@ -2107,24 +2135,29 @@ declare const _default: {
|
|
|
2107
2135
|
type: string;
|
|
2108
2136
|
};
|
|
2109
2137
|
connected_account_id: {
|
|
2138
|
+
description: string;
|
|
2110
2139
|
format: string;
|
|
2111
2140
|
type: string;
|
|
2112
2141
|
};
|
|
2113
2142
|
created_at: {
|
|
2143
|
+
description: string;
|
|
2114
2144
|
format: string;
|
|
2115
2145
|
type: string;
|
|
2116
2146
|
};
|
|
2117
2147
|
device_id: {
|
|
2148
|
+
description: string;
|
|
2118
2149
|
format: string;
|
|
2119
2150
|
type: string;
|
|
2120
2151
|
};
|
|
2121
2152
|
device_type: {
|
|
2153
|
+
description: string;
|
|
2122
2154
|
oneOf: {
|
|
2123
2155
|
enum: string[];
|
|
2124
2156
|
type: string;
|
|
2125
2157
|
}[];
|
|
2126
2158
|
};
|
|
2127
2159
|
errors: {
|
|
2160
|
+
description: string;
|
|
2128
2161
|
items: {
|
|
2129
2162
|
properties: {
|
|
2130
2163
|
error_code: {
|
|
@@ -2177,6 +2210,7 @@ declare const _default: {
|
|
|
2177
2210
|
type: string;
|
|
2178
2211
|
};
|
|
2179
2212
|
warnings: {
|
|
2213
|
+
description: string;
|
|
2180
2214
|
items: {
|
|
2181
2215
|
properties: {
|
|
2182
2216
|
message: {
|
|
@@ -2192,6 +2226,7 @@ declare const _default: {
|
|
|
2192
2226
|
type: string;
|
|
2193
2227
|
};
|
|
2194
2228
|
workspace_id: {
|
|
2229
|
+
description: string;
|
|
2195
2230
|
format: string;
|
|
2196
2231
|
type: string;
|
|
2197
2232
|
};
|
|
@@ -2262,6 +2297,16 @@ declare const _default: {
|
|
|
2262
2297
|
name: string;
|
|
2263
2298
|
type: string;
|
|
2264
2299
|
};
|
|
2300
|
+
console_session: {
|
|
2301
|
+
bearerFormat: string;
|
|
2302
|
+
scheme: string;
|
|
2303
|
+
type: string;
|
|
2304
|
+
};
|
|
2305
|
+
pat_with_workspace: {
|
|
2306
|
+
bearerFormat: string;
|
|
2307
|
+
scheme: string;
|
|
2308
|
+
type: string;
|
|
2309
|
+
};
|
|
2265
2310
|
seam_client_session_token: {
|
|
2266
2311
|
in: string;
|
|
2267
2312
|
name: string;
|
|
@@ -5264,6 +5309,125 @@ declare const _default: {
|
|
|
5264
5309
|
description: string;
|
|
5265
5310
|
};
|
|
5266
5311
|
};
|
|
5312
|
+
security: ({
|
|
5313
|
+
api_key: never[];
|
|
5314
|
+
client_session?: never;
|
|
5315
|
+
pat_with_workspace?: never;
|
|
5316
|
+
console_session?: never;
|
|
5317
|
+
} | {
|
|
5318
|
+
client_session: never[];
|
|
5319
|
+
api_key?: never;
|
|
5320
|
+
pat_with_workspace?: never;
|
|
5321
|
+
console_session?: never;
|
|
5322
|
+
} | {
|
|
5323
|
+
pat_with_workspace: never[];
|
|
5324
|
+
api_key?: never;
|
|
5325
|
+
client_session?: never;
|
|
5326
|
+
console_session?: never;
|
|
5327
|
+
} | {
|
|
5328
|
+
console_session: never[];
|
|
5329
|
+
api_key?: never;
|
|
5330
|
+
client_session?: never;
|
|
5331
|
+
pat_with_workspace?: never;
|
|
5332
|
+
})[];
|
|
5333
|
+
summary: string;
|
|
5334
|
+
tags: never[];
|
|
5335
|
+
'x-fern-sdk-group-name': string[];
|
|
5336
|
+
'x-fern-sdk-method-name': string;
|
|
5337
|
+
};
|
|
5338
|
+
};
|
|
5339
|
+
'/acs/credentials/unassign': {
|
|
5340
|
+
patch: {
|
|
5341
|
+
operationId: string;
|
|
5342
|
+
requestBody: {
|
|
5343
|
+
content: {
|
|
5344
|
+
'application/json': {
|
|
5345
|
+
schema: {
|
|
5346
|
+
properties: {
|
|
5347
|
+
acs_credential_id: {
|
|
5348
|
+
format: string;
|
|
5349
|
+
type: string;
|
|
5350
|
+
};
|
|
5351
|
+
acs_user_id: {
|
|
5352
|
+
format: string;
|
|
5353
|
+
type: string;
|
|
5354
|
+
};
|
|
5355
|
+
};
|
|
5356
|
+
required: string[];
|
|
5357
|
+
type: string;
|
|
5358
|
+
};
|
|
5359
|
+
};
|
|
5360
|
+
};
|
|
5361
|
+
};
|
|
5362
|
+
responses: {
|
|
5363
|
+
200: {
|
|
5364
|
+
content: {
|
|
5365
|
+
'application/json': {
|
|
5366
|
+
schema: {
|
|
5367
|
+
properties: {
|
|
5368
|
+
acs_credential: {
|
|
5369
|
+
properties: {
|
|
5370
|
+
acs_credential_id: {
|
|
5371
|
+
format: string;
|
|
5372
|
+
type: string;
|
|
5373
|
+
};
|
|
5374
|
+
acs_credential_pool_id: {
|
|
5375
|
+
format: string;
|
|
5376
|
+
type: string;
|
|
5377
|
+
};
|
|
5378
|
+
acs_system_id: {
|
|
5379
|
+
format: string;
|
|
5380
|
+
type: string;
|
|
5381
|
+
};
|
|
5382
|
+
acs_user_id: {
|
|
5383
|
+
format: string;
|
|
5384
|
+
type: string;
|
|
5385
|
+
};
|
|
5386
|
+
code: {
|
|
5387
|
+
nullable: boolean;
|
|
5388
|
+
type: string;
|
|
5389
|
+
};
|
|
5390
|
+
created_at: {
|
|
5391
|
+
format: string;
|
|
5392
|
+
type: string;
|
|
5393
|
+
};
|
|
5394
|
+
display_name: {
|
|
5395
|
+
minLength: number;
|
|
5396
|
+
type: string;
|
|
5397
|
+
};
|
|
5398
|
+
external_type: {
|
|
5399
|
+
enum: string[];
|
|
5400
|
+
type: string;
|
|
5401
|
+
};
|
|
5402
|
+
external_type_display_name: {
|
|
5403
|
+
type: string;
|
|
5404
|
+
};
|
|
5405
|
+
workspace_id: {
|
|
5406
|
+
format: string;
|
|
5407
|
+
type: string;
|
|
5408
|
+
};
|
|
5409
|
+
};
|
|
5410
|
+
required: string[];
|
|
5411
|
+
type: string;
|
|
5412
|
+
};
|
|
5413
|
+
ok: {
|
|
5414
|
+
type: string;
|
|
5415
|
+
};
|
|
5416
|
+
};
|
|
5417
|
+
required: string[];
|
|
5418
|
+
type: string;
|
|
5419
|
+
};
|
|
5420
|
+
};
|
|
5421
|
+
};
|
|
5422
|
+
description: string;
|
|
5423
|
+
};
|
|
5424
|
+
400: {
|
|
5425
|
+
description: string;
|
|
5426
|
+
};
|
|
5427
|
+
401: {
|
|
5428
|
+
description: string;
|
|
5429
|
+
};
|
|
5430
|
+
};
|
|
5267
5431
|
security: ({
|
|
5268
5432
|
access_token: never[];
|
|
5269
5433
|
seam_workspace: never[];
|
|
@@ -5282,12 +5446,9 @@ declare const _default: {
|
|
|
5282
5446
|
})[];
|
|
5283
5447
|
summary: string;
|
|
5284
5448
|
tags: never[];
|
|
5285
|
-
'x-fern-
|
|
5286
|
-
'x-fern-sdk-method-name': string;
|
|
5449
|
+
'x-fern-ignore': boolean;
|
|
5287
5450
|
};
|
|
5288
|
-
|
|
5289
|
-
'/acs/credentials/unassign': {
|
|
5290
|
-
patch: {
|
|
5451
|
+
post: {
|
|
5291
5452
|
operationId: string;
|
|
5292
5453
|
requestBody: {
|
|
5293
5454
|
content: {
|
|
@@ -5396,8 +5557,11 @@ declare const _default: {
|
|
|
5396
5557
|
})[];
|
|
5397
5558
|
summary: string;
|
|
5398
5559
|
tags: never[];
|
|
5399
|
-
'x-fern-
|
|
5560
|
+
'x-fern-sdk-group-name': string[];
|
|
5561
|
+
'x-fern-sdk-method-name': string;
|
|
5400
5562
|
};
|
|
5563
|
+
};
|
|
5564
|
+
'/acs/credentials/update': {
|
|
5401
5565
|
post: {
|
|
5402
5566
|
operationId: string;
|
|
5403
5567
|
requestBody: {
|
|
@@ -5405,16 +5569,15 @@ declare const _default: {
|
|
|
5405
5569
|
'application/json': {
|
|
5406
5570
|
schema: {
|
|
5407
5571
|
properties: {
|
|
5408
|
-
|
|
5409
|
-
|
|
5572
|
+
code: {
|
|
5573
|
+
pattern: string;
|
|
5410
5574
|
type: string;
|
|
5411
5575
|
};
|
|
5412
|
-
|
|
5413
|
-
|
|
5576
|
+
name: {
|
|
5577
|
+
maxLength: number;
|
|
5414
5578
|
type: string;
|
|
5415
5579
|
};
|
|
5416
5580
|
};
|
|
5417
|
-
required: string[];
|
|
5418
5581
|
type: string;
|
|
5419
5582
|
};
|
|
5420
5583
|
};
|
|
@@ -6986,20 +7149,25 @@ declare const _default: {
|
|
|
6986
7149
|
};
|
|
6987
7150
|
};
|
|
6988
7151
|
security: ({
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
|
|
7152
|
+
client_session: never[];
|
|
7153
|
+
pat_with_workspace?: never;
|
|
7154
|
+
console_session?: never;
|
|
7155
|
+
api_key?: never;
|
|
6993
7156
|
} | {
|
|
6994
|
-
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
7157
|
+
pat_with_workspace: never[];
|
|
7158
|
+
client_session?: never;
|
|
7159
|
+
console_session?: never;
|
|
7160
|
+
api_key?: never;
|
|
6998
7161
|
} | {
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7162
|
+
console_session: never[];
|
|
7163
|
+
client_session?: never;
|
|
7164
|
+
pat_with_workspace?: never;
|
|
7165
|
+
api_key?: never;
|
|
7166
|
+
} | {
|
|
7167
|
+
api_key: never[];
|
|
7168
|
+
client_session?: never;
|
|
7169
|
+
pat_with_workspace?: never;
|
|
7170
|
+
console_session?: never;
|
|
7003
7171
|
})[];
|
|
7004
7172
|
summary: string;
|
|
7005
7173
|
tags: string[];
|
|
@@ -11898,6 +12066,14 @@ declare const _default: {
|
|
|
11898
12066
|
nullable: boolean;
|
|
11899
12067
|
type: string;
|
|
11900
12068
|
};
|
|
12069
|
+
first_name: {
|
|
12070
|
+
nullable: boolean;
|
|
12071
|
+
type: string;
|
|
12072
|
+
};
|
|
12073
|
+
last_name: {
|
|
12074
|
+
nullable: boolean;
|
|
12075
|
+
type: string;
|
|
12076
|
+
};
|
|
11901
12077
|
user_identity_key: {
|
|
11902
12078
|
nullable: boolean;
|
|
11903
12079
|
type: string;
|
|
@@ -11928,6 +12104,14 @@ declare const _default: {
|
|
|
11928
12104
|
nullable: boolean;
|
|
11929
12105
|
type: string;
|
|
11930
12106
|
};
|
|
12107
|
+
first_name: {
|
|
12108
|
+
nullable: boolean;
|
|
12109
|
+
type: string;
|
|
12110
|
+
};
|
|
12111
|
+
last_name: {
|
|
12112
|
+
nullable: boolean;
|
|
12113
|
+
type: string;
|
|
12114
|
+
};
|
|
11931
12115
|
user_identity_id: {
|
|
11932
12116
|
format: string;
|
|
11933
12117
|
type: string;
|
|
@@ -12032,6 +12216,14 @@ declare const _default: {
|
|
|
12032
12216
|
nullable: boolean;
|
|
12033
12217
|
type: string;
|
|
12034
12218
|
};
|
|
12219
|
+
first_name: {
|
|
12220
|
+
nullable: boolean;
|
|
12221
|
+
type: string;
|
|
12222
|
+
};
|
|
12223
|
+
last_name: {
|
|
12224
|
+
nullable: boolean;
|
|
12225
|
+
type: string;
|
|
12226
|
+
};
|
|
12035
12227
|
user_identity_id: {
|
|
12036
12228
|
format: string;
|
|
12037
12229
|
type: string;
|