@wix/auto_sdk_property_property 1.0.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.
Files changed (39) hide show
  1. package/build/cjs/index.d.ts +11 -0
  2. package/build/cjs/index.js +982 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +1216 -0
  5. package/build/cjs/index.typings.js +876 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +877 -0
  8. package/build/cjs/meta.js +734 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/es/index.d.mts +11 -0
  11. package/build/es/index.mjs +939 -0
  12. package/build/es/index.mjs.map +1 -0
  13. package/build/es/index.typings.d.mts +1216 -0
  14. package/build/es/index.typings.mjs +832 -0
  15. package/build/es/index.typings.mjs.map +1 -0
  16. package/build/es/meta.d.mts +877 -0
  17. package/build/es/meta.mjs +691 -0
  18. package/build/es/meta.mjs.map +1 -0
  19. package/build/es/package.json +3 -0
  20. package/build/internal/cjs/index.d.ts +123 -0
  21. package/build/internal/cjs/index.js +982 -0
  22. package/build/internal/cjs/index.js.map +1 -0
  23. package/build/internal/cjs/index.typings.d.ts +1338 -0
  24. package/build/internal/cjs/index.typings.js +876 -0
  25. package/build/internal/cjs/index.typings.js.map +1 -0
  26. package/build/internal/cjs/meta.d.ts +877 -0
  27. package/build/internal/cjs/meta.js +734 -0
  28. package/build/internal/cjs/meta.js.map +1 -0
  29. package/build/internal/es/index.d.mts +123 -0
  30. package/build/internal/es/index.mjs +939 -0
  31. package/build/internal/es/index.mjs.map +1 -0
  32. package/build/internal/es/index.typings.d.mts +1338 -0
  33. package/build/internal/es/index.typings.mjs +832 -0
  34. package/build/internal/es/index.typings.mjs.map +1 -0
  35. package/build/internal/es/meta.d.mts +877 -0
  36. package/build/internal/es/meta.mjs +691 -0
  37. package/build/internal/es/meta.mjs.map +1 -0
  38. package/meta/package.json +3 -0
  39. package/package.json +54 -0
