@seamapi/types 1.908.0 → 1.909.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.
@@ -108737,6 +108737,11 @@ export type Routes = {
108737
108737
  font_family?: string | undefined;
108738
108738
  mono_font_family?: string | undefined;
108739
108739
  } | undefined;
108740
+ message_overrides?: {
108741
+ [x: string]: {
108742
+ [x: string]: string;
108743
+ };
108744
+ } | undefined;
108740
108745
  };
108741
108746
  commonParams: {};
108742
108747
  formData: {};
@@ -108758,6 +108763,11 @@ export type Routes = {
108758
108763
  font_family?: string | undefined;
108759
108764
  mono_font_family?: string | undefined;
108760
108765
  } | undefined;
108766
+ message_overrides?: {
108767
+ [x: string]: {
108768
+ [x: string]: string;
108769
+ };
108770
+ } | undefined;
108761
108771
  };
108762
108772
  };
108763
108773
  maxDuration: undefined;
@@ -108789,6 +108799,11 @@ export type Routes = {
108789
108799
  font_family?: string | undefined;
108790
108800
  mono_font_family?: string | undefined;
108791
108801
  } | undefined;
108802
+ message_overrides?: {
108803
+ [x: string]: {
108804
+ [x: string]: string;
108805
+ };
108806
+ } | undefined;
108792
108807
  };
108793
108808
  };
108794
108809
  maxDuration: undefined;
@@ -108820,6 +108835,11 @@ export type Routes = {
108820
108835
  font_family?: string | undefined;
108821
108836
  mono_font_family?: string | undefined;
108822
108837
  } | undefined;
108838
+ message_overrides?: {
108839
+ [x: string]: {
108840
+ [x: string]: string;
108841
+ };
108842
+ } | undefined;
108823
108843
  }[];
108824
108844
  };
108825
108845
  maxDuration: undefined;
@@ -108841,6 +108861,11 @@ export type Routes = {
108841
108861
  font_family?: string | undefined;
108842
108862
  mono_font_family?: string | undefined;
108843
108863
  } | undefined) | null;
108864
+ message_overrides?: ({
108865
+ [x: string]: {
108866
+ [x: string]: string;
108867
+ };
108868
+ } | undefined) | null;
108844
108869
  };
108845
108870
  commonParams: {};
108846
108871
  formData: {};
@@ -118554,6 +118579,11 @@ export type Routes = {
118554
118579
  font_family?: string | undefined;
118555
118580
  mono_font_family?: string | undefined;
118556
118581
  } | undefined;
118582
+ message_overrides?: {
118583
+ [x: string]: {
118584
+ [x: string]: string;
118585
+ };
118586
+ } | undefined;
118557
118587
  }[] | undefined;
118558
118588
  };
118559
118589
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.908.0",
3
+ "version": "1.909.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -59,6 +59,7 @@ export {
59
59
  magic_link,
60
60
  access_code as managed_access_code,
61
61
  device as managed_device,
62
+ message_overrides,
62
63
  neutral_resource,
63
64
  noise_sensor_device_type,
64
65
  noise_threshold,
@@ -11,6 +11,14 @@ export const customer_portal_theme = z.object({
11
11
  mono_font_family: z.string().optional(),
12
12
  })
13
13
 
