@seamapi/types 1.677.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 +37 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +54 -0
- package/dist/index.cjs +37 -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 +44 -0
- package/lib/seam/connect/openapi.js +37 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +10 -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 +40 -0
- package/src/lib/seam/connect/route-types.ts +16 -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. */
|
|
@@ -52348,6 +52352,7 @@ export type Routes = {
|
|
|
52348
52352
|
is_override_allowed: boolean;
|
|
52349
52353
|
max_override_period_minutes: number;
|
|
52350
52354
|
} | undefined;
|
|
52355
|
+
precondition_minutes_before_reservation?: number | undefined;
|
|
52351
52356
|
} | undefined;
|
|
52352
52357
|
reservation_time_updated?: {} | undefined;
|
|
52353
52358
|
reservation_deleted?: {} | undefined;
|
|
@@ -52425,6 +52430,7 @@ export type Routes = {
|
|
|
52425
52430
|
is_override_allowed: boolean;
|
|
52426
52431
|
max_override_period_minutes: number;
|
|
52427
52432
|
} | undefined;
|
|
52433
|
+
precondition_minutes_before_reservation?: number | undefined;
|
|
52428
52434
|
} | undefined;
|
|
52429
52435
|
reservation_time_updated?: {} | undefined;
|
|
52430
52436
|
reservation_deleted?: {} | undefined;
|
|
@@ -54686,6 +54692,10 @@ export type Routes = {
|
|
|
54686
54692
|
locale?: ('en-US' | 'pt-PT' | 'fr-FR' | 'it-IT' | 'es-ES') | undefined;
|
|
54687
54693
|
/** The ID of the customization profile to use for the portal. */
|
|
54688
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;
|
|
54689
54699
|
/** Business vertical of the customer portal. */
|
|
54690
54700
|
business_vertical?: ('short_term_rental' | 'hospitality' | 'multi_family' | 'gym_management' | 'property_tours') | undefined;
|
|
54691
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
|
},
|
|
@@ -52300,6 +52308,10 @@ export default {
|
|
|
52300
52308
|
type: 'object',
|
|
52301
52309
|
},
|
|
52302
52310
|
occupied_preset_key: { type: 'string' },
|
|
52311
|
+
precondition_minutes_before_reservation: {
|
|
52312
|
+
format: 'float',
|
|
52313
|
+
type: 'number',
|
|
52314
|
+
},
|
|
52303
52315
|
unoccupied_preset_key: { type: 'string' },
|
|
52304
52316
|
},
|
|
52305
52317
|
type: 'object',
|
|
@@ -52570,6 +52582,10 @@ export default {
|
|
|
52570
52582
|
type: 'object',
|
|
52571
52583
|
},
|
|
52572
52584
|
occupied_preset_key: { type: 'string' },
|
|
52585
|
+
precondition_minutes_before_reservation: {
|
|
52586
|
+
format: 'float',
|
|
52587
|
+
type: 'number',
|
|
52588
|
+
},
|
|
52573
52589
|
unoccupied_preset_key: { type: 'string' },
|
|
52574
52590
|
},
|
|
52575
52591
|
type: 'object',
|
|
@@ -52829,6 +52845,10 @@ export default {
|
|
|
52829
52845
|
type: 'object',
|
|
52830
52846
|
},
|
|
52831
52847
|
occupied_preset_key: { type: 'string' },
|
|
52848
|
+
precondition_minutes_before_reservation: {
|
|
52849
|
+
format: 'float',
|
|
52850
|
+
type: 'number',
|
|
52851
|
+
},
|
|
52832
52852
|
unoccupied_preset_key: { type: 'string' },
|
|
52833
52853
|
},
|
|
52834
52854
|
type: 'object',
|
|
@@ -53097,6 +53117,10 @@ export default {
|
|
|
53097
53117
|
type: 'object',
|
|
53098
53118
|
},
|
|
53099
53119
|
occupied_preset_key: { type: 'string' },
|
|
53120
|
+
precondition_minutes_before_reservation: {
|
|
53121
|
+
format: 'float',
|
|
53122
|
+
type: 'number',
|
|
53123
|
+
},
|
|
53100
53124
|
unoccupied_preset_key: { type: 'string' },
|
|
53101
53125
|
},
|
|
53102
53126
|
type: 'object',
|
|
@@ -54854,6 +54878,14 @@ export default {
|
|
|
54854
54878
|
enum: ['en-US', 'pt-PT', 'fr-FR', 'it-IT', 'es-ES'],
|
|
54855
54879
|
type: 'string',
|
|
54856
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
|
+
},
|
|
54857
54889
|
},
|
|
54858
54890
|
type: 'object',
|
|
54859
54891
|
},
|
|
@@ -55177,6 +55209,14 @@ export default {
|
|
|
55177
55209
|
enum: ['en-US', 'pt-PT', 'fr-FR', 'it-IT', 'es-ES'],
|
|
55178
55210
|
type: 'string',
|
|
55179
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
|
+
},
|
|
55180
55220
|
},
|
|
55181
55221
|
type: 'object',
|
|
55182
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
|
| {
|
|
@@ -62190,6 +62196,7 @@ export type Routes = {
|
|
|
62190
62196
|
max_override_period_minutes: number
|
|
62191
62197
|
}
|
|
62192
62198
|
| undefined
|
|
62199
|
+
precondition_minutes_before_reservation?: number | undefined
|
|
62193
62200
|
}
|
|
62194
62201
|
| undefined
|
|
62195
62202
|
reservation_time_updated?: {} | undefined
|
|
@@ -62297,6 +62304,9 @@ export type Routes = {
|
|
|
62297
62304
|
max_override_period_minutes: number
|
|
62298
62305
|
}
|
|
62299
62306
|
| undefined
|
|
62307
|
+
precondition_minutes_before_reservation?:
|
|
62308
|
+
| number
|
|
62309
|
+
| undefined
|
|
62300
62310
|
}
|
|
62301
62311
|
| undefined
|
|
62302
62312
|
reservation_time_updated?: {} | undefined
|
|
@@ -65112,6 +65122,12 @@ export type Routes = {
|
|
|
65112
65122
|
locale?: ('en-US' | 'pt-PT' | 'fr-FR' | 'it-IT' | 'es-ES') | undefined
|
|
65113
65123
|
/** The ID of the customization profile to use for the portal. */
|
|
65114
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
|
|
65115
65131
|
/** Business vertical of the customer portal. */
|
|
65116
65132
|
business_vertical?:
|
|
65117
65133
|
| (
|