@@ -0,0 +1,1216 @@
1
+ import * as _wix_sdk_types from '@wix/sdk-types';
2
+ import { QuerySpec, Query, NonNullablePaths } from '@wix/sdk-types';
3
+
4
+ /** Represents a real estate property listing. */
5
+ interface Property {
6
+ /**
7
+ * Property ID.
8
+ * @format GUID
9
+ * @readonly
10
+ */
11
+ _id?: string | null;
12
+ /**
13
+ * Revision number, which increments by 1 each time the Property is updated.
14
+ * To prevent conflicting changes, the current revision must be passed when updating the Property.
15
+ * @readonly
16
+ */
17
+ revision?: string | null;
18
+ /**
19
+ * Date and time the Property was created.
20
+ * @readonly
21
+ */
22
+ _createdDate?: Date | null;
23
+ /**
24
+ * Date and time the Property was last updated.
25
+ * @readonly
26
+ */
27
+ _updatedDate?: Date | null;
28
+ /**
29
+ * Full street address of the property (not personal address).
30
+ * @maxLength 200
31
+ */
32
+ address?: string;
33
+ /**
34
+ * City.
35
+ * @maxLength 100
36
+ */
37
+ city?: string;
38
+ /**
39
+ * State or province.
40
+ * @maxLength 100
41
+ */
42
+ state?: string;
43
+ /**
44
+ * ZIP or postal code of the property (not personal address).
45
+ * @maxLength 20
46
+ */
47
+ zip?: string;
48
+ /** Listing price. */
49
+ price?: Money;
50
+ /** Property status. */
51
+ status?: PropertyStatusWithLiterals;
52
+ /** Property type. */
53
+ propertyType?: PropertyTypeWithLiterals;
54
+ /**
55
+ * Number of bedrooms.
56
+ * @max 100
57
+ */
58
+ beds?: number | null;
59
+ /**
60
+ * Number of bathrooms.
61
+ * @max 100
62
+ */
63
+ baths?: number | null;
64
+ /**
65
+ * Living area in square feet.
66
+ * @max 1000000
67
+ */
68
+ sqft?: number | null;
69
+ /**
70
+ * Lot size in square feet.
71
+ * @max 100000000
72
+ */
73
+ lotSize?: number | null;
74
+ /**
75
+ * Year the property was built.
76
+ * @min 1600
77
+ * @max 2200
78
+ */
79
+ yearBuilt?: number | null;
80
+ /**
81
+ * Public description.
82
+ * @maxLength 10000
83
+ */
84
+ description?: string;
85
+ /**
86
+ * Property features (e.g., Pool, Waterfront, Garage, AC).
87
+ * @maxSize 100
88
+ * @maxLength 100
89
+ */
90
+ features?: string[];
91
+ /**
92
+ * Property photos.
93
+ * @maxSize 100
94
+ */
95
+ photos?: PropertyPhoto[];
96
+ /**
97
+ * 360-degree virtual tour URL.
98
+ * @format WEB_URL
99
+ */
100
+ virtualTourUrl?: string | null;
101
+ /**
102
+ * Property documents (floor plans, disclosures, brochures).
103
+ * @maxSize 50
104
+ */
105
+ documents?: PropertyDocument[];
106
+ /**
107
+ * Custom fields for additional property information.
108
+ * @maxSize 100
109
+ */
110
+ customFields?: CustomField[];
111
+ /**
112
+ * Latitude coordinate.
113
+ * @min -90
114
+ * @max 90
115
+ */
116
+ lat?: number | null;
117
+ /**
118
+ * Longitude coordinate.
119
+ * @min -180
120
+ * @max 180
121
+ */
122
+ lng?: number | null;
123
+ /**
124
+ * Date when property was listed (status changed to Active).
125
+ * @readonly
126
+ */
127
+ listingDate?: Date | null;
128
+ /**
129
+ * Date when property was sold (status changed to Sold).
130
+ * @readonly
131
+ */
132
+ saleDate?: Date | null;
133
+ /**
134
+ * Number of days the property has been on the market.
135
+ * @readonly
136
+ */
137
+ daysOnMarket?: number | null;
138
+ /**
139
+ * Source of the property listing.
140
+ * @readonly
141
+ */
142
+ source?: PropertySourceWithLiterals;
143
+ /**
144
+ * MLS identifier (Phase 2).
145
+ * @readonly
146
+ * @maxLength 100
147
+ */
148
+ mlsId?: string | null;
149
+ /**
150
+ * MLS listing number (Phase 2).
151
+ * @readonly
152
+ * @maxLength 100
153
+ */
154
+ listingId?: string | null;
155
+ /**
156
+ * MLS listing agent ID (Phase 2).
157
+ * @readonly
158
+ * @maxLength 100
159
+ */
160
+ listingAgentId?: string | null;
161
+ /**
162
+ * MLS listing office ID (Phase 2).
163
+ * @readonly
164
+ * @maxLength 100
165
+ */
166
+ listingOfficeId?: string | null;
167
+ /**
168
+ * Whether the property is editable by the agent.
169
+ * @readonly
170
+ */
171
+ editable?: boolean;
172
+ /**
173
+ * Wix Bookings Service ID for scheduling property viewings.
174
+ * Populated asynchronously after property creation.
175
+ * @format GUID
176
+ * @readonly
177
+ */
178
+ serviceId?: string | null;
179
+ /** Data Extensions. */
180
+ extendedFields?: ExtendedFields;
181
+ /** Tags for classification. */
182
+ tags?: Tags;
183
+ }
184
+ /**
185
+ * Money.
186
+ * Default format to use. Sufficiently compliant with majority of standards: w3c, ISO 4217, ISO 20022, ISO 8583:2003.
187
+ */
188
+ interface Money {
189
+ /**
190
+ * Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, a single (-), to indicate that the amount is negative.
191
+ * @format DECIMAL_VALUE
192
+ * @decimalValue options { maxScale:2 }
193
+ */
194
+ value?: string;
195
+ /**
196
+ * Currency code. Must be valid ISO 4217 currency code (e.g., USD).
197
+ * @format CURRENCY
198
+ */
199
+ currency?: string;
200
+ /**
201
+ * Monetary amount. Decimal string in local format (e.g., 1 000,30). Optionally, a single (-), to indicate that the amount is negative.
202
+ * @maxLength 50
203
+ */
204
+ formattedValue?: string | null;
205
+ }
206
+ /** Property status. */
207
+ declare enum PropertyStatus {
208
+ /** Unknown status. */
209
+ PROPERTY_STATUS_UNKNOWN = "PROPERTY_STATUS_UNKNOWN",
210
+ /** Property is currently for sale or rent. */
211
+ ACTIVE = "ACTIVE",
212
+ /** Property is under contract. */
213
+ PENDING = "PENDING",
214
+ /** Property transaction is closed. */
215
+ SOLD = "SOLD",
216
+ /** Property is not publicly listed. */
217
+ OFF_MARKET = "OFF_MARKET",
218
+ /** Property is incomplete and not published. */
219
+ DRAFT = "DRAFT"
220
+ }
221
+ /** @enumType */
222
+ type PropertyStatusWithLiterals = PropertyStatus | 'PROPERTY_STATUS_UNKNOWN' | 'ACTIVE' | 'PENDING' | 'SOLD' | 'OFF_MARKET' | 'DRAFT';
223
+ /** Property type. */
224
+ declare enum PropertyType {
225
+ /** Unknown property type. */
226
+ PROPERTY_TYPE_UNKNOWN = "PROPERTY_TYPE_UNKNOWN",
227
+ /** Single-family home. */
228
+ SINGLE_FAMILY = "SINGLE_FAMILY",
229
+ /** Condominium. */
230
+ CONDO = "CONDO",
231
+ /** Townhouse. */
232
+ TOWNHOUSE = "TOWNHOUSE",
233
+ /** Multi-family home. */
234
+ MULTI_FAMILY = "MULTI_FAMILY",
235
+ /** Land. */
236
+ LAND = "LAND",
237
+ /** Commercial property. */
238
+ COMMERCIAL = "COMMERCIAL"
239
+ }
240
+ /** @enumType */
241
+ type PropertyTypeWithLiterals = PropertyType | 'PROPERTY_TYPE_UNKNOWN' | 'SINGLE_FAMILY' | 'CONDO' | 'TOWNHOUSE' | 'MULTI_FAMILY' | 'LAND' | 'COMMERCIAL';
242
+ /** Property photo. */
243
+ interface PropertyPhoto {
244
+ /**
245
+ * Photo URL.
246
+ * @format WEB_URL
247
+ */
248
+ url?: string;
249
+ /**
250
+ * Alt text for accessibility.
251
+ * @maxLength 200
252
+ */
253
+ altText?: string;
254
+ /** Display order. */
255
+ order?: number;
256
+ }
257
+ /** Property document. */
258
+ interface PropertyDocument {
259
+ /**
260
+ * Document URL.
261
+ * @format WEB_URL
262
+ */
263
+ url?: string;
264
+ /**
265
+ * Document title.
266
+ * @maxLength 200
267
+ */
268
+ title?: string;
269
+ /** Document type. */
270
+ type?: DocumentTypeWithLiterals;
271
+ }
272
+ /** Document type. */
273
+ declare enum DocumentType {
274
+ /** Unknown document type. */
275
+ DOCUMENT_TYPE_UNKNOWN = "DOCUMENT_TYPE_UNKNOWN",
276
+ /** Floor plan. */
277
+ FLOOR_PLAN = "FLOOR_PLAN",
278
+ /** Disclosure document. */
279
+ DISCLOSURE = "DISCLOSURE",
280
+ /** Brochure. */
281
+ BROCHURE = "BROCHURE",
282
+ /** Other document. */
283
+ OTHER = "OTHER"
284
+ }
285
+ /** @enumType */
286
+ type DocumentTypeWithLiterals = DocumentType | 'DOCUMENT_TYPE_UNKNOWN' | 'FLOOR_PLAN' | 'DISCLOSURE' | 'BROCHURE' | 'OTHER';
287
+ /** Custom field for additional property information. */
288
+ interface CustomField {
289
+ /**
290
+ * Field key.
291
+ * @maxLength 100
292
+ */
293
+ key?: string;
294
+ /**
295
+ * Field value.
296
+ * @maxLength 1000
297
+ */
298
+ value?: string;
299
+ /** Field type. */
300
+ type?: CustomFieldTypeWithLiterals;
301
+ }
302
+ /** Custom field type. */
303
+ declare enum CustomFieldType {
304
+ /** Unknown field type. */
305
+ CUSTOM_FIELD_TYPE_UNKNOWN = "CUSTOM_FIELD_TYPE_UNKNOWN",
306
+ /** String value. */
307
+ STRING = "STRING",
308
+ /** Number value. */
309
+ NUMBER = "NUMBER",
310
+ /** Boolean value. */
311
+ BOOLEAN = "BOOLEAN",
312
+ /** Date value. */
313
+ DATE = "DATE"
314
+ }
315
+ /** @enumType */
316
+ type CustomFieldTypeWithLiterals = CustomFieldType | 'CUSTOM_FIELD_TYPE_UNKNOWN' | 'STRING' | 'NUMBER' | 'BOOLEAN' | 'DATE';
317
+ /** Property source. */
318
+ declare enum PropertySource {
319
+ /** Unknown source. */
320
+ PROPERTY_SOURCE_UNKNOWN = "PROPERTY_SOURCE_UNKNOWN",
321
+ /** Manually created by agent. */
322
+ MANUAL = "MANUAL",
323
+ /** Synced from MLS (Phase 2). */
324
+ MLS = "MLS"
325
+ }
326
+ /** @enumType */
327
+ type PropertySourceWithLiterals = PropertySource | 'PROPERTY_SOURCE_UNKNOWN' | 'MANUAL' | 'MLS';
328
+ interface ExtendedFields {
329
+ /**
330
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
331
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
332
+ *
333
+ * You can only access fields for which you have the appropriate permissions.
334
+ *
335
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
336
+ */
337
+ namespaces?: Record<string, Record<string, any>>;
338
+ }
339
+ /**
340
+ * Common object for tags.
341
+ * Should be use as in this example:
342
+ * message Foo {
343
+ * option (.wix.api.decomposite_of) = "wix.commons.v2.tags.Foo";
344
+ * string id = 1;
345
+ * ...
346
+ * Tags tags = 5
347
+ * }
348
+ *
349
+ * example of taggable entity
350
+ * {
351
+ * id: "123"
352
+ * tags: {
353
+ * public_tags: {
354
+ * tag_ids:["11","22"]
355
+ * },
356
+ * private_tags: {
357
+ * tag_ids: ["33", "44"]
358
+ * }
359
+ * }
360
+ * }
361
+ */
362
+ interface Tags {
363
+ /** Tags that require an additional permission in order to access them, typically restricted from site members and visitors. */
364
+ privateTags?: TagList;
365
+ /** Tags that are exposed to anyone with access to the entity, including site members and visitors. */
366
+ publicTags?: TagList;
367
+ }
368
+ interface TagList {
369
+ /**
370
+ * List of tag IDs.
371
+ * @maxSize 100
372
+ * @maxLength 5
373
+ */
374
+ tagIds?: string[];
375
+ }
376
+ /** PropertyStatusChanged action event payload. */
377
+ interface PropertyStatusChanged {
378
+ /**
379
+ * Property ID.
380
+ * @format GUID
381
+ */
382
+ propertyId?: string;
383
+ /** Previous status. */
384
+ oldStatus?: PropertyStatusWithLiterals;
385
+ /** New status. */
386
+ newStatus?: PropertyStatusWithLiterals;
387
+ /** Timestamp of the status change. */
388
+ timestamp?: Date | null;
389
+ }
390
+ /** TagsModified action event payload. */
391
+ interface TagsModified {
392
+ /** Updated Property. */
393
+ property?: Property;
394
+ /** Tags that were assigned to the Property. */
395
+ assignedTags?: Tags;
396
+ /** Tags that were unassigned from the Property. */
397
+ unassignedTags?: Tags;
398
+ }
399
+ interface CreatePropertyRequest {
400
+ /** Property to be created. */
401
+ property: Property;
402
+ }
403
+ interface CreatePropertyResponse {
404
+ /** The created Property. */
405
+ property?: Property;
406
+ }
407
+ interface GetPropertyRequest {
408
+ /**
409
+ * ID of the Property to retrieve.
410
+ * @format GUID
411
+ */
412
+ propertyId: string;
413
+ }
414
+ interface GetPropertyResponse {
415
+ /** The requested Property. */
416
+ property?: Property;
417
+ }
418
+ interface UpdatePropertyRequest {
419
+ /** Property to be updated, may be partial. */
420
+ property: Property;
421
+ }
422
+ interface UpdatePropertyResponse {
423
+ /** Updated Property. */
424
+ property?: Property;
425
+ }
426
+ interface DeletePropertyRequest {
427
+ /**
428
+ * ID of the Property to delete.
429
+ * @format GUID
430
+ */
431
+ propertyId: string;
432
+ }
433
+ interface DeletePropertyResponse {
434
+ }
435
+ interface QueryPropertiesRequest {
436
+ /** WQL expression. */
437
+ query?: CursorQuery;
438
+ }
439
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
440
+ /**
441
+ * Cursor paging options.
442
+ *
443
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
444
+ */
445
+ cursorPaging?: CursorPaging;
446
+ /**
447
+ * Filter object.
448
+ *
449
+ * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).
450
+ */
451
+ filter?: Record<string, any> | null;
452
+ /**
453
+ * Sort object.
454
+ *
455
+ * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).
456
+ * @maxSize 5
457
+ */
458
+ sort?: Sorting[];
459
+ }
460
+ /** @oneof */
461
+ interface CursorQueryPagingMethodOneOf {
462
+ /**
463
+ * Cursor paging options.
464
+ *
465
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
466
+ */
467
+ cursorPaging?: CursorPaging;
468
+ }
469
+ interface Sorting {
470
+ /**
471
+ * Name of the field to sort by.
472
+ * @maxLength 512
473
+ */
474
+ fieldName?: string;
475
+ /** Sort order. */
476
+ order?: SortOrderWithLiterals;
477
+ }
478
+ declare enum SortOrder {
479
+ ASC = "ASC",
480
+ DESC = "DESC"
481
+ }
482
+ /** @enumType */
483
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
484
+ interface CursorPaging {
485
+ /**
486
+ * Maximum number of items to return in the results.
487
+ * @max 100
488
+ */
489
+ limit?: number | null;
490
+ /**
491
+ * Pointer to the next or previous page in the list of results.
492
+ *
493
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
494
+ * Not relevant for the first request.
495
+ * @maxLength 16000
496
+ */
497
+ cursor?: string | null;
498
+ }
499
+ interface QueryPropertiesResponse {
500
+ /** List of Properties. */
501
+ properties?: Property[];
502
+ /** Paging metadata. */
503
+ pagingMetadata?: CursorPagingMetadata;
504
+ }
505
+ interface CursorPagingMetadata {
506
+ /** Number of items returned in current page. */
507
+ count?: number | null;
508
+ /** Cursor strings that point to the next page, previous page, or both. */
509
+ cursors?: Cursors;
510
+ /**
511
+ * Whether there are more pages to retrieve following the current page.
512
+ *
513
+ * + `true`: Another page of results can be retrieved.
514
+ * + `false`: This is the last page.
515
+ */
516
+ hasNext?: boolean | null;
517
+ }
518
+ interface Cursors {
519
+ /**
520
+ * Cursor string pointing to the next page in the list of results.
521
+ * @maxLength 16000
522
+ */
523
+ next?: string | null;
524
+ /**
525
+ * Cursor pointing to the previous page in the list of results.
526
+ * @maxLength 16000
527
+ */
528
+ prev?: string | null;
529
+ }
530
+ interface BulkCreatePropertiesRequest {
531
+ /**
532
+ * List of Properties to be created.
533
+ * @minSize 1
534
+ * @maxSize 100
535
+ */
536
+ properties: Property[];
537
+ /** Set to `true` to receive back the created Properties in the response. */
538
+ returnEntity?: boolean;
539
+ }
540
+ interface BulkCreatePropertiesResponse {
541
+ /**
542
+ * List of the bulk create operation results including the Properties and metadata.
543
+ * @minSize 1
544
+ * @maxSize 100
545
+ */
546
+ results?: BulkPropertyResult[];
547
+ /** Metadata regarding the bulk create operation. */
548
+ bulkActionMetadata?: BulkActionMetadata;
549
+ }
550
+ interface ItemMetadata {
551
+ /**
552
+ * Item ID. Provided only whenever possible. For example, `itemId` can't be provided when item creation has failed.
553
+ * @format GUID
554
+ */
555
+ _id?: string | null;
556
+ /** Index of the item within the request array. Allows for correlation between request and response items. */
557
+ originalIndex?: number;
558
+ /** Whether the requested action for this item was successful. When `false`, the `error` field is returned. */
559
+ success?: boolean;
560
+ /** Details about the error in case of failure. */
561
+ error?: ApplicationError;
562
+ }
563
+ interface ApplicationError {
564
+ /** Error code. */
565
+ code?: string;
566
+ /** Description of the error. */
567
+ description?: string;
568
+ /** Data related to the error. */
569
+ data?: Record<string, any> | null;
570
+ }
571
+ interface BulkPropertyResult {
572
+ /** Metadata regarding the specific single create operation. */
573
+ itemMetadata?: ItemMetadata;
574
+ /** Only exists if `returnEntity` was set to true in the request. */
575
+ item?: Property;
576
+ }
577
+ interface BulkActionMetadata {
578
+ /** Number of items that were successfully processed. */
579
+ totalSuccesses?: number;
580
+ /** Number of items that couldn't be processed. */
581
+ totalFailures?: number;
582
+ /** Number of failures without details because detailed failure threshold was exceeded. */
583
+ undetailedFailures?: number;
584
+ }
585
+ interface BulkUpdatePropertiesRequest {
586
+ /**
587
+ * List of Properties to be updated.
588
+ * @minSize 1
589
+ * @maxSize 100
590
+ */
591
+ properties: MaskedProperty[];
592
+ /** Set to `true` to receive back the updated Properties in the response. */
593
+ returnEntity?: boolean;
594
+ }
595
+ interface MaskedProperty {
596
+ /** Property to be updated, may be partial. */
597
+ property?: Property;
598
+ }
599
+ interface BulkUpdatePropertiesResponse {
600
+ /**
601
+ * Results.
602
+ * @minSize 1
603
+ * @maxSize 100
604
+ */
605
+ results?: BulkUpdatePropertiesResponseBulkPropertyResult[];
606
+ /** Metadata regarding the bulk update operation. */
607
+ bulkActionMetadata?: BulkActionMetadata;
608
+ }
609
+ interface BulkUpdatePropertiesResponseBulkPropertyResult {
610
+ /** Metadata regarding the specific single update operation. */
611
+ itemMetadata?: ItemMetadata;
612
+ /** Only exists if `returnEntity` was set to true in the request. */
613
+ item?: Property;
614
+ }
615
+ interface BulkDeletePropertiesRequest {
616
+ /**
617
+ * Property IDs to be deleted.
618
+ * @minSize 1
619
+ * @maxSize 100
620
+ * @format GUID
621
+ */
622
+ propertyIds: string[];
623
+ }
624
+ interface BulkDeletePropertiesResponse {
625
+ /**
626
+ * Results.
627
+ * @minSize 1
628
+ * @maxSize 100
629
+ */
630
+ results?: BulkDeletePropertiesResponseBulkPropertyResult[];
631
+ /** Metadata regarding the bulk delete operation. */
632
+ bulkActionMetadata?: BulkActionMetadata;
633
+ }
634
+ interface BulkDeletePropertiesResponseBulkPropertyResult {
635
+ /** Metadata regarding the specific single delete operation. */
636
+ itemMetadata?: ItemMetadata;
637
+ }
638
+ interface BulkUpdatePropertyTagsRequest {
639
+ /**
640
+ * List of Property IDs whose tags will be updated.
641
+ * @minSize 1
642
+ * @maxSize 100
643
+ * @format GUID
644
+ */
645
+ propertyIds: string[];
646
+ /** List of tags to assign. */
647
+ assignTags?: Tags;
648
+ /** List of tags to unassign. */
649
+ unassignTags?: Tags;
650
+ }
651
+ interface BulkUpdatePropertyTagsResponse {
652
+ /**
653
+ * Results.
654
+ * @minSize 1
655
+ * @maxSize 100
656
+ */
657
+ results?: BulkUpdatePropertyTagsResult[];
658
+ /** Metadata regarding the bulk update operation. */
659
+ bulkActionMetadata?: BulkActionMetadata;
660
+ }
661
+ interface BulkUpdatePropertyTagsResult {
662
+ /** Metadata regarding the specific single update operation. */
663
+ itemMetadata?: ItemMetadata;
664
+ }
665
+ interface DomainEvent extends DomainEventBodyOneOf {
666
+ createdEvent?: EntityCreatedEvent;
667
+ updatedEvent?: EntityUpdatedEvent;
668
+ deletedEvent?: EntityDeletedEvent;
669
+ actionEvent?: ActionEvent;
670
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
671
+ _id?: string;
672
+ /**
673
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
674
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
675
+ */
676
+ entityFqdn?: string;
677
+ /**
678
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
679
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
680
+ */
681
+ slug?: string;
682
+ /** ID of the entity associated with the event. */
683
+ entityId?: string;
684
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
685
+ eventTime?: Date | null;
686
+ /**
687
+ * Whether the event was triggered as a result of a privacy regulation application
688
+ * (for example, GDPR).
689
+ */
690
+ triggeredByAnonymizeRequest?: boolean | null;
691
+ /** If present, indicates the action that triggered the event. */
692
+ originatedFrom?: string | null;
693
+ /**
694
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
695
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
696
+ */
697
+ entityEventSequence?: string | null;
698
+ }
699
+ /** @oneof */
700
+ interface DomainEventBodyOneOf {
701
+ createdEvent?: EntityCreatedEvent;
702
+ updatedEvent?: EntityUpdatedEvent;
703
+ deletedEvent?: EntityDeletedEvent;
704
+ actionEvent?: ActionEvent;
705
+ }
706
+ interface EntityCreatedEvent {
707
+ entity?: string;
708
+ }
709
+ interface RestoreInfo {
710
+ deletedDate?: Date | null;
711
+ }
712
+ interface EntityUpdatedEvent {
713
+ /**
714
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
715
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
716
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
717
+ */
718
+ currentEntity?: string;
719
+ }
720
+ interface EntityDeletedEvent {
721
+ /** Entity that was deleted. */
722
+ deletedEntity?: string | null;
723
+ }
724
+ interface ActionEvent {
725
+ body?: string;
726
+ }
727
+ interface Empty {
728
+ }
729
+ interface BulkUpdatePropertyTagsByFilterRequest {
730
+ /** Filter. */
731
+ filter: Record<string, any> | null;
732
+ /** List of tags to assign. */
733
+ assignTags?: Tags;
734
+ /** List of tags to unassign. */
735
+ unassignTags?: Tags;
736
+ }
737
+ interface BulkUpdatePropertyTagsByFilterResponse {
738
+ /**
739
+ * Job ID for tracking the async operation.
740
+ * @format GUID
741
+ */
742
+ jobId?: string;
743
+ }
744
+ interface MessageEnvelope {
745
+ /**
746
+ * App instance ID.
747
+ * @format GUID
748
+ */
749
+ instanceId?: string | null;
750
+ /**
751
+ * Event type.
752
+ * @maxLength 150
753
+ */
754
+ eventType?: string;
755
+ /** The identification type and identity data. */
756
+ identity?: IdentificationData;
757
+ /** Stringify payload. */
758
+ data?: string;
759
+ /** Details related to the account */
760
+ accountInfo?: AccountInfo;
761
+ }
762
+ interface IdentificationData extends IdentificationDataIdOneOf {
763
+ /**
764
+ * ID of a site visitor that has not logged in to the site.
765
+ * @format GUID
766
+ */
767
+ anonymousVisitorId?: string;
768
+ /**
769
+ * ID of a site visitor that has logged in to the site.
770
+ * @format GUID
771
+ */
772
+ memberId?: string;
773
+ /**
774
+ * ID of a Wix user (site owner, contributor, etc.).
775
+ * @format GUID
776
+ */
777
+ wixUserId?: string;
778
+ /**
779
+ * ID of an app.
780
+ * @format GUID
781
+ */
782
+ appId?: string;
783
+ /** @readonly */
784
+ identityType?: WebhookIdentityTypeWithLiterals;
785
+ }
786
+ /** @oneof */
787
+ interface IdentificationDataIdOneOf {
788
+ /**
789
+ * ID of a site visitor that has not logged in to the site.
790
+ * @format GUID
791
+ */
792
+ anonymousVisitorId?: string;
793
+ /**
794
+ * ID of a site visitor that has logged in to the site.
795
+ * @format GUID
796
+ */
797
+ memberId?: string;
798
+ /**
799
+ * ID of a Wix user (site owner, contributor, etc.).
800
+ * @format GUID
801
+ */
802
+ wixUserId?: string;
803
+ /**
804
+ * ID of an app.
805
+ * @format GUID
806
+ */
807
+ appId?: string;
808
+ }
809
+ declare enum WebhookIdentityType {
810
+ UNKNOWN = "UNKNOWN",
811
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
812
+ MEMBER = "MEMBER",
813
+ WIX_USER = "WIX_USER",
814
+ APP = "APP"
815
+ }
816
+ /** @enumType */
817
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
818
+ interface AccountInfo {
819
+ /**
820
+ * ID of the Wix account associated with the event.
821
+ * @format GUID
822
+ */
823
+ accountId?: string | null;
824
+ /**
825
+ * ID of the parent Wix account. Only included when accountId belongs to a child account.
826
+ * @format GUID
827
+ */
828
+ parentAccountId?: string | null;
829
+ /**
830
+ * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
831
+ * @format GUID
832
+ */
833
+ siteId?: string | null;
834
+ }
835
+ /** @docsIgnore */
836
+ type BulkUpdatePropertyTagsApplicationErrors = {
837
+ code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';
838
+ description?: string;
839
+ data?: Record<string, any>;
840
+ };
841
+ /** @docsIgnore */
842
+ type BulkUpdatePropertyTagsByFilterApplicationErrors = {
843
+ code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';
844
+ description?: string;
845
+ data?: Record<string, any>;
846
+ };
847
+ interface UpdateProperty {
848
+ /**
849
+ * Property ID.
850
+ * @format GUID
851
+ * @readonly
852
+ */
853
+ _id?: string | null;
854
+ /**
855
+ * Revision number, which increments by 1 each time the Property is updated.
856
+ * To prevent conflicting changes, the current revision must be passed when updating the Property.
857
+ * @readonly
858
+ */
859
+ revision?: string | null;
860
+ /**
861
+ * Date and time the Property was created.
862
+ * @readonly
863
+ */
864
+ _createdDate?: Date | null;
865
+ /**
866
+ * Date and time the Property was last updated.
867
+ * @readonly
868
+ */
869
+ _updatedDate?: Date | null;
870
+ /**
871
+ * Full street address of the property (not personal address).
872
+ * @maxLength 200
873
+ */
874
+ address?: string;
875
+ /**
876
+ * City.
877
+ * @maxLength 100
878
+ */
879
+ city?: string;
880
+ /**
881
+ * State or province.
882
+ * @maxLength 100
883
+ */
884
+ state?: string;
885
+ /**
886
+ * ZIP or postal code of the property (not personal address).
887
+ * @maxLength 20
888
+ */
889
+ zip?: string;
890
+ /** Listing price. */
891
+ price?: Money;
892
+ /** Property status. */
893
+ status?: PropertyStatusWithLiterals;
894
+ /** Property type. */
895
+ propertyType?: PropertyTypeWithLiterals;
896
+ /**
897
+ * Number of bedrooms.
898
+ * @max 100
899
+ */
900
+ beds?: number | null;
901
+ /**
902
+ * Number of bathrooms.
903
+ * @max 100
904
+ */
905
+ baths?: number | null;
906
+ /**
907
+ * Living area in square feet.
908
+ * @max 1000000
909
+ */
910
+ sqft?: number | null;
911
+ /**
912
+ * Lot size in square feet.
913
+ * @max 100000000
914
+ */
915
+ lotSize?: number | null;
916
+ /**
917
+ * Year the property was built.
918
+ * @min 1600
919
+ * @max 2200
920
+ */
921
+ yearBuilt?: number | null;
922
+ /**
923
+ * Public description.
924
+ * @maxLength 10000
925
+ */
926
+ description?: string;
927
+ /**
928
+ * Property features (e.g., Pool, Waterfront, Garage, AC).
929
+ * @maxSize 100
930
+ * @maxLength 100
931
+ */
932
+ features?: string[];
933
+ /**
934
+ * Property photos.
935
+ * @maxSize 100
936
+ */
937
+ photos?: PropertyPhoto[];
938
+ /**
939
+ * 360-degree virtual tour URL.
940
+ * @format WEB_URL
941
+ */
942
+ virtualTourUrl?: string | null;
943
+ /**
944
+ * Property documents (floor plans, disclosures, brochures).
945
+ * @maxSize 50
946
+ */
947
+ documents?: PropertyDocument[];
948
+ /**
949
+ * Custom fields for additional property information.
950
+ * @maxSize 100
951
+ */
952
+ customFields?: CustomField[];
953
+ /**
954
+ * Latitude coordinate.
955
+ * @min -90
956
+ * @max 90
957
+ */
958
+ lat?: number | null;
959
+ /**
960
+ * Longitude coordinate.
961
+ * @min -180
962
+ * @max 180
963
+ */
964
+ lng?: number | null;
965
+ /**
966
+ * Date when property was listed (status changed to Active).
967
+ * @readonly
968
+ */
969
+ listingDate?: Date | null;
970
+ /**
971
+ * Date when property was sold (status changed to Sold).
972
+ * @readonly
973
+ */
974
+ saleDate?: Date | null;
975
+ /**
976
+ * Number of days the property has been on the market.
977
+ * @readonly
978
+ */
979
+ daysOnMarket?: number | null;
980
+ /**
981
+ * Source of the property listing.
982
+ * @readonly
983
+ */
984
+ source?: PropertySourceWithLiterals;
985
+ /**
986
+ * MLS identifier (Phase 2).
987
+ * @readonly
988
+ * @maxLength 100
989
+ */
990
+ mlsId?: string | null;
991
+ /**
992
+ * MLS listing number (Phase 2).
993
+ * @readonly
994
+ * @maxLength 100
995
+ */
996
+ listingId?: string | null;
997
+ /**
998
+ * MLS listing agent ID (Phase 2).
999
+ * @readonly
1000
+ * @maxLength 100
1001
+ */
1002
+ listingAgentId?: string | null;
1003
+ /**
1004
+ * MLS listing office ID (Phase 2).
1005
+ * @readonly
1006
+ * @maxLength 100
1007
+ */
1008
+ listingOfficeId?: string | null;
1009
+ /**
1010
+ * Whether the property is editable by the agent.
1011
+ * @readonly
1012
+ */
1013
+ editable?: boolean;
1014
+ /**
1015
+ * Wix Bookings Service ID for scheduling property viewings.
1016
+ * Populated asynchronously after property creation.
1017
+ * @format GUID
1018
+ * @readonly
1019
+ */
1020
+ serviceId?: string | null;
1021
+ /** Data Extensions. */
1022
+ extendedFields?: ExtendedFields;
1023
+ /** Tags for classification. */
1024
+ tags?: Tags;
1025
+ }
1026
+ interface QueryCursorResult {
1027
+ cursors: Cursors;
1028
+ hasNext: () => boolean;
1029
+ hasPrev: () => boolean;
1030
+ length: number;
1031
+ pageSize: number;
1032
+ }
1033
+ interface PropertiesQueryResult extends QueryCursorResult {
1034
+ items: Property[];
1035
+ query: PropertiesQueryBuilder;
1036
+ next: () => Promise<PropertiesQueryResult>;
1037
+ prev: () => Promise<PropertiesQueryResult>;
1038
+ }
1039
+ interface PropertiesQueryBuilder {
1040
+ /** @param propertyName - Property whose value is compared with `value`.
1041
+ * @param value - Value to compare against.
1042
+ * @documentationMaturity preview
1043
+ */
1044
+ eq: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'city' | 'state' | 'zip' | 'price.value' | 'status' | 'propertyType' | 'beds' | 'baths' | 'sqft' | 'lotSize' | 'yearBuilt' | 'features' | 'serviceId' | 'tags', value: any) => PropertiesQueryBuilder;
1045
+ /** @param propertyName - Property whose value is compared with `value`.
1046
+ * @param value - Value to compare against.
1047
+ * @documentationMaturity preview
1048
+ */
1049
+ ne: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'city' | 'state' | 'zip' | 'price.value' | 'status' | 'propertyType' | 'beds' | 'baths' | 'sqft' | 'lotSize' | 'yearBuilt' | 'features' | 'serviceId' | 'tags', value: any) => PropertiesQueryBuilder;
1050
+ /** @param propertyName - Property whose value is compared with `value`.
1051
+ * @param value - Value to compare against.
1052
+ * @documentationMaturity preview
1053
+ */
1054
+ ge: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'city' | 'state' | 'zip' | 'price.value' | 'beds' | 'baths' | 'sqft' | 'lotSize' | 'yearBuilt' | 'serviceId', value: any) => PropertiesQueryBuilder;
1055
+ /** @param propertyName - Property whose value is compared with `value`.
1056
+ * @param value - Value to compare against.
1057
+ * @documentationMaturity preview
1058
+ */
1059
+ gt: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'city' | 'state' | 'zip' | 'price.value' | 'beds' | 'baths' | 'sqft' | 'lotSize' | 'yearBuilt' | 'serviceId', value: any) => PropertiesQueryBuilder;
1060
+ /** @param propertyName - Property whose value is compared with `value`.
1061
+ * @param value - Value to compare against.
1062
+ * @documentationMaturity preview
1063
+ */
1064
+ le: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'city' | 'state' | 'zip' | 'price.value' | 'beds' | 'baths' | 'sqft' | 'lotSize' | 'yearBuilt' | 'serviceId', value: any) => PropertiesQueryBuilder;
1065
+ /** @param propertyName - Property whose value is compared with `value`.
1066
+ * @param value - Value to compare against.
1067
+ * @documentationMaturity preview
1068
+ */
1069
+ lt: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'city' | 'state' | 'zip' | 'price.value' | 'beds' | 'baths' | 'sqft' | 'lotSize' | 'yearBuilt' | 'serviceId', value: any) => PropertiesQueryBuilder;
1070
+ /** @param propertyName - Property whose value is compared with `string`.
1071
+ * @param string - String to compare against. Case-insensitive.
1072
+ * @documentationMaturity preview
1073
+ */
1074
+ startsWith: (propertyName: '_id' | 'city' | 'state' | 'zip' | 'price.value' | 'serviceId', value: string) => PropertiesQueryBuilder;
1075
+ /** @param propertyName - Property whose value is compared with `values`.
1076
+ * @param values - List of values to compare against.
1077
+ * @documentationMaturity preview
1078
+ */
1079
+ hasSome: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'city' | 'state' | 'zip' | 'price.value' | 'status' | 'propertyType' | 'beds' | 'baths' | 'sqft' | 'lotSize' | 'yearBuilt' | 'features' | 'serviceId' | 'tags', value: any[]) => PropertiesQueryBuilder;
1080
+ /** @param propertyName - Property whose value is compared with `values`.
1081
+ * @param values - List of values to compare against.
1082
+ * @documentationMaturity preview
1083
+ */
1084
+ hasAll: (propertyName: 'features', value: any[]) => PropertiesQueryBuilder;
1085
+ /** @documentationMaturity preview */
1086
+ in: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'city' | 'state' | 'zip' | 'price.value' | 'status' | 'propertyType' | 'beds' | 'baths' | 'sqft' | 'lotSize' | 'yearBuilt' | 'features' | 'serviceId' | 'tags', value: any) => PropertiesQueryBuilder;
1087
+ /** @documentationMaturity preview */
1088
+ exists: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'city' | 'state' | 'zip' | 'price.value' | 'status' | 'propertyType' | 'beds' | 'baths' | 'sqft' | 'lotSize' | 'yearBuilt' | 'features' | 'serviceId' | 'tags', value: boolean) => PropertiesQueryBuilder;
1089
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
1090
+ * @documentationMaturity preview
1091
+ */
1092
+ ascending: (...propertyNames: Array<'_id' | '_createdDate' | '_updatedDate' | 'city' | 'state' | 'zip' | 'price.value' | 'status' | 'propertyType' | 'beds' | 'baths' | 'sqft' | 'lotSize' | 'yearBuilt' | 'features' | 'serviceId' | 'tags'>) => PropertiesQueryBuilder;
1093
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
1094
+ * @documentationMaturity preview
1095
+ */
1096
+ descending: (...propertyNames: Array<'_id' | '_createdDate' | '_updatedDate' | 'city' | 'state' | 'zip' | 'price.value' | 'status' | 'propertyType' | 'beds' | 'baths' | 'sqft' | 'lotSize' | 'yearBuilt' | 'features' | 'serviceId' | 'tags'>) => PropertiesQueryBuilder;
1097
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
1098
+ * @documentationMaturity preview
1099
+ */
1100
+ limit: (limit: number) => PropertiesQueryBuilder;
1101
+ /** @param cursor - A pointer to specific record
1102
+ * @documentationMaturity preview
1103
+ */
1104
+ skipTo: (cursor: string) => PropertiesQueryBuilder;
1105
+ /** @documentationMaturity preview */
1106
+ find: () => Promise<PropertiesQueryResult>;
1107
+ }
1108
+ /**
1109
+ * @hidden
1110
+ * @fqn wix.real_estate.v1.PropertyService.QueryProperties
1111
+ * @requiredField query
1112
+ */
1113
+ declare function typedQueryProperties(query: PropertyQuery): Promise<NonNullablePaths<QueryPropertiesResponse, `properties` | `properties.${number}.address` | `properties.${number}.city` | `properties.${number}.state` | `properties.${number}.zip` | `properties.${number}.price.value` | `properties.${number}.price.currency` | `properties.${number}.status` | `properties.${number}.propertyType` | `properties.${number}.description` | `properties.${number}.source` | `properties.${number}.editable`, 5>>;
1114
+ interface PropertyQuerySpec extends QuerySpec {
1115
+ paging: 'cursor';
1116
+ wql: [
1117
+ {
1118
+ fields: ['features'];
1119
+ operators: ['$hasAll', '$hasSome'];
1120
+ sort: 'BOTH';
1121
+ },
1122
+ {
1123
+ fields: [
1124
+ '_createdDate',
1125
+ '_id',
1126
+ '_updatedDate',
1127
+ 'baths',
1128
+ 'beds',
1129
+ 'city',
1130
+ 'lotSize',
1131
+ 'price.value',
1132
+ 'propertyType',
1133
+ 'serviceId',
1134
+ 'sqft',
1135
+ 'state',
1136
+ 'status',
1137
+ 'tags',
1138
+ 'yearBuilt',
1139
+ 'zip'
1140
+ ];
1141
+ operators: '*';
1142
+ sort: 'BOTH';
1143
+ }
1144
+ ];
1145
+ }
1146
+ type CommonQueryWithEntityContext = Query<Property, PropertyQuerySpec>;
1147
+ type PropertyQuery = {
1148
+ /**
1149
+ Cursor paging options.
1150
+
1151
+ Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
1152
+ */
1153
+ cursorPaging?: {
1154
+ /**
1155
+ Maximum number of items to return in the results.
1156
+ @max: 100
1157
+ */
1158
+ limit?: NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit'] | null;
1159
+ /**
1160
+ Pointer to the next or previous page in the list of results.
1161
+
1162
+ Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
1163
+ Not relevant for the first request.
1164
+ @maxLength: 16000
1165
+ */
1166
+ cursor?: NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor'] | null;
1167
+ };
1168
+ /**
1169
+ Filter object.
1170
+
1171
+ Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).
1172
+ */
1173
+ filter?: CommonQueryWithEntityContext['filter'] | null;
1174
+ /**
1175
+ Sort object.
1176
+
1177
+ Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).
1178
+ @maxSize: 5
1179
+ */
1180
+ sort?: {
1181
+ /**
1182
+ Name of the field to sort by.
1183
+ @maxLength: 512
1184
+ */
1185
+ fieldName?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['fieldName'];
1186
+ /**
1187
+ Sort order.
1188
+ */
1189
+ order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
1190
+ }[];
1191
+ };
1192
+ declare const QueryBuilder: () => _wix_sdk_types.QueryBuilder<Property, PropertyQuerySpec, PropertyQuery>;
1193
+ declare const Filter: _wix_sdk_types.FilterFactory<Property, PropertyQuerySpec>;
1194
+ declare const Sort: _wix_sdk_types.SortFactory<PropertyQuerySpec>;
1195
+ interface BulkCreatePropertiesOptions {
1196
+ /** Set to `true` to receive back the created Properties in the response. */
1197
+ returnEntity?: boolean;
1198
+ }
1199
+ interface BulkUpdatePropertiesOptions {
1200
+ /** Set to `true` to receive back the updated Properties in the response. */
1201
+ returnEntity?: boolean;
1202
+ }
1203
+ interface BulkUpdatePropertyTagsOptions {
1204
+ /** List of tags to assign. */
1205
+ assignTags?: Tags;
1206
+ /** List of tags to unassign. */
1207
+ unassignTags?: Tags;
1208
+ }
1209
+ interface BulkUpdatePropertyTagsByFilterOptions {
1210
+ /** List of tags to assign. */
1211
+ assignTags?: Tags;
1212
+ /** List of tags to unassign. */
1213
+ unassignTags?: Tags;
1214
+ }
1215
+
1216
+ export { type AccountInfo, type ActionEvent, type ApplicationError, type BulkActionMetadata, type BulkCreatePropertiesOptions, type BulkCreatePropertiesRequest, type BulkCreatePropertiesResponse, type BulkDeletePropertiesRequest, type BulkDeletePropertiesResponse, type BulkDeletePropertiesResponseBulkPropertyResult, type BulkPropertyResult, type BulkUpdatePropertiesOptions, type BulkUpdatePropertiesRequest, type BulkUpdatePropertiesResponse, type BulkUpdatePropertiesResponseBulkPropertyResult, type BulkUpdatePropertyTagsApplicationErrors, type BulkUpdatePropertyTagsByFilterApplicationErrors, type BulkUpdatePropertyTagsByFilterOptions, type BulkUpdatePropertyTagsByFilterRequest, type BulkUpdatePropertyTagsByFilterResponse, type BulkUpdatePropertyTagsOptions, type BulkUpdatePropertyTagsRequest, type BulkUpdatePropertyTagsResponse, type BulkUpdatePropertyTagsResult, type CommonQueryWithEntityContext, type CreatePropertyRequest, type CreatePropertyResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomField, CustomFieldType, type CustomFieldTypeWithLiterals, type DeletePropertyRequest, type DeletePropertyResponse, DocumentType, type DocumentTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, Filter, type GetPropertyRequest, type GetPropertyResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type MaskedProperty, type MessageEnvelope, type Money, type PropertiesQueryBuilder, type PropertiesQueryResult, type Property, type PropertyDocument, type PropertyPhoto, type PropertyQuery, type PropertyQuerySpec, PropertySource, type PropertySourceWithLiterals, PropertyStatus, type PropertyStatusChanged, type PropertyStatusWithLiterals, PropertyType, type PropertyTypeWithLiterals, QueryBuilder, type QueryPropertiesRequest, type QueryPropertiesResponse, type RestoreInfo, Sort, SortOrder, type SortOrderWithLiterals, type Sorting, type TagList, type Tags, type TagsModified, type UpdateProperty, type UpdatePropertyRequest, type UpdatePropertyResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, typedQueryProperties };