@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
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import type { CustomMetadata } from '../custom-metadata.js';
|
|
2
3
|
export declare const portal_configuration_base: z.ZodObject<{
|
|
3
4
|
features: z.ZodDefault<z.ZodObject<{
|
|
4
5
|
connect: z.ZodDefault<z.ZodObject<{
|
|
@@ -247,6 +248,7 @@ export declare const portal_configuration_base: z.ZodObject<{
|
|
|
247
248
|
}>>;
|
|
248
249
|
locale: z.ZodOptional<z.ZodEnum<["en-US", "pt-PT", "fr-FR", "it-IT", "es-ES"]>>;
|
|
249
250
|
customization_profile_id: z.ZodOptional<z.ZodString>;
|
|
251
|
+
property_listing_filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
250
252
|
}, "strip", z.ZodTypeAny, {
|
|
251
253
|
features: {
|
|
252
254
|
connect: {
|
|
@@ -304,6 +306,7 @@ export declare const portal_configuration_base: z.ZodObject<{
|
|
|
304
306
|
} | undefined;
|
|
305
307
|
} | undefined;
|
|
306
308
|
locale?: "en-US" | "pt-PT" | "fr-FR" | "it-IT" | "es-ES" | undefined;
|
|
309
|
+
property_listing_filter?: Record<string, string | boolean> | undefined;
|
|
307
310
|
}, {
|
|
308
311
|
features?: {
|
|
309
312
|
connect?: {
|
|
@@ -361,6 +364,7 @@ export declare const portal_configuration_base: z.ZodObject<{
|
|
|
361
364
|
} | undefined;
|
|
362
365
|
} | undefined;
|
|
363
366
|
locale?: "en-US" | "pt-PT" | "fr-FR" | "it-IT" | "es-ES" | undefined;
|
|
367
|
+
property_listing_filter?: Record<string, string | boolean> | undefined;
|
|
364
368
|
}>;
|
|
365
369
|
export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
366
370
|
features: z.ZodDefault<z.ZodObject<{
|
|
@@ -610,6 +614,7 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
610
614
|
}>>;
|
|
611
615
|
locale: z.ZodOptional<z.ZodEnum<["en-US", "pt-PT", "fr-FR", "it-IT", "es-ES"]>>;
|
|
612
616
|
customization_profile_id: z.ZodOptional<z.ZodString>;
|
|
617
|
+
property_listing_filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
613
618
|
}, "strip", z.ZodTypeAny, {
|
|
614
619
|
features: {
|
|
615
620
|
connect: {
|
|
@@ -667,6 +672,7 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
667
672
|
} | undefined;
|
|
668
673
|
} | undefined;
|
|
669
674
|
locale?: "en-US" | "pt-PT" | "fr-FR" | "it-IT" | "es-ES" | undefined;
|
|
675
|
+
property_listing_filter?: Record<string, string | boolean> | undefined;
|
|
670
676
|
}, {
|
|
671
677
|
features?: {
|
|
672
678
|
connect?: {
|
|
@@ -724,5 +730,7 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
724
730
|
} | undefined;
|
|
725
731
|
} | undefined;
|
|
726
732
|
locale?: "en-US" | "pt-PT" | "fr-FR" | "it-IT" | "es-ES" | undefined;
|
|
733
|
+
property_listing_filter?: Record<string, string | boolean> | undefined;
|
|
727
734
|
}>>;
|
|
728
735
|
export type PortalConfiguration = z.infer<typeof portal_configuration>;
|
|
736
|
+
export type PropertyListingFilter = CustomMetadata;
|
|
@@ -86,6 +86,10 @@ export const portal_configuration_base = z.object({
|
|
|
86
86
|
.uuid()
|
|
87
87
|
.optional()
|
|
88
88
|
.describe('The ID of the customization profile to use for the portal.'),
|
|
89
|
+
property_listing_filter: z
|
|
90
|
+
.record(z.string(), z.union([z.string(), z.boolean()]))
|
|
91
|
+
.optional()
|
|
92
|
+
.describe('Filter configuration for property listings based on their custom_metadata. Keys and values must match the custom_metadata stored on property listings.'),
|
|
89
93
|
});
|
|
90
94
|
export const portal_configuration = portal_configuration_base
|
|
91
95
|
.default({
|
|
@@ -109,6 +113,7 @@ export const portal_configuration = portal_configuration_base
|
|
|
109
113
|
},
|
|
110
114
|
is_embedded: false,
|
|
111
115
|
locale: undefined,
|
|
116
|
+
property_listing_filter: undefined,
|
|
112
117
|
})
|
|
113
118
|
.describe(`Configuration for a customer portal`);
|
|
114
119
|
//# sourceMappingURL=customer-portal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer-portal.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer-portal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"customer-portal.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer-portal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAA;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAE9D,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,OAAO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,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;SACtD,QAAQ,EAAE;SACV,QAAQ,CACP,wJAAwJ,CACzJ;CACJ,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,yBAAyB;KAC1D,OAAO,CAAC;IACP,QAAQ,EAAE;QACR,OAAO,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;QAC3B,QAAQ,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;QAC5B,MAAM,EAAE;YACN,OAAO,EAAE,KAAK;YACd,8BAA8B,EAAE,KAAK;YACrC,wBAAwB,EAAE,KAAK;SAChC;QACD,cAAc,EAAE;YACd,OAAO,EAAE,KAAK;SACf;QACD,SAAS,EAAE;YACT,OAAO,EAAE,KAAK;YACd,+BAA+B,EAAE,KAAK,EAAE,UAAU;YAClD,0CAA0C,EAAE,KAAK,EAAE,UAAU;YAC7D,2CAA2C,EAAE,KAAK,EAAE,UAAU;SAC/D;KACF;IACD,WAAW,EAAE,KAAK;IAClB,MAAM,EAAE,SAAS;IACjB,uBAAuB,EAAE,SAAS;CACnC,CAAC;KACD,QAAQ,CAAC,qCAAqC,CAAC,CAAA"}
|
|
@@ -33105,6 +33105,15 @@ declare const _default: {
|
|
|
33105
33105
|
enum: string[];
|
|
33106
33106
|
type: string;
|
|
33107
33107
|
};
|
|
33108
|
+
property_listing_filter: {
|
|
33109
|
+
additionalProperties: {
|
|
33110
|
+
oneOf: {
|
|
33111
|
+
type: string;
|
|
33112
|
+
}[];
|
|
33113
|
+
};
|
|
33114
|
+
description: string;
|
|
33115
|
+
type: string;
|
|
33116
|
+
};
|
|
33108
33117
|
customer_data?: never;
|
|
33109
33118
|
};
|
|
33110
33119
|
type: string;
|
|
@@ -33905,6 +33914,7 @@ declare const _default: {
|
|
|
33905
33914
|
is_embedded?: never;
|
|
33906
33915
|
landing_page?: never;
|
|
33907
33916
|
locale?: never;
|
|
33917
|
+
property_listing_filter?: never;
|
|
33908
33918
|
};
|
|
33909
33919
|
type: string;
|
|
33910
33920
|
default?: never;
|
|
@@ -45969,6 +45979,15 @@ declare const _default: {
|
|
|
45969
45979
|
enum: string[];
|
|
45970
45980
|
type: string;
|
|
45971
45981
|
};
|
|
45982
|
+
property_listing_filter: {
|
|
45983
|
+
additionalProperties: {
|
|
45984
|
+
oneOf: {
|
|
45985
|
+
type: string;
|
|
45986
|
+
}[];
|
|
45987
|
+
};
|
|
45988
|
+
description: string;
|
|
45989
|
+
type: string;
|
|
45990
|
+
};
|
|
45972
45991
|
};
|
|
45973
45992
|
type: string;
|
|
45974
45993
|
};
|
|
@@ -46380,6 +46399,15 @@ declare const _default: {
|
|
|
46380
46399
|
enum: string[];
|
|
46381
46400
|
type: string;
|
|
46382
46401
|
};
|
|
46402
|
+
property_listing_filter: {
|
|
46403
|
+
additionalProperties: {
|
|
46404
|
+
oneOf: {
|
|
46405
|
+
type: string;
|
|
46406
|
+
}[];
|
|
46407
|
+
};
|
|
46408
|
+
description: string;
|
|
46409
|
+
type: string;
|
|
46410
|
+
};
|
|
46383
46411
|
};
|
|
46384
46412
|
type: string;
|
|
46385
46413
|
};
|
|
@@ -38018,6 +38018,13 @@ export default {
|
|
|
38018
38018
|
enum: ['en-US', 'pt-PT', 'fr-FR', 'it-IT', 'es-ES'],
|
|
38019
38019
|
type: 'string',
|
|
38020
38020
|
},
|
|
38021
|
+
property_listing_filter: {
|
|
38022
|
+
additionalProperties: {
|
|
38023
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
38024
|
+
},
|
|
38025
|
+
description: 'Filter configuration for property listings based on their custom_metadata. Keys and values must match the custom_metadata stored on property listings.',
|
|
38026
|
+
type: 'object',
|
|
38027
|
+
},
|
|
38021
38028
|
},
|
|
38022
38029
|
type: 'object',
|
|
38023
38030
|
},
|
|
@@ -50579,6 +50586,13 @@ export default {
|
|
|
50579
50586
|
enum: ['en-US', 'pt-PT', 'fr-FR', 'it-IT', 'es-ES'],
|
|
50580
50587
|
type: 'string',
|
|
50581
50588
|
},
|
|
50589
|
+
property_listing_filter: {
|
|
50590
|
+
additionalProperties: {
|
|
50591
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
50592
|
+
},
|
|
50593
|
+
description: 'Filter configuration for property listings based on their custom_metadata. Keys and values must match the custom_metadata stored on property listings.',
|
|
50594
|
+
type: 'object',
|
|
50595
|
+
},
|
|
50582
50596
|
},
|
|
50583
50597
|
type: 'object',
|
|
50584
50598
|
},
|
|
@@ -50880,6 +50894,13 @@ export default {
|
|
|
50880
50894
|
enum: ['en-US', 'pt-PT', 'fr-FR', 'it-IT', 'es-ES'],
|
|
50881
50895
|
type: 'string',
|
|
50882
50896
|
},
|
|
50897
|
+
property_listing_filter: {
|
|
50898
|
+
additionalProperties: {
|
|
50899
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
50900
|
+
},
|
|
50901
|
+
description: 'Filter configuration for property listings based on their custom_metadata. Keys and values must match the custom_metadata stored on property listings.',
|
|
50902
|
+
type: 'object',
|
|
50903
|
+
},
|
|
50883
50904
|
},
|
|
50884
50905
|
type: 'object',
|
|
50885
50906
|
},
|