diff --git a/src/lib/seam/connect/models/access-codes/pending-mutations.ts b/src/lib/seam/connect/models/access-codes/pending-mutations.ts index e0ee4362..b5a13f9f 100644 --- a/src/lib/seam/connect/models/access-codes/pending-mutations.ts +++ b/src/lib/seam/connect/models/access-codes/pending-mutations.ts @@ -138,28 +138,13 @@ export type AccessCodePendingMutation = z.infer< typeof access_code_pending_mutations > -const internal_recreate_fields = z.object({ - must_be_recreated_on_device: z.boolean().optional(), - is_being_removed: z.boolean().optional(), - is_being_created: z.boolean().optional(), -}) - const _access_code_pending_mutations_map = z.object({ creating: creating.optional().nullable(), deferring_creation: deferring_creation.optional().nullable(), deleting: deleting.optional().nullable(), - updating_code: updating_code - .merge(internal_recreate_fields) - .optional() - .nullable(), - updating_name: updating_name - .merge(internal_recreate_fields) - .optional() - .nullable(), - updating_time_frame: updating_time_frame - .merge(internal_recreate_fields) - .optional() - .nullable(), + updating_code: updating_code.optional().nullable(), + updating_name: updating_name.optional().nullable(), + updating_time_frame: updating_time_frame.optional().nullable(), }) export type AccessCodePendingMutationsMap = z.infer< diff --git a/src/lib/seam/connect/models/devices/device-metadata.ts b/src/lib/seam/connect/models/devices/device-metadata.ts index ea3f9bc8..19c699da 100644 --- a/src/lib/seam/connect/models/devices/device-metadata.ts +++ b/src/lib/seam/connect/models/devices/device-metadata.ts @@ -913,12 +913,6 @@ export const device_metadata = z .string() .optional() .describe(`Product name for an Akiles device.`), - - // TODO: Remove _ prop - _member_group_id: z - .string() - .optional() - .describe(`Group ID to which to add users for an Akiles device.`), }) .partial() .describe(`Metadata for an Akiles device.`), diff --git a/src/lib/seam/connect/models/devices/device.ts b/src/lib/seam/connect/models/devices/device.ts index a796ab20..4cb63a49 100644 --- a/src/lib/seam/connect/models/devices/device.ts +++ b/src/lib/seam/connect/models/devices/device.ts @@ -706,12 +706,6 @@ export const device_warning_map = z.object({ .nullable(), many_active_backup_codes: many_active_backup_codes.optional().nullable(), device_has_flaky_connection: device_has_flaky_connection - .extend({ - // TODO: Remove _ prop - _event_id: z.string().uuid().optional(), - // TODO: Remove _ prop - _reason: z.string().optional(), - }) .optional() .nullable(), third_party_integration_detected: third_party_integration_detected diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 11ae057d..82dbd313 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -14646,11 +14646,6 @@ const openapi: OpenAPISpec = { akiles_metadata: { description: 'Metadata for an Akiles device.', properties: { - _member_group_id: { - description: - 'Group ID to which to add users for an Akiles device.', - type: 'string', - }, gadget_id: { description: 'Gadget ID for an Akiles device.', type: 'string', diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index 4fde7dd6..e65804a0 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -14925,8 +14925,6 @@ export type Routes = { gadget_id?: (string | undefined) | undefined /** Product name for an Akiles device. */ product_name?: (string | undefined) | undefined - /** Group ID to which to add users for an Akiles device. */ - _member_group_id?: (string | undefined) | undefined } | undefined /** Metadata for an ASSA ABLOY Vostio system. */ @@ -23436,8 +23434,6 @@ export type Routes = { gadget_id?: (string | undefined) | undefined /** Product name for an Akiles device. */ product_name?: (string | undefined) | undefined - /** Group ID to which to add users for an Akiles device. */ - _member_group_id?: (string | undefined) | undefined } | undefined /** Metadata for an ASSA ABLOY Vostio system. */ @@ -51777,8 +51773,6 @@ export type Routes = { gadget_id?: (string | undefined) | undefined /** Product name for an Akiles device. */ product_name?: (string | undefined) | undefined - /** Group ID to which to add users for an Akiles device. */ - _member_group_id?: (string | undefined) | undefined } | undefined /** Metadata for an ASSA ABLOY Vostio system. */ @@ -53920,8 +53914,6 @@ export type Routes = { gadget_id?: (string | undefined) | undefined /** Product name for an Akiles device. */ product_name?: (string | undefined) | undefined - /** Group ID to which to add users for an Akiles device. */ - _member_group_id?: (string | undefined) | undefined } | undefined /** Metadata for an ASSA ABLOY Vostio system. */ @@ -69425,8 +69417,6 @@ export type Routes = { gadget_id?: (string | undefined) | undefined /** Product name for an Akiles device. */ product_name?: (string | undefined) | undefined - /** Group ID to which to add users for an Akiles device. */ - _member_group_id?: (string | undefined) | undefined } | undefined /** Metadata for an ASSA ABLOY Vostio system. */ @@ -71318,8 +71308,6 @@ export type Routes = { gadget_id?: (string | undefined) | undefined /** Product name for an Akiles device. */ product_name?: (string | undefined) | undefined - /** Group ID to which to add users for an Akiles device. */ - _member_group_id?: (string | undefined) | undefined } | undefined /** Metadata for an ASSA ABLOY Vostio system. */ @@ -73339,8 +73327,6 @@ export type Routes = { gadget_id?: (string | undefined) | undefined /** Product name for an Akiles device. */ product_name?: (string | undefined) | undefined - /** Group ID to which to add users for an Akiles device. */ - _member_group_id?: (string | undefined) | undefined } | undefined /** Metadata for an ASSA ABLOY Vostio system. */ @@ -75231,8 +75217,6 @@ export type Routes = { gadget_id?: (string | undefined) | undefined /** Product name for an Akiles device. */ product_name?: (string | undefined) | undefined - /** Group ID to which to add users for an Akiles device. */ - _member_group_id?: (string | undefined) | undefined } | undefined /** Metadata for an ASSA ABLOY Vostio system. */ @@ -85617,8 +85601,6 @@ export type Routes = { gadget_id?: (string | undefined) | undefined /** Product name for an Akiles device. */ product_name?: (string | undefined) | undefined - /** Group ID to which to add users for an Akiles device. */ - _member_group_id?: (string | undefined) | undefined } | undefined /** Metadata for an ASSA ABLOY Vostio system. */ @@ -87509,8 +87491,6 @@ export type Routes = { gadget_id?: (string | undefined) | undefined /** Product name for an Akiles device. */ product_name?: (string | undefined) | undefined - /** Group ID to which to add users for an Akiles device. */ - _member_group_id?: (string | undefined) | undefined } | undefined /** Metadata for an ASSA ABLOY Vostio system. */ @@ -107899,8 +107879,6 @@ export type Routes = { gadget_id?: (string | undefined) | undefined /** Product name for an Akiles device. */ product_name?: (string | undefined) | undefined - /** Group ID to which to add users for an Akiles device. */ - _member_group_id?: (string | undefined) | undefined } | undefined /** Metadata for an ASSA ABLOY Vostio system. */ @@ -117405,8 +117383,6 @@ export type Routes = { gadget_id?: (string | undefined) | undefined /** Product name for an Akiles device. */ product_name?: (string | undefined) | undefined - /** Group ID to which to add users for an Akiles device. */ - _member_group_id?: (string | undefined) | undefined } | undefined /** Metadata for an ASSA ABLOY Vostio system. */ @@ -123596,8 +123572,6 @@ export type Routes = { gadget_id?: (string | undefined) | undefined /** Product name for an Akiles device. */ product_name?: (string | undefined) | undefined - /** Group ID to which to add users for an Akiles device. */ - _member_group_id?: (string | undefined) | undefined } | undefined /** Metadata for an ASSA ABLOY Vostio system. */ @@ -125488,8 +125462,6 @@ export type Routes = { gadget_id?: (string | undefined) | undefined /** Product name for an Akiles device. */ product_name?: (string | undefined) | undefined - /** Group ID to which to add users for an Akiles device. */ - _member_group_id?: (string | undefined) | undefined } | undefined /** Metadata for an ASSA ABLOY Vostio system. */ @@ -136898,8 +136870,6 @@ export type Routes = { gadget_id?: (string | undefined) | undefined /** Product name for an Akiles device. */ product_name?: (string | undefined) | undefined - /** Group ID to which to add users for an Akiles device. */ - _member_group_id?: (string | undefined) | undefined } | undefined /** Metadata for an ASSA ABLOY Vostio system. */ @@ -138792,8 +138762,6 @@ export type Routes = { gadget_id?: (string | undefined) | undefined /** Product name for an Akiles device. */ product_name?: (string | undefined) | undefined - /** Group ID to which to add users for an Akiles device. */ - _member_group_id?: (string | undefined) | undefined } | undefined /** Metadata for an ASSA ABLOY Vostio system. */ @@ -142241,8 +142209,6 @@ export type Routes = { gadget_id?: (string | undefined) | undefined /** Product name for an Akiles device. */ product_name?: (string | undefined) | undefined - /** Group ID to which to add users for an Akiles device. */ - _member_group_id?: (string | undefined) | undefined } | undefined /** Metadata for an ASSA ABLOY Vostio system. */