@seamapi/types 1.651.0 → 1.653.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 +30 -15
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +40 -19
- package/dist/index.cjs +30 -15
- 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 +10 -5
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +32 -15
- package/lib/seam/connect/openapi.js +30 -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 +10 -5
- package/src/lib/seam/connect/openapi.ts +33 -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') | undefined;
|
|
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') | undefined;
|
|
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,15 @@ 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'])
|
|
98
|
+
.optional()
|
|
99
|
+
.describe('The locale to use for the portal.'),
|
|
100
|
+
customization_profile_id: z
|
|
101
|
+
.string()
|
|
102
|
+
.uuid()
|
|
103
|
+
.optional()
|
|
104
|
+
.describe('The ID of the customization profile to use for the portal.'),
|
|
101
105
|
})
|
|
102
106
|
|
|
103
107
|
export const portal_configuration = portal_configuration_base
|
|
@@ -120,6 +124,7 @@ export const portal_configuration = portal_configuration_base
|
|
|
120
124
|
},
|
|
121
125
|
},
|
|
122
126
|
is_embedded: false,
|
|
127
|
+
locale: undefined,
|
|
123
128
|
})
|
|
124
129
|
.describe(`Configuration for a customer portal`)
|
|
125
130
|
|
|
@@ -41078,6 +41078,12 @@ export default {
|
|
|
41078
41078
|
},
|
|
41079
41079
|
description: 'Configuration for a customer portal',
|
|
41080
41080
|
properties: {
|
|
41081
|
+
customization_profile_id: {
|
|
41082
|
+
description:
|
|
41083
|
+
'The ID of the customization profile to use for the portal.',
|
|
41084
|
+
format: 'uuid',
|
|
41085
|
+
type: 'string',
|
|
41086
|
+
},
|
|
41081
41087
|
features: {
|
|
41082
41088
|
default: {},
|
|
41083
41089
|
properties: {
|
|
@@ -41098,12 +41104,6 @@ export default {
|
|
|
41098
41104
|
'Indicates whether the customer can customize the Instant Key profile for their properties.',
|
|
41099
41105
|
type: 'boolean',
|
|
41100
41106
|
},
|
|
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
41107
|
exclude: {
|
|
41108
41108
|
default: false,
|
|
41109
41109
|
description:
|
|
@@ -41312,6 +41312,11 @@ export default {
|
|
|
41312
41312
|
},
|
|
41313
41313
|
type: 'object',
|
|
41314
41314
|
},
|
|
41315
|
+
locale: {
|
|
41316
|
+
description: 'The locale to use for the portal.',
|
|
41317
|
+
enum: ['en-US', 'pt-PT'],
|
|
41318
|
+
type: 'string',
|
|
41319
|
+
},
|
|
41315
41320
|
},
|
|
41316
41321
|
type: 'object',
|
|
41317
41322
|
},
|
|
@@ -53927,6 +53932,12 @@ export default {
|
|
|
53927
53932
|
],
|
|
53928
53933
|
type: 'string',
|
|
53929
53934
|
},
|
|
53935
|
+
customization_profile_id: {
|
|
53936
|
+
description:
|
|
53937
|
+
'The ID of the customization profile to use for the portal.',
|
|
53938
|
+
format: 'uuid',
|
|
53939
|
+
type: 'string',
|
|
53940
|
+
},
|
|
53930
53941
|
features: {
|
|
53931
53942
|
default: { $ref: '#/components/schemas/access_code' },
|
|
53932
53943
|
properties: {
|
|
@@ -53949,12 +53960,6 @@ export default {
|
|
|
53949
53960
|
'Indicates whether the customer can customize the Instant Key profile for their properties.',
|
|
53950
53961
|
type: 'boolean',
|
|
53951
53962
|
},
|
|
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
53963
|
exclude: {
|
|
53959
53964
|
default: false,
|
|
53960
53965
|
description:
|
|
@@ -54173,6 +54178,11 @@ export default {
|
|
|
54173
54178
|
},
|
|
54174
54179
|
type: 'object',
|
|
54175
54180
|
},
|
|
54181
|
+
locale: {
|
|
54182
|
+
description: 'The locale to use for the portal.',
|
|
54183
|
+
enum: ['en-US', 'pt-PT'],
|
|
54184
|
+
type: 'string',
|
|
54185
|
+
},
|
|
54176
54186
|
},
|
|
54177
54187
|
type: 'object',
|
|
54178
54188
|
},
|
|
@@ -54239,6 +54249,12 @@ export default {
|
|
|
54239
54249
|
],
|
|
54240
54250
|
type: 'string',
|
|
54241
54251
|
},
|
|
54252
|
+
customization_profile_id: {
|
|
54253
|
+
description:
|
|
54254
|
+
'The ID of the customization profile to use for the portal.',
|
|
54255
|
+
format: 'uuid',
|
|
54256
|
+
type: 'string',
|
|
54257
|
+
},
|
|
54242
54258
|
features: {
|
|
54243
54259
|
default: { $ref: '#/components/schemas/access_code' },
|
|
54244
54260
|
properties: {
|
|
@@ -54261,12 +54277,6 @@ export default {
|
|
|
54261
54277
|
'Indicates whether the customer can customize the Instant Key profile for their properties.',
|
|
54262
54278
|
type: 'boolean',
|
|
54263
54279
|
},
|
|
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
54280
|
exclude: {
|
|
54271
54281
|
default: false,
|
|
54272
54282
|
description:
|
|
@@ -54485,6 +54495,11 @@ export default {
|
|
|
54485
54495
|
},
|
|
54486
54496
|
type: 'object',
|
|
54487
54497
|
},
|
|
54498
|
+
locale: {
|
|
54499
|
+
description: 'The locale to use for the portal.',
|
|
54500
|
+
enum: ['en-US', 'pt-PT'],
|
|
54501
|
+
type: 'string',
|
|
54502
|
+
},
|
|
54488
54503
|
},
|
|
54489
54504
|
type: 'object',
|
|
54490
54505
|
},
|
|
@@ -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') | undefined
|
|
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') | undefined
|
|
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
|
| (
|