@seamapi/types 1.45.0 → 1.47.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 +204 -7
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +324 -10
- package/lib/seam/connect/openapi.d.ts +266 -0
- package/lib/seam/connect/openapi.js +204 -7
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +58 -10
- package/lib/seam/connect/unstable/models/acs/entrance.d.ts +18 -0
- package/lib/seam/connect/unstable/models/acs/entrance.js +8 -0
- package/lib/seam/connect/unstable/models/acs/entrance.js.map +1 -0
- package/lib/seam/connect/unstable/models/acs/index.d.ts +1 -0
- package/lib/seam/connect/unstable/models/acs/index.js +1 -0
- package/lib/seam/connect/unstable/models/acs/index.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/system.d.ts +7 -7
- package/lib/seam/connect/unstable/models/acs/system.js +2 -0
- package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/user.d.ts +4 -4
- package/lib/seam/connect/unstable/models/acs/user.js +5 -1
- package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
- package/lib/seam/connect/unstable/schemas.d.ts +1 -1
- package/lib/seam/connect/unstable/schemas.js +1 -1
- package/lib/seam/connect/unstable/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +204 -7
- package/src/lib/seam/connect/route-types.ts +78 -10
- package/src/lib/seam/connect/unstable/models/acs/entrance.ts +10 -0
- package/src/lib/seam/connect/unstable/models/acs/index.ts +1 -0
- package/src/lib/seam/connect/unstable/models/acs/system.ts +2 -0
- package/src/lib/seam/connect/unstable/models/acs/user.ts +5 -1
- package/src/lib/seam/connect/unstable/schemas.ts +1 -0
package/dist/connect.d.cts
CHANGED
|
@@ -5030,6 +5030,47 @@ declare const _default: {
|
|
|
5030
5030
|
'application/json': {
|
|
5031
5031
|
schema: {
|
|
5032
5032
|
properties: {
|
|
5033
|
+
acs_credential: {
|
|
5034
|
+
properties: {
|
|
5035
|
+
acs_credential_id: {
|
|
5036
|
+
format: string;
|
|
5037
|
+
type: string;
|
|
5038
|
+
};
|
|
5039
|
+
acs_system_id: {
|
|
5040
|
+
format: string;
|
|
5041
|
+
type: string;
|
|
5042
|
+
};
|
|
5043
|
+
acs_user_id: {
|
|
5044
|
+
format: string;
|
|
5045
|
+
type: string;
|
|
5046
|
+
};
|
|
5047
|
+
code: {
|
|
5048
|
+
nullable: boolean;
|
|
5049
|
+
type: string;
|
|
5050
|
+
};
|
|
5051
|
+
created_at: {
|
|
5052
|
+
format: string;
|
|
5053
|
+
type: string;
|
|
5054
|
+
};
|
|
5055
|
+
display_name: {
|
|
5056
|
+
minLength: number;
|
|
5057
|
+
type: string;
|
|
5058
|
+
};
|
|
5059
|
+
external_type: {
|
|
5060
|
+
enum: string[];
|
|
5061
|
+
type: string;
|
|
5062
|
+
};
|
|
5063
|
+
external_type_display_name: {
|
|
5064
|
+
type: string;
|
|
5065
|
+
};
|
|
5066
|
+
workspace_id: {
|
|
5067
|
+
format: string;
|
|
5068
|
+
type: string;
|
|
5069
|
+
};
|
|
5070
|
+
};
|
|
5071
|
+
required: string[];
|
|
5072
|
+
type: string;
|
|
5073
|
+
};
|
|
5033
5074
|
ok: {
|
|
5034
5075
|
type: string;
|
|
5035
5076
|
};
|
|
@@ -5096,6 +5137,47 @@ declare const _default: {
|
|
|
5096
5137
|
'application/json': {
|
|
5097
5138
|
schema: {
|
|
5098
5139
|
properties: {
|
|
5140
|
+
acs_credential: {
|
|
5141
|
+
properties: {
|
|
5142
|
+
acs_credential_id: {
|
|
5143
|
+
format: string;
|
|
5144
|
+
type: string;
|
|
5145
|
+
};
|
|
5146
|
+
acs_system_id: {
|
|
5147
|
+
format: string;
|
|
5148
|
+
type: string;
|
|
5149
|
+
};
|
|
5150
|
+
acs_user_id: {
|
|
5151
|
+
format: string;
|
|
5152
|
+
type: string;
|
|
5153
|
+
};
|
|
5154
|
+
code: {
|
|
5155
|
+
nullable: boolean;
|
|
5156
|
+
type: string;
|
|
5157
|
+
};
|
|
5158
|
+
created_at: {
|
|
5159
|
+
format: string;
|
|
5160
|
+
type: string;
|
|
5161
|
+
};
|
|
5162
|
+
display_name: {
|
|
5163
|
+
minLength: number;
|
|
5164
|
+
type: string;
|
|
5165
|
+
};
|
|
5166
|
+
external_type: {
|
|
5167
|
+
enum: string[];
|
|
5168
|
+
type: string;
|
|
5169
|
+
};
|
|
5170
|
+
external_type_display_name: {
|
|
5171
|
+
type: string;
|
|
5172
|
+
};
|
|
5173
|
+
workspace_id: {
|
|
5174
|
+
format: string;
|
|
5175
|
+
type: string;
|
|
5176
|
+
};
|
|
5177
|
+
};
|
|
5178
|
+
required: string[];
|
|
5179
|
+
type: string;
|
|
5180
|
+
};
|
|
5099
5181
|
ok: {
|
|
5100
5182
|
type: string;
|
|
5101
5183
|
};
|
|
@@ -5136,6 +5218,190 @@ declare const _default: {
|
|
|
5136
5218
|
'x-fern-sdk-method-name': string;
|
|
5137
5219
|
};
|
|
5138
5220
|
};
|
|
5221
|
+
'/acs/entrances/get': {
|
|
5222
|
+
post: {
|
|
5223
|
+
operationId: string;
|
|
5224
|
+
requestBody: {
|
|
5225
|
+
content: {
|
|
5226
|
+
'application/json': {
|
|
5227
|
+
schema: {
|
|
5228
|
+
properties: {
|
|
5229
|
+
acs_entrance_id: {
|
|
5230
|
+
format: string;
|
|
5231
|
+
type: string;
|
|
5232
|
+
};
|
|
5233
|
+
};
|
|
5234
|
+
required: string[];
|
|
5235
|
+
type: string;
|
|
5236
|
+
};
|
|
5237
|
+
};
|
|
5238
|
+
};
|
|
5239
|
+
};
|
|
5240
|
+
responses: {
|
|
5241
|
+
200: {
|
|
5242
|
+
content: {
|
|
5243
|
+
'application/json': {
|
|
5244
|
+
schema: {
|
|
5245
|
+
properties: {
|
|
5246
|
+
acs_entrance: {
|
|
5247
|
+
properties: {
|
|
5248
|
+
acs_entrance_id: {
|
|
5249
|
+
format: string;
|
|
5250
|
+
type: string;
|
|
5251
|
+
};
|
|
5252
|
+
acs_system_id: {
|
|
5253
|
+
format: string;
|
|
5254
|
+
type: string;
|
|
5255
|
+
};
|
|
5256
|
+
created_at: {
|
|
5257
|
+
format: string;
|
|
5258
|
+
type: string;
|
|
5259
|
+
};
|
|
5260
|
+
display_name: {
|
|
5261
|
+
type: string;
|
|
5262
|
+
};
|
|
5263
|
+
};
|
|
5264
|
+
required: string[];
|
|
5265
|
+
type: string;
|
|
5266
|
+
};
|
|
5267
|
+
ok: {
|
|
5268
|
+
type: string;
|
|
5269
|
+
};
|
|
5270
|
+
};
|
|
5271
|
+
required: string[];
|
|
5272
|
+
type: string;
|
|
5273
|
+
};
|
|
5274
|
+
};
|
|
5275
|
+
};
|
|
5276
|
+
description: string;
|
|
5277
|
+
};
|
|
5278
|
+
400: {
|
|
5279
|
+
description: string;
|
|
5280
|
+
};
|
|
5281
|
+
401: {
|
|
5282
|
+
description: string;
|
|
5283
|
+
};
|
|
5284
|
+
};
|
|
5285
|
+
security: ({
|
|
5286
|
+
api_key: never[];
|
|
5287
|
+
access_token?: never;
|
|
5288
|
+
user_session?: never;
|
|
5289
|
+
client_session?: never;
|
|
5290
|
+
} | {
|
|
5291
|
+
access_token: never[];
|
|
5292
|
+
api_key?: never;
|
|
5293
|
+
user_session?: never;
|
|
5294
|
+
client_session?: never;
|
|
5295
|
+
} | {
|
|
5296
|
+
user_session: never[];
|
|
5297
|
+
api_key?: never;
|
|
5298
|
+
access_token?: never;
|
|
5299
|
+
client_session?: never;
|
|
5300
|
+
} | {
|
|
5301
|
+
client_session: never[];
|
|
5302
|
+
api_key?: never;
|
|
5303
|
+
access_token?: never;
|
|
5304
|
+
user_session?: never;
|
|
5305
|
+
})[];
|
|
5306
|
+
summary: string;
|
|
5307
|
+
tags: never[];
|
|
5308
|
+
'x-fern-sdk-group-name': string[];
|
|
5309
|
+
'x-fern-sdk-method-name': string;
|
|
5310
|
+
};
|
|
5311
|
+
};
|
|
5312
|
+
'/acs/entrances/list': {
|
|
5313
|
+
post: {
|
|
5314
|
+
operationId: string;
|
|
5315
|
+
requestBody: {
|
|
5316
|
+
content: {
|
|
5317
|
+
'application/json': {
|
|
5318
|
+
schema: {
|
|
5319
|
+
properties: {
|
|
5320
|
+
acs_system_id: {
|
|
5321
|
+
format: string;
|
|
5322
|
+
type: string;
|
|
5323
|
+
};
|
|
5324
|
+
};
|
|
5325
|
+
type: string;
|
|
5326
|
+
};
|
|
5327
|
+
};
|
|
5328
|
+
};
|
|
5329
|
+
};
|
|
5330
|
+
responses: {
|
|
5331
|
+
200: {
|
|
5332
|
+
content: {
|
|
5333
|
+
'application/json': {
|
|
5334
|
+
schema: {
|
|
5335
|
+
properties: {
|
|
5336
|
+
acs_entrances: {
|
|
5337
|
+
items: {
|
|
5338
|
+
properties: {
|
|
5339
|
+
acs_entrance_id: {
|
|
5340
|
+
format: string;
|
|
5341
|
+
type: string;
|
|
5342
|
+
};
|
|
5343
|
+
acs_system_id: {
|
|
5344
|
+
format: string;
|
|
5345
|
+
type: string;
|
|
5346
|
+
};
|
|
5347
|
+
created_at: {
|
|
5348
|
+
format: string;
|
|
5349
|
+
type: string;
|
|
5350
|
+
};
|
|
5351
|
+
display_name: {
|
|
5352
|
+
type: string;
|
|
5353
|
+
};
|
|
5354
|
+
};
|
|
5355
|
+
required: string[];
|
|
5356
|
+
type: string;
|
|
5357
|
+
};
|
|
5358
|
+
type: string;
|
|
5359
|
+
};
|
|
5360
|
+
ok: {
|
|
5361
|
+
type: string;
|
|
5362
|
+
};
|
|
5363
|
+
};
|
|
5364
|
+
required: string[];
|
|
5365
|
+
type: string;
|
|
5366
|
+
};
|
|
5367
|
+
};
|
|
5368
|
+
};
|
|
5369
|
+
description: string;
|
|
5370
|
+
};
|
|
5371
|
+
400: {
|
|
5372
|
+
description: string;
|
|
5373
|
+
};
|
|
5374
|
+
401: {
|
|
5375
|
+
description: string;
|
|
5376
|
+
};
|
|
5377
|
+
};
|
|
5378
|
+
security: ({
|
|
5379
|
+
api_key: never[];
|
|
5380
|
+
access_token?: never;
|
|
5381
|
+
user_session?: never;
|
|
5382
|
+
client_session?: never;
|
|
5383
|
+
} | {
|
|
5384
|
+
access_token: never[];
|
|
5385
|
+
api_key?: never;
|
|
5386
|
+
user_session?: never;
|
|
5387
|
+
client_session?: never;
|
|
5388
|
+
} | {
|
|
5389
|
+
user_session: never[];
|
|
5390
|
+
api_key?: never;
|
|
5391
|
+
access_token?: never;
|
|
5392
|
+
client_session?: never;
|
|
5393
|
+
} | {
|
|
5394
|
+
client_session: never[];
|
|
5395
|
+
api_key?: never;
|
|
5396
|
+
access_token?: never;
|
|
5397
|
+
user_session?: never;
|
|
5398
|
+
})[];
|
|
5399
|
+
summary: string;
|
|
5400
|
+
tags: never[];
|
|
5401
|
+
'x-fern-sdk-group-name': string[];
|
|
5402
|
+
'x-fern-sdk-method-name': string;
|
|
5403
|
+
};
|
|
5404
|
+
};
|
|
5139
5405
|
'/acs/systems/get': {
|
|
5140
5406
|
post: {
|
|
5141
5407
|
operationId: string;
|
|
@@ -13110,7 +13376,7 @@ interface Routes {
|
|
|
13110
13376
|
workspace_id: string;
|
|
13111
13377
|
created_at: string;
|
|
13112
13378
|
display_name: string;
|
|
13113
|
-
external_type: 'pti_user' | 'brivo_user';
|
|
13379
|
+
external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user';
|
|
13114
13380
|
external_type_display_name: string;
|
|
13115
13381
|
is_suspended: boolean;
|
|
13116
13382
|
full_name?: string | undefined;
|
|
@@ -13241,7 +13507,55 @@ interface Routes {
|
|
|
13241
13507
|
};
|
|
13242
13508
|
commonParams: {};
|
|
13243
13509
|
formData: {};
|
|
13244
|
-
jsonResponse: {
|
|
13510
|
+
jsonResponse: {
|
|
13511
|
+
acs_credential: {
|
|
13512
|
+
acs_credential_id: string;
|
|
13513
|
+
acs_user_id?: string | undefined;
|
|
13514
|
+
acs_system_id: string;
|
|
13515
|
+
display_name: string;
|
|
13516
|
+
code: string | null;
|
|
13517
|
+
external_type: 'pti_card' | 'brivo_credential';
|
|
13518
|
+
external_type_display_name: string;
|
|
13519
|
+
created_at: string;
|
|
13520
|
+
workspace_id: string;
|
|
13521
|
+
};
|
|
13522
|
+
};
|
|
13523
|
+
};
|
|
13524
|
+
'/acs/entrances/get': {
|
|
13525
|
+
route: '/acs/entrances/get';
|
|
13526
|
+
method: 'GET' | 'POST';
|
|
13527
|
+
queryParams: {};
|
|
13528
|
+
jsonBody: {};
|
|
13529
|
+
commonParams: {
|
|
13530
|
+
acs_entrance_id: string;
|
|
13531
|
+
};
|
|
13532
|
+
formData: {};
|
|
13533
|
+
jsonResponse: {
|
|
13534
|
+
acs_entrance: {
|
|
13535
|
+
acs_entrance_id: string;
|
|
13536
|
+
display_name: string;
|
|
13537
|
+
acs_system_id: string;
|
|
13538
|
+
created_at: string;
|
|
13539
|
+
};
|
|
13540
|
+
};
|
|
13541
|
+
};
|
|
13542
|
+
'/acs/entrances/list': {
|
|
13543
|
+
route: '/acs/entrances/list';
|
|
13544
|
+
method: 'GET' | 'POST';
|
|
13545
|
+
queryParams: {};
|
|
13546
|
+
jsonBody: {};
|
|
13547
|
+
commonParams: {
|
|
13548
|
+
acs_system_id?: string | undefined;
|
|
13549
|
+
};
|
|
13550
|
+
formData: {};
|
|
13551
|
+
jsonResponse: {
|
|
13552
|
+
acs_entrances: Array<{
|
|
13553
|
+
acs_entrance_id: string;
|
|
13554
|
+
display_name: string;
|
|
13555
|
+
acs_system_id: string;
|
|
13556
|
+
created_at: string;
|
|
13557
|
+
}>;
|
|
13558
|
+
};
|
|
13245
13559
|
};
|
|
13246
13560
|
'/acs/systems/get': {
|
|
13247
13561
|
route: '/acs/systems/get';
|
|
@@ -13255,10 +13569,10 @@ interface Routes {
|
|
|
13255
13569
|
jsonResponse: {
|
|
13256
13570
|
acs_system: {
|
|
13257
13571
|
acs_system_id: string;
|
|
13258
|
-
external_type: 'pti_site' | 'alta_org' | 'brivo_system';
|
|
13572
|
+
external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org';
|
|
13259
13573
|
external_type_display_name: string;
|
|
13260
13574
|
/** deprecated: use external_type */
|
|
13261
|
-
system_type: 'pti_site' | 'alta_org' | 'brivo_system';
|
|
13575
|
+
system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org';
|
|
13262
13576
|
/** deprecated: use external_type_display_name */
|
|
13263
13577
|
system_type_display_name: string;
|
|
13264
13578
|
name: string;
|
|
@@ -13279,10 +13593,10 @@ interface Routes {
|
|
|
13279
13593
|
jsonResponse: {
|
|
13280
13594
|
acs_systems: Array<{
|
|
13281
13595
|
acs_system_id: string;
|
|
13282
|
-
external_type: 'pti_site' | 'alta_org' | 'brivo_system';
|
|
13596
|
+
external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org';
|
|
13283
13597
|
external_type_display_name: string;
|
|
13284
13598
|
/** deprecated: use external_type */
|
|
13285
|
-
system_type: 'pti_site' | 'alta_org' | 'brivo_system';
|
|
13599
|
+
system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org';
|
|
13286
13600
|
/** deprecated: use external_type_display_name */
|
|
13287
13601
|
system_type_display_name: string;
|
|
13288
13602
|
name: string;
|
|
@@ -13325,7 +13639,7 @@ interface Routes {
|
|
|
13325
13639
|
workspace_id: string;
|
|
13326
13640
|
created_at: string;
|
|
13327
13641
|
display_name: string;
|
|
13328
|
-
external_type: 'pti_user' | 'brivo_user';
|
|
13642
|
+
external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user';
|
|
13329
13643
|
external_type_display_name: string;
|
|
13330
13644
|
is_suspended: boolean;
|
|
13331
13645
|
full_name?: string | undefined;
|
|
@@ -13363,7 +13677,7 @@ interface Routes {
|
|
|
13363
13677
|
workspace_id: string;
|
|
13364
13678
|
created_at: string;
|
|
13365
13679
|
display_name: string;
|
|
13366
|
-
external_type: 'pti_user' | 'brivo_user';
|
|
13680
|
+
external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user';
|
|
13367
13681
|
external_type_display_name: string;
|
|
13368
13682
|
is_suspended: boolean;
|
|
13369
13683
|
full_name?: string | undefined;
|
|
@@ -13390,7 +13704,7 @@ interface Routes {
|
|
|
13390
13704
|
workspace_id: string;
|
|
13391
13705
|
created_at: string;
|
|
13392
13706
|
display_name: string;
|
|
13393
|
-
external_type: 'pti_user' | 'brivo_user';
|
|
13707
|
+
external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user';
|
|
13394
13708
|
external_type_display_name: string;
|
|
13395
13709
|
is_suspended: boolean;
|
|
13396
13710
|
full_name?: string | undefined;
|
|
@@ -18390,7 +18704,7 @@ interface Routes {
|
|
|
18390
18704
|
workspace_id: string;
|
|
18391
18705
|
created_at: string;
|
|
18392
18706
|
display_name: string;
|
|
18393
|
-
external_type: 'pti_user' | 'brivo_user';
|
|
18707
|
+
external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user';
|
|
18394
18708
|
external_type_display_name: string;
|
|
18395
18709
|
is_suspended: boolean;
|
|
18396
18710
|
full_name?: string | undefined;
|