Skip to content

Commit 5d3baa9

Browse files
authored
feat: Sync with Seam API via 1be5e048be1bcc8e2118d07e2b4fc1d0a757c9af (#2536)
1 parent 4bcc468 commit 5d3baa9

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,8 @@ export const portal_configuration_base = z.object({
9494
.optional()
9595
.describe('Configuration for the landing page when the portal loads.'),
9696
locale: z
97-
.enum(['en-US', 'pt-PT', 'auto'])
97+
.enum(['en-US', 'pt-PT'])
9898
.optional()
99-
.default('auto')
10099
.describe('The locale to use for the portal.'),
101100
customization_profile_id: z
102101
.string()
@@ -125,7 +124,7 @@ export const portal_configuration = portal_configuration_base
125124
},
126125
},
127126
is_embedded: false,
128-
locale: 'auto',
127+
locale: undefined,
129128
})
130129
.describe(`Configuration for a customer portal`)
131130

src/lib/seam/connect/openapi.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41075,7 +41075,6 @@ export default {
4107541075
organize: { exclude: false },
4107641076
},
4107741077
is_embedded: false,
41078-
locale: 'auto',
4107941078
},
4108041079
description: 'Configuration for a customer portal',
4108141080
properties: {
@@ -41314,9 +41313,8 @@ export default {
4131441313
type: 'object',
4131541314
},
4131641315
locale: {
41317-
default: 'auto',
4131841316
description: 'The locale to use for the portal.',
41319-
enum: ['en-US', 'pt-PT', 'auto'],
41317+
enum: ['en-US', 'pt-PT'],
4132041318
type: 'string',
4132141319
},
4132241320
},
@@ -54181,9 +54179,8 @@ export default {
5418154179
type: 'object',
5418254180
},
5418354181
locale: {
54184-
default: 'auto',
5418554182
description: 'The locale to use for the portal.',
54186-
enum: ['en-US', 'pt-PT', 'auto'],
54183+
enum: ['en-US', 'pt-PT'],
5418754184
type: 'string',
5418854185
},
5418954186
},
@@ -54499,9 +54496,8 @@ export default {
5449954496
type: 'object',
5450054497
},
5450154498
locale: {
54502-
default: 'auto',
5450354499
description: 'The locale to use for the portal.',
54504-
enum: ['en-US', 'pt-PT', 'auto'],
54500+
enum: ['en-US', 'pt-PT'],
5450554501
type: 'string',
5450654502
},
5450754503
},

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30556,7 +30556,7 @@ export type Routes = {
3055630556
}
3055730557
| undefined
3055830558
/** The locale to use for the portal. */
30559-
locale?: 'en-US' | 'pt-PT' | 'auto'
30559+
locale?: ('en-US' | 'pt-PT') | undefined
3056030560
/** The ID of the customization profile to use for the portal. */
3056130561
customization_profile_id?: string | undefined
3056230562
} & {
@@ -64501,7 +64501,7 @@ export type Routes = {
6450164501
}
6450264502
| undefined
6450364503
/** The locale to use for the portal. */
64504-
locale?: 'en-US' | 'pt-PT' | 'auto'
64504+
locale?: ('en-US' | 'pt-PT') | undefined
6450564505
/** The ID of the customization profile to use for the portal. */
6450664506
customization_profile_id?: string | undefined
6450764507
/** Business vertical of the customer portal. */

0 commit comments

Comments
 (0)