@seamapi/types 1.172.0 → 1.173.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 +50 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +105 -0
- package/lib/seam/connect/openapi.d.ts +69 -0
- package/lib/seam/connect/openapi.js +50 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +36 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +50 -0
- package/src/lib/seam/connect/route-types.ts +43 -0
|
@@ -1014,6 +1014,42 @@ export interface Routes {
|
|
|
1014
1014
|
}>;
|
|
1015
1015
|
};
|
|
1016
1016
|
};
|
|
1017
|
+
'/acs/credentials/list_accessible_entrances': {
|
|
1018
|
+
route: '/acs/credentials/list_accessible_entrances';
|
|
1019
|
+
method: 'GET' | 'POST';
|
|
1020
|
+
queryParams: {};
|
|
1021
|
+
jsonBody: {};
|
|
1022
|
+
commonParams: {
|
|
1023
|
+
acs_credential_id: string;
|
|
1024
|
+
};
|
|
1025
|
+
formData: {};
|
|
1026
|
+
jsonResponse: {
|
|
1027
|
+
acs_entrances: Array<{
|
|
1028
|
+
acs_entrance_id: string;
|
|
1029
|
+
display_name: string;
|
|
1030
|
+
acs_system_id: string;
|
|
1031
|
+
created_at: string;
|
|
1032
|
+
latch_metadata: {
|
|
1033
|
+
accessibility_type: string;
|
|
1034
|
+
door_name: string;
|
|
1035
|
+
door_type: string;
|
|
1036
|
+
is_connected: boolean;
|
|
1037
|
+
} | null;
|
|
1038
|
+
errors: Array<{
|
|
1039
|
+
error_code: string;
|
|
1040
|
+
message: string;
|
|
1041
|
+
}>;
|
|
1042
|
+
visionline_metadata: {
|
|
1043
|
+
door_name: string;
|
|
1044
|
+
door_category: 'entrance' | 'guest' | 'elevator reader' | 'common' | 'common (PMS)';
|
|
1045
|
+
profiles?: Array<{
|
|
1046
|
+
visionline_door_profile_id: string;
|
|
1047
|
+
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
1048
|
+
}> | undefined;
|
|
1049
|
+
} | null;
|
|
1050
|
+
}>;
|
|
1051
|
+
};
|
|
1052
|
+
};
|
|
1017
1053
|
'/acs/credentials/unassign': {
|
|
1018
1054
|
route: '/acs/credentials/unassign';
|
|
1019
1055
|
method: 'PATCH' | 'POST';
|
package/package.json
CHANGED
|
@@ -4624,6 +4624,56 @@ export default {
|
|
|
4624
4624
|
'x-fern-sdk-return-value': 'acs_credentials',
|
|
4625
4625
|
},
|
|
4626
4626
|
},
|
|
4627
|
+
'/acs/credentials/list_accessible_entrances': {
|
|
4628
|
+
post: {
|
|
4629
|
+
operationId: 'acsCredentialsListAccessibleEntrancesPost',
|
|
4630
|
+
requestBody: {
|
|
4631
|
+
content: {
|
|
4632
|
+
'application/json': {
|
|
4633
|
+
schema: {
|
|
4634
|
+
properties: {
|
|
4635
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
4636
|
+
},
|
|
4637
|
+
required: ['acs_credential_id'],
|
|
4638
|
+
type: 'object',
|
|
4639
|
+
},
|
|
4640
|
+
},
|
|
4641
|
+
},
|
|
4642
|
+
},
|
|
4643
|
+
responses: {
|
|
4644
|
+
200: {
|
|
4645
|
+
content: {
|
|
4646
|
+
'application/json': {
|
|
4647
|
+
schema: {
|
|
4648
|
+
properties: {
|
|
4649
|
+
acs_entrances: {
|
|
4650
|
+
items: { $ref: '#/components/schemas/acs_entrance' },
|
|
4651
|
+
type: 'array',
|
|
4652
|
+
},
|
|
4653
|
+
ok: { type: 'boolean' },
|
|
4654
|
+
},
|
|
4655
|
+
required: ['acs_entrances', 'ok'],
|
|
4656
|
+
type: 'object',
|
|
4657
|
+
},
|
|
4658
|
+
},
|
|
4659
|
+
},
|
|
4660
|
+
description: 'OK',
|
|
4661
|
+
},
|
|
4662
|
+
400: { description: 'Bad Request' },
|
|
4663
|
+
401: { description: 'Unauthorized' },
|
|
4664
|
+
},
|
|
4665
|
+
security: [
|
|
4666
|
+
{ api_key: [] },
|
|
4667
|
+
{ pat_with_workspace: [] },
|
|
4668
|
+
{ console_session: [] },
|
|
4669
|
+
],
|
|
4670
|
+
summary: '/acs/credentials/list_accessible_entrances',
|
|
4671
|
+
tags: ['/acs'],
|
|
4672
|
+
'x-fern-sdk-group-name': ['acs', 'credentials'],
|
|
4673
|
+
'x-fern-sdk-method-name': 'list_accessible_entrances',
|
|
4674
|
+
'x-fern-sdk-return-value': 'acs_entrances',
|
|
4675
|
+
},
|
|
4676
|
+
},
|
|
4627
4677
|
'/acs/credentials/unassign': {
|
|
4628
4678
|
patch: {
|
|
4629
4679
|
operationId: 'acsCredentialsUnassignPatch',
|
|
@@ -1097,6 +1097,49 @@ export interface Routes {
|
|
|
1097
1097
|
}>
|
|
1098
1098
|
}
|
|
1099
1099
|
}
|
|
1100
|
+
'/acs/credentials/list_accessible_entrances': {
|
|
1101
|
+
route: '/acs/credentials/list_accessible_entrances'
|
|
1102
|
+
method: 'GET' | 'POST'
|
|
1103
|
+
queryParams: {}
|
|
1104
|
+
jsonBody: {}
|
|
1105
|
+
commonParams: {
|
|
1106
|
+
acs_credential_id: string
|
|
1107
|
+
}
|
|
1108
|
+
formData: {}
|
|
1109
|
+
jsonResponse: {
|
|
1110
|
+
acs_entrances: Array<{
|
|
1111
|
+
acs_entrance_id: string
|
|
1112
|
+
display_name: string
|
|
1113
|
+
acs_system_id: string
|
|
1114
|
+
created_at: string
|
|
1115
|
+
latch_metadata: {
|
|
1116
|
+
accessibility_type: string
|
|
1117
|
+
door_name: string
|
|
1118
|
+
door_type: string
|
|
1119
|
+
is_connected: boolean
|
|
1120
|
+
} | null
|
|
1121
|
+
errors: Array<{
|
|
1122
|
+
error_code: string
|
|
1123
|
+
message: string
|
|
1124
|
+
}>
|
|
1125
|
+
visionline_metadata: {
|
|
1126
|
+
door_name: string
|
|
1127
|
+
door_category:
|
|
1128
|
+
| 'entrance'
|
|
1129
|
+
| 'guest'
|
|
1130
|
+
| 'elevator reader'
|
|
1131
|
+
| 'common'
|
|
1132
|
+
| 'common (PMS)'
|
|
1133
|
+
profiles?:
|
|
1134
|
+
| Array<{
|
|
1135
|
+
visionline_door_profile_id: string
|
|
1136
|
+
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch'
|
|
1137
|
+
}>
|
|
1138
|
+
| undefined
|
|
1139
|
+
} | null
|
|
1140
|
+
}>
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1100
1143
|
'/acs/credentials/unassign': {
|
|
1101
1144
|
route: '/acs/credentials/unassign'
|
|
1102
1145
|
method: 'PATCH' | 'POST'
|