@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.
- package/dist/connect.cjs +36 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +33 -0
- package/dist/index.cjs +36 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/customization-profiles/customization-profile.d.ts +4 -0
- package/lib/seam/connect/models/customization-profiles/customization-profile.js +5 -0
- package/lib/seam/connect/models/customization-profiles/customization-profile.js.map +1 -1
- package/lib/seam/connect/openapi.js +30 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +30 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/customization-profiles/customization-profile.ts +9 -0
- package/src/lib/seam/connect/openapi.ts +30 -0
- package/src/lib/seam/connect/route-types.ts +45 -0
|
@@ -21,6 +21,7 @@ export declare const customer_portal_theme: z.ZodObject<{
|
|
|
21
21
|
font_family?: string | undefined;
|
|
22
22
|
mono_font_family?: string | undefined;
|
|
23
23
|
}>;
|
|
24
|
+
export declare const message_overrides: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
24
25
|
export declare const customization_profile: z.ZodObject<{
|
|
25
26
|
workspace_id: z.ZodString;
|
|
26
27
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -51,6 +52,7 @@ export declare const customization_profile: z.ZodObject<{
|
|
|
51
52
|
font_family?: string | undefined;
|
|
52
53
|
mono_font_family?: string | undefined;
|
|
53
54
|
}>>;
|
|
55
|
+
message_overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
54
56
|
}, "strip", z.ZodTypeAny, {
|
|
55
57
|
name: string | null;
|
|
56
58
|
workspace_id: string;
|
|
@@ -67,6 +69,7 @@ export declare const customization_profile: z.ZodObject<{
|
|
|
67
69
|
font_family?: string | undefined;
|
|
68
70
|
mono_font_family?: string | undefined;
|
|
69
71
|
} | undefined;
|
|
72
|
+
message_overrides?: Record<string, Record<string, string>> | undefined;
|
|
70
73
|
}, {
|
|
71
74
|
name: string | null;
|
|
72
75
|
workspace_id: string;
|
|
@@ -83,5 +86,6 @@ export declare const customization_profile: z.ZodObject<{
|
|
|
83
86
|
font_family?: string | undefined;
|
|
84
87
|
mono_font_family?: string | undefined;
|
|
85
88
|
} | undefined;
|
|
89
|
+
message_overrides?: Record<string, Record<string, string>> | undefined;
|
|
86
90
|
}>;
|
|
87
91
|
export type CustomizationProfile = z.infer<typeof customization_profile>;
|
|
@@ -8,6 +8,10 @@ export const customer_portal_theme = z.object({
|
|
|
8
8
|
font_family: z.string().optional(),
|
|
9
9
|
mono_font_family: z.string().optional(),
|
|
10
10
|
});
|
|
11
|
+
// Per-locale portal label/terminology overrides:
|
|
12
|
+
// { [locale]: { ["Namespace.key"]: "Override string" } }
|
|
13
|
+
// e.g. { "en-US": { "Reservations.reservation": "Booking" } }
|
|
14
|
+
export const message_overrides = z.record(z.string(), z.record(z.string(), z.string()));
|
|
11
15
|
export const customization_profile = z.object({
|
|
12
16
|
workspace_id: z.string().uuid(),
|
|
13
17
|
name: z.string().nullable(),
|
|
@@ -17,6 +21,7 @@ export const customization_profile = z.object({
|
|
|
17
21
|
primary_color: z.string().optional(),
|
|
18
22
|
secondary_color: z.string().optional(),
|
|
19
23
|
customer_portal_theme: customer_portal_theme.optional(),
|
|
24
|
+
message_overrides: message_overrides.optional(),
|
|
20
25
|
}).describe(`
|
|
21
26
|
---
|
|
22
27
|
title: Customization Profile
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customization-profile.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customization-profiles/customization-profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,aAAa,EAAE,cAAc,CAAC,QAAQ,EAAE;IACxC,wBAAwB,EAAE,cAAc,CAAC,QAAQ,EAAE;IACnD,eAAe,EAAE,cAAc,CAAC,QAAQ,EAAE;IAC1C,0BAA0B,EAAE,cAAc,CAAC,QAAQ,EAAE;IACrD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACxC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,wBAAwB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC3C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACrC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,qBAAqB,EAAE,qBAAqB,CAAC,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"customization-profile.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customization-profiles/customization-profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CA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|
@@ -11657,6 +11657,13 @@ const openapi = {
|
|
|
11657
11657
|
},
|
|
11658
11658
|
customization_profile_id: { format: 'uuid', type: 'string' },
|
|
11659
11659
|
logo_url: { format: 'uri', type: 'string' },
|
|
11660
|
+
message_overrides: {
|
|
11661
|
+
additionalProperties: {
|
|
11662
|
+
additionalProperties: { type: 'string' },
|
|
11663
|
+
type: 'object',
|
|
11664
|
+
},
|
|
11665
|
+
type: 'object',
|
|
11666
|
+
},
|
|
11660
11667
|
name: { nullable: true, type: 'string' },
|
|
11661
11668
|
primary_color: { type: 'string' },
|
|
11662
11669
|
secondary_color: { type: 'string' },
|
|
@@ -80629,6 +80636,13 @@ const openapi = {
|
|
|
80629
80636
|
},
|
|
80630
80637
|
type: 'object',
|
|
80631
80638
|
},
|
|
80639
|
+
message_overrides: {
|
|
80640
|
+
additionalProperties: {
|
|
80641
|
+
additionalProperties: { type: 'string' },
|
|
80642
|
+
type: 'object',
|
|
80643
|
+
},
|
|
80644
|
+
type: 'object',
|
|
80645
|
+
},
|
|
80632
80646
|
name: { default: null, nullable: true, type: 'string' },
|
|
80633
80647
|
primary_color: { type: 'string' },
|
|
80634
80648
|
secondary_color: { type: 'string' },
|
|
@@ -80909,6 +80923,14 @@ const openapi = {
|
|
|
80909
80923
|
type: 'object',
|
|
80910
80924
|
},
|
|
80911
80925
|
customization_profile_id: { format: 'uuid', type: 'string' },
|
|
80926
|
+
message_overrides: {
|
|
80927
|
+
additionalProperties: {
|
|
80928
|
+
additionalProperties: { type: 'string' },
|
|
80929
|
+
type: 'object',
|
|
80930
|
+
},
|
|
80931
|
+
nullable: true,
|
|
80932
|
+
type: 'object',
|
|
80933
|
+
},
|
|
80912
80934
|
name: { nullable: true, type: 'string' },
|
|
80913
80935
|
primary_color: { type: 'string' },
|
|
80914
80936
|
secondary_color: { type: 'string' },
|
|
@@ -80970,6 +80992,14 @@ const openapi = {
|
|
|
80970
80992
|
type: 'object',
|
|
80971
80993
|
},
|
|
80972
80994
|
customization_profile_id: { format: 'uuid', type: 'string' },
|
|
80995
|
+
message_overrides: {
|
|
80996
|
+
additionalProperties: {
|
|
80997
|
+
additionalProperties: { type: 'string' },
|
|
80998
|
+
type: 'object',
|
|
80999
|
+
},
|
|
81000
|
+
nullable: true,
|
|
81001
|
+
type: 'object',
|
|
81002
|
+
},
|
|
80973
81003
|
name: { nullable: true, type: 'string' },
|
|
80974
81004
|
primary_color: { type: 'string' },
|
|
80975
81005
|
secondary_color: { type: 'string' },
|