Skip to content

Commit 79e7ec9

Browse files
committed
feat: Sync with Seam API via 4883c393485011832f8b1797dd169d71db966940
1 parent e8c677c commit 79e7ec9

3 files changed

Lines changed: 18 additions & 18 deletions

File tree

src/lib/seam/connect/models/events/access-codes.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ export const access_code_changed_event = access_code_event.extend({
7373
property: z
7474
.string()
7575
.describe('Name of the property that changed (e.g. `code`).'),
76-
previous_value: z
76+
from: z
7777
.string()
7878
.nullable()
7979
.describe('Previous value of the property, or null if not set.'),
80-
new_value: z
80+
to: z
8181
.string()
8282
.nullable()
8383
.describe('New value of the property, or null if cleared.'),

src/lib/seam/connect/openapi.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17746,13 +17746,7 @@ const openapi: OpenAPISpec = {
1774617746
'List of properties that changed on the access code.',
1774717747
items: {
1774817748
properties: {
17749-
new_value: {
17750-
description:
17751-
'New value of the property, or null if cleared.',
17752-
nullable: true,
17753-
type: 'string',
17754-
},
17755-
previous_value: {
17749+
from: {
1775617750
description:
1775717751
'Previous value of the property, or null if not set.',
1775817752
nullable: true,
@@ -17763,8 +17757,14 @@ const openapi: OpenAPISpec = {
1776317757
'Name of the property that changed (e.g. `code`).',
1776417758
type: 'string',
1776517759
},
17760+
to: {
17761+
description:
17762+
'New value of the property, or null if cleared.',
17763+
nullable: true,
17764+
type: 'string',
17765+
},
1776617766
},
17767-
required: ['property', 'previous_value', 'new_value'],
17767+
required: ['property', 'from', 'to'],
1776817768
type: 'object',
1776917769
},
1777017770
type: 'array',

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55411,9 +55411,9 @@ export type Routes = {
5541155411
/** Name of the property that changed (e.g. `code`). */
5541255412
property: string
5541355413
/** Previous value of the property, or null if not set. */
55414-
previous_value: string | null
55414+
from: string | null
5541555415
/** New value of the property, or null if cleared. */
55416-
new_value: string | null
55416+
to: string | null
5541755417
}[]
5541855418
| undefined
5541955419
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
@@ -58844,9 +58844,9 @@ export type Routes = {
5884458844
/** Name of the property that changed (e.g. `code`). */
5884558845
property: string
5884658846
/** Previous value of the property, or null if not set. */
58847-
previous_value: string | null
58847+
from: string | null
5884858848
/** New value of the property, or null if cleared. */
58849-
new_value: string | null
58849+
to: string | null
5885058850
}[]
5885158851
| undefined
5885258852
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
@@ -92532,9 +92532,9 @@ export type Routes = {
9253292532
/** Name of the property that changed (e.g. `code`). */
9253392533
property: string
9253492534
/** Previous value of the property, or null if not set. */
92535-
previous_value: string | null
92535+
from: string | null
9253692536
/** New value of the property, or null if cleared. */
92537-
new_value: string | null
92537+
to: string | null
9253892538
}[]
9253992539
| undefined
9254092540
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
@@ -135604,9 +135604,9 @@ export type Routes = {
135604135604
/** Name of the property that changed (e.g. `code`). */
135605135605
property: string
135606135606
/** Previous value of the property, or null if not set. */
135607-
previous_value: string | null
135607+
from: string | null
135608135608
/** New value of the property, or null if cleared. */
135609-
new_value: string | null
135609+
to: string | null
135610135610
}[]
135611135611
| undefined
135612135612
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */

0 commit comments

Comments
 (0)