@seamapi/types 1.51.0 → 1.52.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 +225 -32
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +526 -49
- package/lib/seam/connect/openapi.d.ts +199 -12
- package/lib/seam/connect/openapi.js +224 -31
- 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 +244 -31
- 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;
|
|
@@ -5511,6 +5556,119 @@ declare const _default: {
|
|
|
5511
5556
|
'x-fern-sdk-method-name': string;
|
|
5512
5557
|
};
|
|
5513
5558
|
};
|
|
5559
|
+
'/acs/credentials/update': {
|
|
5560
|
+
post: {
|
|
5561
|
+
operationId: string;
|
|
5562
|
+
requestBody: {
|
|
5563
|
+
content: {
|
|
5564
|
+
'application/json': {
|
|
5565
|
+
schema: {
|
|
5566
|
+
properties: {
|
|
5567
|
+
code: {
|
|
5568
|
+
pattern: string;
|
|
5569
|
+
type: string;
|
|
5570
|
+
};
|
|
5571
|
+
name: {
|
|
5572
|
+
maxLength: number;
|
|
5573
|
+
type: string;
|
|
5574
|
+
};
|
|
5575
|
+
};
|
|
5576
|
+
type: string;
|
|
5577
|
+
};
|
|
5578
|
+
};
|
|
5579
|
+
};
|
|
5580
|
+
};
|
|
5581
|
+
responses: {
|
|
5582
|
+
200: {
|
|
5583
|
+
content: {
|
|
5584
|
+
'application/json': {
|
|
5585
|
+
schema: {
|
|
5586
|
+
properties: {
|
|
5587
|
+
acs_credential: {
|
|
5588
|
+
properties: {
|
|
5589
|
+
acs_credential_id: {
|
|
5590
|
+
format: string;
|
|
5591
|
+
type: string;
|
|
5592
|
+
};
|
|
5593
|
+
acs_credential_pool_id: {
|
|
5594
|
+
format: string;
|
|
5595
|
+
type: string;
|
|
5596
|
+
};
|
|
5597
|
+
acs_system_id: {
|
|
5598
|
+
format: string;
|
|
5599
|
+
type: string;
|
|
5600
|
+
};
|
|
5601
|
+
acs_user_id: {
|
|
5602
|
+
format: string;
|
|
5603
|
+
type: string;
|
|
5604
|
+
};
|
|
5605
|
+
code: {
|
|
5606
|
+
nullable: boolean;
|
|
5607
|
+
type: string;
|
|
5608
|
+
};
|
|
5609
|
+
created_at: {
|
|
5610
|
+
format: string;
|
|
5611
|
+
type: string;
|
|
5612
|
+
};
|
|
5613
|
+
display_name: {
|
|
5614
|
+
minLength: number;
|
|
5615
|
+
type: string;
|
|
5616
|
+
};
|
|
5617
|
+
external_type: {
|
|
5618
|
+
enum: string[];
|
|
5619
|
+
type: string;
|
|
5620
|
+
};
|
|
5621
|
+
external_type_display_name: {
|
|
5622
|
+
type: string;
|
|
5623
|
+
};
|
|
5624
|
+
workspace_id: {
|
|
5625
|
+
format: string;
|
|
5626
|
+
type: string;
|
|
5627
|
+
};
|
|
5628
|
+
};
|
|
5629
|
+
required: string[];
|
|
5630
|
+
type: string;
|
|
5631
|
+
};
|
|
5632
|
+
ok: {
|
|
5633
|
+
type: string;
|
|
5634
|
+
};
|
|
5635
|
+
};
|
|
5636
|
+
required: string[];
|
|
5637
|
+
type: string;
|
|
5638
|
+
};
|
|
5639
|
+
};
|
|
5640
|
+
};
|
|
5641
|
+
description: string;
|
|
5642
|
+
};
|
|
5643
|
+
400: {
|
|
5644
|
+
description: string;
|
|
5645
|
+
};
|
|
5646
|
+
401: {
|
|
5647
|
+
description: string;
|
|
5648
|
+
};
|
|
5649
|
+
};
|
|
5650
|
+
security: ({
|
|
5651
|
+
access_token: never[];
|
|
5652
|
+
seam_workspace: never[];
|
|
5653
|
+
seam_client_session_token?: never;
|
|
5654
|
+
client_session_token?: never;
|
|
5655
|
+
} | {
|
|
5656
|
+
seam_client_session_token: never[];
|
|
5657
|
+
access_token?: never;
|
|
5658
|
+
seam_workspace?: never;
|
|
5659
|
+
client_session_token?: never;
|
|
5660
|
+
} | {
|
|
5661
|
+
client_session_token: never[];
|
|
5662
|
+
access_token?: never;
|
|
5663
|
+
seam_workspace?: never;
|
|
5664
|
+
seam_client_session_token?: never;
|
|
5665
|
+
})[];
|
|
5666
|
+
summary: string;
|
|
5667
|
+
tags: never[];
|
|
5668
|
+
'x-fern-sdk-group-name': string[];
|
|
5669
|
+
'x-fern-sdk-method-name': string;
|
|
5670
|
+
};
|
|
5671
|
+
};
|
|
5514
5672
|
'/acs/entrances/get': {
|
|
5515
5673
|
post: {
|
|
5516
5674
|
operationId: string;
|
|
@@ -6986,20 +7144,25 @@ declare const _default: {
|
|
|
6986
7144
|
};
|
|
6987
7145
|
};
|
|
6988
7146
|
security: ({
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
|
|
7147
|
+
client_session: never[];
|
|
7148
|
+
pat_with_workspace?: never;
|
|
7149
|
+
console_session?: never;
|
|
7150
|
+
api_key?: never;
|
|
6993
7151
|
} | {
|
|
6994
|
-
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
7152
|
+
pat_with_workspace: never[];
|
|
7153
|
+
client_session?: never;
|
|
7154
|
+
console_session?: never;
|
|
7155
|
+
api_key?: never;
|
|
6998
7156
|
} | {
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7157
|
+
console_session: never[];
|
|
7158
|
+
client_session?: never;
|
|
7159
|
+
pat_with_workspace?: never;
|
|
7160
|
+
api_key?: never;
|
|
7161
|
+
} | {
|
|
7162
|
+
api_key: never[];
|
|
7163
|
+
client_session?: never;
|
|
7164
|
+
pat_with_workspace?: never;
|
|
7165
|
+
console_session?: never;
|
|
7003
7166
|
})[];
|
|
7004
7167
|
summary: string;
|
|
7005
7168
|
tags: string[];
|
|
@@ -11898,6 +12061,14 @@ declare const _default: {
|
|
|
11898
12061
|
nullable: boolean;
|
|
11899
12062
|
type: string;
|
|
11900
12063
|
};
|
|
12064
|
+
first_name: {
|
|
12065
|
+
nullable: boolean;
|
|
12066
|
+
type: string;
|
|
12067
|
+
};
|
|
12068
|
+
last_name: {
|
|
12069
|
+
nullable: boolean;
|
|
12070
|
+
type: string;
|
|
12071
|
+
};
|
|
11901
12072
|
user_identity_key: {
|
|
11902
12073
|
nullable: boolean;
|
|
11903
12074
|
type: string;
|
|
@@ -11928,6 +12099,14 @@ declare const _default: {
|
|
|
11928
12099
|
nullable: boolean;
|
|
11929
12100
|
type: string;
|
|
11930
12101
|
};
|
|
12102
|
+
first_name: {
|
|
12103
|
+
nullable: boolean;
|
|
12104
|
+
type: string;
|
|
12105
|
+
};
|
|
12106
|
+
last_name: {
|
|
12107
|
+
nullable: boolean;
|
|
12108
|
+
type: string;
|
|
12109
|
+
};
|
|
11931
12110
|
user_identity_id: {
|
|
11932
12111
|
format: string;
|
|
11933
12112
|
type: string;
|
|
@@ -12032,6 +12211,14 @@ declare const _default: {
|
|
|
12032
12211
|
nullable: boolean;
|
|
12033
12212
|
type: string;
|
|
12034
12213
|
};
|
|
12214
|
+
first_name: {
|
|
12215
|
+
nullable: boolean;
|
|
12216
|
+
type: string;
|
|
12217
|
+
};
|
|
12218
|
+
last_name: {
|
|
12219
|
+
nullable: boolean;
|
|
12220
|
+
type: string;
|
|
12221
|
+
};
|
|
12035
12222
|
user_identity_id: {
|
|
12036
12223
|
format: string;
|
|
12037
12224
|
type: string;
|