Skip to content

Commit 30f7a04

Browse files
authored
feat: Sync with Seam API via 55f121397b446d604cb5e3193b19f2883ce128e5 (#2657)
1 parent 57917dd commit 30f7a04

File tree

2 files changed

+174
-46
lines changed

2 files changed

+174
-46
lines changed

src/lib/seam/connect/openapi.ts

Lines changed: 157 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -30622,6 +30622,16 @@ export default {
3062230622
type: 'number',
3062330623
},
3062430624
},
30625+
{
30626+
in: 'query',
30627+
name: 'search',
30628+
schema: {
30629+
description:
30630+
'String for which to search. Filters returned access codes to include all records that satisfy a partial match using `name`, `code` or `access_code_id`.',
30631+
minLength: 1,
30632+
type: 'string',
30633+
},
30634+
},
3062530635
{
3062630636
in: 'query',
3062730637
name: 'page_cursor',
@@ -30710,6 +30720,12 @@ export default {
3071030720
nullable: true,
3071130721
type: 'string',
3071230722
},
30723+
search: {
30724+
description:
30725+
'String for which to search. Filters returned access codes to include all records that satisfy a partial match using `name`, `code` or `access_code_id`.',
30726+
minLength: 1,
30727+
type: 'string',
30728+
},
3071330729
user_identifier_key: {
3071430730
description:
3071530731
'Your user ID for the user by which to filter access codes.',
@@ -31415,6 +31431,17 @@ export default {
3141531431
type: 'number',
3141631432
},
3141731433
},
31434+
{
31435+
in: 'query',
31436+
name: 'search',
31437+
required: false,
31438+
schema: {
31439+
description:
31440+
'String for which to search. Filters returned access codes to include all records that satisfy a partial match using `name`, `code` or `access_code_id`.',
31441+
minLength: 1,
31442+
type: 'string',
31443+
},
31444+
},
3141831445
{
3141931446
in: 'query',
3142031447
name: 'page_cursor',
@@ -31495,6 +31522,12 @@ export default {
3149531522
nullable: true,
3149631523
type: 'string',
3149731524
},
31525+
search: {
31526+
description:
31527+
'String for which to search. Filters returned access codes to include all records that satisfy a partial match using `name`, `code` or `access_code_id`.',
31528+
minLength: 1,
31529+
type: 'string',
31530+
},
3149831531
user_identifier_key: {
3149931532
description:
3150031533
'Your user ID for the user by which to filter unmanaged access codes.',
@@ -38748,6 +38781,16 @@ export default {
3874838781
type: 'string',
3874938782
},
3875038783
},
38784+
{
38785+
in: 'query',
38786+
name: 'search',
38787+
schema: {
38788+
description:
38789+
'String for which to search. Filters returned access groups to include all records that satisfy a partial match using `name` or `acs_access_group_id`.',
38790+
minLength: 1,
38791+
type: 'string',
38792+
},
38793+
},
3875138794
],
3875238795
responses: {
3875338796
200: {
@@ -38805,6 +38848,12 @@ export default {
3880538848
format: 'uuid',
3880638849
type: 'string',
3880738850
},
38851+
search: {
38852+
description:
38853+
'String for which to search. Filters returned access groups to include all records that satisfy a partial match using `name` or `acs_access_group_id`.',
38854+
minLength: 1,
38855+
type: 'string',
38856+
},
3880838857
user_identity_id: {
3880938858
description:
3881038859
'ID of the user identity for which you want to retrieve all access groups.',
@@ -39345,6 +39394,16 @@ export default {
3934539394
type: 'string',
3934639395
},
3934739396
},
39397+
{
39398+
in: 'query',
39399+
name: 'search',
39400+
schema: {
39401+
description:
39402+
'String for which to search. Filters returned access groups to include all records that satisfy a partial match using `name` or `acs_access_group_id`.',
39403+
minLength: 1,
39404+
type: 'string',
39405+
},
39406+
},
3934839407
],
3934939408
responses: {
3935039409
200: {
@@ -39406,6 +39465,12 @@ export default {
3940639465
format: 'uuid',
3940739466
type: 'string',
3940839467
},
39468+
search: {
39469+
description:
39470+
'String for which to search. Filters returned access groups to include all records that satisfy a partial match using `name` or `acs_access_group_id`.',
39471+
minLength: 1,
39472+
type: 'string',
39473+
},
3940939474
},
3941039475
type: 'object',
3941139476
},
@@ -40865,67 +40930,82 @@ export default {
4086540930
content: {
4086640931
'application/json': {
4086740932
schema: {
40868-
oneOf: [
40933+
allOf: [
4086940934
{
40870-
description:
40871-
'ID of the access system user for which you want to list unmanaged credentials.',
40872-
properties: {
40873-
acs_user_id: {
40935+
oneOf: [
40936+
{
4087440937
description:
40875-
'ID of the access system user for which you want to retrieve all credentials.',
40876-
format: 'uuid',
40877-
type: 'string',
40938+
'ID of the access system user for which you want to list unmanaged credentials.',
40939+
properties: {
40940+
acs_user_id: {
40941+
description:
40942+
'ID of the access system user for which you want to retrieve all credentials.',
40943+
format: 'uuid',
40944+
type: 'string',
40945+
},
40946+
},
40947+
required: ['acs_user_id'],
40948+
type: 'object',
4087840949
},
40879-
},
40880-
required: ['acs_user_id'],
40881-
type: 'object',
40882-
},
40883-
{
40884-
description:
40885-
'ID of the access system for which you want to list unmanaged credentials.',
40886-
properties: {
40887-
acs_system_id: {
40950+
{
4088840951
description:
40889-
'ID of the access system for which you want to retrieve all credentials.',
40890-
format: 'uuid',
40891-
type: 'string',
40952+
'ID of the access system for which you want to list unmanaged credentials.',
40953+
properties: {
40954+
acs_system_id: {
40955+
description:
40956+
'ID of the access system for which you want to retrieve all credentials.',
40957+
format: 'uuid',
40958+
type: 'string',
40959+
},
40960+
},
40961+
required: ['acs_system_id'],
40962+
type: 'object',
4089240963
},
40893-
},
40894-
required: ['acs_system_id'],
40895-
type: 'object',
40896-
},
40897-
{
40898-
description:
40899-
'ID of the access system and ID of the access system user for which you want to list unmanaged credentials.',
40900-
properties: {
40901-
acs_system_id: {
40964+
{
4090240965
description:
40903-
'ID of the access system for which you want to retrieve all credentials.',
40904-
format: 'uuid',
40905-
type: 'string',
40966+
'ID of the access system and ID of the access system user for which you want to list unmanaged credentials.',
40967+
properties: {
40968+
acs_system_id: {
40969+
description:
40970+
'ID of the access system for which you want to retrieve all credentials.',
40971+
format: 'uuid',
40972+
type: 'string',
40973+
},
40974+
acs_user_id: {
40975+
description:
40976+
'ID of the access system user for which you want to retrieve all credentials.',
40977+
format: 'uuid',
40978+
type: 'string',
40979+
},
40980+
},
40981+
required: ['acs_user_id', 'acs_system_id'],
40982+
type: 'object',
4090640983
},
40907-
acs_user_id: {
40984+
{
4090840985
description:
40909-
'ID of the access system user for which you want to retrieve all credentials.',
40910-
format: 'uuid',
40911-
type: 'string',
40986+
'ID of the user identity for which you want to list unmanaged credentials.',
40987+
properties: {
40988+
user_identity_id: {
40989+
description:
40990+
'ID of the user identity for which you want to retrieve all credentials.',
40991+
format: 'uuid',
40992+
type: 'string',
40993+
},
40994+
},
40995+
required: ['user_identity_id'],
40996+
type: 'object',
4091240997
},
40913-
},
40914-
required: ['acs_user_id', 'acs_system_id'],
40915-
type: 'object',
40998+
],
4091640999
},
4091741000
{
40918-
description:
40919-
'ID of the user identity for which you want to list unmanaged credentials.',
4092041001
properties: {
40921-
user_identity_id: {
41002+
search: {
4092241003
description:
40923-
'ID of the user identity for which you want to retrieve all credentials.',
40924-
format: 'uuid',
41004+
'String for which to search. Filters returned credentials to include all records that satisfy a partial match using `display_name`, `code`, `card_number`, `acs_user_id` or `acs_credential_id`.',
41005+
minLength: 1,
4092541006
type: 'string',
4092641007
},
4092741008
},
40928-
required: ['user_identity_id'],
4092941009
type: 'object',
4093041010
},
4093141011
],
@@ -42522,6 +42602,16 @@ export default {
4252242602
type: 'string',
4252342603
},
4252442604
},
42605+
{
42606+
in: 'query',
42607+
name: 'search',
42608+
schema: {
42609+
description:
42610+
'String for which to search. Filters returned access systems to include all records that satisfy a partial match using `name` or `acs_system_id`.',
42611+
minLength: 1,
42612+
type: 'string',
42613+
},
42614+
},
4252542615
],
4252642616
responses: {
4252742617
200: {
@@ -42580,6 +42670,12 @@ export default {
4258042670
'Customer key for which you want to list access systems.',
4258142671
type: 'string',
4258242672
},
42673+
search: {
42674+
description:
42675+
'String for which to search. Filters returned access systems to include all records that satisfy a partial match using `name` or `acs_system_id`.',
42676+
minLength: 1,
42677+
type: 'string',
42678+
},
4258342679
},
4258442680
type: 'object',
4258542681
},
@@ -44127,6 +44223,16 @@ export default {
4412744223
type: 'number',
4412844224
},
4412944225
},
44226+
{
44227+
in: 'query',
44228+
name: 'search',
44229+
schema: {
44230+
description:
44231+
'String for which to search. Filters returned access system users to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address`, `acs_user_id`, `user_identity_id`, `user_identity_full_name` or `user_identity_phone_number`.',
44232+
minLength: 1,
44233+
type: 'string',
44234+
},
44235+
},
4413044236
],
4413144237
responses: {
4413244238
200: {
@@ -44188,6 +44294,12 @@ export default {
4418844294
format: 'float',
4418944295
type: 'number',
4419044296
},
44297+
search: {
44298+
description:
44299+
'String for which to search. Filters returned access system users to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address`, `acs_user_id`, `user_identity_id`, `user_identity_full_name` or `user_identity_phone_number`.',
44300+
minLength: 1,
44301+
type: 'string',
44302+
},
4419144303
user_identity_email_address: {
4419244304
description:
4419344305
'Email address of the user identity for which you want to retrieve all unmanaged access system users.',

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

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4790,6 +4790,8 @@ export type Routes = {
47904790
user_identifier_key?: string | undefined
47914791
/** Numerical limit on the number of access codes to return. */
47924792
limit?: number
4793+
/** String for which to search. Filters returned access codes to include all records that satisfy a partial match using `name`, `code` or `access_code_id`. */
4794+
search?: string | undefined
47934795
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
47944796
page_cursor?: (string | undefined) | null
47954797
}
@@ -9067,6 +9069,8 @@ export type Routes = {
90679069
user_identifier_key?: string | undefined
90689070
/** Numerical limit on the number of unmanaged access codes to return. */
90699071
limit?: number
9072+
/** String for which to search. Filters returned access codes to include all records that satisfy a partial match using `name`, `code` or `access_code_id`. */
9073+
search?: string | undefined
90709074
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
90719075
page_cursor?: (string | undefined) | null
90729076
}
@@ -19031,6 +19035,8 @@ export type Routes = {
1903119035
acs_user_id?: string | undefined
1903219036
/** ID of the user identity for which you want to retrieve all access groups. */
1903319037
user_identity_id?: string | undefined
19038+
/** String for which to search. Filters returned access groups to include all records that satisfy a partial match using `name` or `acs_access_group_id`. */
19039+
search?: string | undefined
1903419040
}
1903519041
formData: {}
1903619042
jsonResponse: {
@@ -19635,6 +19641,8 @@ export type Routes = {
1963519641
acs_system_id?: string | undefined
1963619642
/** ID of the access system user for which you want to retrieve all unmanaged access groups. */
1963719643
acs_user_id?: string | undefined
19644+
/** String for which to search. Filters returned access groups to include all records that satisfy a partial match using `name` or `acs_access_group_id`. */
19645+
search?: string | undefined
1963819646
}
1963919647
formData: {}
1964019648
jsonResponse: {
@@ -21287,7 +21295,7 @@ export type Routes = {
2128721295
method: 'GET' | 'POST'
2128821296
queryParams: {}
2128921297
jsonBody: {}
21290-
commonParams:
21298+
commonParams: (
2129121299
| {
2129221300
/** ID of the access system user for which you want to retrieve all credentials. */
2129321301
acs_user_id: string
@@ -21306,6 +21314,10 @@ export type Routes = {
2130621314
/** ID of the user identity for which you want to retrieve all credentials. */
2130721315
user_identity_id: string
2130821316
}
21317+
) & {
21318+
/** String for which to search. Filters returned credentials to include all records that satisfy a partial match using `display_name`, `code`, `card_number`, `acs_user_id` or `acs_credential_id`. */
21319+
search?: string | undefined
21320+
}
2130921321
formData: {}
2131021322
jsonResponse: {
2131121323
acs_credentials: {
@@ -25539,6 +25551,8 @@ export type Routes = {
2553925551
customer_key?: string | undefined
2554025552
/** ID of the connected account by which you want to filter the list of access systems. */
2554125553
connected_account_id?: string | undefined
25554+
/** String for which to search. Filters returned access systems to include all records that satisfy a partial match using `name` or `acs_system_id`. */
25555+
search?: string | undefined
2554225556
}
2554325557
formData: {}
2554425558
jsonResponse: {
@@ -27356,6 +27370,8 @@ export type Routes = {
2735627370
acs_system_id?: string | undefined
2735727371
/** Number of unmanaged access system users to return. */
2735827372
limit?: number
27373+
/** String for which to search. Filters returned access system users to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address`, `acs_user_id`, `user_identity_id`, `user_identity_full_name` or `user_identity_phone_number`. */
27374+
search?: string | undefined
2735927375
}
2736027376
formData: {}
2736127377
jsonResponse: {

0 commit comments

Comments
 (0)