@seamapi/types 1.905.0 → 1.907.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.
@@ -48032,6 +48032,8 @@ export type Routes = {
48032
48032
  [x: string]: string | boolean;
48033
48033
  } | undefined;
48034
48034
  event_type: 'device.deleted';
48035
+ /** Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name. */
48036
+ device_name?: (string | null) | undefined;
48035
48037
  } | {
48036
48038
  /** ID of the event. */
48037
48039
  event_id: string;
@@ -50889,6 +50891,8 @@ export type Routes = {
50889
50891
  [x: string]: string | boolean;
50890
50892
  } | undefined;
50891
50893
  event_type: 'device.deleted';
50894
+ /** Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name. */
50895
+ device_name?: (string | null) | undefined;
50892
50896
  } | {
50893
50897
  /** ID of the event. */
50894
50898
  event_id: string;
@@ -79378,6 +79382,8 @@ export type Routes = {
79378
79382
  [x: string]: string | boolean;
79379
79383
  } | undefined;
79380
79384
  event_type: 'device.deleted';
79385
+ /** Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name. */
79386
+ device_name?: (string | null) | undefined;
79381
79387
  } | {
79382
79388
  /** ID of the event. */
79383
79389
  event_id: string;
@@ -108688,6 +108694,8 @@ export type Routes = {
108688
108694
  primary_foreground_color?: string | undefined;
108689
108695
  secondary_color?: string | undefined;
108690
108696
  secondary_foreground_color?: string | undefined;
108697
+ font_family?: string | undefined;
108698
+ mono_font_family?: string | undefined;
108691
108699
  } | undefined;
108692
108700
  };
108693
108701
  commonParams: {};
@@ -108707,6 +108715,8 @@ export type Routes = {
108707
108715
  primary_foreground_color?: string | undefined;
108708
108716
  secondary_color?: string | undefined;
108709
108717
  secondary_foreground_color?: string | undefined;
108718
+ font_family?: string | undefined;
108719
+ mono_font_family?: string | undefined;
108710
108720
  } | undefined;
108711
108721
  };
108712
108722
  };
@@ -108736,6 +108746,8 @@ export type Routes = {
108736
108746
  primary_foreground_color?: string | undefined;
108737
108747
  secondary_color?: string | undefined;
108738
108748
  secondary_foreground_color?: string | undefined;
108749
+ font_family?: string | undefined;
108750
+ mono_font_family?: string | undefined;
108739
108751
  } | undefined;
108740
108752
  };
108741
108753
  };
@@ -108765,6 +108777,8 @@ export type Routes = {
108765
108777
  primary_foreground_color?: string | undefined;
108766
108778
  secondary_color?: string | undefined;
108767
108779
  secondary_foreground_color?: string | undefined;
108780
+ font_family?: string | undefined;
108781
+ mono_font_family?: string | undefined;
108768
108782
  } | undefined;
108769
108783
  }[];
108770
108784
  };
@@ -108784,6 +108798,8 @@ export type Routes = {
108784
108798
  primary_foreground_color?: string | undefined;
108785
108799
  secondary_color?: string | undefined;
108786
108800
  secondary_foreground_color?: string | undefined;
108801
+ font_family?: string | undefined;
108802
+ mono_font_family?: string | undefined;
108787
108803
  } | undefined) | null;
108788
108804
  };
108789
108805
  commonParams: {};
@@ -116033,6 +116049,8 @@ export type Routes = {
116033
116049
  [x: string]: string | boolean;
116034
116050
  } | undefined;
116035
116051
  event_type: 'device.deleted';
116052
+ /** Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name. */
116053
+ device_name?: (string | null) | undefined;
116036
116054
  } | {
116037
116055
  /** ID of the event. */
116038
116056
  event_id: string;
@@ -118493,6 +118511,8 @@ export type Routes = {
118493
118511
  primary_foreground_color?: string | undefined;
118494
118512
  secondary_color?: string | undefined;
118495
118513
  secondary_foreground_color?: string | undefined;
118514
+ font_family?: string | undefined;
118515
+ mono_font_family?: string | undefined;
118496
118516
  } | undefined;
118497
118517
  }[] | undefined;
118498
118518
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.905.0",
3
+ "version": "1.907.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -7,6 +7,8 @@ export const customer_portal_theme = z.object({
7
7
  primary_foreground_color: hex_color_code.optional(),
8
8
  secondary_color: hex_color_code.optional(),
9
9
  secondary_foreground_color: hex_color_code.optional(),
10
+ font_family: z.string().optional(),
11
+ mono_font_family: z.string().optional(),
10
12
  })
11
13
 
