@seamapi/types 1.651.0 → 1.652.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 +35 -16
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +44 -19
- package/dist/index.cjs +35 -16
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/customer/customer-portal.d.ts +12 -14
- package/lib/seam/connect/models/customer/customer-portal.js +11 -5
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +36 -15
- package/lib/seam/connect/openapi.js +34 -15
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +8 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/customer-portal.ts +11 -5
- package/src/lib/seam/connect/openapi.ts +37 -18
- package/src/lib/seam/connect/route-types.ts +8 -4
|
@@ -26352,8 +26352,6 @@ export type Routes = {
|
|
|
26352
26352
|
configure?: {
|
|
26353
26353
|
/** Whether to exclude this feature from the portal. */
|
|
26354
26354
|
exclude?: boolean;
|
|
26355
|
-
/** The ID of the customization profile to use for the portal. */
|
|
26356
|
-
customization_profile_id?: string | undefined;
|
|
26357
26355
|
/** Indicates whether the customer can customize the access automation rules for their properties. */
|
|
26358
26356
|
allow_access_automation_rule_customization?: boolean;
|
|
26359
26357
|
/** Indicates whether the customer can customize the Instant Key profile for their properties. */
|
|
@@ -26392,6 +26390,10 @@ export type Routes = {
|
|
|
26392
26390
|
access_grant_key: string;
|
|
26393
26391
|
})) | undefined;
|
|
26394
26392
|
} | undefined;
|
|
26393
|
+
/** The locale to use for the portal. */
|
|
26394
|
+
locale?: 'en-US' | 'pt-PT' | 'auto';
|
|
26395
|
+
/** The ID of the customization profile to use for the portal. */
|
|
26396
|
+
customization_profile_id?: string | undefined;
|
|
26395
26397
|
} & {
|
|
26396
26398
|
customer_data?: {
|
|
26397
26399
|
/** Your unique identifier for the customer. */
|
|
@@ -54077,8 +54079,6 @@ export type Routes = {
|
|
|
54077
54079
|
configure?: {
|
|
54078
54080
|
/** Whether to exclude this feature from the portal. */
|
|
54079
54081
|
exclude?: boolean;
|
|
54080
|
-
/** The ID of the customization profile to use for the portal. */
|
|
54081
|
-
customization_profile_id?: string | undefined;
|
|
54082
54082
|
/** Indicates whether the customer can customize the access automation rules for their properties. */
|
|
54083
54083
|
allow_access_automation_rule_customization?: boolean;
|
|
54084
54084
|
/** Indicates whether the customer can customize the Instant Key profile for their properties. */
|
|
@@ -54117,6 +54117,10 @@ export type Routes = {
|
|
|
54117
54117
|
access_grant_key: string;
|
|
54118
54118
|
})) | undefined;
|
|
54119
54119
|
} | undefined;
|
|
54120
|
+
/** The locale to use for the portal. */
|
|
54121
|
+
locale?: 'en-US' | 'pt-PT' | 'auto';
|
|
54122
|
+
/** The ID of the customization profile to use for the portal. */
|
|
54123
|
+
customization_profile_id?: string | undefined;
|
|
54120
54124
|
/** Business vertical of the customer portal. */
|
|
54121
54125
|
business_vertical?: ('short_term_rental' | 'hospitality' | 'multi_family' | 'gym_management' | 'property_tours') | undefined;
|
|
54122
54126
|
};
|
package/package.json
CHANGED
|
@@ -44,11 +44,6 @@ const base_manage_feature = base_feature.extend({
|
|
|
44
44
|
const base_organize_feature = base_feature
|
|
45
45
|
|
|
46
46
|
const base_configure_feature = base_feature.extend({
|
|
47
|
-
customization_profile_id: z
|
|
48
|
-
.string()
|
|
49
|
-
.uuid()
|
|
50
|
-
.optional()
|
|
51
|
-
.describe('The ID of the customization profile to use for the portal.'),
|
|
52
47
|
allow_access_automation_rule_customization: z
|
|
53
48
|
.boolean()
|
|
54
49
|
.default(false)
|
|
@@ -98,6 +93,16 @@ export const portal_configuration_base = z.object({
|
|
|
98
93
|
})
|
|
99
94
|
.optional()
|
|
100
95
|
.describe('Configuration for the landing page when the portal loads.'),
|
|
96
|
+
locale: z
|
|
97
|
+
.enum(['en-US', 'pt-PT', 'auto'])
|
|
98
|
+
.optional()
|
|
99
|
+
.default('auto')
|
|
100
|
+
.describe('The locale to use for the portal.'),
|
|
101
|
+
customization_profile_id: z
|
|
102
|
+
.string()
|
|
103
|
+
.uuid()
|
|
104
|
+
.optional()
|
|
105
|
+
.describe('The ID of the customization profile to use for the portal.'),
|
|
101
106
|
})
|
|
102
107
|
|
|
103
108
|
export const portal_configuration = portal_configuration_base
|
|
@@ -120,6 +125,7 @@ export const portal_configuration = portal_configuration_base
|
|
|
120
125
|
},
|
|
121
126
|
},
|
|
122
127
|
is_embedded: false,
|
|
128
|
+
locale: 'auto',
|
|
123
129
|
})
|
|
124
130
|
.describe(`Configuration for a customer portal`)
|
|
125
131
|
|
|
@@ -41075,9 +41075,16 @@ export default {
|
|
|
41075
41075
|
organize: { exclude: false },
|
|
41076
41076
|
},
|
|
41077
41077
|
is_embedded: false,
|
|
41078
|
+
locale: 'auto',
|
|
41078
41079
|
},
|
|
41079
41080
|
description: 'Configuration for a customer portal',
|
|
41080
41081
|
properties: {
|
|
41082
|
+
customization_profile_id: {
|
|
41083
|
+
description:
|
|
41084
|
+
'The ID of the customization profile to use for the portal.',
|
|
41085
|
+
format: 'uuid',
|
|
41086
|
+
type: 'string',
|
|
41087
|
+
},
|
|
41081
41088
|
features: {
|
|
41082
41089
|
default: {},
|
|
41083
41090
|
properties: {
|
|
@@ -41098,12 +41105,6 @@ export default {
|
|
|
41098
41105
|
'Indicates whether the customer can customize the Instant Key profile for their properties.',
|
|
41099
41106
|
type: 'boolean',
|
|
41100
41107
|
},
|
|
41101
|
-
customization_profile_id: {
|
|
41102
|
-
description:
|
|
41103
|
-
'The ID of the customization profile to use for the portal.',
|
|
41104
|
-
format: 'uuid',
|
|
41105
|
-
type: 'string',
|
|
41106
|
-
},
|
|
41107
41108
|
exclude: {
|
|
41108
41109
|
default: false,
|
|
41109
41110
|
description:
|
|
@@ -41312,6 +41313,12 @@ export default {
|
|
|
41312
41313
|
},
|
|
41313
41314
|
type: 'object',
|
|
41314
41315
|
},
|
|
41316
|
+
locale: {
|
|
41317
|
+
default: 'auto',
|
|
41318
|
+
description: 'The locale to use for the portal.',
|
|
41319
|
+
enum: ['en-US', 'pt-PT', 'auto'],
|
|
41320
|
+
type: 'string',
|
|
41321
|
+
},
|
|
41315
41322
|
},
|
|
41316
41323
|
type: 'object',
|
|
41317
41324
|
},
|
|
@@ -53927,6 +53934,12 @@ export default {
|
|
|
53927
53934
|
],
|
|
53928
53935
|
type: 'string',
|
|
53929
53936
|
},
|
|
53937
|
+
customization_profile_id: {
|
|
53938
|
+
description:
|
|
53939
|
+
'The ID of the customization profile to use for the portal.',
|
|
53940
|
+
format: 'uuid',
|
|
53941
|
+
type: 'string',
|
|
53942
|
+
},
|
|
53930
53943
|
features: {
|
|
53931
53944
|
default: { $ref: '#/components/schemas/access_code' },
|
|
53932
53945
|
properties: {
|
|
@@ -53949,12 +53962,6 @@ export default {
|
|
|
53949
53962
|
'Indicates whether the customer can customize the Instant Key profile for their properties.',
|
|
53950
53963
|
type: 'boolean',
|
|
53951
53964
|
},
|
|
53952
|
-
customization_profile_id: {
|
|
53953
|
-
description:
|
|
53954
|
-
'The ID of the customization profile to use for the portal.',
|
|
53955
|
-
format: 'uuid',
|
|
53956
|
-
type: 'string',
|
|
53957
|
-
},
|
|
53958
53965
|
exclude: {
|
|
53959
53966
|
default: false,
|
|
53960
53967
|
description:
|
|
@@ -54173,6 +54180,12 @@ export default {
|
|
|
54173
54180
|
},
|
|
54174
54181
|
type: 'object',
|
|
54175
54182
|
},
|
|
54183
|
+
locale: {
|
|
54184
|
+
default: 'auto',
|
|
54185
|
+
description: 'The locale to use for the portal.',
|
|
54186
|
+
enum: ['en-US', 'pt-PT', 'auto'],
|
|
54187
|
+
type: 'string',
|
|
54188
|
+
},
|
|
54176
54189
|
},
|
|
54177
54190
|
type: 'object',
|
|
54178
54191
|
},
|
|
@@ -54239,6 +54252,12 @@ export default {
|
|
|
54239
54252
|
],
|
|
54240
54253
|
type: 'string',
|
|
54241
54254
|
},
|
|
54255
|
+
customization_profile_id: {
|
|
54256
|
+
description:
|
|
54257
|
+
'The ID of the customization profile to use for the portal.',
|
|
54258
|
+
format: 'uuid',
|
|
54259
|
+
type: 'string',
|
|
54260
|
+
},
|
|
54242
54261
|
features: {
|
|
54243
54262
|
default: { $ref: '#/components/schemas/access_code' },
|
|
54244
54263
|
properties: {
|
|
@@ -54261,12 +54280,6 @@ export default {
|
|
|
54261
54280
|
'Indicates whether the customer can customize the Instant Key profile for their properties.',
|
|
54262
54281
|
type: 'boolean',
|
|
54263
54282
|
},
|
|
54264
|
-
customization_profile_id: {
|
|
54265
|
-
description:
|
|
54266
|
-
'The ID of the customization profile to use for the portal.',
|
|
54267
|
-
format: 'uuid',
|
|
54268
|
-
type: 'string',
|
|
54269
|
-
},
|
|
54270
54283
|
exclude: {
|
|
54271
54284
|
default: false,
|
|
54272
54285
|
description:
|
|
@@ -54485,6 +54498,12 @@ export default {
|
|
|
54485
54498
|
},
|
|
54486
54499
|
type: 'object',
|
|
54487
54500
|
},
|
|
54501
|
+
locale: {
|
|
54502
|
+
default: 'auto',
|
|
54503
|
+
description: 'The locale to use for the portal.',
|
|
54504
|
+
enum: ['en-US', 'pt-PT', 'auto'],
|
|
54505
|
+
type: 'string',
|
|
54506
|
+
},
|
|
54488
54507
|
},
|
|
54489
54508
|
type: 'object',
|
|
54490
54509
|
},
|
|
@@ -30495,8 +30495,6 @@ export type Routes = {
|
|
|
30495
30495
|
configure?: {
|
|
30496
30496
|
/** Whether to exclude this feature from the portal. */
|
|
30497
30497
|
exclude?: boolean
|
|
30498
|
-
/** The ID of the customization profile to use for the portal. */
|
|
30499
|
-
customization_profile_id?: string | undefined
|
|
30500
30498
|
/** Indicates whether the customer can customize the access automation rules for their properties. */
|
|
30501
30499
|
allow_access_automation_rule_customization?: boolean
|
|
30502
30500
|
/** Indicates whether the customer can customize the Instant Key profile for their properties. */
|
|
@@ -30557,6 +30555,10 @@ export type Routes = {
|
|
|
30557
30555
|
| undefined
|
|
30558
30556
|
}
|
|
30559
30557
|
| undefined
|
|
30558
|
+
/** The locale to use for the portal. */
|
|
30559
|
+
locale?: 'en-US' | 'pt-PT' | 'auto'
|
|
30560
|
+
/** The ID of the customization profile to use for the portal. */
|
|
30561
|
+
customization_profile_id?: string | undefined
|
|
30560
30562
|
} & {
|
|
30561
30563
|
customer_data?:
|
|
30562
30564
|
| {
|
|
@@ -64438,8 +64440,6 @@ export type Routes = {
|
|
|
64438
64440
|
configure?: {
|
|
64439
64441
|
/** Whether to exclude this feature from the portal. */
|
|
64440
64442
|
exclude?: boolean
|
|
64441
|
-
/** The ID of the customization profile to use for the portal. */
|
|
64442
|
-
customization_profile_id?: string | undefined
|
|
64443
64443
|
/** Indicates whether the customer can customize the access automation rules for their properties. */
|
|
64444
64444
|
allow_access_automation_rule_customization?: boolean
|
|
64445
64445
|
/** Indicates whether the customer can customize the Instant Key profile for their properties. */
|
|
@@ -64500,6 +64500,10 @@ export type Routes = {
|
|
|
64500
64500
|
| undefined
|
|
64501
64501
|
}
|
|
64502
64502
|
| undefined
|
|
64503
|
+
/** The locale to use for the portal. */
|
|
64504
|
+
locale?: 'en-US' | 'pt-PT' | 'auto'
|
|
64505
|
+
/** The ID of the customization profile to use for the portal. */
|
|
64506
|
+
customization_profile_id?: string | undefined
|
|
64503
64507
|
/** Business vertical of the customer portal. */
|
|
64504
64508
|
business_vertical?:
|
|
64505
64509
|
| (
|