@seamapi/types 1.895.0 → 1.896.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -46133,9 +46133,9 @@ export type Routes = {
46133
46133
  /** Name of the property that changed (e.g. `code`). */
46134
46134
  property: string;
46135
46135
  /** Previous value of the property, or null if not set. */
46136
- previous_value: string | null;
46136
+ from: string | null;
46137
46137
  /** New value of the property, or null if cleared. */
46138
- new_value: string | null;
46138
+ to: string | null;
46139
46139
  }[] | undefined;
46140
46140
  /** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
46141
46141
  change_reason?: string | undefined;
@@ -48990,9 +48990,9 @@ export type Routes = {
48990
48990
  /** Name of the property that changed (e.g. `code`). */
48991
48991
  property: string;
48992
48992
  /** Previous value of the property, or null if not set. */
48993
- previous_value: string | null;
48993
+ from: string | null;
48994
48994
  /** New value of the property, or null if cleared. */
48995
- new_value: string | null;
48995
+ to: string | null;
48996
48996
  }[] | undefined;
48997
48997
  /** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
48998
48998
  change_reason?: string | undefined;
@@ -77290,9 +77290,9 @@ export type Routes = {
77290
77290
  /** Name of the property that changed (e.g. `code`). */
77291
77291
  property: string;
77292
77292
  /** Previous value of the property, or null if not set. */
77293
- previous_value: string | null;
77293
+ from: string | null;
77294
77294
  /** New value of the property, or null if cleared. */
77295
- new_value: string | null;
77295
+ to: string | null;
77296
77296
  }[] | undefined;
77297
77297
  /** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
77298
77298
  change_reason?: string | undefined;
@@ -113825,9 +113825,9 @@ export type Routes = {
113825
113825
  /** Name of the property that changed (e.g. `code`). */
113826
113826
  property: string;
113827
113827
  /** Previous value of the property, or null if not set. */
113828
- previous_value: string | null;
113828
+ from: string | null;
113829
113829
  /** New value of the property, or null if cleared. */
113830
- new_value: string | null;
113830
+ to: string | null;
113831
113831
  }[] | undefined;
113832
113832
  /** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
113833
113833
  change_reason?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.895.0",
3
+ "version": "1.896.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -73,11 +73,11 @@ export const access_code_changed_event = access_code_event.extend({
73
73
  property: z
74
74
  .string()
75
75
  .describe('Name of the property that changed (e.g. `code`).'),
76
- previous_value: z
76
+ from: z
77
77
  .string()
78
78
  .nullable()
79
79
  .describe('Previous value of the property, or null if not set.'),
80
- new_value: z
80
+ to: z
81
81
  .string()
82
82
  .nullable()
83
83
  .describe('New value of the property, or null if cleared.'),
@@ -17746,13 +17746,7 @@ const openapi: OpenAPISpec = {
17746
17746
  'List of properties that changed on the access code.',
17747
17747
  items: {
17748
17748
  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: {
17756
17750
  description:
17757
17751
  'Previous value of the property, or null if not set.',
17758
17752
  nullable: true,
@@ -17763,8 +17757,14 @@ const openapi: OpenAPISpec = {
17763
17757
  'Name of the property that changed (e.g. `code`).',
17764
17758
  type: 'string',
17765
17759
  },
17760
+ to: {
17761
+ description:
17762
+ 'New value of the property, or null if cleared.',
17763
+ nullable: true,
17764
+ type: 'string',
17765
+ },
17766
17766
  },
17767
- required: ['property', 'previous_value', 'new_value'],
17767
+ required: ['property', 'from', 'to'],
17768
17768
  type: 'object',
17769
17769
  },
17770
17770
  type: 'array',
@@ -55411,9 +55411,9 @@ export type Routes = {
55411
55411
  /** Name of the property that changed (e.g. `code`). */
55412
55412
  property: string
55413
55413
  /** Previous value of the property, or null if not set. */
55414
- previous_value: string | null
55414
+ from: string | null
55415
55415
  /** New value of the property, or null if cleared. */
55416
- new_value: string | null
55416
+ to: string | null
55417
55417
  }[]
55418
55418
  | undefined
55419
55419
  /** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
@@ -58844,9 +58844,9 @@ export type Routes = {
58844
58844
  /** Name of the property that changed (e.g. `code`). */
58845
58845
  property: string
58846
58846
  /** Previous value of the property, or null if not set. */
58847
- previous_value: string | null
58847
+ from: string | null
58848
58848
  /** New value of the property, or null if cleared. */
58849
- new_value: string | null
58849
+ to: string | null
58850
58850
  }[]
58851
58851
  | undefined
58852
58852
  /** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
@@ -92532,9 +92532,9 @@ export type Routes = {
92532
92532
  /** Name of the property that changed (e.g. `code`). */
92533
92533
  property: string
92534
92534
  /** Previous value of the property, or null if not set. */
92535
- previous_value: string | null
92535
+ from: string | null
92536
92536
  /** New value of the property, or null if cleared. */
92537
- new_value: string | null
92537
+ to: string | null
92538
92538
  }[]
92539
92539
  | undefined
92540
92540
  /** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
@@ -135604,9 +135604,9 @@ export type Routes = {
135604
135604
  /** Name of the property that changed (e.g. `code`). */
135605
135605
  property: string
135606
135606
  /** Previous value of the property, or null if not set. */
135607
- previous_value: string | null
135607
+ from: string | null
135608
135608
  /** New value of the property, or null if cleared. */
135609
- new_value: string | null
135609
+ to: string | null
135610
135610
  }[]
135611
135611
  | undefined
135612
135612
  /** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */