Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 3 additions & 18 deletions src/lib/seam/connect/models/access-codes/pending-mutations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<
Expand Down
6 changes: 0 additions & 6 deletions src/lib/seam/connect/models/devices/device-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.`),
Expand Down
6 changes: 0 additions & 6 deletions src/lib/seam/connect/models/devices/device.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
34 changes: 0 additions & 34 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down
Loading