@seamapi/types 1.44.0 → 1.45.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 +24 -182
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +45 -330
- package/lib/seam/connect/openapi.d.ts +41 -280
- package/lib/seam/connect/openapi.js +22 -180
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4 -50
- package/lib/seam/connect/unstable/models/acs/credential.d.ts +3 -0
- package/lib/seam/connect/unstable/models/acs/credential.js +1 -1
- package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +22 -180
- package/src/lib/seam/connect/route-types.ts +4 -57
- package/src/lib/seam/connect/unstable/models/acs/credential.ts +1 -1
package/dist/connect.d.cts
CHANGED
|
@@ -2271,6 +2271,16 @@ declare const _default: {
|
|
|
2271
2271
|
scheme: string;
|
|
2272
2272
|
type: string;
|
|
2273
2273
|
};
|
|
2274
|
+
api_key: {
|
|
2275
|
+
bearerFormat: string;
|
|
2276
|
+
scheme: string;
|
|
2277
|
+
type: string;
|
|
2278
|
+
};
|
|
2279
|
+
client_session: {
|
|
2280
|
+
bearerFormat: string;
|
|
2281
|
+
scheme: string;
|
|
2282
|
+
type: string;
|
|
2283
|
+
};
|
|
2274
2284
|
client_session_token: {
|
|
2275
2285
|
in: string;
|
|
2276
2286
|
name: string;
|
|
@@ -2286,6 +2296,11 @@ declare const _default: {
|
|
|
2286
2296
|
name: string;
|
|
2287
2297
|
type: string;
|
|
2288
2298
|
};
|
|
2299
|
+
user_session: {
|
|
2300
|
+
bearerFormat: string;
|
|
2301
|
+
scheme: string;
|
|
2302
|
+
type: string;
|
|
2303
|
+
};
|
|
2289
2304
|
};
|
|
2290
2305
|
};
|
|
2291
2306
|
info: {
|
|
@@ -2860,20 +2875,25 @@ declare const _default: {
|
|
|
2860
2875
|
};
|
|
2861
2876
|
};
|
|
2862
2877
|
security: ({
|
|
2878
|
+
api_key: never[];
|
|
2879
|
+
access_token?: never;
|
|
2880
|
+
user_session?: never;
|
|
2881
|
+
client_session?: never;
|
|
2882
|
+
} | {
|
|
2863
2883
|
access_token: never[];
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2884
|
+
api_key?: never;
|
|
2885
|
+
user_session?: never;
|
|
2886
|
+
client_session?: never;
|
|
2867
2887
|
} | {
|
|
2868
|
-
|
|
2888
|
+
user_session: never[];
|
|
2889
|
+
api_key?: never;
|
|
2869
2890
|
access_token?: never;
|
|
2870
|
-
|
|
2871
|
-
client_session_token?: never;
|
|
2891
|
+
client_session?: never;
|
|
2872
2892
|
} | {
|
|
2873
|
-
|
|
2893
|
+
client_session: never[];
|
|
2894
|
+
api_key?: never;
|
|
2874
2895
|
access_token?: never;
|
|
2875
|
-
|
|
2876
|
-
seam_client_session_token?: never;
|
|
2896
|
+
user_session?: never;
|
|
2877
2897
|
})[];
|
|
2878
2898
|
summary: string;
|
|
2879
2899
|
tags: string[];
|
|
@@ -4148,142 +4168,6 @@ declare const _default: {
|
|
|
4148
4168
|
'x-fern-ignore': boolean;
|
|
4149
4169
|
};
|
|
4150
4170
|
};
|
|
4151
|
-
'/acs/access_groups/create': {
|
|
4152
|
-
post: {
|
|
4153
|
-
operationId: string;
|
|
4154
|
-
requestBody: {
|
|
4155
|
-
content: {
|
|
4156
|
-
'application/json': {
|
|
4157
|
-
schema: {
|
|
4158
|
-
properties: {
|
|
4159
|
-
acs_system_id: {
|
|
4160
|
-
format: string;
|
|
4161
|
-
type: string;
|
|
4162
|
-
};
|
|
4163
|
-
name: {
|
|
4164
|
-
type: string;
|
|
4165
|
-
};
|
|
4166
|
-
};
|
|
4167
|
-
required: string[];
|
|
4168
|
-
type: string;
|
|
4169
|
-
};
|
|
4170
|
-
};
|
|
4171
|
-
};
|
|
4172
|
-
};
|
|
4173
|
-
responses: {
|
|
4174
|
-
200: {
|
|
4175
|
-
content: {
|
|
4176
|
-
'application/json': {
|
|
4177
|
-
schema: {
|
|
4178
|
-
properties: {
|
|
4179
|
-
acs_access_group: {
|
|
4180
|
-
$ref: string;
|
|
4181
|
-
};
|
|
4182
|
-
ok: {
|
|
4183
|
-
type: string;
|
|
4184
|
-
};
|
|
4185
|
-
};
|
|
4186
|
-
required: string[];
|
|
4187
|
-
type: string;
|
|
4188
|
-
};
|
|
4189
|
-
};
|
|
4190
|
-
};
|
|
4191
|
-
description: string;
|
|
4192
|
-
};
|
|
4193
|
-
400: {
|
|
4194
|
-
description: string;
|
|
4195
|
-
};
|
|
4196
|
-
401: {
|
|
4197
|
-
description: string;
|
|
4198
|
-
};
|
|
4199
|
-
};
|
|
4200
|
-
security: ({
|
|
4201
|
-
access_token: never[];
|
|
4202
|
-
seam_workspace: never[];
|
|
4203
|
-
seam_client_session_token?: never;
|
|
4204
|
-
client_session_token?: never;
|
|
4205
|
-
} | {
|
|
4206
|
-
seam_client_session_token: never[];
|
|
4207
|
-
access_token?: never;
|
|
4208
|
-
seam_workspace?: never;
|
|
4209
|
-
client_session_token?: never;
|
|
4210
|
-
} | {
|
|
4211
|
-
client_session_token: never[];
|
|
4212
|
-
access_token?: never;
|
|
4213
|
-
seam_workspace?: never;
|
|
4214
|
-
seam_client_session_token?: never;
|
|
4215
|
-
})[];
|
|
4216
|
-
summary: string;
|
|
4217
|
-
tags: never[];
|
|
4218
|
-
'x-fern-sdk-group-name': string[];
|
|
4219
|
-
'x-fern-sdk-method-name': string;
|
|
4220
|
-
};
|
|
4221
|
-
};
|
|
4222
|
-
'/acs/access_groups/delete': {
|
|
4223
|
-
post: {
|
|
4224
|
-
operationId: string;
|
|
4225
|
-
requestBody: {
|
|
4226
|
-
content: {
|
|
4227
|
-
'application/json': {
|
|
4228
|
-
schema: {
|
|
4229
|
-
properties: {
|
|
4230
|
-
acs_access_group_id: {
|
|
4231
|
-
format: string;
|
|
4232
|
-
type: string;
|
|
4233
|
-
};
|
|
4234
|
-
};
|
|
4235
|
-
required: string[];
|
|
4236
|
-
type: string;
|
|
4237
|
-
};
|
|
4238
|
-
};
|
|
4239
|
-
};
|
|
4240
|
-
};
|
|
4241
|
-
responses: {
|
|
4242
|
-
200: {
|
|
4243
|
-
content: {
|
|
4244
|
-
'application/json': {
|
|
4245
|
-
schema: {
|
|
4246
|
-
properties: {
|
|
4247
|
-
ok: {
|
|
4248
|
-
type: string;
|
|
4249
|
-
};
|
|
4250
|
-
};
|
|
4251
|
-
required: string[];
|
|
4252
|
-
type: string;
|
|
4253
|
-
};
|
|
4254
|
-
};
|
|
4255
|
-
};
|
|
4256
|
-
description: string;
|
|
4257
|
-
};
|
|
4258
|
-
400: {
|
|
4259
|
-
description: string;
|
|
4260
|
-
};
|
|
4261
|
-
401: {
|
|
4262
|
-
description: string;
|
|
4263
|
-
};
|
|
4264
|
-
};
|
|
4265
|
-
security: ({
|
|
4266
|
-
access_token: never[];
|
|
4267
|
-
seam_workspace: never[];
|
|
4268
|
-
seam_client_session_token?: never;
|
|
4269
|
-
client_session_token?: never;
|
|
4270
|
-
} | {
|
|
4271
|
-
seam_client_session_token: never[];
|
|
4272
|
-
access_token?: never;
|
|
4273
|
-
seam_workspace?: never;
|
|
4274
|
-
client_session_token?: never;
|
|
4275
|
-
} | {
|
|
4276
|
-
client_session_token: never[];
|
|
4277
|
-
access_token?: never;
|
|
4278
|
-
seam_workspace?: never;
|
|
4279
|
-
seam_client_session_token?: never;
|
|
4280
|
-
})[];
|
|
4281
|
-
summary: string;
|
|
4282
|
-
tags: never[];
|
|
4283
|
-
'x-fern-sdk-group-name': string[];
|
|
4284
|
-
'x-fern-sdk-method-name': string;
|
|
4285
|
-
};
|
|
4286
|
-
};
|
|
4287
4171
|
'/acs/access_groups/get': {
|
|
4288
4172
|
post: {
|
|
4289
4173
|
operationId: string;
|
|
@@ -4566,141 +4450,6 @@ declare const _default: {
|
|
|
4566
4450
|
'x-fern-sdk-method-name': string;
|
|
4567
4451
|
};
|
|
4568
4452
|
};
|
|
4569
|
-
'/acs/access_groups/update': {
|
|
4570
|
-
patch: {
|
|
4571
|
-
operationId: string;
|
|
4572
|
-
requestBody: {
|
|
4573
|
-
content: {
|
|
4574
|
-
'application/json': {
|
|
4575
|
-
schema: {
|
|
4576
|
-
properties: {
|
|
4577
|
-
acs_access_group_id: {
|
|
4578
|
-
format: string;
|
|
4579
|
-
type: string;
|
|
4580
|
-
};
|
|
4581
|
-
name: {
|
|
4582
|
-
nullable: boolean;
|
|
4583
|
-
type: string;
|
|
4584
|
-
};
|
|
4585
|
-
};
|
|
4586
|
-
required: string[];
|
|
4587
|
-
type: string;
|
|
4588
|
-
};
|
|
4589
|
-
};
|
|
4590
|
-
};
|
|
4591
|
-
};
|
|
4592
|
-
responses: {
|
|
4593
|
-
200: {
|
|
4594
|
-
content: {
|
|
4595
|
-
'application/json': {
|
|
4596
|
-
schema: {
|
|
4597
|
-
properties: {
|
|
4598
|
-
ok: {
|
|
4599
|
-
type: string;
|
|
4600
|
-
};
|
|
4601
|
-
};
|
|
4602
|
-
required: string[];
|
|
4603
|
-
type: string;
|
|
4604
|
-
};
|
|
4605
|
-
};
|
|
4606
|
-
};
|
|
4607
|
-
description: string;
|
|
4608
|
-
};
|
|
4609
|
-
400: {
|
|
4610
|
-
description: string;
|
|
4611
|
-
};
|
|
4612
|
-
401: {
|
|
4613
|
-
description: string;
|
|
4614
|
-
};
|
|
4615
|
-
};
|
|
4616
|
-
security: ({
|
|
4617
|
-
access_token: never[];
|
|
4618
|
-
seam_workspace: never[];
|
|
4619
|
-
seam_client_session_token?: never;
|
|
4620
|
-
client_session_token?: never;
|
|
4621
|
-
} | {
|
|
4622
|
-
seam_client_session_token: never[];
|
|
4623
|
-
access_token?: never;
|
|
4624
|
-
seam_workspace?: never;
|
|
4625
|
-
client_session_token?: never;
|
|
4626
|
-
} | {
|
|
4627
|
-
client_session_token: never[];
|
|
4628
|
-
access_token?: never;
|
|
4629
|
-
seam_workspace?: never;
|
|
4630
|
-
seam_client_session_token?: never;
|
|
4631
|
-
})[];
|
|
4632
|
-
summary: string;
|
|
4633
|
-
tags: never[];
|
|
4634
|
-
'x-fern-ignore': boolean;
|
|
4635
|
-
};
|
|
4636
|
-
post: {
|
|
4637
|
-
operationId: string;
|
|
4638
|
-
requestBody: {
|
|
4639
|
-
content: {
|
|
4640
|
-
'application/json': {
|
|
4641
|
-
schema: {
|
|
4642
|
-
properties: {
|
|
4643
|
-
acs_access_group_id: {
|
|
4644
|
-
format: string;
|
|
4645
|
-
type: string;
|
|
4646
|
-
};
|
|
4647
|
-
name: {
|
|
4648
|
-
nullable: boolean;
|
|
4649
|
-
type: string;
|
|
4650
|
-
};
|
|
4651
|
-
};
|
|
4652
|
-
required: string[];
|
|
4653
|
-
type: string;
|
|
4654
|
-
};
|
|
4655
|
-
};
|
|
4656
|
-
};
|
|
4657
|
-
};
|
|
4658
|
-
responses: {
|
|
4659
|
-
200: {
|
|
4660
|
-
content: {
|
|
4661
|
-
'application/json': {
|
|
4662
|
-
schema: {
|
|
4663
|
-
properties: {
|
|
4664
|
-
ok: {
|
|
4665
|
-
type: string;
|
|
4666
|
-
};
|
|
4667
|
-
};
|
|
4668
|
-
required: string[];
|
|
4669
|
-
type: string;
|
|
4670
|
-
};
|
|
4671
|
-
};
|
|
4672
|
-
};
|
|
4673
|
-
description: string;
|
|
4674
|
-
};
|
|
4675
|
-
400: {
|
|
4676
|
-
description: string;
|
|
4677
|
-
};
|
|
4678
|
-
401: {
|
|
4679
|
-
description: string;
|
|
4680
|
-
};
|
|
4681
|
-
};
|
|
4682
|
-
security: ({
|
|
4683
|
-
access_token: never[];
|
|
4684
|
-
seam_workspace: never[];
|
|
4685
|
-
seam_client_session_token?: never;
|
|
4686
|
-
client_session_token?: never;
|
|
4687
|
-
} | {
|
|
4688
|
-
seam_client_session_token: never[];
|
|
4689
|
-
access_token?: never;
|
|
4690
|
-
seam_workspace?: never;
|
|
4691
|
-
client_session_token?: never;
|
|
4692
|
-
} | {
|
|
4693
|
-
client_session_token: never[];
|
|
4694
|
-
access_token?: never;
|
|
4695
|
-
seam_workspace?: never;
|
|
4696
|
-
seam_client_session_token?: never;
|
|
4697
|
-
})[];
|
|
4698
|
-
summary: string;
|
|
4699
|
-
tags: never[];
|
|
4700
|
-
'x-fern-sdk-group-name': string[];
|
|
4701
|
-
'x-fern-sdk-method-name': string;
|
|
4702
|
-
};
|
|
4703
|
-
};
|
|
4704
4453
|
'/acs/credentials/assign': {
|
|
4705
4454
|
patch: {
|
|
4706
4455
|
operationId: string;
|
|
@@ -4887,6 +4636,10 @@ declare const _default: {
|
|
|
4887
4636
|
format: string;
|
|
4888
4637
|
type: string;
|
|
4889
4638
|
};
|
|
4639
|
+
display_name: {
|
|
4640
|
+
minLength: number;
|
|
4641
|
+
type: string;
|
|
4642
|
+
};
|
|
4890
4643
|
external_type: {
|
|
4891
4644
|
enum: string[];
|
|
4892
4645
|
type: string;
|
|
@@ -5054,6 +4807,10 @@ declare const _default: {
|
|
|
5054
4807
|
format: string;
|
|
5055
4808
|
type: string;
|
|
5056
4809
|
};
|
|
4810
|
+
display_name: {
|
|
4811
|
+
minLength: number;
|
|
4812
|
+
type: string;
|
|
4813
|
+
};
|
|
5057
4814
|
external_type: {
|
|
5058
4815
|
enum: string[];
|
|
5059
4816
|
type: string;
|
|
@@ -5183,6 +4940,10 @@ declare const _default: {
|
|
|
5183
4940
|
format: string;
|
|
5184
4941
|
type: string;
|
|
5185
4942
|
};
|
|
4943
|
+
display_name: {
|
|
4944
|
+
minLength: number;
|
|
4945
|
+
type: string;
|
|
4946
|
+
};
|
|
5186
4947
|
external_type: {
|
|
5187
4948
|
enum: string[];
|
|
5188
4949
|
type: string;
|
|
@@ -13282,43 +13043,6 @@ interface Routes {
|
|
|
13282
13043
|
formData: {};
|
|
13283
13044
|
jsonResponse: {};
|
|
13284
13045
|
};
|
|
13285
|
-
'/acs/access_groups/create': {
|
|
13286
|
-
route: '/acs/access_groups/create';
|
|
13287
|
-
method: 'POST';
|
|
13288
|
-
queryParams: {};
|
|
13289
|
-
jsonBody: {};
|
|
13290
|
-
commonParams: {
|
|
13291
|
-
acs_system_id: string;
|
|
13292
|
-
name?: string | undefined;
|
|
13293
|
-
};
|
|
13294
|
-
formData: {};
|
|
13295
|
-
jsonResponse: {
|
|
13296
|
-
acs_access_group: {
|
|
13297
|
-
acs_access_group_id: string;
|
|
13298
|
-
acs_system_id: string;
|
|
13299
|
-
workspace_id: string;
|
|
13300
|
-
name: string;
|
|
13301
|
-
/** deprecated: use external_type */
|
|
13302
|
-
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
|
|
13303
|
-
/** deprecated: use external_type_display_name */
|
|
13304
|
-
access_group_type_display_name: string;
|
|
13305
|
-
external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
|
|
13306
|
-
external_type_display_name: string;
|
|
13307
|
-
created_at: string;
|
|
13308
|
-
};
|
|
13309
|
-
};
|
|
13310
|
-
};
|
|
13311
|
-
'/acs/access_groups/delete': {
|
|
13312
|
-
route: '/acs/access_groups/delete';
|
|
13313
|
-
method: 'DELETE' | 'POST';
|
|
13314
|
-
queryParams: {};
|
|
13315
|
-
jsonBody: {};
|
|
13316
|
-
commonParams: {
|
|
13317
|
-
acs_access_group_id: string;
|
|
13318
|
-
};
|
|
13319
|
-
formData: {};
|
|
13320
|
-
jsonResponse: {};
|
|
13321
|
-
};
|
|
13322
13046
|
'/acs/access_groups/get': {
|
|
13323
13047
|
route: '/acs/access_groups/get';
|
|
13324
13048
|
method: 'GET' | 'POST';
|
|
@@ -13409,18 +13133,6 @@ interface Routes {
|
|
|
13409
13133
|
formData: {};
|
|
13410
13134
|
jsonResponse: {};
|
|
13411
13135
|
};
|
|
13412
|
-
'/acs/access_groups/update': {
|
|
13413
|
-
route: '/acs/access_groups/update';
|
|
13414
|
-
method: 'PATCH' | 'POST';
|
|
13415
|
-
queryParams: {};
|
|
13416
|
-
jsonBody: {};
|
|
13417
|
-
commonParams: {
|
|
13418
|
-
acs_access_group_id: string;
|
|
13419
|
-
name?: (string | null) | undefined;
|
|
13420
|
-
};
|
|
13421
|
-
formData: {};
|
|
13422
|
-
jsonResponse: {};
|
|
13423
|
-
};
|
|
13424
13136
|
'/acs/credentials/assign': {
|
|
13425
13137
|
route: '/acs/credentials/assign';
|
|
13426
13138
|
method: 'PATCH' | 'POST';
|
|
@@ -13448,6 +13160,7 @@ interface Routes {
|
|
|
13448
13160
|
acs_credential_id: string;
|
|
13449
13161
|
acs_user_id?: string | undefined;
|
|
13450
13162
|
acs_system_id: string;
|
|
13163
|
+
display_name: string;
|
|
13451
13164
|
code: string | null;
|
|
13452
13165
|
external_type: 'pti_card' | 'brivo_credential';
|
|
13453
13166
|
external_type_display_name: string;
|
|
@@ -13481,6 +13194,7 @@ interface Routes {
|
|
|
13481
13194
|
acs_credential_id: string;
|
|
13482
13195
|
acs_user_id?: string | undefined;
|
|
13483
13196
|
acs_system_id: string;
|
|
13197
|
+
display_name: string;
|
|
13484
13198
|
code: string | null;
|
|
13485
13199
|
external_type: 'pti_card' | 'brivo_credential';
|
|
13486
13200
|
external_type_display_name: string;
|
|
@@ -13508,6 +13222,7 @@ interface Routes {
|
|
|
13508
13222
|
acs_credential_id: string;
|
|
13509
13223
|
acs_user_id?: string | undefined;
|
|
13510
13224
|
acs_system_id: string;
|
|
13225
|
+
display_name: string;
|
|
13511
13226
|
code: string | null;
|
|
13512
13227
|
external_type: 'pti_card' | 'brivo_credential';
|
|
13513
13228
|
external_type_display_name: string;
|
|
@@ -13956,7 +13671,7 @@ interface Routes {
|
|
|
13956
13671
|
device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
|
|
13957
13672
|
custom_redirect_url?: string | undefined;
|
|
13958
13673
|
custom_redirect_failure_url?: string | undefined;
|
|
13959
|
-
accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'yale_access'> | undefined;
|
|
13674
|
+
accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'yale_access' | 'hid_cm'> | undefined;
|
|
13960
13675
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
|
|
13961
13676
|
custom_metadata?: Record<string, string | number | null | boolean> | undefined;
|
|
13962
13677
|
automatically_manage_new_devices?: boolean | undefined;
|