@seamapi/types 1.92.0 → 1.94.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 +143 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +250 -0
- package/lib/seam/connect/openapi.d.ts +209 -0
- package/lib/seam/connect/openapi.js +143 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +41 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +143 -0
- package/src/lib/seam/connect/route-types.ts +48 -0
|
@@ -1040,6 +1040,36 @@ export interface Routes {
|
|
|
1040
1040
|
}>;
|
|
1041
1041
|
};
|
|
1042
1042
|
};
|
|
1043
|
+
'/acs/entrances/list_credentials_with_access': {
|
|
1044
|
+
route: '/acs/entrances/list_credentials_with_access';
|
|
1045
|
+
method: 'GET' | 'POST';
|
|
1046
|
+
queryParams: {};
|
|
1047
|
+
jsonBody: {};
|
|
1048
|
+
commonParams: {
|
|
1049
|
+
acs_entrance_id?: string | undefined;
|
|
1050
|
+
acs_entrance_ids?: string[] | undefined;
|
|
1051
|
+
include_if?: Array<'visionline_metadata.is_valid'> | undefined;
|
|
1052
|
+
};
|
|
1053
|
+
formData: {};
|
|
1054
|
+
jsonResponse: {
|
|
1055
|
+
acs_credentials: Array<{
|
|
1056
|
+
acs_credential_id: string;
|
|
1057
|
+
acs_user_id?: string | undefined;
|
|
1058
|
+
acs_credential_pool_id?: string | undefined;
|
|
1059
|
+
acs_system_id: string;
|
|
1060
|
+
display_name: string;
|
|
1061
|
+
code?: (string | undefined) | null;
|
|
1062
|
+
access_method: 'code' | 'card' | 'mobile_key';
|
|
1063
|
+
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
|
|
1064
|
+
external_type_display_name?: string | undefined;
|
|
1065
|
+
created_at: string;
|
|
1066
|
+
workspace_id: string;
|
|
1067
|
+
starts_at?: string | undefined;
|
|
1068
|
+
ends_at?: string | undefined;
|
|
1069
|
+
is_multi_phone_sync_credential?: boolean | undefined;
|
|
1070
|
+
}>;
|
|
1071
|
+
};
|
|
1072
|
+
};
|
|
1043
1073
|
'/acs/systems/get': {
|
|
1044
1074
|
route: '/acs/systems/get';
|
|
1045
1075
|
method: 'GET' | 'POST';
|
|
@@ -6524,6 +6554,17 @@ export interface Routes {
|
|
|
6524
6554
|
};
|
|
6525
6555
|
};
|
|
6526
6556
|
};
|
|
6557
|
+
'/user_identities/delete': {
|
|
6558
|
+
route: '/user_identities/delete';
|
|
6559
|
+
method: 'DELETE' | 'POST';
|
|
6560
|
+
queryParams: {};
|
|
6561
|
+
jsonBody: {};
|
|
6562
|
+
commonParams: {
|
|
6563
|
+
user_identity_id: string;
|
|
6564
|
+
};
|
|
6565
|
+
formData: {};
|
|
6566
|
+
jsonResponse: {};
|
|
6567
|
+
};
|
|
6527
6568
|
'/user_identities/enrollment_automations/get': {
|
|
6528
6569
|
route: '/user_identities/enrollment_automations/get';
|
|
6529
6570
|
method: 'GET' | 'POST';
|
package/package.json
CHANGED
|
@@ -4913,6 +4913,106 @@ export default {
|
|
|
4913
4913
|
'x-fern-sdk-method-name': 'list',
|
|
4914
4914
|
},
|
|
4915
4915
|
},
|
|
4916
|
+
'/acs/entrances/list_credentials_with_access': {
|
|
4917
|
+
post: {
|
|
4918
|
+
operationId: 'acsEntrancesListCredentialsWithAccessPost',
|
|
4919
|
+
requestBody: {
|
|
4920
|
+
content: {
|
|
4921
|
+
'application/json': {
|
|
4922
|
+
schema: {
|
|
4923
|
+
properties: {
|
|
4924
|
+
acs_entrance_id: { format: 'uuid', type: 'string' },
|
|
4925
|
+
acs_entrance_ids: {
|
|
4926
|
+
items: { format: 'uuid', type: 'string' },
|
|
4927
|
+
type: 'array',
|
|
4928
|
+
},
|
|
4929
|
+
include_if: {
|
|
4930
|
+
items: {
|
|
4931
|
+
enum: ['visionline_metadata.is_valid'],
|
|
4932
|
+
type: 'string',
|
|
4933
|
+
},
|
|
4934
|
+
type: 'array',
|
|
4935
|
+
},
|
|
4936
|
+
},
|
|
4937
|
+
type: 'object',
|
|
4938
|
+
},
|
|
4939
|
+
},
|
|
4940
|
+
},
|
|
4941
|
+
},
|
|
4942
|
+
responses: {
|
|
4943
|
+
200: {
|
|
4944
|
+
content: {
|
|
4945
|
+
'application/json': {
|
|
4946
|
+
schema: {
|
|
4947
|
+
properties: {
|
|
4948
|
+
acs_credentials: {
|
|
4949
|
+
items: {
|
|
4950
|
+
properties: {
|
|
4951
|
+
access_method: {
|
|
4952
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
4953
|
+
type: 'string',
|
|
4954
|
+
},
|
|
4955
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
4956
|
+
acs_credential_pool_id: {
|
|
4957
|
+
format: 'uuid',
|
|
4958
|
+
type: 'string',
|
|
4959
|
+
},
|
|
4960
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
4961
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
4962
|
+
code: { nullable: true, type: 'string' },
|
|
4963
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
4964
|
+
display_name: { minLength: 1, type: 'string' },
|
|
4965
|
+
ends_at: { type: 'string' },
|
|
4966
|
+
external_type: {
|
|
4967
|
+
enum: [
|
|
4968
|
+
'pti_card',
|
|
4969
|
+
'brivo_credential',
|
|
4970
|
+
'hid_credential',
|
|
4971
|
+
'visionline_card',
|
|
4972
|
+
],
|
|
4973
|
+
type: 'string',
|
|
4974
|
+
},
|
|
4975
|
+
external_type_display_name: { type: 'string' },
|
|
4976
|
+
is_multi_phone_sync_credential: { type: 'boolean' },
|
|
4977
|
+
starts_at: { type: 'string' },
|
|
4978
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
4979
|
+
},
|
|
4980
|
+
required: [
|
|
4981
|
+
'acs_credential_id',
|
|
4982
|
+
'acs_system_id',
|
|
4983
|
+
'display_name',
|
|
4984
|
+
'access_method',
|
|
4985
|
+
'created_at',
|
|
4986
|
+
'workspace_id',
|
|
4987
|
+
],
|
|
4988
|
+
type: 'object',
|
|
4989
|
+
},
|
|
4990
|
+
type: 'array',
|
|
4991
|
+
},
|
|
4992
|
+
ok: { type: 'boolean' },
|
|
4993
|
+
},
|
|
4994
|
+
required: ['acs_credentials', 'ok'],
|
|
4995
|
+
type: 'object',
|
|
4996
|
+
},
|
|
4997
|
+
},
|
|
4998
|
+
},
|
|
4999
|
+
description: 'OK',
|
|
5000
|
+
},
|
|
5001
|
+
400: { description: 'Bad Request' },
|
|
5002
|
+
401: { description: 'Unauthorized' },
|
|
5003
|
+
},
|
|
5004
|
+
security: [
|
|
5005
|
+
{ client_session: [] },
|
|
5006
|
+
{ pat_with_workspace: [] },
|
|
5007
|
+
{ console_session: [] },
|
|
5008
|
+
{ api_key: [] },
|
|
5009
|
+
],
|
|
5010
|
+
summary: '/acs/entrances/list_credentials_with_access',
|
|
5011
|
+
tags: ['/acs'],
|
|
5012
|
+
'x-fern-sdk-group-name': ['acs', 'entrances'],
|
|
5013
|
+
'x-fern-sdk-method-name': 'list_credentials_with_access',
|
|
5014
|
+
},
|
|
5015
|
+
},
|
|
4916
5016
|
'/acs/systems/get': {
|
|
4917
5017
|
post: {
|
|
4918
5018
|
operationId: 'acsSystemsGetPost',
|
|
@@ -10290,6 +10390,49 @@ export default {
|
|
|
10290
10390
|
'x-fern-sdk-method-name': 'create',
|
|
10291
10391
|
},
|
|
10292
10392
|
},
|
|
10393
|
+
'/user_identities/delete': {
|
|
10394
|
+
post: {
|
|
10395
|
+
operationId: 'userIdentitiesDeletePost',
|
|
10396
|
+
requestBody: {
|
|
10397
|
+
content: {
|
|
10398
|
+
'application/json': {
|
|
10399
|
+
schema: {
|
|
10400
|
+
properties: {
|
|
10401
|
+
user_identity_id: { format: 'uuid', type: 'string' },
|
|
10402
|
+
},
|
|
10403
|
+
required: ['user_identity_id'],
|
|
10404
|
+
type: 'object',
|
|
10405
|
+
},
|
|
10406
|
+
},
|
|
10407
|
+
},
|
|
10408
|
+
},
|
|
10409
|
+
responses: {
|
|
10410
|
+
200: {
|
|
10411
|
+
content: {
|
|
10412
|
+
'application/json': {
|
|
10413
|
+
schema: {
|
|
10414
|
+
properties: { ok: { type: 'boolean' } },
|
|
10415
|
+
required: ['ok'],
|
|
10416
|
+
type: 'object',
|
|
10417
|
+
},
|
|
10418
|
+
},
|
|
10419
|
+
},
|
|
10420
|
+
description: 'OK',
|
|
10421
|
+
},
|
|
10422
|
+
400: { description: 'Bad Request' },
|
|
10423
|
+
401: { description: 'Unauthorized' },
|
|
10424
|
+
},
|
|
10425
|
+
security: [
|
|
10426
|
+
{ access_token: [], seam_workspace: [] },
|
|
10427
|
+
{ seam_client_session_token: [] },
|
|
10428
|
+
{ client_session_token: [] },
|
|
10429
|
+
],
|
|
10430
|
+
summary: '/user_identities/delete',
|
|
10431
|
+
tags: ['/user_identities'],
|
|
10432
|
+
'x-fern-sdk-group-name': ['user_identities'],
|
|
10433
|
+
'x-fern-sdk-method-name': 'delete',
|
|
10434
|
+
},
|
|
10435
|
+
},
|
|
10293
10436
|
'/user_identities/enrollment_automations/get': {
|
|
10294
10437
|
post: {
|
|
10295
10438
|
operationId: 'userIdentitiesEnrollmentAutomationsGetPost',
|
|
@@ -1134,6 +1134,43 @@ export interface Routes {
|
|
|
1134
1134
|
}>
|
|
1135
1135
|
}
|
|
1136
1136
|
}
|
|
1137
|
+
'/acs/entrances/list_credentials_with_access': {
|
|
1138
|
+
route: '/acs/entrances/list_credentials_with_access'
|
|
1139
|
+
method: 'GET' | 'POST'
|
|
1140
|
+
queryParams: {}
|
|
1141
|
+
jsonBody: {}
|
|
1142
|
+
commonParams: {
|
|
1143
|
+
acs_entrance_id?: string | undefined
|
|
1144
|
+
acs_entrance_ids?: string[] | undefined
|
|
1145
|
+
include_if?: Array<'visionline_metadata.is_valid'> | undefined
|
|
1146
|
+
}
|
|
1147
|
+
formData: {}
|
|
1148
|
+
jsonResponse: {
|
|
1149
|
+
acs_credentials: Array<{
|
|
1150
|
+
acs_credential_id: string
|
|
1151
|
+
acs_user_id?: string | undefined
|
|
1152
|
+
acs_credential_pool_id?: string | undefined
|
|
1153
|
+
acs_system_id: string
|
|
1154
|
+
display_name: string
|
|
1155
|
+
code?: (string | undefined) | null
|
|
1156
|
+
access_method: 'code' | 'card' | 'mobile_key'
|
|
1157
|
+
external_type?:
|
|
1158
|
+
| (
|
|
1159
|
+
| 'pti_card'
|
|
1160
|
+
| 'brivo_credential'
|
|
1161
|
+
| 'hid_credential'
|
|
1162
|
+
| 'visionline_card'
|
|
1163
|
+
)
|
|
1164
|
+
| undefined
|
|
1165
|
+
external_type_display_name?: string | undefined
|
|
1166
|
+
created_at: string
|
|
1167
|
+
workspace_id: string
|
|
1168
|
+
starts_at?: string | undefined
|
|
1169
|
+
ends_at?: string | undefined
|
|
1170
|
+
is_multi_phone_sync_credential?: boolean | undefined
|
|
1171
|
+
}>
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1137
1174
|
'/acs/systems/get': {
|
|
1138
1175
|
route: '/acs/systems/get'
|
|
1139
1176
|
method: 'GET' | 'POST'
|
|
@@ -8983,6 +9020,17 @@ export interface Routes {
|
|
|
8983
9020
|
}
|
|
8984
9021
|
}
|
|
8985
9022
|
}
|
|
9023
|
+
'/user_identities/delete': {
|
|
9024
|
+
route: '/user_identities/delete'
|
|
9025
|
+
method: 'DELETE' | 'POST'
|
|
9026
|
+
queryParams: {}
|
|
9027
|
+
jsonBody: {}
|
|
9028
|
+
commonParams: {
|
|
9029
|
+
user_identity_id: string
|
|
9030
|
+
}
|
|
9031
|
+
formData: {}
|
|
9032
|
+
jsonResponse: {}
|
|
9033
|
+
}
|
|
8986
9034
|
'/user_identities/enrollment_automations/get': {
|
|
8987
9035
|
route: '/user_identities/enrollment_automations/get'
|
|
8988
9036
|
method: 'GET' | 'POST'
|