@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 @@
1
+ {"version":3,"sources":["../../../src/real-estate-v1-property-property.universal.ts","../../../src/real-estate-v1-property-property.http.ts","../../../src/real-estate-v1-property-property.public.ts","../../../src/real-estate-v1-property-property.context.ts"],"sourcesContent":["import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport {\n HttpClient,\n HttpResponse,\n NonNullablePaths,\n QuerySpec,\n Query as QuerySdkType,\n} from '@wix/sdk-types';\nimport * as ambassadorWixRealEstateV1Property from './real-estate-v1-property-property.http.js';\n// @ts-ignore\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { createQueryUtils } from '@wix/sdk-runtime/query-builder-utils';\n\n/** Represents a real estate property listing. */\nexport interface Property {\n /**\n * Property ID.\n * @format GUID\n * @readonly\n */\n _id?: string | null;\n /**\n * Revision number, which increments by 1 each time the Property is updated.\n * To prevent conflicting changes, the current revision must be passed when updating the Property.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the Property was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Date and time the Property was last updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Full street address of the property (not personal address).\n * @maxLength 200\n */\n address?: string;\n /**\n * City.\n * @maxLength 100\n */\n city?: string;\n /**\n * State or province.\n * @maxLength 100\n */\n state?: string;\n /**\n * ZIP or postal code of the property (not personal address).\n * @maxLength 20\n */\n zip?: string;\n /** Listing price. */\n price?: Money;\n /** Property status. */\n status?: PropertyStatusWithLiterals;\n /** Property type. */\n propertyType?: PropertyTypeWithLiterals;\n /**\n * Number of bedrooms.\n * @max 100\n */\n beds?: number | null;\n /**\n * Number of bathrooms.\n * @max 100\n */\n baths?: number | null;\n /**\n * Living area in square feet.\n * @max 1000000\n */\n sqft?: number | null;\n /**\n * Lot size in square feet.\n * @max 100000000\n */\n lotSize?: number | null;\n /**\n * Year the property was built.\n * @min 1600\n * @max 2200\n */\n yearBuilt?: number | null;\n /**\n * Public description.\n * @maxLength 10000\n */\n description?: string;\n /**\n * Property features (e.g., Pool, Waterfront, Garage, AC).\n * @maxSize 100\n * @maxLength 100\n */\n features?: string[];\n /**\n * Property photos.\n * @maxSize 100\n */\n photos?: PropertyPhoto[];\n /**\n * 360-degree virtual tour URL.\n * @format WEB_URL\n */\n virtualTourUrl?: string | null;\n /**\n * Property documents (floor plans, disclosures, brochures).\n * @maxSize 50\n */\n documents?: PropertyDocument[];\n /**\n * Custom fields for additional property information.\n * @maxSize 100\n */\n customFields?: CustomField[];\n /**\n * Latitude coordinate.\n * @min -90\n * @max 90\n */\n lat?: number | null;\n /**\n * Longitude coordinate.\n * @min -180\n * @max 180\n */\n lng?: number | null;\n /**\n * Date when property was listed (status changed to Active).\n * @readonly\n */\n listingDate?: Date | null;\n /**\n * Date when property was sold (status changed to Sold).\n * @readonly\n */\n saleDate?: Date | null;\n /**\n * Number of days the property has been on the market.\n * @readonly\n */\n daysOnMarket?: number | null;\n /**\n * Source of the property listing.\n * @readonly\n */\n source?: PropertySourceWithLiterals;\n /**\n * MLS identifier (Phase 2).\n * @readonly\n * @maxLength 100\n */\n mlsId?: string | null;\n /**\n * MLS listing number (Phase 2).\n * @readonly\n * @maxLength 100\n */\n listingId?: string | null;\n /**\n * MLS listing agent ID (Phase 2).\n * @readonly\n * @maxLength 100\n */\n listingAgentId?: string | null;\n /**\n * MLS listing office ID (Phase 2).\n * @readonly\n * @maxLength 100\n */\n listingOfficeId?: string | null;\n /**\n * Whether the property is editable by the agent.\n * @readonly\n */\n editable?: boolean;\n /**\n * Wix Bookings Service ID for scheduling property viewings.\n * Populated asynchronously after property creation.\n * @format GUID\n * @readonly\n */\n serviceId?: string | null;\n /** Data Extensions. */\n extendedFields?: ExtendedFields;\n /** Tags for classification. */\n tags?: Tags;\n}\n\n/**\n * Money.\n * Default format to use. Sufficiently compliant with majority of standards: w3c, ISO 4217, ISO 20022, ISO 8583:2003.\n */\nexport interface Money {\n /**\n * 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.\n * @format DECIMAL_VALUE\n * @decimalValue options { maxScale:2 }\n */\n value?: string;\n /**\n * Currency code. Must be valid ISO 4217 currency code (e.g., USD).\n * @format CURRENCY\n */\n currency?: string;\n /**\n * Monetary amount. Decimal string in local format (e.g., 1 000,30). Optionally, a single (-), to indicate that the amount is negative.\n * @maxLength 50\n */\n formattedValue?: string | null;\n}\n\n/** Property status. */\nexport enum PropertyStatus {\n /** Unknown status. */\n PROPERTY_STATUS_UNKNOWN = 'PROPERTY_STATUS_UNKNOWN',\n /** Property is currently for sale or rent. */\n ACTIVE = 'ACTIVE',\n /** Property is under contract. */\n PENDING = 'PENDING',\n /** Property transaction is closed. */\n SOLD = 'SOLD',\n /** Property is not publicly listed. */\n OFF_MARKET = 'OFF_MARKET',\n /** Property is incomplete and not published. */\n DRAFT = 'DRAFT',\n}\n\n/** @enumType */\nexport type PropertyStatusWithLiterals =\n | PropertyStatus\n | 'PROPERTY_STATUS_UNKNOWN'\n | 'ACTIVE'\n | 'PENDING'\n | 'SOLD'\n | 'OFF_MARKET'\n | 'DRAFT';\n\n/** Property type. */\nexport enum PropertyType {\n /** Unknown property type. */\n PROPERTY_TYPE_UNKNOWN = 'PROPERTY_TYPE_UNKNOWN',\n /** Single-family home. */\n SINGLE_FAMILY = 'SINGLE_FAMILY',\n /** Condominium. */\n CONDO = 'CONDO',\n /** Townhouse. */\n TOWNHOUSE = 'TOWNHOUSE',\n /** Multi-family home. */\n MULTI_FAMILY = 'MULTI_FAMILY',\n /** Land. */\n LAND = 'LAND',\n /** Commercial property. */\n COMMERCIAL = 'COMMERCIAL',\n}\n\n/** @enumType */\nexport type PropertyTypeWithLiterals =\n | PropertyType\n | 'PROPERTY_TYPE_UNKNOWN'\n | 'SINGLE_FAMILY'\n | 'CONDO'\n | 'TOWNHOUSE'\n | 'MULTI_FAMILY'\n | 'LAND'\n | 'COMMERCIAL';\n\n/** Property photo. */\nexport interface PropertyPhoto {\n /**\n * Photo URL.\n * @format WEB_URL\n */\n url?: string;\n /**\n * Alt text for accessibility.\n * @maxLength 200\n */\n altText?: string;\n /** Display order. */\n order?: number;\n}\n\n/** Property document. */\nexport interface PropertyDocument {\n /**\n * Document URL.\n * @format WEB_URL\n */\n url?: string;\n /**\n * Document title.\n * @maxLength 200\n */\n title?: string;\n /** Document type. */\n type?: DocumentTypeWithLiterals;\n}\n\n/** Document type. */\nexport enum DocumentType {\n /** Unknown document type. */\n DOCUMENT_TYPE_UNKNOWN = 'DOCUMENT_TYPE_UNKNOWN',\n /** Floor plan. */\n FLOOR_PLAN = 'FLOOR_PLAN',\n /** Disclosure document. */\n DISCLOSURE = 'DISCLOSURE',\n /** Brochure. */\n BROCHURE = 'BROCHURE',\n /** Other document. */\n OTHER = 'OTHER',\n}\n\n/** @enumType */\nexport type DocumentTypeWithLiterals =\n | DocumentType\n | 'DOCUMENT_TYPE_UNKNOWN'\n | 'FLOOR_PLAN'\n | 'DISCLOSURE'\n | 'BROCHURE'\n | 'OTHER';\n\n/** Custom field for additional property information. */\nexport interface CustomField {\n /**\n * Field key.\n * @maxLength 100\n */\n key?: string;\n /**\n * Field value.\n * @maxLength 1000\n */\n value?: string;\n /** Field type. */\n type?: CustomFieldTypeWithLiterals;\n}\n\n/** Custom field type. */\nexport enum CustomFieldType {\n /** Unknown field type. */\n CUSTOM_FIELD_TYPE_UNKNOWN = 'CUSTOM_FIELD_TYPE_UNKNOWN',\n /** String value. */\n STRING = 'STRING',\n /** Number value. */\n NUMBER = 'NUMBER',\n /** Boolean value. */\n BOOLEAN = 'BOOLEAN',\n /** Date value. */\n DATE = 'DATE',\n}\n\n/** @enumType */\nexport type CustomFieldTypeWithLiterals =\n | CustomFieldType\n | 'CUSTOM_FIELD_TYPE_UNKNOWN'\n | 'STRING'\n | 'NUMBER'\n | 'BOOLEAN'\n | 'DATE';\n\n/** Property source. */\nexport enum PropertySource {\n /** Unknown source. */\n PROPERTY_SOURCE_UNKNOWN = 'PROPERTY_SOURCE_UNKNOWN',\n /** Manually created by agent. */\n MANUAL = 'MANUAL',\n /** Synced from MLS (Phase 2). */\n MLS = 'MLS',\n}\n\n/** @enumType */\nexport type PropertySourceWithLiterals =\n | PropertySource\n | 'PROPERTY_SOURCE_UNKNOWN'\n | 'MANUAL'\n | 'MLS';\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\n/**\n * Common object for tags.\n * Should be use as in this example:\n * message Foo {\n * option (.wix.api.decomposite_of) = \"wix.commons.v2.tags.Foo\";\n * string id = 1;\n * ...\n * Tags tags = 5\n * }\n *\n * example of taggable entity\n * {\n * id: \"123\"\n * tags: {\n * public_tags: {\n * tag_ids:[\"11\",\"22\"]\n * },\n * private_tags: {\n * tag_ids: [\"33\", \"44\"]\n * }\n * }\n * }\n */\nexport interface Tags {\n /** Tags that require an additional permission in order to access them, typically restricted from site members and visitors. */\n privateTags?: TagList;\n /** Tags that are exposed to anyone with access to the entity, including site members and visitors. */\n publicTags?: TagList;\n}\n\nexport interface TagList {\n /**\n * List of tag IDs.\n * @maxSize 100\n * @maxLength 5\n */\n tagIds?: string[];\n}\n\n/** PropertyStatusChanged action event payload. */\nexport interface PropertyStatusChanged {\n /**\n * Property ID.\n * @format GUID\n */\n propertyId?: string;\n /** Previous status. */\n oldStatus?: PropertyStatusWithLiterals;\n /** New status. */\n newStatus?: PropertyStatusWithLiterals;\n /** Timestamp of the status change. */\n timestamp?: Date | null;\n}\n\n/** TagsModified action event payload. */\nexport interface TagsModified {\n /** Updated Property. */\n property?: Property;\n /** Tags that were assigned to the Property. */\n assignedTags?: Tags;\n /** Tags that were unassigned from the Property. */\n unassignedTags?: Tags;\n}\n\nexport interface CreatePropertyRequest {\n /** Property to be created. */\n property: Property;\n}\n\nexport interface CreatePropertyResponse {\n /** The created Property. */\n property?: Property;\n}\n\nexport interface GetPropertyRequest {\n /**\n * ID of the Property to retrieve.\n * @format GUID\n */\n propertyId: string;\n}\n\nexport interface GetPropertyResponse {\n /** The requested Property. */\n property?: Property;\n}\n\nexport interface UpdatePropertyRequest {\n /** Property to be updated, may be partial. */\n property: Property;\n}\n\nexport interface UpdatePropertyResponse {\n /** Updated Property. */\n property?: Property;\n}\n\nexport interface DeletePropertyRequest {\n /**\n * ID of the Property to delete.\n * @format GUID\n */\n propertyId: string;\n}\n\nexport interface DeletePropertyResponse {}\n\nexport interface QueryPropertiesRequest {\n /** WQL expression. */\n query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /**\n * Cursor paging options.\n *\n * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n */\n cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object.\n *\n * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\n * @maxSize 5\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /**\n * Cursor paging options.\n *\n * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QueryPropertiesResponse {\n /** List of Properties. */\n properties?: Property[];\n /** Paging metadata. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in current page. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface BulkCreatePropertiesRequest {\n /**\n * List of Properties to be created.\n * @minSize 1\n * @maxSize 100\n */\n properties: Property[];\n /** Set to `true` to receive back the created Properties in the response. */\n returnEntity?: boolean;\n}\n\nexport interface BulkCreatePropertiesResponse {\n /**\n * List of the bulk create operation results including the Properties and metadata.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkPropertyResult[];\n /** Metadata regarding the bulk create operation. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ItemMetadata {\n /**\n * Item ID. Provided only whenever possible. For example, `itemId` can't be provided when item creation has failed.\n * @format GUID\n */\n _id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action for this item was successful. When `false`, the `error` field is returned. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface BulkPropertyResult {\n /** Metadata regarding the specific single create operation. */\n itemMetadata?: ItemMetadata;\n /** Only exists if `returnEntity` was set to true in the request. */\n item?: Property;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface BulkUpdatePropertiesRequest {\n /**\n * List of Properties to be updated.\n * @minSize 1\n * @maxSize 100\n */\n properties: MaskedProperty[];\n /** Set to `true` to receive back the updated Properties in the response. */\n returnEntity?: boolean;\n}\n\nexport interface MaskedProperty {\n /** Property to be updated, may be partial. */\n property?: Property;\n}\n\nexport interface BulkUpdatePropertiesResponse {\n /**\n * Results.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdatePropertiesResponseBulkPropertyResult[];\n /** Metadata regarding the bulk update operation. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdatePropertiesResponseBulkPropertyResult {\n /** Metadata regarding the specific single update operation. */\n itemMetadata?: ItemMetadata;\n /** Only exists if `returnEntity` was set to true in the request. */\n item?: Property;\n}\n\nexport interface BulkDeletePropertiesRequest {\n /**\n * Property IDs to be deleted.\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n propertyIds: string[];\n}\n\nexport interface BulkDeletePropertiesResponse {\n /**\n * Results.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkDeletePropertiesResponseBulkPropertyResult[];\n /** Metadata regarding the bulk delete operation. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkDeletePropertiesResponseBulkPropertyResult {\n /** Metadata regarding the specific single delete operation. */\n itemMetadata?: ItemMetadata;\n}\n\nexport interface BulkUpdatePropertyTagsRequest {\n /**\n * List of Property IDs whose tags will be updated.\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n propertyIds: string[];\n /** List of tags to assign. */\n assignTags?: Tags;\n /** List of tags to unassign. */\n unassignTags?: Tags;\n}\n\nexport interface BulkUpdatePropertyTagsResponse {\n /**\n * Results.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdatePropertyTagsResult[];\n /** Metadata regarding the bulk update operation. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdatePropertyTagsResult {\n /** Metadata regarding the specific single update operation. */\n itemMetadata?: ItemMetadata;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * 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.\n * 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.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface Empty {}\n\nexport interface BulkUpdatePropertyTagsByFilterRequest {\n /** Filter. */\n filter: Record<string, any> | null;\n /** List of tags to assign. */\n assignTags?: Tags;\n /** List of tags to unassign. */\n unassignTags?: Tags;\n}\n\nexport interface BulkUpdatePropertyTagsByFilterResponse {\n /**\n * Job ID for tracking the async operation.\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type BulkUpdatePropertyTagsApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkUpdatePropertyTagsByFilterApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n\n/**\n * Creates a Property.\n * @param property - Property to be created.\n * @internal\n * @documentationMaturity preview\n * @requiredField property\n * @requiredField property.address\n * @requiredField property.city\n * @requiredField property.price\n * @requiredField property.propertyType\n * @requiredField property.state\n * @requiredField property.status\n * @requiredField property.zip\n * @permissionId real_estate:v1:property:create_property\n * @returns The created Property.\n * @fqn wix.real_estate.v1.PropertyService.CreateProperty\n */\nexport async function createProperty(\n property: NonNullablePaths<\n Property,\n `address` | `city` | `price` | `propertyType` | `state` | `status` | `zip`,\n 2\n >\n): Promise<\n NonNullablePaths<\n Property,\n | `address`\n | `city`\n | `state`\n | `zip`\n | `price.value`\n | `price.currency`\n | `status`\n | `propertyType`\n | `description`\n | `features`\n | `photos`\n | `photos.${number}.url`\n | `photos.${number}.altText`\n | `photos.${number}.order`\n | `documents`\n | `documents.${number}.url`\n | `documents.${number}.title`\n | `documents.${number}.type`\n | `customFields`\n | `customFields.${number}.key`\n | `customFields.${number}.value`\n | `customFields.${number}.type`\n | `source`\n | `editable`\n | `tags.privateTags.tagIds`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({ property: property });\n\n const reqOpts = ambassadorWixRealEstateV1Property.createProperty(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)?.property!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { property: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['property']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Retrieves a Property.\n * @param propertyId - ID of the Property to retrieve.\n * @internal\n * @documentationMaturity preview\n * @requiredField propertyId\n * @permissionId real_estate:v1:property:get_property\n * @returns The requested Property.\n * @fqn wix.real_estate.v1.PropertyService.GetProperty\n */\nexport async function getProperty(\n propertyId: string\n): Promise<\n NonNullablePaths<\n Property,\n | `address`\n | `city`\n | `state`\n | `zip`\n | `price.value`\n | `price.currency`\n | `status`\n | `propertyType`\n | `description`\n | `features`\n | `photos`\n | `photos.${number}.url`\n | `photos.${number}.altText`\n | `photos.${number}.order`\n | `documents`\n | `documents.${number}.url`\n | `documents.${number}.title`\n | `documents.${number}.type`\n | `customFields`\n | `customFields.${number}.key`\n | `customFields.${number}.value`\n | `customFields.${number}.type`\n | `source`\n | `editable`\n | `tags.privateTags.tagIds`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n propertyId: propertyId,\n });\n\n const reqOpts = ambassadorWixRealEstateV1Property.getProperty(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)?.property!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { propertyId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['propertyId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Updates a Property.\n * Each time the Property is updated, `revision` increments by 1.\n * The current `revision` must be passed when updating the Property.\n * @param _id - Property ID.\n * @internal\n * @documentationMaturity preview\n * @requiredField _id\n * @requiredField property\n * @requiredField property.revision\n * @permissionId real_estate:v1:property:update_property\n * @returns Updated Property.\n * @fqn wix.real_estate.v1.PropertyService.UpdateProperty\n */\nexport async function updateProperty(\n _id: string,\n property: NonNullablePaths<UpdateProperty, `revision`, 2>\n): Promise<\n NonNullablePaths<\n Property,\n | `address`\n | `city`\n | `state`\n | `zip`\n | `price.value`\n | `price.currency`\n | `status`\n | `propertyType`\n | `description`\n | `features`\n | `photos`\n | `photos.${number}.url`\n | `photos.${number}.altText`\n | `photos.${number}.order`\n | `documents`\n | `documents.${number}.url`\n | `documents.${number}.title`\n | `documents.${number}.type`\n | `customFields`\n | `customFields.${number}.key`\n | `customFields.${number}.value`\n | `customFields.${number}.type`\n | `source`\n | `editable`\n | `tags.privateTags.tagIds`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n property: { ...property, id: _id },\n });\n\n const reqOpts = ambassadorWixRealEstateV1Property.updateProperty(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)?.property!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: { property: '$[1]' },\n explicitPathsToArguments: { 'property.id': '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['_id', 'property']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface UpdateProperty {\n /**\n * Property ID.\n * @format GUID\n * @readonly\n */\n _id?: string | null;\n /**\n * Revision number, which increments by 1 each time the Property is updated.\n * To prevent conflicting changes, the current revision must be passed when updating the Property.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the Property was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Date and time the Property was last updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Full street address of the property (not personal address).\n * @maxLength 200\n */\n address?: string;\n /**\n * City.\n * @maxLength 100\n */\n city?: string;\n /**\n * State or province.\n * @maxLength 100\n */\n state?: string;\n /**\n * ZIP or postal code of the property (not personal address).\n * @maxLength 20\n */\n zip?: string;\n /** Listing price. */\n price?: Money;\n /** Property status. */\n status?: PropertyStatusWithLiterals;\n /** Property type. */\n propertyType?: PropertyTypeWithLiterals;\n /**\n * Number of bedrooms.\n * @max 100\n */\n beds?: number | null;\n /**\n * Number of bathrooms.\n * @max 100\n */\n baths?: number | null;\n /**\n * Living area in square feet.\n * @max 1000000\n */\n sqft?: number | null;\n /**\n * Lot size in square feet.\n * @max 100000000\n */\n lotSize?: number | null;\n /**\n * Year the property was built.\n * @min 1600\n * @max 2200\n */\n yearBuilt?: number | null;\n /**\n * Public description.\n * @maxLength 10000\n */\n description?: string;\n /**\n * Property features (e.g., Pool, Waterfront, Garage, AC).\n * @maxSize 100\n * @maxLength 100\n */\n features?: string[];\n /**\n * Property photos.\n * @maxSize 100\n */\n photos?: PropertyPhoto[];\n /**\n * 360-degree virtual tour URL.\n * @format WEB_URL\n */\n virtualTourUrl?: string | null;\n /**\n * Property documents (floor plans, disclosures, brochures).\n * @maxSize 50\n */\n documents?: PropertyDocument[];\n /**\n * Custom fields for additional property information.\n * @maxSize 100\n */\n customFields?: CustomField[];\n /**\n * Latitude coordinate.\n * @min -90\n * @max 90\n */\n lat?: number | null;\n /**\n * Longitude coordinate.\n * @min -180\n * @max 180\n */\n lng?: number | null;\n /**\n * Date when property was listed (status changed to Active).\n * @readonly\n */\n listingDate?: Date | null;\n /**\n * Date when property was sold (status changed to Sold).\n * @readonly\n */\n saleDate?: Date | null;\n /**\n * Number of days the property has been on the market.\n * @readonly\n */\n daysOnMarket?: number | null;\n /**\n * Source of the property listing.\n * @readonly\n */\n source?: PropertySourceWithLiterals;\n /**\n * MLS identifier (Phase 2).\n * @readonly\n * @maxLength 100\n */\n mlsId?: string | null;\n /**\n * MLS listing number (Phase 2).\n * @readonly\n * @maxLength 100\n */\n listingId?: string | null;\n /**\n * MLS listing agent ID (Phase 2).\n * @readonly\n * @maxLength 100\n */\n listingAgentId?: string | null;\n /**\n * MLS listing office ID (Phase 2).\n * @readonly\n * @maxLength 100\n */\n listingOfficeId?: string | null;\n /**\n * Whether the property is editable by the agent.\n * @readonly\n */\n editable?: boolean;\n /**\n * Wix Bookings Service ID for scheduling property viewings.\n * Populated asynchronously after property creation.\n * @format GUID\n * @readonly\n */\n serviceId?: string | null;\n /** Data Extensions. */\n extendedFields?: ExtendedFields;\n /** Tags for classification. */\n tags?: Tags;\n}\n\n/**\n * Deletes a Property.\n * @param propertyId - ID of the Property to delete.\n * @internal\n * @documentationMaturity preview\n * @requiredField propertyId\n * @permissionId real_estate:v1:property:delete_property\n * @fqn wix.real_estate.v1.PropertyService.DeleteProperty\n */\nexport async function deleteProperty(propertyId: string): Promise<void> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n propertyId: propertyId,\n });\n\n const reqOpts = ambassadorWixRealEstateV1Property.deleteProperty(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { propertyId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['propertyId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Retrieves a list of Properties, given the provided paging, filtering, and sorting.\n * Up to 1,000 Properties can be returned per request.\n * @internal\n * @documentationMaturity preview\n * @permissionId real_estate:v1:property:query_properties\n * @fqn wix.real_estate.v1.PropertyService.QueryProperties\n */\nexport function queryProperties(): PropertiesQueryBuilder {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[0] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n return queryBuilder<\n Property,\n 'CURSOR',\n QueryPropertiesRequest,\n QueryPropertiesResponse\n >({\n func: async (payload: QueryPropertiesRequest) => {\n const reqOpts =\n ambassadorWixRealEstateV1Property.queryProperties(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n return result;\n } catch (err) {\n sideEffects?.onError?.(err);\n throw err;\n }\n },\n requestTransformer: (query: QueryPropertiesRequest['query']) => {\n const args = [query, {}] as [QueryPropertiesRequest['query'], {}];\n return renameKeysFromSDKRequestToRESTRequest({\n ...args?.[1],\n query: args?.[0],\n });\n },\n responseTransformer: ({ data }: HttpResponse<QueryPropertiesResponse>) => {\n const transformedData = renameKeysFromRESTResponseToSDKResponse(\n transformPaths(data, [])\n );\n\n return {\n items: transformedData?.properties,\n pagingMetadata: transformedData?.pagingMetadata,\n };\n },\n errorTransformer: (err: unknown) => {\n const transformedError = sdkTransformError(err, {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n });\n\n throw transformedError;\n },\n pagingMethod: 'CURSOR',\n transformationPaths: {},\n });\n}\n\ninterface QueryCursorResult {\n cursors: Cursors;\n hasNext: () => boolean;\n hasPrev: () => boolean;\n length: number;\n pageSize: number;\n}\n\nexport interface PropertiesQueryResult extends QueryCursorResult {\n items: Property[];\n query: PropertiesQueryBuilder;\n next: () => Promise<PropertiesQueryResult>;\n prev: () => Promise<PropertiesQueryResult>;\n}\n\nexport interface PropertiesQueryBuilder {\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n eq: (\n propertyName:\n | '_id'\n | '_createdDate'\n | '_updatedDate'\n | 'city'\n | 'state'\n | 'zip'\n | 'price.value'\n | 'status'\n | 'propertyType'\n | 'beds'\n | 'baths'\n | 'sqft'\n | 'lotSize'\n | 'yearBuilt'\n | 'features'\n | 'serviceId'\n | 'tags',\n value: any\n ) => PropertiesQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n ne: (\n propertyName:\n | '_id'\n | '_createdDate'\n | '_updatedDate'\n | 'city'\n | 'state'\n | 'zip'\n | 'price.value'\n | 'status'\n | 'propertyType'\n | 'beds'\n | 'baths'\n | 'sqft'\n | 'lotSize'\n | 'yearBuilt'\n | 'features'\n | 'serviceId'\n | 'tags',\n value: any\n ) => PropertiesQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n ge: (\n propertyName:\n | '_id'\n | '_createdDate'\n | '_updatedDate'\n | 'city'\n | 'state'\n | 'zip'\n | 'price.value'\n | 'beds'\n | 'baths'\n | 'sqft'\n | 'lotSize'\n | 'yearBuilt'\n | 'serviceId',\n value: any\n ) => PropertiesQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n gt: (\n propertyName:\n | '_id'\n | '_createdDate'\n | '_updatedDate'\n | 'city'\n | 'state'\n | 'zip'\n | 'price.value'\n | 'beds'\n | 'baths'\n | 'sqft'\n | 'lotSize'\n | 'yearBuilt'\n | 'serviceId',\n value: any\n ) => PropertiesQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n le: (\n propertyName:\n | '_id'\n | '_createdDate'\n | '_updatedDate'\n | 'city'\n | 'state'\n | 'zip'\n | 'price.value'\n | 'beds'\n | 'baths'\n | 'sqft'\n | 'lotSize'\n | 'yearBuilt'\n | 'serviceId',\n value: any\n ) => PropertiesQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n lt: (\n propertyName:\n | '_id'\n | '_createdDate'\n | '_updatedDate'\n | 'city'\n | 'state'\n | 'zip'\n | 'price.value'\n | 'beds'\n | 'baths'\n | 'sqft'\n | 'lotSize'\n | 'yearBuilt'\n | 'serviceId',\n value: any\n ) => PropertiesQueryBuilder;\n /** @param propertyName - Property whose value is compared with `string`.\n * @param string - String to compare against. Case-insensitive.\n * @documentationMaturity preview\n */\n startsWith: (\n propertyName:\n | '_id'\n | 'city'\n | 'state'\n | 'zip'\n | 'price.value'\n | 'serviceId',\n value: string\n ) => PropertiesQueryBuilder;\n /** @param propertyName - Property whose value is compared with `values`.\n * @param values - List of values to compare against.\n * @documentationMaturity preview\n */\n hasSome: (\n propertyName:\n | '_id'\n | '_createdDate'\n | '_updatedDate'\n | 'city'\n | 'state'\n | 'zip'\n | 'price.value'\n | 'status'\n | 'propertyType'\n | 'beds'\n | 'baths'\n | 'sqft'\n | 'lotSize'\n | 'yearBuilt'\n | 'features'\n | 'serviceId'\n | 'tags',\n value: any[]\n ) => PropertiesQueryBuilder;\n /** @param propertyName - Property whose value is compared with `values`.\n * @param values - List of values to compare against.\n * @documentationMaturity preview\n */\n hasAll: (propertyName: 'features', value: any[]) => PropertiesQueryBuilder;\n /** @documentationMaturity preview */\n in: (\n propertyName:\n | '_id'\n | '_createdDate'\n | '_updatedDate'\n | 'city'\n | 'state'\n | 'zip'\n | 'price.value'\n | 'status'\n | 'propertyType'\n | 'beds'\n | 'baths'\n | 'sqft'\n | 'lotSize'\n | 'yearBuilt'\n | 'features'\n | 'serviceId'\n | 'tags',\n value: any\n ) => PropertiesQueryBuilder;\n /** @documentationMaturity preview */\n exists: (\n propertyName:\n | '_id'\n | '_createdDate'\n | '_updatedDate'\n | 'city'\n | 'state'\n | 'zip'\n | 'price.value'\n | 'status'\n | 'propertyType'\n | 'beds'\n | 'baths'\n | 'sqft'\n | 'lotSize'\n | 'yearBuilt'\n | 'features'\n | 'serviceId'\n | 'tags',\n value: boolean\n ) => PropertiesQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n * @documentationMaturity preview\n */\n ascending: (\n ...propertyNames: Array<\n | '_id'\n | '_createdDate'\n | '_updatedDate'\n | 'city'\n | 'state'\n | 'zip'\n | 'price.value'\n | 'status'\n | 'propertyType'\n | 'beds'\n | 'baths'\n | 'sqft'\n | 'lotSize'\n | 'yearBuilt'\n | 'features'\n | 'serviceId'\n | 'tags'\n >\n ) => PropertiesQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n * @documentationMaturity preview\n */\n descending: (\n ...propertyNames: Array<\n | '_id'\n | '_createdDate'\n | '_updatedDate'\n | 'city'\n | 'state'\n | 'zip'\n | 'price.value'\n | 'status'\n | 'propertyType'\n | 'beds'\n | 'baths'\n | 'sqft'\n | 'lotSize'\n | 'yearBuilt'\n | 'features'\n | 'serviceId'\n | 'tags'\n >\n ) => PropertiesQueryBuilder;\n /** @param limit - Number of items to return, which is also the `pageSize` of the results object.\n * @documentationMaturity preview\n */\n limit: (limit: number) => PropertiesQueryBuilder;\n /** @param cursor - A pointer to specific record\n * @documentationMaturity preview\n */\n skipTo: (cursor: string) => PropertiesQueryBuilder;\n /** @documentationMaturity preview */\n find: () => Promise<PropertiesQueryResult>;\n}\n\n/**\n * @hidden\n * @fqn wix.real_estate.v1.PropertyService.QueryProperties\n * @requiredField query\n */\nexport async function typedQueryProperties(\n query: PropertyQuery\n): Promise<\n NonNullablePaths<\n QueryPropertiesResponse,\n | `properties`\n | `properties.${number}.address`\n | `properties.${number}.city`\n | `properties.${number}.state`\n | `properties.${number}.zip`\n | `properties.${number}.price.value`\n | `properties.${number}.price.currency`\n | `properties.${number}.status`\n | `properties.${number}.propertyType`\n | `properties.${number}.description`\n | `properties.${number}.source`\n | `properties.${number}.editable`,\n 5\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({ query: query });\n\n const reqOpts = ambassadorWixRealEstateV1Property.queryProperties(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['query']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface PropertyQuerySpec extends QuerySpec {\n paging: 'cursor';\n wql: [\n {\n fields: ['features'];\n operators: ['$hasAll', '$hasSome'];\n sort: 'BOTH';\n },\n {\n fields: [\n '_createdDate',\n '_id',\n '_updatedDate',\n 'baths',\n 'beds',\n 'city',\n 'lotSize',\n 'price.value',\n 'propertyType',\n 'serviceId',\n 'sqft',\n 'state',\n 'status',\n 'tags',\n 'yearBuilt',\n 'zip'\n ];\n operators: '*';\n sort: 'BOTH';\n }\n ];\n}\n\nexport type CommonQueryWithEntityContext = QuerySdkType<\n Property,\n PropertyQuerySpec\n>;\nexport type PropertyQuery = {\n /** \n Cursor paging options.\n\n Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging). \n */\n cursorPaging?: {\n /** \n Maximum number of items to return in the results. \n @max: 100 \n */\n limit?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit']\n | null;\n /** \n Pointer to the next or previous page in the list of results.\n\n Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n Not relevant for the first request. \n @maxLength: 16000 \n */\n cursor?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor']\n | null;\n };\n /** \n Filter object.\n\n Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters). \n */\n filter?: CommonQueryWithEntityContext['filter'] | null;\n /** \n Sort object.\n\n Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting). \n @maxSize: 5 \n */\n sort?: {\n /** \n Name of the field to sort by. \n @maxLength: 512 \n */\n fieldName?: NonNullable<\n CommonQueryWithEntityContext['sort']\n >[number]['fieldName'];\n /** \n Sort order. \n */\n order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];\n }[];\n};\n\nexport const { QueryBuilder, Filter, Sort } = createQueryUtils<\n Property,\n PropertyQuerySpec,\n PropertyQuery\n>();\n\n/**\n * Creates multiple Properties in a single request. Works synchronously.\n * @param properties - List of Properties to be created.\n * @internal\n * @documentationMaturity preview\n * @requiredField properties\n * @permissionId real_estate:v1:property:bulk_create_properties\n * @fqn wix.real_estate.v1.PropertyService.BulkCreateProperties\n */\nexport async function bulkCreateProperties(\n properties: Property[],\n options?: BulkCreatePropertiesOptions\n): Promise<\n NonNullablePaths<\n BulkCreatePropertiesResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `results.${number}.item.address`\n | `results.${number}.item.city`\n | `results.${number}.item.state`\n | `results.${number}.item.zip`\n | `results.${number}.item.price.value`\n | `results.${number}.item.price.currency`\n | `results.${number}.item.status`\n | `results.${number}.item.propertyType`\n | `results.${number}.item.description`\n | `results.${number}.item.source`\n | `results.${number}.item.editable`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n properties: properties,\n returnEntity: options?.returnEntity,\n });\n\n const reqOpts =\n ambassadorWixRealEstateV1Property.bulkCreateProperties(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n properties: '$[0]',\n returnEntity: '$[1].returnEntity',\n },\n singleArgumentUnchanged: false,\n },\n ['properties', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkCreatePropertiesOptions {\n /** Set to `true` to receive back the created Properties in the response. */\n returnEntity?: boolean;\n}\n\n/**\n * Updates multiple Properties in a single request. Works synchronously.\n * @param properties - List of Properties to be updated.\n * @internal\n * @documentationMaturity preview\n * @requiredField properties\n * @requiredField properties.property._id\n * @requiredField properties.property.revision\n * @permissionId real_estate:v1:property:bulk_update_properties\n * @fqn wix.real_estate.v1.PropertyService.BulkUpdateProperties\n */\nexport async function bulkUpdateProperties(\n properties: NonNullablePaths<\n MaskedProperty,\n `property._id` | `property.revision`,\n 3\n >[],\n options?: BulkUpdatePropertiesOptions\n): Promise<\n NonNullablePaths<\n BulkUpdatePropertiesResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `results.${number}.item.address`\n | `results.${number}.item.city`\n | `results.${number}.item.state`\n | `results.${number}.item.zip`\n | `results.${number}.item.price.value`\n | `results.${number}.item.price.currency`\n | `results.${number}.item.status`\n | `results.${number}.item.propertyType`\n | `results.${number}.item.description`\n | `results.${number}.item.source`\n | `results.${number}.item.editable`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n properties: properties,\n returnEntity: options?.returnEntity,\n });\n\n const reqOpts =\n ambassadorWixRealEstateV1Property.bulkUpdateProperties(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n properties: '$[0]',\n returnEntity: '$[1].returnEntity',\n },\n singleArgumentUnchanged: false,\n },\n ['properties', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkUpdatePropertiesOptions {\n /** Set to `true` to receive back the updated Properties in the response. */\n returnEntity?: boolean;\n}\n\n/**\n * Deletes multiple Properties in a single request. Works synchronously.\n * @param propertyIds - Property IDs to be deleted.\n * @internal\n * @documentationMaturity preview\n * @requiredField propertyIds\n * @permissionId real_estate:v1:property:bulk_delete_properties\n * @fqn wix.real_estate.v1.PropertyService.BulkDeleteProperties\n */\nexport async function bulkDeleteProperties(\n propertyIds: string[]\n): Promise<\n NonNullablePaths<\n BulkDeletePropertiesResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n propertyIds: propertyIds,\n });\n\n const reqOpts =\n ambassadorWixRealEstateV1Property.bulkDeleteProperties(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { propertyIds: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['propertyIds']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Synchronously updates tags on multiple Properties by list of Property IDs.\n * A tag that appears both in the list of assign and unassign tags will be assigned.\n * @param propertyIds - List of Property IDs whose tags will be updated.\n * @internal\n * @documentationMaturity preview\n * @requiredField propertyIds\n * @permissionId real_estate:v1:property:bulk_update_property_tags\n * @fqn wix.real_estate.v1.PropertyService.BulkUpdatePropertyTags\n */\nexport async function bulkUpdatePropertyTags(\n propertyIds: string[],\n options?: BulkUpdatePropertyTagsOptions\n): Promise<\n NonNullablePaths<\n BulkUpdatePropertyTagsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n > & {\n __applicationErrorsType?: BulkUpdatePropertyTagsApplicationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n propertyIds: propertyIds,\n assignTags: options?.assignTags,\n unassignTags: options?.unassignTags,\n });\n\n const reqOpts =\n ambassadorWixRealEstateV1Property.bulkUpdatePropertyTags(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n propertyIds: '$[0]',\n assignTags: '$[1].assignTags',\n unassignTags: '$[1].unassignTags',\n },\n singleArgumentUnchanged: false,\n },\n ['propertyIds', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkUpdatePropertyTagsOptions {\n /** List of tags to assign. */\n assignTags?: Tags;\n /** List of tags to unassign. */\n unassignTags?: Tags;\n}\n\n/**\n * Asynchronously updates tags on multiple Properties by provided filter.\n * An empty filter will update all Properties.\n * A tag that appears both in the list of assign and unassign tags will be assigned.\n * @param filter - Filter.\n * @internal\n * @documentationMaturity preview\n * @requiredField filter\n * @permissionId real_estate:v1:property:bulk_update_property_tags_by_filter\n * @fqn wix.real_estate.v1.PropertyService.BulkUpdatePropertyTagsByFilter\n */\nexport async function bulkUpdatePropertyTagsByFilter(\n filter: Record<string, any>,\n options?: BulkUpdatePropertyTagsByFilterOptions\n): Promise<\n NonNullablePaths<BulkUpdatePropertyTagsByFilterResponse, `jobId`, 2> & {\n __applicationErrorsType?: BulkUpdatePropertyTagsByFilterApplicationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n filter: filter,\n assignTags: options?.assignTags,\n unassignTags: options?.unassignTags,\n });\n\n const reqOpts =\n ambassadorWixRealEstateV1Property.bulkUpdatePropertyTagsByFilter(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n filter: '$[0]',\n assignTags: '$[1].assignTags',\n unassignTags: '$[1].unassignTags',\n },\n singleArgumentUnchanged: false,\n },\n ['filter', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkUpdatePropertyTagsByFilterOptions {\n /** List of tags to assign. */\n assignTags?: Tags;\n /** List of tags to unassign. */\n unassignTags?: Tags;\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixRealEstateV1PropertyServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {};\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_property_property';\n\n/** Creates a Property. */\nexport function createProperty(payload: object): RequestOptionsFactory<any> {\n function __createProperty({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'property.createdDate' },\n { path: 'property.updatedDate' },\n { path: 'property.listingDate' },\n { path: 'property.saleDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'property.baths' },\n { path: 'property.lat' },\n { path: 'property.lng' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.real_estate.v1.property',\n method: 'POST' as any,\n methodFqn: 'wix.real_estate.v1.PropertyService.CreateProperty',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRealEstateV1PropertyServiceUrl({\n protoPath: '/v1/properties',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'property.createdDate' },\n { path: 'property.updatedDate' },\n { path: 'property.listingDate' },\n { path: 'property.saleDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'property.baths' },\n { path: 'property.lat' },\n { path: 'property.lng' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createProperty;\n}\n\n/** Retrieves a Property. */\nexport function getProperty(payload: object): RequestOptionsFactory<any> {\n function __getProperty({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.real_estate.v1.property',\n method: 'GET' as any,\n methodFqn: 'wix.real_estate.v1.PropertyService.GetProperty',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRealEstateV1PropertyServiceUrl({\n protoPath: '/v1/properties/{propertyId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'property.createdDate' },\n { path: 'property.updatedDate' },\n { path: 'property.listingDate' },\n { path: 'property.saleDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'property.baths' },\n { path: 'property.lat' },\n { path: 'property.lng' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getProperty;\n}\n\n/**\n * Updates a Property.\n * Each time the Property is updated, `revision` increments by 1.\n * The current `revision` must be passed when updating the Property.\n */\nexport function updateProperty(payload: object): RequestOptionsFactory<any> {\n function __updateProperty({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'property.createdDate' },\n { path: 'property.updatedDate' },\n { path: 'property.listingDate' },\n { path: 'property.saleDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'property.baths' },\n { path: 'property.lat' },\n { path: 'property.lng' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.real_estate.v1.property',\n method: 'PATCH' as any,\n methodFqn: 'wix.real_estate.v1.PropertyService.UpdateProperty',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRealEstateV1PropertyServiceUrl({\n protoPath: '/v1/properties/{property.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'property.createdDate' },\n { path: 'property.updatedDate' },\n { path: 'property.listingDate' },\n { path: 'property.saleDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'property.baths' },\n { path: 'property.lat' },\n { path: 'property.lng' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateProperty;\n}\n\n/** Deletes a Property. */\nexport function deleteProperty(payload: object): RequestOptionsFactory<any> {\n function __deleteProperty({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.real_estate.v1.property',\n method: 'DELETE' as any,\n methodFqn: 'wix.real_estate.v1.PropertyService.DeleteProperty',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRealEstateV1PropertyServiceUrl({\n protoPath: '/v1/properties/{propertyId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteProperty;\n}\n\n/**\n * Retrieves a list of Properties, given the provided paging, filtering, and sorting.\n * Up to 1,000 Properties can be returned per request.\n */\nexport function queryProperties(payload: object): RequestOptionsFactory<any> {\n function __queryProperties({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.real_estate.v1.property',\n method: 'GET' as any,\n methodFqn: 'wix.real_estate.v1.PropertyService.QueryProperties',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRealEstateV1PropertyServiceUrl({\n protoPath: '/v1/properties/query',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'properties.createdDate' },\n { path: 'properties.updatedDate' },\n { path: 'properties.listingDate' },\n { path: 'properties.saleDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'properties.baths' },\n { path: 'properties.lat' },\n { path: 'properties.lng' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixRealEstateV1PropertyServiceUrl({\n protoPath: '/v1/properties/query',\n data: payload,\n host,\n }),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryProperties;\n}\n\n/** Creates multiple Properties in a single request. Works synchronously. */\nexport function bulkCreateProperties(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateProperties({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'properties.createdDate' },\n { path: 'properties.updatedDate' },\n { path: 'properties.listingDate' },\n { path: 'properties.saleDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'properties.baths' },\n { path: 'properties.lat' },\n { path: 'properties.lng' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.real_estate.v1.property',\n method: 'POST' as any,\n methodFqn: 'wix.real_estate.v1.PropertyService.BulkCreateProperties',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRealEstateV1PropertyServiceUrl({\n protoPath: '/v1/bulk/properties/create',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n { path: 'results.item.listingDate' },\n { path: 'results.item.saleDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.baths' },\n { path: 'results.item.lat' },\n { path: 'results.item.lng' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateProperties;\n}\n\n/** Updates multiple Properties in a single request. Works synchronously. */\nexport function bulkUpdateProperties(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateProperties({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'properties.fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'properties.property.createdDate' },\n { path: 'properties.property.updatedDate' },\n { path: 'properties.property.listingDate' },\n { path: 'properties.property.saleDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'properties.property.baths' },\n { path: 'properties.property.lat' },\n { path: 'properties.property.lng' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.real_estate.v1.property',\n method: 'POST' as any,\n methodFqn: 'wix.real_estate.v1.PropertyService.BulkUpdateProperties',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRealEstateV1PropertyServiceUrl({\n protoPath: '/v1/bulk/properties/update',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n { path: 'results.item.listingDate' },\n { path: 'results.item.saleDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.baths' },\n { path: 'results.item.lat' },\n { path: 'results.item.lng' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateProperties;\n}\n\n/** Deletes multiple Properties in a single request. Works synchronously. */\nexport function bulkDeleteProperties(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteProperties({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.real_estate.v1.property',\n method: 'POST' as any,\n methodFqn: 'wix.real_estate.v1.PropertyService.BulkDeleteProperties',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRealEstateV1PropertyServiceUrl({\n protoPath: '/v1/bulk/properties/delete',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkDeleteProperties;\n}\n\n/**\n * Synchronously updates tags on multiple Properties by list of Property IDs.\n * A tag that appears both in the list of assign and unassign tags will be assigned.\n */\nexport function bulkUpdatePropertyTags(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdatePropertyTags({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.real_estate.v1.property',\n method: 'POST' as any,\n methodFqn: 'wix.real_estate.v1.PropertyService.BulkUpdatePropertyTags',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRealEstateV1PropertyServiceUrl({\n protoPath: '/v1/bulk/properties/update-tags',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdatePropertyTags;\n}\n\n/**\n * Asynchronously updates tags on multiple Properties by provided filter.\n * An empty filter will update all Properties.\n * A tag that appears both in the list of assign and unassign tags will be assigned.\n */\nexport function bulkUpdatePropertyTagsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdatePropertyTagsByFilter({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.real_estate.v1.property',\n method: 'POST' as any,\n methodFqn:\n 'wix.real_estate.v1.PropertyService.BulkUpdatePropertyTagsByFilter',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRealEstateV1PropertyServiceUrl({\n protoPath: '/v1/bulk/properties/update-tags-by-filter',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdatePropertyTagsByFilter;\n}\n","import { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n BulkCreatePropertiesOptions,\n BulkCreatePropertiesResponse,\n BulkDeletePropertiesResponse,\n BulkUpdatePropertiesOptions,\n BulkUpdatePropertiesResponse,\n BulkUpdatePropertyTagsApplicationErrors,\n BulkUpdatePropertyTagsByFilterApplicationErrors,\n BulkUpdatePropertyTagsByFilterOptions,\n BulkUpdatePropertyTagsByFilterResponse,\n BulkUpdatePropertyTagsOptions,\n BulkUpdatePropertyTagsResponse,\n MaskedProperty,\n PropertiesQueryBuilder,\n Property,\n PropertyQuery,\n QueryPropertiesResponse,\n UpdateProperty,\n bulkCreateProperties as universalBulkCreateProperties,\n bulkDeleteProperties as universalBulkDeleteProperties,\n bulkUpdateProperties as universalBulkUpdateProperties,\n bulkUpdatePropertyTags as universalBulkUpdatePropertyTags,\n bulkUpdatePropertyTagsByFilter as universalBulkUpdatePropertyTagsByFilter,\n createProperty as universalCreateProperty,\n deleteProperty as universalDeleteProperty,\n getProperty as universalGetProperty,\n queryProperties as universalQueryProperties,\n typedQueryProperties as universalTypedQueryProperties,\n updateProperty as universalUpdateProperty,\n} from './real-estate-v1-property-property.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/property' };\n\n/** @internal */\nexport function createProperty(\n httpClient: HttpClient\n): CreatePropertySignature {\n return (\n property: NonNullablePaths<\n Property,\n | `address`\n | `city`\n | `price`\n | `propertyType`\n | `state`\n | `status`\n | `zip`,\n 2\n >\n ) =>\n universalCreateProperty(\n property,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CreatePropertySignature {\n /**\n * Creates a Property.\n * @param - Property to be created.\n * @returns The created Property.\n */\n (\n property: NonNullablePaths<\n Property,\n | `address`\n | `city`\n | `price`\n | `propertyType`\n | `state`\n | `status`\n | `zip`,\n 2\n >\n ): Promise<\n NonNullablePaths<\n Property,\n | `address`\n | `city`\n | `state`\n | `zip`\n | `price.value`\n | `price.currency`\n | `status`\n | `propertyType`\n | `description`\n | `features`\n | `photos`\n | `photos.${number}.url`\n | `photos.${number}.altText`\n | `photos.${number}.order`\n | `documents`\n | `documents.${number}.url`\n | `documents.${number}.title`\n | `documents.${number}.type`\n | `customFields`\n | `customFields.${number}.key`\n | `customFields.${number}.value`\n | `customFields.${number}.type`\n | `source`\n | `editable`\n | `tags.privateTags.tagIds`,\n 4\n >\n >;\n}\n\n/** @internal */\nexport function getProperty(httpClient: HttpClient): GetPropertySignature {\n return (propertyId: string) =>\n universalGetProperty(\n propertyId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetPropertySignature {\n /**\n * Retrieves a Property.\n * @param - ID of the Property to retrieve.\n * @returns The requested Property.\n */\n (propertyId: string): Promise<\n NonNullablePaths<\n Property,\n | `address`\n | `city`\n | `state`\n | `zip`\n | `price.value`\n | `price.currency`\n | `status`\n | `propertyType`\n | `description`\n | `features`\n | `photos`\n | `photos.${number}.url`\n | `photos.${number}.altText`\n | `photos.${number}.order`\n | `documents`\n | `documents.${number}.url`\n | `documents.${number}.title`\n | `documents.${number}.type`\n | `customFields`\n | `customFields.${number}.key`\n | `customFields.${number}.value`\n | `customFields.${number}.type`\n | `source`\n | `editable`\n | `tags.privateTags.tagIds`,\n 4\n >\n >;\n}\n\n/** @internal */\nexport function updateProperty(\n httpClient: HttpClient\n): UpdatePropertySignature {\n return (\n _id: string,\n property: NonNullablePaths<UpdateProperty, `revision`, 2>\n ) =>\n universalUpdateProperty(\n _id,\n property,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface UpdatePropertySignature {\n /**\n * Updates a Property.\n * Each time the Property is updated, `revision` increments by 1.\n * The current `revision` must be passed when updating the Property.\n * @param - Property ID.\n * @returns Updated Property.\n */\n (\n _id: string,\n property: NonNullablePaths<UpdateProperty, `revision`, 2>\n ): Promise<\n NonNullablePaths<\n Property,\n | `address`\n | `city`\n | `state`\n | `zip`\n | `price.value`\n | `price.currency`\n | `status`\n | `propertyType`\n | `description`\n | `features`\n | `photos`\n | `photos.${number}.url`\n | `photos.${number}.altText`\n | `photos.${number}.order`\n | `documents`\n | `documents.${number}.url`\n | `documents.${number}.title`\n | `documents.${number}.type`\n | `customFields`\n | `customFields.${number}.key`\n | `customFields.${number}.value`\n | `customFields.${number}.type`\n | `source`\n | `editable`\n | `tags.privateTags.tagIds`,\n 4\n >\n >;\n}\n\n/** @internal */\nexport function deleteProperty(\n httpClient: HttpClient\n): DeletePropertySignature {\n return (propertyId: string) =>\n universalDeleteProperty(\n propertyId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface DeletePropertySignature {\n /**\n * Deletes a Property.\n * @param - ID of the Property to delete.\n */\n (propertyId: string): Promise<void>;\n}\n\n/** @internal */\nexport function queryProperties(\n httpClient: HttpClient\n): QueryPropertiesSignature {\n return () =>\n universalQueryProperties(\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface QueryPropertiesSignature {\n /**\n * Retrieves a list of Properties, given the provided paging, filtering, and sorting.\n * Up to 1,000 Properties can be returned per request.\n */\n (): PropertiesQueryBuilder;\n}\n\nexport function typedQueryProperties(\n httpClient: HttpClient\n): TypedQueryPropertiesSignature {\n return (query: PropertyQuery) =>\n universalTypedQueryProperties(\n query,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface TypedQueryPropertiesSignature {\n /** */\n (query: PropertyQuery): Promise<\n NonNullablePaths<\n QueryPropertiesResponse,\n | `properties`\n | `properties.${number}.address`\n | `properties.${number}.city`\n | `properties.${number}.state`\n | `properties.${number}.zip`\n | `properties.${number}.price.value`\n | `properties.${number}.price.currency`\n | `properties.${number}.status`\n | `properties.${number}.propertyType`\n | `properties.${number}.description`\n | `properties.${number}.source`\n | `properties.${number}.editable`,\n 5\n >\n >;\n}\n\n/** @internal */\nexport function bulkCreateProperties(\n httpClient: HttpClient\n): BulkCreatePropertiesSignature {\n return (properties: Property[], options?: BulkCreatePropertiesOptions) =>\n universalBulkCreateProperties(\n properties,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkCreatePropertiesSignature {\n /**\n * Creates multiple Properties in a single request. Works synchronously.\n * @param - List of Properties to be created.\n */\n (properties: Property[], options?: BulkCreatePropertiesOptions): Promise<\n NonNullablePaths<\n BulkCreatePropertiesResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `results.${number}.item.address`\n | `results.${number}.item.city`\n | `results.${number}.item.state`\n | `results.${number}.item.zip`\n | `results.${number}.item.price.value`\n | `results.${number}.item.price.currency`\n | `results.${number}.item.status`\n | `results.${number}.item.propertyType`\n | `results.${number}.item.description`\n | `results.${number}.item.source`\n | `results.${number}.item.editable`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n >;\n}\n\n/** @internal */\nexport function bulkUpdateProperties(\n httpClient: HttpClient\n): BulkUpdatePropertiesSignature {\n return (\n properties: NonNullablePaths<\n MaskedProperty,\n `property._id` | `property.revision`,\n 3\n >[],\n options?: BulkUpdatePropertiesOptions\n ) =>\n universalBulkUpdateProperties(\n properties,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkUpdatePropertiesSignature {\n /**\n * Updates multiple Properties in a single request. Works synchronously.\n * @param - List of Properties to be updated.\n */\n (\n properties: NonNullablePaths<\n MaskedProperty,\n `property._id` | `property.revision`,\n 3\n >[],\n options?: BulkUpdatePropertiesOptions\n ): Promise<\n NonNullablePaths<\n BulkUpdatePropertiesResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `results.${number}.item.address`\n | `results.${number}.item.city`\n | `results.${number}.item.state`\n | `results.${number}.item.zip`\n | `results.${number}.item.price.value`\n | `results.${number}.item.price.currency`\n | `results.${number}.item.status`\n | `results.${number}.item.propertyType`\n | `results.${number}.item.description`\n | `results.${number}.item.source`\n | `results.${number}.item.editable`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n >;\n}\n\n/** @internal */\nexport function bulkDeleteProperties(\n httpClient: HttpClient\n): BulkDeletePropertiesSignature {\n return (propertyIds: string[]) =>\n universalBulkDeleteProperties(\n propertyIds,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkDeletePropertiesSignature {\n /**\n * Deletes multiple Properties in a single request. Works synchronously.\n * @param - Property IDs to be deleted.\n */\n (propertyIds: string[]): Promise<\n NonNullablePaths<\n BulkDeletePropertiesResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n >;\n}\n\n/** @internal */\nexport function bulkUpdatePropertyTags(\n httpClient: HttpClient\n): BulkUpdatePropertyTagsSignature {\n return (propertyIds: string[], options?: BulkUpdatePropertyTagsOptions) =>\n universalBulkUpdatePropertyTags(\n propertyIds,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkUpdatePropertyTagsSignature {\n /**\n * Synchronously updates tags on multiple Properties by list of Property IDs.\n * A tag that appears both in the list of assign and unassign tags will be assigned.\n * @param - List of Property IDs whose tags will be updated.\n */\n (propertyIds: string[], options?: BulkUpdatePropertyTagsOptions): Promise<\n NonNullablePaths<\n BulkUpdatePropertyTagsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n > & {\n __applicationErrorsType?: BulkUpdatePropertyTagsApplicationErrors;\n }\n >;\n}\n\n/** @internal */\nexport function bulkUpdatePropertyTagsByFilter(\n httpClient: HttpClient\n): BulkUpdatePropertyTagsByFilterSignature {\n return (\n filter: Record<string, any>,\n options?: BulkUpdatePropertyTagsByFilterOptions\n ) =>\n universalBulkUpdatePropertyTagsByFilter(\n filter,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkUpdatePropertyTagsByFilterSignature {\n /**\n * Asynchronously updates tags on multiple Properties by provided filter.\n * An empty filter will update all Properties.\n * A tag that appears both in the list of assign and unassign tags will be assigned.\n * @param - Filter.\n */\n (\n filter: Record<string, any>,\n options?: BulkUpdatePropertyTagsByFilterOptions\n ): Promise<\n NonNullablePaths<BulkUpdatePropertyTagsByFilterResponse, `jobId`, 2> & {\n __applicationErrorsType?: BulkUpdatePropertyTagsByFilterApplicationErrors;\n }\n >;\n}\n\nexport {\n AccountInfo,\n ActionEvent,\n ApplicationError,\n BulkActionMetadata,\n BulkCreatePropertiesOptions,\n BulkCreatePropertiesRequest,\n BulkCreatePropertiesResponse,\n BulkDeletePropertiesRequest,\n BulkDeletePropertiesResponse,\n BulkDeletePropertiesResponseBulkPropertyResult,\n BulkPropertyResult,\n BulkUpdatePropertiesOptions,\n BulkUpdatePropertiesRequest,\n BulkUpdatePropertiesResponse,\n BulkUpdatePropertiesResponseBulkPropertyResult,\n BulkUpdatePropertyTagsByFilterOptions,\n BulkUpdatePropertyTagsByFilterRequest,\n BulkUpdatePropertyTagsByFilterResponse,\n BulkUpdatePropertyTagsOptions,\n BulkUpdatePropertyTagsRequest,\n BulkUpdatePropertyTagsResponse,\n BulkUpdatePropertyTagsResult,\n CreatePropertyRequest,\n CreatePropertyResponse,\n CursorPaging,\n CursorPagingMetadata,\n CursorQuery,\n CursorQueryPagingMethodOneOf,\n Cursors,\n CustomField,\n CustomFieldType,\n DeletePropertyRequest,\n DeletePropertyResponse,\n DocumentType,\n DomainEvent,\n DomainEventBodyOneOf,\n Empty,\n EntityCreatedEvent,\n EntityDeletedEvent,\n EntityUpdatedEvent,\n ExtendedFields,\n Filter,\n GetPropertyRequest,\n GetPropertyResponse,\n IdentificationData,\n IdentificationDataIdOneOf,\n ItemMetadata,\n MaskedProperty,\n MessageEnvelope,\n Money,\n PropertiesQueryBuilder,\n PropertiesQueryResult,\n Property,\n PropertyDocument,\n PropertyPhoto,\n PropertyQuerySpec,\n PropertySource,\n PropertyStatus,\n PropertyStatusChanged,\n PropertyType,\n QueryBuilder,\n QueryPropertiesRequest,\n QueryPropertiesResponse,\n RestoreInfo,\n Sort,\n SortOrder,\n Sorting,\n TagList,\n Tags,\n TagsModified,\n UpdateProperty,\n UpdatePropertyRequest,\n UpdatePropertyResponse,\n WebhookIdentityType,\n} from './real-estate-v1-property-property.universal.js';\n","import {\n createProperty as publicCreateProperty,\n getProperty as publicGetProperty,\n updateProperty as publicUpdateProperty,\n deleteProperty as publicDeleteProperty,\n queryProperties as publicQueryProperties,\n typedQueryProperties as publicTypedQueryProperties,\n bulkCreateProperties as publicBulkCreateProperties,\n bulkUpdateProperties as publicBulkUpdateProperties,\n bulkDeleteProperties as publicBulkDeleteProperties,\n bulkUpdatePropertyTags as publicBulkUpdatePropertyTags,\n bulkUpdatePropertyTagsByFilter as publicBulkUpdatePropertyTagsByFilter,\n} from './real-estate-v1-property-property.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';\nimport { HttpClient } from '@wix/sdk-types';\nimport { createQueryOverloadRouter } from '@wix/sdk-runtime/query-method-router';\nimport {\n PropertiesQueryBuilder,\n PropertyQuery,\n typedQueryProperties as universalTypedQueryProperties,\n} from './real-estate-v1-property-property.universal.js';\n\nfunction customQueryProperties(httpClient: HttpClient) {\n const router = createQueryOverloadRouter({\n builderQueryFunction: () => publicQueryProperties(httpClient)(),\n typedQueryFunction: (query: PropertyQuery) =>\n publicTypedQueryProperties(httpClient)(query),\n hasOptionsParameter: false,\n });\n\n function overloadedQuery(): PropertiesQueryBuilder;\n function overloadedQuery(\n query: PropertyQuery\n ): ReturnType<typeof universalTypedQueryProperties>;\n function overloadedQuery(query?: PropertyQuery): any {\n return router(...arguments);\n }\n\n return overloadedQuery;\n}\n\n/** @internal */\nexport const createProperty: MaybeContext<\n BuildRESTFunction<typeof publicCreateProperty> & typeof publicCreateProperty\n> = /*#__PURE__*/ createRESTModule(publicCreateProperty);\n/** @internal */\nexport const getProperty: MaybeContext<\n BuildRESTFunction<typeof publicGetProperty> & typeof publicGetProperty\n> = /*#__PURE__*/ createRESTModule(publicGetProperty);\n/** @internal */\nexport const updateProperty: MaybeContext<\n BuildRESTFunction<typeof publicUpdateProperty> & typeof publicUpdateProperty\n> = /*#__PURE__*/ createRESTModule(publicUpdateProperty);\n/** @internal */\nexport const deleteProperty: MaybeContext<\n BuildRESTFunction<typeof publicDeleteProperty> & typeof publicDeleteProperty\n> = /*#__PURE__*/ createRESTModule(publicDeleteProperty);\n/** @internal */\nexport const bulkCreateProperties: MaybeContext<\n BuildRESTFunction<typeof publicBulkCreateProperties> &\n typeof publicBulkCreateProperties\n> = /*#__PURE__*/ createRESTModule(publicBulkCreateProperties);\n/** @internal */\nexport const bulkUpdateProperties: MaybeContext<\n BuildRESTFunction<typeof publicBulkUpdateProperties> &\n typeof publicBulkUpdateProperties\n> = /*#__PURE__*/ createRESTModule(publicBulkUpdateProperties);\n/** @internal */\nexport const bulkDeleteProperties: MaybeContext<\n BuildRESTFunction<typeof publicBulkDeleteProperties> &\n typeof publicBulkDeleteProperties\n> = /*#__PURE__*/ createRESTModule(publicBulkDeleteProperties);\n/** @internal */\nexport const bulkUpdatePropertyTags: MaybeContext<\n BuildRESTFunction<typeof publicBulkUpdatePropertyTags> &\n typeof publicBulkUpdatePropertyTags\n> = /*#__PURE__*/ createRESTModule(publicBulkUpdatePropertyTags);\n/** @internal */\nexport const bulkUpdatePropertyTagsByFilter: MaybeContext<\n BuildRESTFunction<typeof publicBulkUpdatePropertyTagsByFilter> &\n typeof publicBulkUpdatePropertyTagsByFilter\n> = /*#__PURE__*/ createRESTModule(publicBulkUpdatePropertyTagsByFilter);\nexport const queryProperties: MaybeContext<\n BuildRESTFunction<typeof customQueryProperties> & typeof customQueryProperties\n> = /*#__PURE__*/ createRESTModule(customQueryProperties);\n\nexport {\n PropertyStatus,\n PropertyType,\n DocumentType,\n CustomFieldType,\n PropertySource,\n SortOrder,\n WebhookIdentityType,\n} from './real-estate-v1-property-property.universal.js';\nexport {\n Property,\n Money,\n PropertyPhoto,\n PropertyDocument,\n CustomField,\n ExtendedFields,\n Tags,\n TagList,\n PropertyStatusChanged,\n TagsModified,\n CreatePropertyRequest,\n CreatePropertyResponse,\n GetPropertyRequest,\n GetPropertyResponse,\n UpdatePropertyRequest,\n UpdatePropertyResponse,\n DeletePropertyRequest,\n DeletePropertyResponse,\n QueryPropertiesRequest,\n CursorQuery,\n CursorQueryPagingMethodOneOf,\n Sorting,\n CursorPaging,\n QueryPropertiesResponse,\n CursorPagingMetadata,\n Cursors,\n BulkCreatePropertiesRequest,\n BulkCreatePropertiesResponse,\n ItemMetadata,\n ApplicationError,\n BulkPropertyResult,\n BulkActionMetadata,\n BulkUpdatePropertiesRequest,\n MaskedProperty,\n BulkUpdatePropertiesResponse,\n BulkUpdatePropertiesResponseBulkPropertyResult,\n BulkDeletePropertiesRequest,\n BulkDeletePropertiesResponse,\n BulkDeletePropertiesResponseBulkPropertyResult,\n BulkUpdatePropertyTagsRequest,\n BulkUpdatePropertyTagsResponse,\n BulkUpdatePropertyTagsResult,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n RestoreInfo,\n EntityUpdatedEvent,\n EntityDeletedEvent,\n ActionEvent,\n Empty,\n BulkUpdatePropertyTagsByFilterRequest,\n BulkUpdatePropertyTagsByFilterResponse,\n MessageEnvelope,\n IdentificationData,\n IdentificationDataIdOneOf,\n AccountInfo,\n UpdateProperty,\n PropertiesQueryResult,\n PropertiesQueryBuilder,\n PropertyQuerySpec,\n BulkCreatePropertiesOptions,\n BulkUpdatePropertiesOptions,\n BulkUpdatePropertyTagsOptions,\n BulkUpdatePropertyTagsByFilterOptions,\n} from './real-estate-v1-property-property.universal.js';\nexport {\n QueryBuilder,\n Filter,\n Sort,\n} from './real-estate-v1-property-property.universal.js';\nexport {\n PropertyStatusWithLiterals,\n PropertyTypeWithLiterals,\n DocumentTypeWithLiterals,\n CustomFieldTypeWithLiterals,\n PropertySourceWithLiterals,\n SortOrderWithLiterals,\n WebhookIdentityTypeWithLiterals,\n BulkUpdatePropertyTagsApplicationErrors,\n BulkUpdatePropertyTagsByFilterApplicationErrors,\n CommonQueryWithEntityContext,\n PropertyQuery,\n} from './real-estate-v1-property-property.universal.js';\n"],"mappings":";AAAA,SAAS,kBAAkB,yBAAyB;AACpD,SAAS,oBAAoB;AAC7B;AAAA,EACE;AAAA,EACA;AAAA,OACK;;;ACLP,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS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iCAAiBA,eAAoB;AAEhD,IAAMC,wBAGK,iCAAiBA,qBAA0B;AAEtD,IAAMC,wBAGK,iCAAiBA,qBAA0B;AAEtD,IAAMC,wBAGK,iCAAiBA,qBAA0B;AAEtD,IAAMC,0BAGK,iCAAiBA,uBAA4B;AAExD,IAAMC,kCAGK,iCAAiBA,+BAAoC;AAChE,IAAMV,mBAEK,iCAAiB,qBAAqB;","names":["payload","transformPaths","PropertyStatus","PropertyType","DocumentType","CustomFieldType","PropertySource","SortOrder","WebhookIdentityType","createProperty","getProperty","updateProperty","deleteProperty","queryProperties","bulkCreateProperties","bulkUpdateProperties","bulkDeleteProperties","bulkUpdatePropertyTags","bulkUpdatePropertyTagsByFilter","createProperty","getProperty","updateProperty","deleteProperty","queryProperties","typedQueryProperties","bulkCreateProperties","bulkUpdateProperties","bulkDeleteProperties","bulkUpdatePropertyTags","bulkUpdatePropertyTagsByFilter","queryProperties","typedQueryProperties","createProperty","getProperty","updateProperty","deleteProperty","bulkCreateProperties","bulkUpdateProperties","bulkDeleteProperties","bulkUpdatePropertyTags","bulkUpdatePropertyTagsByFilter"]}