@seamapi/types 1.678.0 → 1.679.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 +21 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +36 -0
- package/dist/index.cjs +21 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/customer/customer-portal.d.ts +8 -0
- package/lib/seam/connect/models/customer/customer-portal.js +5 -0
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +28 -0
- package/lib/seam/connect/openapi.js +21 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +8 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/customer-portal.ts +10 -0
- package/src/lib/seam/connect/openapi.ts +24 -0
- package/src/lib/seam/connect/route-types.ts +12 -0
|
@@ -26657,6 +26657,10 @@ export type Routes = {
|
|
|
26657
26657
|
locale?: ('en-US' | 'pt-PT' | 'fr-FR' | 'it-IT' | 'es-ES') | undefined;
|
|
26658
26658
|
/** The ID of the customization profile to use for the portal. */
|
|
26659
26659
|
customization_profile_id?: string | undefined;
|
|
26660
|
+
/** Filter configuration for property listings based on their custom_metadata. Keys and values must match the custom_metadata stored on property listings. */
|
|
26661
|
+
property_listing_filter?: {
|
|
26662
|
+
[x: string]: string | boolean;
|
|
26663
|
+
} | undefined;
|
|
26660
26664
|
} & {
|
|
26661
26665
|
customer_data?: {
|
|
26662
26666
|
/** Your unique identifier for the customer. */
|
|
@@ -54688,6 +54692,10 @@ export type Routes = {
|
|
|
54688
54692
|
locale?: ('en-US' | 'pt-PT' | 'fr-FR' | 'it-IT' | 'es-ES') | undefined;
|
|
54689
54693
|
/** The ID of the customization profile to use for the portal. */
|
|
54690
54694
|
customization_profile_id?: string | undefined;
|
|
54695
|
+
/** Filter configuration for property listings based on their custom_metadata. Keys and values must match the custom_metadata stored on property listings. */
|
|
54696
|
+
property_listing_filter?: {
|
|
54697
|
+
[x: string]: string | boolean;
|
|
54698
|
+
} | undefined;
|
|
54691
54699
|
/** Business vertical of the customer portal. */
|
|
54692
54700
|
business_vertical?: ('short_term_rental' | 'hospitality' | 'multi_family' | 'gym_management' | 'property_tours') | undefined;
|
|
54693
54701
|
};
|
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
|
+
import type { CustomMetadata } from '../custom-metadata.js'
|
|
3
4
|
import { access_grant_key_aliases } from './access-grant-resources.js'
|
|
4
5
|
import { location_key_aliases } from './location-resources.js'
|
|
5
6
|
|
|
@@ -108,6 +109,12 @@ export const portal_configuration_base = z.object({
|
|
|
108
109
|
.uuid()
|
|
109
110
|
.optional()
|
|
110
111
|
.describe('The ID of the customization profile to use for the portal.'),
|
|
112
|
+
property_listing_filter: z
|
|
113
|
+
.record(z.string(), z.union([z.string(), z.boolean()]))
|
|
114
|
+
.optional()
|
|
115
|
+
.describe(
|
|
116
|
+
'Filter configuration for property listings based on their custom_metadata. Keys and values must match the custom_metadata stored on property listings.',
|
|
117
|
+
),
|
|
111
118
|
})
|
|
112
119
|
|
|
113
120
|
export const portal_configuration = portal_configuration_base
|
|
@@ -132,7 +139,10 @@ export const portal_configuration = portal_configuration_base
|
|
|
132
139
|
},
|
|
133
140
|
is_embedded: false,
|
|
134
141
|
locale: undefined,
|
|
142
|
+
property_listing_filter: undefined,
|
|
135
143
|
})
|
|
136
144
|
.describe(`Configuration for a customer portal`)
|
|
137
145
|
|
|
138
146
|
export type PortalConfiguration = z.infer<typeof portal_configuration>
|
|
147
|
+
|
|
148
|
+
export type PropertyListingFilter = CustomMetadata
|
|
@@ -41697,6 +41697,14 @@ export default {
|
|
|
41697
41697
|
enum: ['en-US', 'pt-PT', 'fr-FR', 'it-IT', 'es-ES'],
|
|
41698
41698
|
type: 'string',
|
|
41699
41699
|
},
|
|
41700
|
+
property_listing_filter: {
|
|
41701
|
+
additionalProperties: {
|
|
41702
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
41703
|
+
},
|
|
41704
|
+
description:
|
|
41705
|
+
'Filter configuration for property listings based on their custom_metadata. Keys and values must match the custom_metadata stored on property listings.',
|
|
41706
|
+
type: 'object',
|
|
41707
|
+
},
|
|
41700
41708
|
},
|
|
41701
41709
|
type: 'object',
|
|
41702
41710
|
},
|
|
@@ -54870,6 +54878,14 @@ export default {
|
|
|
54870
54878
|
enum: ['en-US', 'pt-PT', 'fr-FR', 'it-IT', 'es-ES'],
|
|
54871
54879
|
type: 'string',
|
|
54872
54880
|
},
|
|
54881
|
+
property_listing_filter: {
|
|
54882
|
+
additionalProperties: {
|
|
54883
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
54884
|
+
},
|
|
54885
|
+
description:
|
|
54886
|
+
'Filter configuration for property listings based on their custom_metadata. Keys and values must match the custom_metadata stored on property listings.',
|
|
54887
|
+
type: 'object',
|
|
54888
|
+
},
|
|
54873
54889
|
},
|
|
54874
54890
|
type: 'object',
|
|
54875
54891
|
},
|
|
@@ -55193,6 +55209,14 @@ export default {
|
|
|
55193
55209
|
enum: ['en-US', 'pt-PT', 'fr-FR', 'it-IT', 'es-ES'],
|
|
55194
55210
|
type: 'string',
|
|
55195
55211
|
},
|
|
55212
|
+
property_listing_filter: {
|
|
55213
|
+
additionalProperties: {
|
|
55214
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
55215
|
+
},
|
|
55216
|
+
description:
|
|
55217
|
+
'Filter configuration for property listings based on their custom_metadata. Keys and values must match the custom_metadata stored on property listings.',
|
|
55218
|
+
type: 'object',
|
|
55219
|
+
},
|
|
55196
55220
|
},
|
|
55197
55221
|
type: 'object',
|
|
55198
55222
|
},
|
|
@@ -30845,6 +30845,12 @@ export type Routes = {
|
|
|
30845
30845
|
locale?: ('en-US' | 'pt-PT' | 'fr-FR' | 'it-IT' | 'es-ES') | undefined
|
|
30846
30846
|
/** The ID of the customization profile to use for the portal. */
|
|
30847
30847
|
customization_profile_id?: string | undefined
|
|
30848
|
+
/** Filter configuration for property listings based on their custom_metadata. Keys and values must match the custom_metadata stored on property listings. */
|
|
30849
|
+
property_listing_filter?:
|
|
30850
|
+
| {
|
|
30851
|
+
[x: string]: string | boolean
|
|
30852
|
+
}
|
|
30853
|
+
| undefined
|
|
30848
30854
|
} & {
|
|
30849
30855
|
customer_data?:
|
|
30850
30856
|
| {
|
|
@@ -65116,6 +65122,12 @@ export type Routes = {
|
|
|
65116
65122
|
locale?: ('en-US' | 'pt-PT' | 'fr-FR' | 'it-IT' | 'es-ES') | undefined
|
|
65117
65123
|
/** The ID of the customization profile to use for the portal. */
|
|
65118
65124
|
customization_profile_id?: string | undefined
|
|
65125
|
+
/** Filter configuration for property listings based on their custom_metadata. Keys and values must match the custom_metadata stored on property listings. */
|
|
65126
|
+
property_listing_filter?:
|
|
65127
|
+
| {
|
|
65128
|
+
[x: string]: string | boolean
|
|
65129
|
+
}
|
|
65130
|
+
| undefined
|
|
65119
65131
|
/** Business vertical of the customer portal. */
|
|
65120
65132
|
business_vertical?:
|
|
65121
65133
|
| (
|