12
14
  export const customization_profile = z.object({
@@ -214,6 +214,13 @@ export type DeviceRemovedEvent = z.infer<typeof device_removed_event>
214
214
 
215
215
  export const device_deleted_event = device_event.extend({
216
216
  event_type: z.literal('device.deleted'),
217
+ device_name: z
218
+ .string()
219
+ .nullable()
220
+ .optional()
221
+ .describe(
222
+ 'Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name.',
223
+ ),
217
224
  }).describe(`
218
225
  ---
219
226
  route_path: /devices
@@ -13178,6 +13178,8 @@ const openapi: OpenAPISpec = {
13178
13178
  created_at: { format: 'date-time', type: 'string' },
13179
13179
  customer_portal_theme: {
13180
13180
  properties: {
13181
+ font_family: { type: 'string' },
13182
+ mono_font_family: { type: 'string' },
13181
13183
  primary_color: { type: 'string' },
13182
13184
  primary_foreground_color: { type: 'string' },
13183
13185
  secondary_color: { type: 'string' },
@@ -23707,6 +23709,12 @@ const openapi: OpenAPISpec = {
23707
23709
  format: 'uuid',
23708
23710
  type: 'string',
23709
23711
  },
23712
+ device_name: {
23713
+ description:
23714
+ 'Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name.',
23715
+ nullable: true,
23716
+ type: 'string',
23717
+ },
23710
23718
  event_id: {
23711
23719
  description: 'ID of the event.',
23712
23720
  format: 'uuid',
@@ -87158,6 +87166,8 @@ const openapi: OpenAPISpec = {
87158
87166
  properties: {
87159
87167
  customer_portal_theme: {
87160
87168
  properties: {
87169
+ font_family: { type: 'string' },
87170
+ mono_font_family: { type: 'string' },
87161
87171
  primary_color: { type: 'string' },
87162
87172
  primary_foreground_color: { type: 'string' },
87163
87173
  secondary_color: { type: 'string' },
@@ -87437,6 +87447,8 @@ const openapi: OpenAPISpec = {
87437
87447
  customer_portal_theme: {
87438
87448
  nullable: true,
87439
87449
  properties: {
87450
+ font_family: { type: 'string' },
87451
+ mono_font_family: { type: 'string' },
87440
87452
  primary_color: { type: 'string' },
87441
87453
  primary_foreground_color: { type: 'string' },
87442
87454
  secondary_color: { type: 'string' },
@@ -87496,6 +87508,8 @@ const openapi: OpenAPISpec = {
87496
87508
  customer_portal_theme: {
87497
87509
  nullable: true,
87498
87510
  properties: {
87511
+ font_family: { type: 'string' },
87512
+ mono_font_family: { type: 'string' },
87499
87513
  primary_color: { type: 'string' },
87500
87514
  primary_foreground_color: { type: 'string' },
87501
87515
  secondary_color: { type: 'string' },
@@ -57544,6 +57544,8 @@ export type Routes = {
57544
57544
  }
57545
57545
  | undefined
57546
57546
  event_type: 'device.deleted'
57547
+ /** Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name. */
57548
+ device_name?: (string | null) | undefined
57547
57549
  }
57548
57550
  | {
57549
57551
  /** ID of the event. */
@@ -60977,6 +60979,8 @@ export type Routes = {
60977
60979
  }
60978
60980
  | undefined
60979
60981
  event_type: 'device.deleted'
60982
+ /** Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name. */
60983
+ device_name?: (string | null) | undefined
60980
60984
  }
60981
60985
  | {
60982
60986
  /** ID of the event. */
@@ -94866,6 +94870,8 @@ export type Routes = {
94866
94870
  }
94867
94871
  | undefined
94868
94872
  event_type: 'device.deleted'
94873
+ /** Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name. */
94874
+ device_name?: (string | null) | undefined
94869
94875
  }
94870
94876
  | {
94871
94877
  /** ID of the event. */
@@ -129441,6 +129447,8 @@ export type Routes = {
129441
129447
  primary_foreground_color?: string | undefined
129442
129448
  secondary_color?: string | undefined
129443
129449
  secondary_foreground_color?: string | undefined
129450
+ font_family?: string | undefined
129451
+ mono_font_family?: string | undefined
129444
129452
  }
129445
129453
  | undefined
129446
129454
  }
@@ -129462,6 +129470,8 @@ export type Routes = {
129462
129470
  primary_foreground_color?: string | undefined
129463
129471
  secondary_color?: string | undefined
129464
129472
  secondary_foreground_color?: string | undefined
129473
+ font_family?: string | undefined
129474
+ mono_font_family?: string | undefined
129465
129475
  }
129466
129476
  | undefined
129467
129477
  }
@@ -129493,6 +129503,8 @@ export type Routes = {
129493
129503
  primary_foreground_color?: string | undefined
129494
129504
  secondary_color?: string | undefined
129495
129505
  secondary_foreground_color?: string | undefined
129506
+ font_family?: string | undefined
129507
+ mono_font_family?: string | undefined
129496
129508
  }
129497
129509
  | undefined
129498
129510
  }
@@ -129524,6 +129536,8 @@ export type Routes = {
129524
129536
  primary_foreground_color?: string | undefined
129525
129537
  secondary_color?: string | undefined
129526
129538
  secondary_foreground_color?: string | undefined
129539
+ font_family?: string | undefined
129540
+ mono_font_family?: string | undefined
129527
129541
  }
129528
129542
  | undefined
129529
129543
  }[]
@@ -129546,6 +129560,8 @@ export type Routes = {
129546
129560
  primary_foreground_color?: string | undefined
129547
129561
  secondary_color?: string | undefined
129548
129562
  secondary_foreground_color?: string | undefined
129563
+ font_family?: string | undefined
129564
+ mono_font_family?: string | undefined
129549
129565
  }
129550
129566
  | undefined
129551
129567
  )
@@ -138109,6 +138125,8 @@ export type Routes = {
138109
138125
  }
138110
138126
  | undefined
138111
138127
  event_type: 'device.deleted'
138128
+ /** Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name. */
138129
+ device_name?: (string | null) | undefined
138112
138130
  }
138113
138131
  | {
138114
138132
  /** ID of the event. */
@@ -140935,6 +140953,8 @@ export type Routes = {
140935
140953
  primary_foreground_color?: string | undefined
140936
140954
  secondary_color?: string | undefined
140937
140955
  secondary_foreground_color?: string | undefined
140956
+ font_family?: string | undefined
140957
+ mono_font_family?: string | undefined
140938
140958
  }
140939
140959
  | undefined
140940
140960
  }[]