diff --git a/package-lock.json b/package-lock.json index b652ca5f..9cac840a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@seamapi/blueprint": "^1.10.0", "@seamapi/fake-seam-connect": "^2.0.4", "@seamapi/smith": "^1.1.0", - "@seamapi/types": "1.1142.0", + "@seamapi/types": "1.1153.0", "@types/jsonwebtoken": "^9.0.6", "@types/node": "^24.10.9", "ava": "^8.0.1", @@ -1133,9 +1133,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.1142.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.1142.0.tgz", - "integrity": "sha512-9KjUC6yfz2jzICw8M4Fpb0MsIgTl1MQSU3ifixxY7RM7ALeJy5CVSP1PNceTJiacBraZWi6/Ufyvv8GFizP7Tg==", + "version": "1.1153.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.1153.0.tgz", + "integrity": "sha512-i3mC2ySBlSROT8IKCU0dQY3JzOiJebD2AHYFUWkFMccfsVo9aD9UVICkFHLFGvMP30+CWfrpa1nGLYh7/75WnA==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 716943c6..c1695fac 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "@seamapi/blueprint": "^1.10.0", "@seamapi/fake-seam-connect": "^2.0.4", "@seamapi/smith": "^1.1.0", - "@seamapi/types": "1.1142.0", + "@seamapi/types": "1.1153.0", "@types/jsonwebtoken": "^9.0.6", "@types/node": "^24.10.9", "ava": "^8.0.1", diff --git a/src/lib/resources/access-code.ts b/src/lib/resources/access-code.ts index a2e0b68a..ce04357c 100644 --- a/src/lib/resources/access-code.ts +++ b/src/lib/resources/access-code.ts @@ -1179,6 +1179,28 @@ export type AccessCode = { */ warning_code: 'being_deleted' } /** + * Seam had been unable to reach the device for an extended period when this access code was created, so the code is unlikely to be set until the device reconnects. Check the device's connection. This warning clears automatically when the device comes back online or the code is set on the device. + */ + | { + /** + * Date and time at which Seam created the warning. + */ + created_at?: string | undefined + /** + * Date and time since which Seam has been unable to reach the device. + */ + device_unreachable_since: string + + /** + * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. + */ + message: string + + /** + * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. + */ + warning_code: 'device_unreachable_for_extended_period' + } /** * An unknown issue occurred with the access code. */ | { diff --git a/src/lib/resources/acs-entrance.ts b/src/lib/resources/acs-entrance.ts index eb583fc7..87146125 100644 --- a/src/lib/resources/acs-entrance.ts +++ b/src/lib/resources/acs-entrance.ts @@ -380,7 +380,7 @@ export type AcsEntrance = { */ warnings: Array< /** - * Indicates that a change in the reported device model has been detected for this Salto KS entrance, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps. + * Indicates that a change in the reported device model has been detected for this Salto KS entrance, which may occur after an IQ hub reset. Access code support may be affected. See https://www.seam.co/help/salto-ks-lock-loses-access-code-support for troubleshooting steps. */ | { /** diff --git a/src/lib/resources/device.ts b/src/lib/resources/device.ts index f0c40075..75b419fc 100644 --- a/src/lib/resources/device.ts +++ b/src/lib/resources/device.ts @@ -3159,7 +3159,7 @@ export type Device = { */ warning_code: 'salto_ks_subscription_limit_almost_reached' } /** - * Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps. + * Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://www.seam.co/help/salto-ks-lock-loses-access-code-support for troubleshooting steps. */ | { /** @@ -3420,6 +3420,24 @@ export type Device = { * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'max_access_codes_reached' + } /** + * Indicates that the camera's account plan does not include cloud recording, so event media such as motion clips is unavailable. + */ + | { + /** + * Date and time at which Seam created the warning. + */ + created_at: string + + /** + * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. + */ + message: string + + /** + * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. + */ + warning_code: 'cloud_recording_not_enabled' } > diff --git a/src/lib/resources/phone.ts b/src/lib/resources/phone.ts index 141a72dd..ada6eb72 100644 --- a/src/lib/resources/phone.ts +++ b/src/lib/resources/phone.ts @@ -688,7 +688,7 @@ export type Phone = { */ warning_code: 'salto_ks_subscription_limit_almost_reached' } /** - * Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps. + * Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://www.seam.co/help/salto-ks-lock-loses-access-code-support for troubleshooting steps. */ | { /** @@ -949,6 +949,24 @@ export type Phone = { * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'max_access_codes_reached' + } /** + * Indicates that the camera's account plan does not include cloud recording, so event media such as motion clips is unavailable. + */ + | { + /** + * Date and time at which Seam created the warning. + */ + created_at: string + + /** + * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. + */ + message: string + + /** + * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. + */ + warning_code: 'cloud_recording_not_enabled' } > diff --git a/src/lib/resources/unmanaged-access-code.ts b/src/lib/resources/unmanaged-access-code.ts index 3c8d9fee..20389dc3 100644 --- a/src/lib/resources/unmanaged-access-code.ts +++ b/src/lib/resources/unmanaged-access-code.ts @@ -961,6 +961,28 @@ export type UnmanagedAccessCode = { */ warning_code: 'being_deleted' } /** + * Seam had been unable to reach the device for an extended period when this access code was created, so the code is unlikely to be set until the device reconnects. Check the device's connection. This warning clears automatically when the device comes back online or the code is set on the device. + */ + | { + /** + * Date and time at which Seam created the warning. + */ + created_at?: string | undefined + /** + * Date and time since which Seam has been unable to reach the device. + */ + device_unreachable_since: string + + /** + * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. + */ + message: string + + /** + * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. + */ + warning_code: 'device_unreachable_for_extended_period' + } /** * An unknown issue occurred with the access code. */ | { diff --git a/src/lib/resources/unmanaged-device.ts b/src/lib/resources/unmanaged-device.ts index 5666103a..b32ca5ba 100644 --- a/src/lib/resources/unmanaged-device.ts +++ b/src/lib/resources/unmanaged-device.ts @@ -937,7 +937,7 @@ export type UnmanagedDevice = { */ warning_code: 'salto_ks_subscription_limit_almost_reached' } /** - * Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps. + * Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://www.seam.co/help/salto-ks-lock-loses-access-code-support for troubleshooting steps. */ | { /** @@ -1198,6 +1198,24 @@ export type UnmanagedDevice = { * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'max_access_codes_reached' + } /** + * Indicates that the camera's account plan does not include cloud recording, so event media such as motion clips is unavailable. + */ + | { + /** + * Date and time at which Seam created the warning. + */ + created_at: string + + /** + * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. + */ + message: string + + /** + * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. + */ + warning_code: 'cloud_recording_not_enabled' } > diff --git a/src/lib/routes/access-codes/access-codes.ts b/src/lib/routes/access-codes/access-codes.ts index ee4cd861..64fcd23a 100644 --- a/src/lib/routes/access-codes/access-codes.ts +++ b/src/lib/routes/access-codes/access-codes.ts @@ -288,10 +288,10 @@ export class SeamHttpAccessCodes { /** * Returns a list of all [access codes](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes). * - * Specify `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`. + * Without `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`, returns access codes across the workspace, or across the customer when `customer_key` is set. Use `limit` and `page_cursor` to page through them. */ list( - parameters: AccessCodesListParameters, + parameters?: AccessCodesListParameters, options: AccessCodesListOptions = {}, ): AccessCodesListRequest { return new SeamHttpRequest(this, { @@ -299,18 +299,9 @@ export class SeamHttpAccessCodes { method: 'GET', params: parameters, parameters, - hasRequiredParameters: true, + hasRequiredParameters: false, requiredParameterNames: [], - atLeastOneParameterNames: [ - 'access_code_ids', - 'access_grant_id', - 'access_grant_key', - 'access_method_id', - 'customer_key', - 'device_id', - 'search', - 'user_identifier_key', - ], + atLeastOneParameterNames: [], responseKey: 'access_codes', hasPagination: true, options, @@ -639,58 +630,48 @@ export type AccessCodesGetRequest = SeamHttpRequest< export interface AccessCodesGetOptions {} -export type AccessCodesListParameters = RequireAtLeastOne< - { - /** - * IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`. - */ - access_code_ids?: Array | undefined - /** - * ID of the access grant for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`. - */ - access_grant_id?: string | undefined - /** - * Key of the access grant for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`. - */ - access_grant_key?: string | undefined - /** - * ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`. - */ - access_method_id?: string | undefined - /** - * Customer key for which you want to list access codes. - */ - customer_key?: string | undefined - /** - * ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`. - */ - device_id?: string | undefined - /** - * Numerical limit on the number of access codes to return. - */ - limit?: number | undefined - /** - * Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. - */ - page_cursor?: string | null | undefined - /** - * 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`. - */ - search?: string | undefined - /** - * Your user ID for the user by which to filter access codes. - */ - user_identifier_key?: string | undefined - }, - | 'access_code_ids' - | 'access_grant_id' - | 'access_grant_key' - | 'access_method_id' - | 'customer_key' - | 'device_id' - | 'search' - | 'user_identifier_key' -> +export type AccessCodesListParameters = { + /** + * IDs of the access codes that you want to retrieve. + */ + access_code_ids?: Array | undefined + /** + * ID of the access grant for which you want to list access codes. + */ + access_grant_id?: string | undefined + /** + * Key of the access grant for which you want to list access codes. + */ + access_grant_key?: string | undefined + /** + * ID of the access method for which you want to list access codes. + */ + access_method_id?: string | undefined + /** + * Customer key for which you want to list access codes. + */ + customer_key?: string | undefined + /** + * ID of the device for which you want to list access codes. + */ + device_id?: string | undefined + /** + * Numerical limit on the number of access codes to return. + */ + limit?: number | undefined + /** + * Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. + */ + page_cursor?: string | null | undefined + /** + * 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`. + */ + search?: string | undefined + /** + * Your user ID for the user by which to filter access codes. + */ + user_identifier_key?: string | undefined +} /** * @deprecated Use AccessCodesListRequest instead. diff --git a/src/lib/routes/access-grants/unmanaged/unmanaged.ts b/src/lib/routes/access-grants/unmanaged/unmanaged.ts index 6c8d5d31..c7230d62 100644 --- a/src/lib/routes/access-grants/unmanaged/unmanaged.ts +++ b/src/lib/routes/access-grants/unmanaged/unmanaged.ts @@ -257,6 +257,10 @@ export type AccessGrantsUnmanagedListParameters = { * ID of the access system by which you want to filter the list of unmanaged Access Grants. */ acs_system_id?: string | undefined + /** + * Customer key for which you want to list unmanaged Access Grants. + */ + customer_key?: string | undefined /** * Numerical limit on the number of unmanaged access grants to return. */ diff --git a/src/lib/routes/access-methods/access-methods.ts b/src/lib/routes/access-methods/access-methods.ts index aa5fbe89..5cc33e57 100644 --- a/src/lib/routes/access-methods/access-methods.ts +++ b/src/lib/routes/access-methods/access-methods.ts @@ -304,6 +304,7 @@ export class SeamHttpAccessMethods { 'access_grant_id', 'access_grant_key', 'acs_entrance_id', + 'customer_key', 'device_id', 'space_id', ], @@ -513,6 +514,10 @@ export type AccessMethodsListParameters = RequireAtLeastOne< * ID of the entrance for which you want to retrieve all access methods that grant access to it. */ acs_entrance_id?: string | undefined + /** + * Customer key for which you want to list access methods. + */ + customer_key?: string | undefined /** * ID of the device by which to filter the returned access methods. Must be combined with `access_grant_id`, `access_grant_key`, or `acs_entrance_id`. */ @@ -534,6 +539,7 @@ export type AccessMethodsListParameters = RequireAtLeastOne< | 'access_grant_id' | 'access_grant_key' | 'acs_entrance_id' + | 'customer_key' | 'device_id' | 'space_id' > diff --git a/src/lib/routes/customers/customers.ts b/src/lib/routes/customers/customers.ts index 6a599901..0da38d5a 100644 --- a/src/lib/routes/customers/customers.ts +++ b/src/lib/routes/customers/customers.ts @@ -583,6 +583,90 @@ export type CustomersCreatePortalParameters = { * Starting date and time for the access grant. */ starts_at?: string | Date | Temporal.Instant | undefined + /** + * Parts of the reservation that each get their own access, for example one per room. Each sub-reservation inherits the reservation's name, times, preferred code, guest and custom metadata unless it sets its own, and must set its own location keys. A reservation with sub-reservations must not set location keys itself. Sending this list replaces the reservation's sub-reservations: any not included are removed, and an empty list removes all of them. Omitting it leaves existing sub-reservations unchanged. + */ + sub_reservations?: + | Array<{ + /** + * Building keys associated with the access grant. + */ + building_keys?: Array | undefined + /** + * Common area keys associated with the access grant. + */ + common_area_keys?: Array | undefined + /** + * Set key:value pairs for filtering sub-reservations by custom criteria. Merged over the reservation's custom metadata. Set a key to `null` or to an empty string to remove that key from the custom metadata. + */ + custom_metadata?: + Record | undefined + /** + * Ending date and time for the access grant. + */ + ends_at?: string | Date | Temporal.Instant | undefined + /** + * Facility keys associated with the access grant. + */ + facility_keys?: Array | undefined + /** + * Guest key associated with the access grant. + */ + guest_key?: string | undefined + /** + * Listing keys associated with the access grant. + */ + listing_keys?: Array | undefined + /** + * Your name for this access grant resource. + */ + name?: string | undefined + /** + * Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. + */ + preferred_code?: string | null | undefined + /** + * Property keys associated with the access grant. + */ + property_keys?: Array | undefined + /** + * Resident key associated with the access grant. + */ + resident_key?: string | undefined + /** + * Room keys associated with the access grant. + */ + room_keys?: Array | undefined + /** + * Space keys associated with the access grant. + */ + space_keys?: Array | undefined + /** + * Starting date and time for the access grant. + */ + starts_at?: string | Date | Temporal.Instant | undefined + /** + * Your identifier for the sub-reservation. Must be unique within its reservation. + */ + sub_reservation_key?: string | undefined + /** + * Tenant key associated with the access grant. + */ + tenant_key?: string | undefined + /** + * Unit keys associated with the access grant. + */ + unit_keys?: Array | undefined + /** + * User identity key associated with the access grant. + */ + user_identity_key?: string | undefined + /** + * User key associated with the access grant. + */ + user_key?: string | undefined + }> + | undefined /** * Tenant key associated with the access grant. */ @@ -1586,6 +1670,89 @@ export type CustomersPushDataParameters = { * Starting date and time for the access grant. */ starts_at?: string | Date | Temporal.Instant | undefined + /** + * Parts of the reservation that each get their own access, for example one per room. Each sub-reservation inherits the reservation's name, times, preferred code, guest and custom metadata unless it sets its own, and must set its own location keys. A reservation with sub-reservations must not set location keys itself. Sending this list replaces the reservation's sub-reservations: any not included are removed, and an empty list removes all of them. Omitting it leaves existing sub-reservations unchanged. + */ + sub_reservations?: + | Array<{ + /** + * Building keys associated with the access grant. + */ + building_keys?: Array | undefined + /** + * Common area keys associated with the access grant. + */ + common_area_keys?: Array | undefined + /** + * Set key:value pairs for filtering sub-reservations by custom criteria. Merged over the reservation's custom metadata. Set a key to `null` or to an empty string to remove that key from the custom metadata. + */ + custom_metadata?: Record | undefined + /** + * Ending date and time for the access grant. + */ + ends_at?: string | Date | Temporal.Instant | undefined + /** + * Facility keys associated with the access grant. + */ + facility_keys?: Array | undefined + /** + * Guest key associated with the access grant. + */ + guest_key?: string | undefined + /** + * Listing keys associated with the access grant. + */ + listing_keys?: Array | undefined + /** + * Your name for this access grant resource. + */ + name?: string | undefined + /** + * Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. + */ + preferred_code?: string | null | undefined + /** + * Property keys associated with the access grant. + */ + property_keys?: Array | undefined + /** + * Resident key associated with the access grant. + */ + resident_key?: string | undefined + /** + * Room keys associated with the access grant. + */ + room_keys?: Array | undefined + /** + * Space keys associated with the access grant. + */ + space_keys?: Array | undefined + /** + * Starting date and time for the access grant. + */ + starts_at?: string | Date | Temporal.Instant | undefined + /** + * Your identifier for the sub-reservation. Must be unique within its reservation. + */ + sub_reservation_key?: string | undefined + /** + * Tenant key associated with the access grant. + */ + tenant_key?: string | undefined + /** + * Unit keys associated with the access grant. + */ + unit_keys?: Array | undefined + /** + * User identity key associated with the access grant. + */ + user_identity_key?: string | undefined + /** + * User key associated with the access grant. + */ + user_key?: string | undefined + }> + | undefined /** * Tenant key associated with the access grant. */ diff --git a/src/lib/routes/events/events.ts b/src/lib/routes/events/events.ts index 71e982ed..ee26cfb2 100644 --- a/src/lib/routes/events/events.ts +++ b/src/lib/routes/events/events.ts @@ -163,7 +163,7 @@ export class SeamHttpEvents { } /** - * Returns a specified event. This endpoint returns the same event that would be sent to a [webhook](https://www.seam.co/docs/developer-tools/webhooks), but it enables you to retrieve an event that already took place. + * Returns a specified event. This endpoint returns the same event that would be sent to a [webhook](https://www.seam.co/docs/developer-tools/webhooks), but it enables you to retrieve an event that already took place. Events older than 90 days are not returned. */ get( parameters: EventsGetParameters, @@ -183,7 +183,7 @@ export class SeamHttpEvents { } /** - * Returns a list of all events. This endpoint returns the same events that would be sent to a [webhook](https://www.seam.co/docs/developer-tools/webhooks), but it enables you to filter or see events that already took place. + * Returns a list of all events. This endpoint returns the same events that would be sent to a [webhook](https://www.seam.co/docs/developer-tools/webhooks), but it enables you to filter or see events that already took place. Only events from the last 90 days are returned. */ list( parameters: EventsListParameters, @@ -313,7 +313,7 @@ export type EventsListParameters = RequireAtLeastOne< */ acs_user_id?: string | undefined /** - * Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. + * Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. Only events from the last 90 days are returned, so a lower timestamp older than 90 days is treated as 90 days ago. */ between?: Array | undefined /** @@ -585,7 +585,7 @@ export type EventsListParameters = RequireAtLeastOne< */ limit?: number | undefined /** - * Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`. + * Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`. Only events from the last 90 days are returned, so a `since` older than 90 days is treated as 90 days ago. */ since?: string | undefined /** diff --git a/src/lib/routes/seam-http-endpoints.ts b/src/lib/routes/seam-http-endpoints.ts index c15fd3a4..9063111a 100644 --- a/src/lib/routes/seam-http-endpoints.ts +++ b/src/lib/routes/seam-http-endpoints.ts @@ -1002,10 +1002,10 @@ export class SeamHttpEndpoints { /** * Returns a list of all [access codes](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes). * - * Specify `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`. + * Without `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`, returns access codes across the workspace, or across the customer when `customer_key` is set. Use `limit` and `page_cursor` to page through them. */ get '/access_codes/list'(): ( - parameters: AccessCodesListParameters, + parameters?: AccessCodesListParameters, options?: AccessCodesListOptions, ) => AccessCodesListRequest { const { client, defaults } = this @@ -2910,7 +2910,7 @@ export class SeamHttpEndpoints { } /** - * Returns a specified event. This endpoint returns the same event that would be sent to a [webhook](https://www.seam.co/docs/developer-tools/webhooks), but it enables you to retrieve an event that already took place. + * Returns a specified event. This endpoint returns the same event that would be sent to a [webhook](https://www.seam.co/docs/developer-tools/webhooks), but it enables you to retrieve an event that already took place. Events older than 90 days are not returned. */ get '/events/get'(): ( parameters: EventsGetParameters, @@ -2926,7 +2926,7 @@ export class SeamHttpEndpoints { } /** - * Returns a list of all events. This endpoint returns the same events that would be sent to a [webhook](https://www.seam.co/docs/developer-tools/webhooks), but it enables you to filter or see events that already took place. + * Returns a list of all events. This endpoint returns the same events that would be sent to a [webhook](https://www.seam.co/docs/developer-tools/webhooks), but it enables you to filter or see events that already took place. Only events from the last 90 days are returned. */ get '/events/list'(): ( parameters: EventsListParameters, diff --git a/src/lib/routes/user-identities/user-identities.ts b/src/lib/routes/user-identities/user-identities.ts index 3e989965..1a968817 100644 --- a/src/lib/routes/user-identities/user-identities.ts +++ b/src/lib/routes/user-identities/user-identities.ts @@ -656,6 +656,10 @@ export type UserIdentitiesListParameters = { * `acs_system_id` of the credential manager by which you want to filter the list of user identities. */ credential_manager_acs_system_id?: string | undefined + /** + * Customer key for which you want to list user identities. + */ + customer_key?: string | undefined /** * Maximum number of records to return per page. */