@seamapi/types 1.92.0 → 1.93.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 +100 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +174 -0
- package/lib/seam/connect/openapi.d.ts +144 -0
- package/lib/seam/connect/openapi.js +100 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +30 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +100 -0
- package/src/lib/seam/connect/route-types.ts +37 -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';
|
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',
|
|
@@ -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'
|