@seamapi/types 1.1127.0 → 1.1128.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/lib/seam/connect/models/customer/access-grant-resources.d.ts +14 -14
- package/lib/seam/connect/models/customer/customer-data.d.ts +24 -24
- package/lib/seam/connect/models/customer/customer-delete-data.d.ts +2 -2
- package/lib/seam/connect/models/customer/customer-portal.d.ts +214 -24
- package/lib/seam/connect/models/customer/customer-portal.js +23 -0
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/models/customization-profiles/customization-profile.d.ts +266 -0
- package/lib/seam/connect/models/customization-profiles/customization-profile.js +4 -0
- package/lib/seam/connect/models/customization-profiles/customization-profile.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +12 -12
- package/lib/seam/connect/models/events/spaces.d.ts +24 -24
- package/lib/seam/connect/openapi.js +465 -38
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +657 -144
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/customer/customer-portal.ts +24 -0
- package/src/lib/seam/connect/models/customization-profiles/customization-profile.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +544 -38
- package/src/lib/seam/connect/route-types.ts +889 -154
package/package.json
CHANGED
|
@@ -150,6 +150,30 @@ const base_features = z.object({
|
|
|
150
150
|
.describe('Configuration for the configure feature.'),
|
|
151
151
|
})
|
|
152
152
|
|
|
153
|
+
export const customer_portal_features = z
|
|
154
|
+
.object({
|
|
155
|
+
connect: base_connect_feature
|
|
156
|
+
.partial()
|
|
157
|
+
.describe('Configuration for the connect accounts feature.'),
|
|
158
|
+
manage: base_manage_feature
|
|
159
|
+
.partial()
|
|
160
|
+
.describe('Configuration for the manage feature.'),
|
|
161
|
+
manage_devices: base_manage_devices_feature.partial().describe(`
|
|
162
|
+
Configuration for the manage devices feature.
|
|
163
|
+
---
|
|
164
|
+
deprecated: Use \`manage\` instead.
|
|
165
|
+
---
|
|
166
|
+
`),
|
|
167
|
+
organize: base_organize_feature
|
|
168
|
+
.partial()
|
|
169
|
+
.describe('Configuration for the organize feature.'),
|
|
170
|
+
configure: base_configure_feature
|
|
171
|
+
.partial()
|
|
172
|
+
.describe('Configuration for the configure feature.'),
|
|
173
|
+
})
|
|
174
|
+
.partial()
|
|
175
|
+
.describe('Customer portal features. Settings you omit use the Seam default.')
|
|
176
|
+
|
|
153
177
|
export const portal_configuration_base = z.object({
|
|
154
178
|
features: base_features.default({}),
|
|
155
179
|
is_embedded: z
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as z from 'zod/v3'
|
|
2
2
|
|
|
3
3
|
import { css_color, hex_color_code } from '../colors.js'
|
|
4
|
+
import { customer_portal_features } from '../customer/customer-portal.js'
|
|
4
5
|
import { datetime } from '../datetime.js'
|
|
5
6
|
|
|
6
7
|
export const customer_portal_theme = z.object({
|
|
@@ -133,6 +134,11 @@ export const customization_profile = z.object({
|
|
|
133
134
|
.optional()
|
|
134
135
|
.describe('Theme for the Instant Keys apps.'),
|
|
135
136
|
message_overrides: message_overrides.optional(),
|
|
137
|
+
customer_portal_features: customer_portal_features
|
|
138
|
+
.optional()
|
|
139
|
+
.describe(
|
|
140
|
+
"Features for customer portals that use this profile. A setting passed when creating the portal takes precedence over the profile's. Changes apply to existing portals the next time they load.",
|
|
141
|
+
),
|
|
136
142
|
}).describe(`
|
|
137
143
|
---
|
|
138
144
|
title: Customization Profile
|