14
+ // Per-locale portal label/terminology overrides:
15
+ // { [locale]: { ["Namespace.key"]: "Override string" } }
16
+ // e.g. { "en-US": { "Reservations.reservation": "Booking" } }
17
+ export const message_overrides = z.record(
18
+ z.string(),
19
+ z.record(z.string(), z.string()),
20
+ )
21
+
14
22
  export const customization_profile = z.object({
15
23
  workspace_id: z.string().uuid(),
16
24
  name: z.string().nullable(),
@@ -20,6 +28,7 @@ export const customization_profile = z.object({
20
28
  primary_color: z.string().optional(),
21
29
  secondary_color: z.string().optional(),
22
30
  customer_portal_theme: customer_portal_theme.optional(),
31
+ message_overrides: message_overrides.optional(),
23
32
  }).describe(`
24
33
  ---
25
34
  title: Customization Profile
@@ -13189,6 +13189,13 @@ const openapi: OpenAPISpec = {
13189
13189
  },
13190
13190
  customization_profile_id: { format: 'uuid', type: 'string' },
13191
13191
  logo_url: { format: 'uri', type: 'string' },
13192
+ message_overrides: {
13193
+ additionalProperties: {
13194
+ additionalProperties: { type: 'string' },
13195
+ type: 'object',
13196
+ },
13197
+ type: 'object',
13198
+ },
13192
13199
  name: { nullable: true, type: 'string' },
13193
13200
  primary_color: { type: 'string' },
13194
13201
  secondary_color: { type: 'string' },
@@ -87316,6 +87323,13 @@ const openapi: OpenAPISpec = {
87316
87323
  },
87317
87324
  type: 'object',
87318
87325
  },
87326
+ message_overrides: {
87327
+ additionalProperties: {
87328
+ additionalProperties: { type: 'string' },
87329
+ type: 'object',
87330
+ },
87331
+ type: 'object',
87332
+ },
87319
87333
  name: { default: null, nullable: true, type: 'string' },
87320
87334
  primary_color: { type: 'string' },
87321
87335
  secondary_color: { type: 'string' },
@@ -87598,6 +87612,14 @@ const openapi: OpenAPISpec = {
87598
87612
  type: 'object',
87599
87613
  },
87600
87614
  customization_profile_id: { format: 'uuid', type: 'string' },
87615
+ message_overrides: {
87616
+ additionalProperties: {
87617
+ additionalProperties: { type: 'string' },
87618
+ type: 'object',
87619
+ },
87620
+ nullable: true,
87621
+ type: 'object',
87622
+ },
87601
87623
  name: { nullable: true, type: 'string' },
87602
87624
  primary_color: { type: 'string' },
87603
87625
  secondary_color: { type: 'string' },
@@ -87659,6 +87681,14 @@ const openapi: OpenAPISpec = {
87659
87681
  type: 'object',
87660
87682
  },
87661
87683
  customization_profile_id: { format: 'uuid', type: 'string' },
87684
+ message_overrides: {
87685
+ additionalProperties: {
87686
+ additionalProperties: { type: 'string' },
87687
+ type: 'object',
87688
+ },
87689
+ nullable: true,
87690
+ type: 'object',
87691
+ },
87662
87692
  name: { nullable: true, type: 'string' },
87663
87693
  primary_color: { type: 'string' },
87664
87694
  secondary_color: { type: 'string' },
@@ -129497,6 +129497,13 @@ export type Routes = {
129497
129497
  mono_font_family?: string | undefined
129498
129498
  }
129499
129499
  | undefined
129500
+ message_overrides?:
129501
+ | {
129502
+ [x: string]: {
129503
+ [x: string]: string
129504
+ }
129505
+ }
129506
+ | undefined
129500
129507
  }
129501
129508
  commonParams: {}
129502
129509
  formData: {}
@@ -129520,6 +129527,13 @@ export type Routes = {
129520
129527
  mono_font_family?: string | undefined
129521
129528
  }
129522
129529
  | undefined
129530
+ message_overrides?:
129531
+ | {
129532
+ [x: string]: {
129533
+ [x: string]: string
129534
+ }
129535
+ }
129536
+ | undefined
129523
129537
  }
129524
129538
  }
129525
129539
  maxDuration: undefined
@@ -129553,6 +129567,13 @@ export type Routes = {
129553
129567
  mono_font_family?: string | undefined
129554
129568
  }
129555
129569
  | undefined
129570
+ message_overrides?:
129571
+ | {
129572
+ [x: string]: {
129573
+ [x: string]: string
129574
+ }
129575
+ }
129576
+ | undefined
129556
129577
  }
129557
129578
  }
129558
129579
  maxDuration: undefined
@@ -129586,6 +129607,13 @@ export type Routes = {
129586
129607
  mono_font_family?: string | undefined
129587
129608
  }
129588
129609
  | undefined
129610
+ message_overrides?:
129611
+ | {
129612
+ [x: string]: {
129613
+ [x: string]: string
129614
+ }
129615
+ }
129616
+ | undefined
129589
129617
  }[]
129590
129618
  }
129591
129619
  maxDuration: undefined
@@ -129612,6 +129640,16 @@ export type Routes = {
129612
129640
  | undefined
129613
129641
  )
129614
129642
  | null
129643
+ message_overrides?:
129644
+ | (
129645
+ | {
129646
+ [x: string]: {
129647
+ [x: string]: string
129648
+ }
129649
+ }
129650
+ | undefined
129651
+ )
129652
+ | null
129615
129653
  }
129616
129654
  commonParams: {}
129617
129655
  formData: {}
@@ -141003,6 +141041,13 @@ export type Routes = {
141003
141041
  mono_font_family?: string | undefined
141004
141042
  }
141005
141043
  | undefined
141044
+ message_overrides?:
141045
+ | {
141046
+ [x: string]: {
141047
+ [x: string]: string
141048
+ }
141049
+ }
141050
+ | undefined
141006
141051
  }[]
141007
141052
  | undefined
141008
141053
  }