Skip to content

Commit 58f6370

Browse files
authored
feat: add /aces/systems/[get|list] (#106)
1 parent ff1dd87 commit 58f6370

1 file changed

Lines changed: 35 additions & 1 deletion

File tree

src/lib/seam/connect/route-types.ts

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export interface Routes {
202202
queryParams: {}
203203
jsonBody: {}
204204
commonParams: {
205-
device_id: string
205+
device_id?: string | undefined
206206
access_code_ids?: string[] | undefined
207207
}
208208
formData: {}
@@ -462,6 +462,40 @@ export interface Routes {
462462
}
463463
}
464464
}
465+
'/acs/systems/get': {
466+
route: '/acs/systems/get'
467+
method: 'GET' | 'POST'
468+
queryParams: {}
469+
jsonBody: {}
470+
commonParams: {
471+
acs_id: string
472+
}
473+
formData: {}
474+
jsonResponse: {
475+
acs_system: {
476+
acs_id: string
477+
system_type: 'pti_site' | 'alta_org'
478+
name: string
479+
created_at: string | Date
480+
}
481+
}
482+
}
483+
'/acs/systems/list': {
484+
route: '/acs/systems/list'
485+
method: 'GET' | 'POST'
486+
queryParams: {}
487+
jsonBody: {}
488+
commonParams: {}
489+
formData: {}
490+
jsonResponse: {
491+
acs_systems: Array<{
492+
acs_id: string
493+
system_type: 'pti_site' | 'alta_org'
494+
name: string
495+
created_at: string | Date
496+
}>
497+
}
498+
}
465499
'/action_attempts/get': {
466500
route: '/action_attempts/get'
467501
method: 'GET' | 'POST'

0 commit comments

Comments
 (0)