@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
|
@@ -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;
|
|
@@ -43382,6 +43392,10 @@ declare const _default: {
|
|
|
43382
43392
|
occupied_preset_key: {
|
|
43383
43393
|
type: string;
|
|
43384
43394
|
};
|
|
43395
|
+
precondition_minutes_before_reservation: {
|
|
43396
|
+
format: string;
|
|
43397
|
+
type: string;
|
|
43398
|
+
};
|
|
43385
43399
|
unoccupied_preset_key: {
|
|
43386
43400
|
type: string;
|
|
43387
43401
|
};
|
|
@@ -43656,6 +43670,10 @@ declare const _default: {
|
|
|
43656
43670
|
occupied_preset_key: {
|
|
43657
43671
|
type: string;
|
|
43658
43672
|
};
|
|
43673
|
+
precondition_minutes_before_reservation: {
|
|
43674
|
+
format: string;
|
|
43675
|
+
type: string;
|
|
43676
|
+
};
|
|
43659
43677
|
unoccupied_preset_key: {
|
|
43660
43678
|
type: string;
|
|
43661
43679
|
};
|
|
@@ -43940,6 +43958,10 @@ declare const _default: {
|
|
|
43940
43958
|
occupied_preset_key: {
|
|
43941
43959
|
type: string;
|
|
43942
43960
|
};
|
|
43961
|
+
precondition_minutes_before_reservation: {
|
|
43962
|
+
format: string;
|
|
43963
|
+
type: string;
|
|
43964
|
+
};
|
|
43943
43965
|
unoccupied_preset_key: {
|
|
43944
43966
|
type: string;
|
|
43945
43967
|
};
|
|
@@ -44235,6 +44257,10 @@ declare const _default: {
|
|
|
44235
44257
|
occupied_preset_key: {
|
|
44236
44258
|
type: string;
|
|
44237
44259
|
};
|
|
44260
|
+
precondition_minutes_before_reservation: {
|
|
44261
|
+
format: string;
|
|
44262
|
+
type: string;
|
|
44263
|
+
};
|
|
44238
44264
|
unoccupied_preset_key: {
|
|
44239
44265
|
type: string;
|
|
44240
44266
|
};
|
|
@@ -45953,6 +45979,15 @@ declare const _default: {
|
|
|
45953
45979
|
enum: string[];
|
|
45954
45980
|
type: string;
|
|
45955
45981
|
};
|
|
45982
|
+
property_listing_filter: {
|
|
45983
|
+
additionalProperties: {
|
|
45984
|
+
oneOf: {
|
|
45985
|
+
type: string;
|
|
45986
|
+
}[];
|
|
45987
|
+
};
|
|
45988
|
+
description: string;
|
|
45989
|
+
type: string;
|
|
45990
|
+
};
|
|
45956
45991
|
};
|
|
45957
45992
|
type: string;
|
|
45958
45993
|
};
|
|
@@ -46364,6 +46399,15 @@ declare const _default: {
|
|
|
46364
46399
|
enum: string[];
|
|
46365
46400
|
type: string;
|
|
46366
46401
|
};
|
|
46402
|
+
property_listing_filter: {
|
|
46403
|
+
additionalProperties: {
|
|
46404
|
+
oneOf: {
|
|
46405
|
+
type: string;
|
|
46406
|
+
}[];
|
|
46407
|
+
};
|
|
46408
|
+
description: string;
|
|
46409
|
+
type: string;
|
|
46410
|
+
};
|
|
46367
46411
|
};
|
|
46368
46412
|
type: string;
|
|
46369
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
|
},
|
|
@@ -48062,6 +48069,10 @@ export default {
|
|
|
48062
48069
|
type: 'object',
|
|
48063
48070
|
},
|
|
48064
48071
|
occupied_preset_key: { type: 'string' },
|
|
48072
|
+
precondition_minutes_before_reservation: {
|
|
48073
|
+
format: 'float',
|
|
48074
|
+
type: 'number',
|
|
48075
|
+
},
|
|
48065
48076
|
unoccupied_preset_key: { type: 'string' },
|
|
48066
48077
|
},
|
|
48067
48078
|
type: 'object',
|
|
@@ -48331,6 +48342,10 @@ export default {
|
|
|
48331
48342
|
type: 'object',
|
|
48332
48343
|
},
|
|
48333
48344
|
occupied_preset_key: { type: 'string' },
|
|
48345
|
+
precondition_minutes_before_reservation: {
|
|
48346
|
+
format: 'float',
|
|
48347
|
+
type: 'number',
|
|
48348
|
+
},
|
|
48334
48349
|
unoccupied_preset_key: { type: 'string' },
|
|
48335
48350
|
},
|
|
48336
48351
|
type: 'object',
|
|
@@ -48589,6 +48604,10 @@ export default {
|
|
|
48589
48604
|
type: 'object',
|
|
48590
48605
|
},
|
|
48591
48606
|
occupied_preset_key: { type: 'string' },
|
|
48607
|
+
precondition_minutes_before_reservation: {
|
|
48608
|
+
format: 'float',
|
|
48609
|
+
type: 'number',
|
|
48610
|
+
},
|
|
48592
48611
|
unoccupied_preset_key: { type: 'string' },
|
|
48593
48612
|
},
|
|
48594
48613
|
type: 'object',
|
|
@@ -48856,6 +48875,10 @@ export default {
|
|
|
48856
48875
|
type: 'object',
|
|
48857
48876
|
},
|
|
48858
48877
|
occupied_preset_key: { type: 'string' },
|
|
48878
|
+
precondition_minutes_before_reservation: {
|
|
48879
|
+
format: 'float',
|
|
48880
|
+
type: 'number',
|
|
48881
|
+
},
|
|
48859
48882
|
unoccupied_preset_key: { type: 'string' },
|
|
48860
48883
|
},
|
|
48861
48884
|
type: 'object',
|
|
@@ -50563,6 +50586,13 @@ export default {
|
|
|
50563
50586
|
enum: ['en-US', 'pt-PT', 'fr-FR', 'it-IT', 'es-ES'],
|
|
50564
50587
|
type: 'string',
|
|
50565
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
|
+
},
|
|
50566
50596
|
},
|
|
50567
50597
|
type: 'object',
|
|
50568
50598
|
},
|
|
@@ -50864,6 +50894,13 @@ export default {
|
|
|
50864
50894
|
enum: ['en-US', 'pt-PT', 'fr-FR', 'it-IT', 'es-ES'],
|
|
50865
50895
|
type: 'string',
|
|
50866
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
|
+
},
|
|
50867
50904
|
},
|
|
50868
50905
|
type: 'object',
|
|
50869
50906
|
},
|