Skip to content

Commit 21e32c3

Browse files
committed
feat: Sync with Seam API via cb0ee5b5ca47a935dcd6fb86e4c2a2b8f48e1850
1 parent f1f25e7 commit 21e32c3

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

src/lib/seam/connect/models/customer/customer-portal.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@ export const portal_configuration_base = z.object({
103103
.enum(['en-US', 'pt-PT', 'fr-FR', 'it-IT', 'es-ES'])
104104
.optional()
105105
.describe('The locale to use for the portal.'),
106+
exclude_locale_picker: z
107+
.boolean()
108+
.default(false)
109+
.describe(
110+
'Whether to exclude the option to select a locale within the portal UI.',
111+
),
106112
customization_profile_id: z
107113
.string()
108114
.uuid()
@@ -170,6 +176,7 @@ export const portal_configuration = portal_configuration_base
170176
},
171177
},
172178
is_embedded: false,
179+
exclude_locale_picker: false,
173180
locale: undefined,
174181
customer_resources_filters: undefined,
175182
})

src/lib/seam/connect/openapi.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47270,6 +47270,7 @@ export default {
4727047270
allOf: [
4727147271
{
4727247272
default: {
47273+
exclude_locale_picker: false,
4727347274
features: {
4727447275
configure: {
4727547276
allow_access_automation_rule_customization: false,
@@ -47336,6 +47337,12 @@ export default {
4733647337
required: ['resource_type', 'resource_key'],
4733747338
type: 'object',
4733847339
},
47340+
exclude_locale_picker: {
47341+
default: false,
47342+
description:
47343+
'Whether to exclude the option to select a locale within the portal UI.',
47344+
type: 'boolean',
47345+
},
4733947346
features: {
4734047347
default: {},
4734147348
properties: {
@@ -62400,6 +62407,12 @@ export default {
6240062407
required: ['resource_type', 'resource_key'],
6240162408
type: 'object',
6240262409
},
62410+
exclude_locale_picker: {
62411+
default: false,
62412+
description:
62413+
'Whether to exclude the option to select a locale within the portal UI.',
62414+
type: 'boolean',
62415+
},
6240362416
features: {
6240462417
default: { $ref: '#/components/schemas/access_code' },
6240562418
properties: {
@@ -62773,6 +62786,12 @@ export default {
6277362786
required: ['resource_type', 'resource_key'],
6277462787
type: 'object',
6277562788
},
62789+
exclude_locale_picker: {
62790+
default: false,
62791+
description:
62792+
'Whether to exclude the option to select a locale within the portal UI.',
62793+
type: 'boolean',
62794+
},
6277662795
features: {
6277762796
default: { $ref: '#/components/schemas/access_code' },
6277862797
properties: {

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31971,6 +31971,8 @@ export type Routes = {
3197131971
| undefined
3197231972
/** The locale to use for the portal. */
3197331973
locale?: ('en-US' | 'pt-PT' | 'fr-FR' | 'it-IT' | 'es-ES') | undefined
31974+
/** Whether to exclude the option to select a locale within the portal UI. */
31975+
exclude_locale_picker?: boolean
3197431976
/** The ID of the customization profile to use for the portal. */
3197531977
customization_profile_id?: string | undefined
3197631978
/** Filter configuration for resources based on their custom_metadata. Each filter specifies a field, operation, and value to match against resource custom_metadata. */
@@ -71370,6 +71372,8 @@ export type Routes = {
7137071372
| undefined
7137171373
/** The locale to use for the portal. */
7137271374
locale?: ('en-US' | 'pt-PT' | 'fr-FR' | 'it-IT' | 'es-ES') | undefined
71375+
/** Whether to exclude the option to select a locale within the portal UI. */
71376+
exclude_locale_picker?: boolean
7137371377
/** The ID of the customization profile to use for the portal. */
7137471378
customization_profile_id?: string | undefined
7137571379
/** Filter configuration for resources based on their custom_metadata. Each filter specifies a field, operation, and value to match against resource custom_metadata. */

0 commit comments

Comments
 (0)