@unified-api/typescript-sdk 2.86.6 → 2.86.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +2 -2
- package/README.md +66 -12
- package/dist/commonjs/funcs/propertyCreatePropertyConversation.d.ts +18 -0
- package/dist/commonjs/funcs/propertyCreatePropertyConversation.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyCreatePropertyConversation.js +128 -0
- package/dist/commonjs/funcs/propertyCreatePropertyConversation.js.map +1 -0
- package/dist/commonjs/funcs/propertyCreatePropertyGuest.d.ts +18 -0
- package/dist/commonjs/funcs/propertyCreatePropertyGuest.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyCreatePropertyGuest.js +126 -0
- package/dist/commonjs/funcs/propertyCreatePropertyGuest.js.map +1 -0
- package/dist/commonjs/funcs/propertyCreatePropertyListing.d.ts +18 -0
- package/dist/commonjs/funcs/propertyCreatePropertyListing.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyCreatePropertyListing.js +126 -0
- package/dist/commonjs/funcs/propertyCreatePropertyListing.js.map +1 -0
- package/dist/commonjs/funcs/propertyCreatePropertyReservation.d.ts +18 -0
- package/dist/commonjs/funcs/propertyCreatePropertyReservation.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyCreatePropertyReservation.js +128 -0
- package/dist/commonjs/funcs/propertyCreatePropertyReservation.js.map +1 -0
- package/dist/commonjs/funcs/propertyGetPropertyConversation.d.ts +18 -0
- package/dist/commonjs/funcs/propertyGetPropertyConversation.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyGetPropertyConversation.js +129 -0
- package/dist/commonjs/funcs/propertyGetPropertyConversation.js.map +1 -0
- package/dist/commonjs/funcs/propertyGetPropertyGuest.d.ts +18 -0
- package/dist/commonjs/funcs/propertyGetPropertyGuest.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyGetPropertyGuest.js +129 -0
- package/dist/commonjs/funcs/propertyGetPropertyGuest.js.map +1 -0
- package/dist/commonjs/funcs/propertyGetPropertyListing.d.ts +18 -0
- package/dist/commonjs/funcs/propertyGetPropertyListing.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyGetPropertyListing.js +129 -0
- package/dist/commonjs/funcs/propertyGetPropertyListing.js.map +1 -0
- package/dist/commonjs/funcs/propertyGetPropertyReservation.d.ts +18 -0
- package/dist/commonjs/funcs/propertyGetPropertyReservation.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyGetPropertyReservation.js +129 -0
- package/dist/commonjs/funcs/propertyGetPropertyReservation.js.map +1 -0
- package/dist/commonjs/funcs/propertyGetPropertyReview.d.ts +18 -0
- package/dist/commonjs/funcs/propertyGetPropertyReview.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyGetPropertyReview.js +129 -0
- package/dist/commonjs/funcs/propertyGetPropertyReview.js.map +1 -0
- package/dist/commonjs/funcs/propertyGetPropertyUnittype.d.ts +18 -0
- package/dist/commonjs/funcs/propertyGetPropertyUnittype.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyGetPropertyUnittype.js +129 -0
- package/dist/commonjs/funcs/propertyGetPropertyUnittype.js.map +1 -0
- package/dist/commonjs/funcs/propertyListPropertyAvailabilities.d.ts +18 -0
- package/dist/commonjs/funcs/propertyListPropertyAvailabilities.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyListPropertyAvailabilities.js +136 -0
- package/dist/commonjs/funcs/propertyListPropertyAvailabilities.js.map +1 -0
- package/dist/commonjs/funcs/propertyListPropertyConversations.d.ts +18 -0
- package/dist/commonjs/funcs/propertyListPropertyConversations.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyListPropertyConversations.js +134 -0
- package/dist/commonjs/funcs/propertyListPropertyConversations.js.map +1 -0
- package/dist/commonjs/funcs/propertyListPropertyGuests.d.ts +18 -0
- package/dist/commonjs/funcs/propertyListPropertyGuests.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyListPropertyGuests.js +133 -0
- package/dist/commonjs/funcs/propertyListPropertyGuests.js.map +1 -0
- package/dist/commonjs/funcs/propertyListPropertyListings.d.ts +18 -0
- package/dist/commonjs/funcs/propertyListPropertyListings.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyListPropertyListings.js +132 -0
- package/dist/commonjs/funcs/propertyListPropertyListings.js.map +1 -0
- package/dist/commonjs/funcs/propertyListPropertyReservations.d.ts +18 -0
- package/dist/commonjs/funcs/propertyListPropertyReservations.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyListPropertyReservations.js +137 -0
- package/dist/commonjs/funcs/propertyListPropertyReservations.js.map +1 -0
- package/dist/commonjs/funcs/propertyListPropertyReviews.d.ts +18 -0
- package/dist/commonjs/funcs/propertyListPropertyReviews.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyListPropertyReviews.js +134 -0
- package/dist/commonjs/funcs/propertyListPropertyReviews.js.map +1 -0
- package/dist/commonjs/funcs/propertyListPropertyUnittypes.d.ts +18 -0
- package/dist/commonjs/funcs/propertyListPropertyUnittypes.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyListPropertyUnittypes.js +133 -0
- package/dist/commonjs/funcs/propertyListPropertyUnittypes.js.map +1 -0
- package/dist/commonjs/funcs/propertyPatchPropertyGuest.d.ts +18 -0
- package/dist/commonjs/funcs/propertyPatchPropertyGuest.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyPatchPropertyGuest.js +130 -0
- package/dist/commonjs/funcs/propertyPatchPropertyGuest.js.map +1 -0
- package/dist/commonjs/funcs/propertyPatchPropertyListing.d.ts +18 -0
- package/dist/commonjs/funcs/propertyPatchPropertyListing.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyPatchPropertyListing.js +130 -0
- package/dist/commonjs/funcs/propertyPatchPropertyListing.js.map +1 -0
- package/dist/commonjs/funcs/propertyPatchPropertyReservation.d.ts +18 -0
- package/dist/commonjs/funcs/propertyPatchPropertyReservation.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyPatchPropertyReservation.js +132 -0
- package/dist/commonjs/funcs/propertyPatchPropertyReservation.js.map +1 -0
- package/dist/commonjs/funcs/propertyPatchPropertyReview.d.ts +18 -0
- package/dist/commonjs/funcs/propertyPatchPropertyReview.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyPatchPropertyReview.js +130 -0
- package/dist/commonjs/funcs/propertyPatchPropertyReview.js.map +1 -0
- package/dist/commonjs/funcs/propertyRemovePropertyListing.d.ts +17 -0
- package/dist/commonjs/funcs/propertyRemovePropertyListing.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyRemovePropertyListing.js +126 -0
- package/dist/commonjs/funcs/propertyRemovePropertyListing.js.map +1 -0
- package/dist/commonjs/funcs/propertyUpdatePropertyGuest.d.ts +18 -0
- package/dist/commonjs/funcs/propertyUpdatePropertyGuest.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyUpdatePropertyGuest.js +130 -0
- package/dist/commonjs/funcs/propertyUpdatePropertyGuest.js.map +1 -0
- package/dist/commonjs/funcs/propertyUpdatePropertyListing.d.ts +18 -0
- package/dist/commonjs/funcs/propertyUpdatePropertyListing.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyUpdatePropertyListing.js +130 -0
- package/dist/commonjs/funcs/propertyUpdatePropertyListing.js.map +1 -0
- package/dist/commonjs/funcs/propertyUpdatePropertyReservation.d.ts +18 -0
- package/dist/commonjs/funcs/propertyUpdatePropertyReservation.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyUpdatePropertyReservation.js +132 -0
- package/dist/commonjs/funcs/propertyUpdatePropertyReservation.js.map +1 -0
- package/dist/commonjs/funcs/propertyUpdatePropertyReview.d.ts +18 -0
- package/dist/commonjs/funcs/propertyUpdatePropertyReview.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyUpdatePropertyReview.js +130 -0
- package/dist/commonjs/funcs/propertyUpdatePropertyReview.js.map +1 -0
- package/dist/commonjs/funcs/quoteCreatePropertyQuote.d.ts +18 -0
- package/dist/commonjs/funcs/quoteCreatePropertyQuote.d.ts.map +1 -0
- package/dist/commonjs/funcs/quoteCreatePropertyQuote.js +126 -0
- package/dist/commonjs/funcs/quoteCreatePropertyQuote.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/sdk/availability.d.ts +7 -0
- package/dist/commonjs/sdk/availability.d.ts.map +1 -1
- package/dist/commonjs/sdk/availability.js +10 -0
- package/dist/commonjs/sdk/availability.js.map +1 -1
- package/dist/commonjs/sdk/conversation.d.ts +27 -0
- package/dist/commonjs/sdk/conversation.d.ts.map +1 -0
- package/dist/commonjs/sdk/conversation.js +42 -0
- package/dist/commonjs/sdk/conversation.js.map +1 -0
- package/dist/commonjs/sdk/guest.d.ts +41 -0
- package/dist/commonjs/sdk/guest.d.ts.map +1 -0
- package/dist/commonjs/sdk/guest.js +62 -0
- package/dist/commonjs/sdk/guest.js.map +1 -0
- package/dist/commonjs/sdk/listing.d.ts +48 -0
- package/dist/commonjs/sdk/listing.d.ts.map +1 -0
- package/dist/commonjs/sdk/listing.js +72 -0
- package/dist/commonjs/sdk/listing.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/createpropertyconversation.d.ts +48 -0
- package/dist/commonjs/sdk/models/operations/createpropertyconversation.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/createpropertyconversation.js +79 -0
- package/dist/commonjs/sdk/models/operations/createpropertyconversation.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/createpropertyguest.d.ts +50 -0
- package/dist/commonjs/sdk/models/operations/createpropertyguest.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/createpropertyguest.js +80 -0
- package/dist/commonjs/sdk/models/operations/createpropertyguest.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/createpropertylisting.d.ts +70 -0
- package/dist/commonjs/sdk/models/operations/createpropertylisting.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/createpropertylisting.js +100 -0
- package/dist/commonjs/sdk/models/operations/createpropertylisting.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/createpropertyquote.d.ts +49 -0
- package/dist/commonjs/sdk/models/operations/createpropertyquote.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/createpropertyquote.js +79 -0
- package/dist/commonjs/sdk/models/operations/createpropertyquote.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/createpropertyreservation.d.ts +66 -0
- package/dist/commonjs/sdk/models/operations/createpropertyreservation.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/createpropertyreservation.js +97 -0
- package/dist/commonjs/sdk/models/operations/createpropertyreservation.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertyconversation.d.ts +50 -0
- package/dist/commonjs/sdk/models/operations/getpropertyconversation.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertyconversation.js +77 -0
- package/dist/commonjs/sdk/models/operations/getpropertyconversation.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertyguest.d.ts +52 -0
- package/dist/commonjs/sdk/models/operations/getpropertyguest.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertyguest.js +77 -0
- package/dist/commonjs/sdk/models/operations/getpropertyguest.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertylisting.d.ts +72 -0
- package/dist/commonjs/sdk/models/operations/getpropertylisting.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertylisting.js +97 -0
- package/dist/commonjs/sdk/models/operations/getpropertylisting.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertyreservation.d.ts +68 -0
- package/dist/commonjs/sdk/models/operations/getpropertyreservation.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertyreservation.js +94 -0
- package/dist/commonjs/sdk/models/operations/getpropertyreservation.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertyreview.d.ts +54 -0
- package/dist/commonjs/sdk/models/operations/getpropertyreview.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertyreview.js +79 -0
- package/dist/commonjs/sdk/models/operations/getpropertyreview.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertyunittype.d.ts +57 -0
- package/dist/commonjs/sdk/models/operations/getpropertyunittype.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertyunittype.js +83 -0
- package/dist/commonjs/sdk/models/operations/getpropertyunittype.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts +27 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.js +27 -0
- package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listpropertyavailabilities.d.ts +81 -0
- package/dist/commonjs/sdk/models/operations/listpropertyavailabilities.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listpropertyavailabilities.js +89 -0
- package/dist/commonjs/sdk/models/operations/listpropertyavailabilities.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/listpropertyconversations.d.ts +73 -0
- package/dist/commonjs/sdk/models/operations/listpropertyconversations.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listpropertyconversations.js +87 -0
- package/dist/commonjs/sdk/models/operations/listpropertyconversations.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/listpropertyguests.d.ts +70 -0
- package/dist/commonjs/sdk/models/operations/listpropertyguests.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listpropertyguests.js +85 -0
- package/dist/commonjs/sdk/models/operations/listpropertyguests.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/listpropertylistings.d.ts +85 -0
- package/dist/commonjs/sdk/models/operations/listpropertylistings.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listpropertylistings.js +104 -0
- package/dist/commonjs/sdk/models/operations/listpropertylistings.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/listpropertyreservations.d.ts +103 -0
- package/dist/commonjs/sdk/models/operations/listpropertyreservations.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listpropertyreservations.js +110 -0
- package/dist/commonjs/sdk/models/operations/listpropertyreservations.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/listpropertyreviews.d.ts +77 -0
- package/dist/commonjs/sdk/models/operations/listpropertyreviews.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listpropertyreviews.js +90 -0
- package/dist/commonjs/sdk/models/operations/listpropertyreviews.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/listpropertyunittypes.d.ts +75 -0
- package/dist/commonjs/sdk/models/operations/listpropertyunittypes.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listpropertyunittypes.js +91 -0
- package/dist/commonjs/sdk/models/operations/listpropertyunittypes.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiedconnections.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiedconnections.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listunifiedconnections.js +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiedconnections.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listunifiedintegrations.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiedintegrations.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listunifiedintegrations.js +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiedintegrations.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listunifiedintegrationworkspaces.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiedintegrationworkspaces.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listunifiedintegrationworkspaces.js +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiedintegrationworkspaces.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchpropertyguest.d.ts +55 -0
- package/dist/commonjs/sdk/models/operations/patchpropertyguest.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/patchpropertyguest.js +80 -0
- package/dist/commonjs/sdk/models/operations/patchpropertyguest.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/patchpropertylisting.d.ts +75 -0
- package/dist/commonjs/sdk/models/operations/patchpropertylisting.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/patchpropertylisting.js +101 -0
- package/dist/commonjs/sdk/models/operations/patchpropertylisting.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/patchpropertyreservation.d.ts +71 -0
- package/dist/commonjs/sdk/models/operations/patchpropertyreservation.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/patchpropertyreservation.js +98 -0
- package/dist/commonjs/sdk/models/operations/patchpropertyreservation.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/patchpropertyreview.d.ts +57 -0
- package/dist/commonjs/sdk/models/operations/patchpropertyreview.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/patchpropertyreview.js +83 -0
- package/dist/commonjs/sdk/models/operations/patchpropertyreview.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/removepropertylisting.d.ts +30 -0
- package/dist/commonjs/sdk/models/operations/removepropertylisting.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/removepropertylisting.js +68 -0
- package/dist/commonjs/sdk/models/operations/removepropertylisting.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/updatepropertyguest.d.ts +55 -0
- package/dist/commonjs/sdk/models/operations/updatepropertyguest.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/updatepropertyguest.js +81 -0
- package/dist/commonjs/sdk/models/operations/updatepropertyguest.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/updatepropertylisting.d.ts +75 -0
- package/dist/commonjs/sdk/models/operations/updatepropertylisting.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/updatepropertylisting.js +101 -0
- package/dist/commonjs/sdk/models/operations/updatepropertylisting.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/updatepropertyreservation.d.ts +71 -0
- package/dist/commonjs/sdk/models/operations/updatepropertyreservation.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/updatepropertyreservation.js +98 -0
- package/dist/commonjs/sdk/models/operations/updatepropertyreservation.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/updatepropertyreview.d.ts +57 -0
- package/dist/commonjs/sdk/models/operations/updatepropertyreview.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/updatepropertyreview.js +83 -0
- package/dist/commonjs/sdk/models/operations/updatepropertyreview.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts +19 -1
- package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.js +19 -1
- package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/integrationsupport.d.ts +64 -1
- package/dist/commonjs/sdk/models/shared/integrationsupport.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/integrationsupport.js +218 -154
- package/dist/commonjs/sdk/models/shared/integrationsupport.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyattachment.d.ts +35 -0
- package/dist/commonjs/sdk/models/shared/propertyattachment.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyattachment.js +75 -0
- package/dist/commonjs/sdk/models/shared/propertyattachment.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyavailability.d.ts +74 -0
- package/dist/commonjs/sdk/models/shared/propertyavailability.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyavailability.js +87 -0
- package/dist/commonjs/sdk/models/shared/propertyavailability.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertycategoryrating.d.ts +51 -0
- package/dist/commonjs/sdk/models/shared/propertycategoryrating.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertycategoryrating.js +79 -0
- package/dist/commonjs/sdk/models/shared/propertycategoryrating.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertychannel.d.ts +25 -0
- package/dist/commonjs/sdk/models/shared/propertychannel.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertychannel.js +69 -0
- package/dist/commonjs/sdk/models/shared/propertychannel.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectioncategories.d.ts +1 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectioncategories.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyconnectioncategories.js +1 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectioncategories.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts +14 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js +14 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyconversation.d.ts +91 -0
- package/dist/commonjs/sdk/models/shared/propertyconversation.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyconversation.js +113 -0
- package/dist/commonjs/sdk/models/shared/propertyconversation.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyemail.d.ts +42 -0
- package/dist/commonjs/sdk/models/shared/propertyemail.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyemail.js +73 -0
- package/dist/commonjs/sdk/models/shared/propertyemail.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyguest.d.ts +103 -0
- package/dist/commonjs/sdk/models/shared/propertyguest.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyguest.js +113 -0
- package/dist/commonjs/sdk/models/shared/propertyguest.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyintegrationcategories.d.ts +1 -0
- package/dist/commonjs/sdk/models/shared/propertyintegrationcategories.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyintegrationcategories.js +1 -0
- package/dist/commonjs/sdk/models/shared/propertyintegrationcategories.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertylineitem.d.ts +60 -0
- package/dist/commonjs/sdk/models/shared/propertylineitem.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertylineitem.js +91 -0
- package/dist/commonjs/sdk/models/shared/propertylineitem.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertylisting.d.ts +226 -0
- package/dist/commonjs/sdk/models/shared/propertylisting.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertylisting.js +198 -0
- package/dist/commonjs/sdk/models/shared/propertylisting.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertymessage.d.ts +83 -0
- package/dist/commonjs/sdk/models/shared/propertymessage.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertymessage.js +111 -0
- package/dist/commonjs/sdk/models/shared/propertymessage.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertymetadata.d.ts +148 -0
- package/dist/commonjs/sdk/models/shared/propertymetadata.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertymetadata.js +280 -0
- package/dist/commonjs/sdk/models/shared/propertymetadata.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertypropertyguestaddress.d.ts +58 -0
- package/dist/commonjs/sdk/models/shared/propertypropertyguestaddress.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertypropertyguestaddress.js +85 -0
- package/dist/commonjs/sdk/models/shared/propertypropertyguestaddress.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertypropertylistingaddress.d.ts +58 -0
- package/dist/commonjs/sdk/models/shared/propertypropertylistingaddress.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertypropertylistingaddress.js +85 -0
- package/dist/commonjs/sdk/models/shared/propertypropertylistingaddress.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyquote.d.ts +95 -0
- package/dist/commonjs/sdk/models/shared/propertyquote.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyquote.js +115 -0
- package/dist/commonjs/sdk/models/shared/propertyquote.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyreservation.d.ts +203 -0
- package/dist/commonjs/sdk/models/shared/propertyreservation.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyreservation.js +189 -0
- package/dist/commonjs/sdk/models/shared/propertyreservation.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyreview.d.ts +111 -0
- package/dist/commonjs/sdk/models/shared/propertyreview.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyreview.js +123 -0
- package/dist/commonjs/sdk/models/shared/propertyreview.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertytelephone.d.ts +44 -0
- package/dist/commonjs/sdk/models/shared/propertytelephone.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertytelephone.js +75 -0
- package/dist/commonjs/sdk/models/shared/propertytelephone.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyunittype.d.ts +96 -0
- package/dist/commonjs/sdk/models/shared/propertyunittype.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyunittype.js +88 -0
- package/dist/commonjs/sdk/models/shared/propertyunittype.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/{virtualwebhookcarrierid.d.ts → virtualwebhookcalendarid.d.ts} +33 -33
- package/dist/commonjs/sdk/models/shared/virtualwebhookcalendarid.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/{virtualwebhookcarrierid.js → virtualwebhookcalendarid.js} +35 -35
- package/dist/commonjs/sdk/models/shared/virtualwebhookcalendarid.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/webhook.d.ts +8 -0
- package/dist/commonjs/sdk/models/shared/webhook.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/webhook.js +8 -0
- package/dist/commonjs/sdk/models/shared/webhook.js.map +1 -1
- package/dist/commonjs/sdk/property.d.ts +189 -0
- package/dist/commonjs/sdk/property.d.ts.map +1 -1
- package/dist/commonjs/sdk/property.js +270 -0
- package/dist/commonjs/sdk/property.js.map +1 -1
- package/dist/commonjs/sdk/quote.d.ts +7 -0
- package/dist/commonjs/sdk/quote.d.ts.map +1 -1
- package/dist/commonjs/sdk/quote.js +10 -0
- package/dist/commonjs/sdk/quote.js.map +1 -1
- package/dist/commonjs/sdk/reservation.d.ts +35 -0
- package/dist/commonjs/sdk/reservation.d.ts.map +1 -1
- package/dist/commonjs/sdk/reservation.js +50 -0
- package/dist/commonjs/sdk/reservation.js.map +1 -1
- package/dist/commonjs/sdk/review.d.ts +28 -0
- package/dist/commonjs/sdk/review.d.ts.map +1 -1
- package/dist/commonjs/sdk/review.js +40 -0
- package/dist/commonjs/sdk/review.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +12 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +16 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/unittype.d.ts +20 -0
- package/dist/commonjs/sdk/unittype.d.ts.map +1 -0
- package/dist/commonjs/sdk/unittype.js +32 -0
- package/dist/commonjs/sdk/unittype.js.map +1 -0
- package/dist/esm/funcs/propertyCreatePropertyConversation.d.ts +18 -0
- package/dist/esm/funcs/propertyCreatePropertyConversation.d.ts.map +1 -0
- package/dist/esm/funcs/propertyCreatePropertyConversation.js +92 -0
- package/dist/esm/funcs/propertyCreatePropertyConversation.js.map +1 -0
- package/dist/esm/funcs/propertyCreatePropertyGuest.d.ts +18 -0
- package/dist/esm/funcs/propertyCreatePropertyGuest.d.ts.map +1 -0
- package/dist/esm/funcs/propertyCreatePropertyGuest.js +90 -0
- package/dist/esm/funcs/propertyCreatePropertyGuest.js.map +1 -0
- package/dist/esm/funcs/propertyCreatePropertyListing.d.ts +18 -0
- package/dist/esm/funcs/propertyCreatePropertyListing.d.ts.map +1 -0
- package/dist/esm/funcs/propertyCreatePropertyListing.js +90 -0
- package/dist/esm/funcs/propertyCreatePropertyListing.js.map +1 -0
- package/dist/esm/funcs/propertyCreatePropertyReservation.d.ts +18 -0
- package/dist/esm/funcs/propertyCreatePropertyReservation.d.ts.map +1 -0
- package/dist/esm/funcs/propertyCreatePropertyReservation.js +92 -0
- package/dist/esm/funcs/propertyCreatePropertyReservation.js.map +1 -0
- package/dist/esm/funcs/propertyGetPropertyConversation.d.ts +18 -0
- package/dist/esm/funcs/propertyGetPropertyConversation.d.ts.map +1 -0
- package/dist/esm/funcs/propertyGetPropertyConversation.js +93 -0
- package/dist/esm/funcs/propertyGetPropertyConversation.js.map +1 -0
- package/dist/esm/funcs/propertyGetPropertyGuest.d.ts +18 -0
- package/dist/esm/funcs/propertyGetPropertyGuest.d.ts.map +1 -0
- package/dist/esm/funcs/propertyGetPropertyGuest.js +93 -0
- package/dist/esm/funcs/propertyGetPropertyGuest.js.map +1 -0
- package/dist/esm/funcs/propertyGetPropertyListing.d.ts +18 -0
- package/dist/esm/funcs/propertyGetPropertyListing.d.ts.map +1 -0
- package/dist/esm/funcs/propertyGetPropertyListing.js +93 -0
- package/dist/esm/funcs/propertyGetPropertyListing.js.map +1 -0
- package/dist/esm/funcs/propertyGetPropertyReservation.d.ts +18 -0
- package/dist/esm/funcs/propertyGetPropertyReservation.d.ts.map +1 -0
- package/dist/esm/funcs/propertyGetPropertyReservation.js +93 -0
- package/dist/esm/funcs/propertyGetPropertyReservation.js.map +1 -0
- package/dist/esm/funcs/propertyGetPropertyReview.d.ts +18 -0
- package/dist/esm/funcs/propertyGetPropertyReview.d.ts.map +1 -0
- package/dist/esm/funcs/propertyGetPropertyReview.js +93 -0
- package/dist/esm/funcs/propertyGetPropertyReview.js.map +1 -0
- package/dist/esm/funcs/propertyGetPropertyUnittype.d.ts +18 -0
- package/dist/esm/funcs/propertyGetPropertyUnittype.d.ts.map +1 -0
- package/dist/esm/funcs/propertyGetPropertyUnittype.js +93 -0
- package/dist/esm/funcs/propertyGetPropertyUnittype.js.map +1 -0
- package/dist/esm/funcs/propertyListPropertyAvailabilities.d.ts +18 -0
- package/dist/esm/funcs/propertyListPropertyAvailabilities.d.ts.map +1 -0
- package/dist/esm/funcs/propertyListPropertyAvailabilities.js +100 -0
- package/dist/esm/funcs/propertyListPropertyAvailabilities.js.map +1 -0
- package/dist/esm/funcs/propertyListPropertyConversations.d.ts +18 -0
- package/dist/esm/funcs/propertyListPropertyConversations.d.ts.map +1 -0
- package/dist/esm/funcs/propertyListPropertyConversations.js +98 -0
- package/dist/esm/funcs/propertyListPropertyConversations.js.map +1 -0
- package/dist/esm/funcs/propertyListPropertyGuests.d.ts +18 -0
- package/dist/esm/funcs/propertyListPropertyGuests.d.ts.map +1 -0
- package/dist/esm/funcs/propertyListPropertyGuests.js +97 -0
- package/dist/esm/funcs/propertyListPropertyGuests.js.map +1 -0
- package/dist/esm/funcs/propertyListPropertyListings.d.ts +18 -0
- package/dist/esm/funcs/propertyListPropertyListings.d.ts.map +1 -0
- package/dist/esm/funcs/propertyListPropertyListings.js +96 -0
- package/dist/esm/funcs/propertyListPropertyListings.js.map +1 -0
- package/dist/esm/funcs/propertyListPropertyReservations.d.ts +18 -0
- package/dist/esm/funcs/propertyListPropertyReservations.d.ts.map +1 -0
- package/dist/esm/funcs/propertyListPropertyReservations.js +101 -0
- package/dist/esm/funcs/propertyListPropertyReservations.js.map +1 -0
- package/dist/esm/funcs/propertyListPropertyReviews.d.ts +18 -0
- package/dist/esm/funcs/propertyListPropertyReviews.d.ts.map +1 -0
- package/dist/esm/funcs/propertyListPropertyReviews.js +98 -0
- package/dist/esm/funcs/propertyListPropertyReviews.js.map +1 -0
- package/dist/esm/funcs/propertyListPropertyUnittypes.d.ts +18 -0
- package/dist/esm/funcs/propertyListPropertyUnittypes.d.ts.map +1 -0
- package/dist/esm/funcs/propertyListPropertyUnittypes.js +97 -0
- package/dist/esm/funcs/propertyListPropertyUnittypes.js.map +1 -0
- package/dist/esm/funcs/propertyPatchPropertyGuest.d.ts +18 -0
- package/dist/esm/funcs/propertyPatchPropertyGuest.d.ts.map +1 -0
- package/dist/esm/funcs/propertyPatchPropertyGuest.js +94 -0
- package/dist/esm/funcs/propertyPatchPropertyGuest.js.map +1 -0
- package/dist/esm/funcs/propertyPatchPropertyListing.d.ts +18 -0
- package/dist/esm/funcs/propertyPatchPropertyListing.d.ts.map +1 -0
- package/dist/esm/funcs/propertyPatchPropertyListing.js +94 -0
- package/dist/esm/funcs/propertyPatchPropertyListing.js.map +1 -0
- package/dist/esm/funcs/propertyPatchPropertyReservation.d.ts +18 -0
- package/dist/esm/funcs/propertyPatchPropertyReservation.d.ts.map +1 -0
- package/dist/esm/funcs/propertyPatchPropertyReservation.js +96 -0
- package/dist/esm/funcs/propertyPatchPropertyReservation.js.map +1 -0
- package/dist/esm/funcs/propertyPatchPropertyReview.d.ts +18 -0
- package/dist/esm/funcs/propertyPatchPropertyReview.d.ts.map +1 -0
- package/dist/esm/funcs/propertyPatchPropertyReview.js +94 -0
- package/dist/esm/funcs/propertyPatchPropertyReview.js.map +1 -0
- package/dist/esm/funcs/propertyRemovePropertyListing.d.ts +17 -0
- package/dist/esm/funcs/propertyRemovePropertyListing.d.ts.map +1 -0
- package/dist/esm/funcs/propertyRemovePropertyListing.js +90 -0
- package/dist/esm/funcs/propertyRemovePropertyListing.js.map +1 -0
- package/dist/esm/funcs/propertyUpdatePropertyGuest.d.ts +18 -0
- package/dist/esm/funcs/propertyUpdatePropertyGuest.d.ts.map +1 -0
- package/dist/esm/funcs/propertyUpdatePropertyGuest.js +94 -0
- package/dist/esm/funcs/propertyUpdatePropertyGuest.js.map +1 -0
- package/dist/esm/funcs/propertyUpdatePropertyListing.d.ts +18 -0
- package/dist/esm/funcs/propertyUpdatePropertyListing.d.ts.map +1 -0
- package/dist/esm/funcs/propertyUpdatePropertyListing.js +94 -0
- package/dist/esm/funcs/propertyUpdatePropertyListing.js.map +1 -0
- package/dist/esm/funcs/propertyUpdatePropertyReservation.d.ts +18 -0
- package/dist/esm/funcs/propertyUpdatePropertyReservation.d.ts.map +1 -0
- package/dist/esm/funcs/propertyUpdatePropertyReservation.js +96 -0
- package/dist/esm/funcs/propertyUpdatePropertyReservation.js.map +1 -0
- package/dist/esm/funcs/propertyUpdatePropertyReview.d.ts +18 -0
- package/dist/esm/funcs/propertyUpdatePropertyReview.d.ts.map +1 -0
- package/dist/esm/funcs/propertyUpdatePropertyReview.js +94 -0
- package/dist/esm/funcs/propertyUpdatePropertyReview.js.map +1 -0
- package/dist/esm/funcs/quoteCreatePropertyQuote.d.ts +18 -0
- package/dist/esm/funcs/quoteCreatePropertyQuote.d.ts.map +1 -0
- package/dist/esm/funcs/quoteCreatePropertyQuote.js +90 -0
- package/dist/esm/funcs/quoteCreatePropertyQuote.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/sdk/availability.d.ts +7 -0
- package/dist/esm/sdk/availability.d.ts.map +1 -1
- package/dist/esm/sdk/availability.js +10 -0
- package/dist/esm/sdk/availability.js.map +1 -1
- package/dist/esm/sdk/conversation.d.ts +27 -0
- package/dist/esm/sdk/conversation.d.ts.map +1 -0
- package/dist/esm/sdk/conversation.js +38 -0
- package/dist/esm/sdk/conversation.js.map +1 -0
- package/dist/esm/sdk/guest.d.ts +41 -0
- package/dist/esm/sdk/guest.d.ts.map +1 -0
- package/dist/esm/sdk/guest.js +58 -0
- package/dist/esm/sdk/guest.js.map +1 -0
- package/dist/esm/sdk/listing.d.ts +48 -0
- package/dist/esm/sdk/listing.d.ts.map +1 -0
- package/dist/esm/sdk/listing.js +68 -0
- package/dist/esm/sdk/listing.js.map +1 -0
- package/dist/esm/sdk/models/operations/createpropertyconversation.d.ts +48 -0
- package/dist/esm/sdk/models/operations/createpropertyconversation.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/createpropertyconversation.js +42 -0
- package/dist/esm/sdk/models/operations/createpropertyconversation.js.map +1 -0
- package/dist/esm/sdk/models/operations/createpropertyguest.d.ts +50 -0
- package/dist/esm/sdk/models/operations/createpropertyguest.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/createpropertyguest.js +43 -0
- package/dist/esm/sdk/models/operations/createpropertyguest.js.map +1 -0
- package/dist/esm/sdk/models/operations/createpropertylisting.d.ts +70 -0
- package/dist/esm/sdk/models/operations/createpropertylisting.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/createpropertylisting.js +63 -0
- package/dist/esm/sdk/models/operations/createpropertylisting.js.map +1 -0
- package/dist/esm/sdk/models/operations/createpropertyquote.d.ts +49 -0
- package/dist/esm/sdk/models/operations/createpropertyquote.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/createpropertyquote.js +42 -0
- package/dist/esm/sdk/models/operations/createpropertyquote.js.map +1 -0
- package/dist/esm/sdk/models/operations/createpropertyreservation.d.ts +66 -0
- package/dist/esm/sdk/models/operations/createpropertyreservation.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/createpropertyreservation.js +60 -0
- package/dist/esm/sdk/models/operations/createpropertyreservation.js.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertyconversation.d.ts +50 -0
- package/dist/esm/sdk/models/operations/getpropertyconversation.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertyconversation.js +40 -0
- package/dist/esm/sdk/models/operations/getpropertyconversation.js.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertyguest.d.ts +52 -0
- package/dist/esm/sdk/models/operations/getpropertyguest.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertyguest.js +40 -0
- package/dist/esm/sdk/models/operations/getpropertyguest.js.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertylisting.d.ts +72 -0
- package/dist/esm/sdk/models/operations/getpropertylisting.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertylisting.js +60 -0
- package/dist/esm/sdk/models/operations/getpropertylisting.js.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertyreservation.d.ts +68 -0
- package/dist/esm/sdk/models/operations/getpropertyreservation.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertyreservation.js +57 -0
- package/dist/esm/sdk/models/operations/getpropertyreservation.js.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertyreview.d.ts +54 -0
- package/dist/esm/sdk/models/operations/getpropertyreview.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertyreview.js +42 -0
- package/dist/esm/sdk/models/operations/getpropertyreview.js.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertyunittype.d.ts +57 -0
- package/dist/esm/sdk/models/operations/getpropertyunittype.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertyunittype.js +46 -0
- package/dist/esm/sdk/models/operations/getpropertyunittype.js.map +1 -0
- package/dist/esm/sdk/models/operations/index.d.ts +27 -0
- package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/index.js +27 -0
- package/dist/esm/sdk/models/operations/index.js.map +1 -1
- package/dist/esm/sdk/models/operations/listpropertyavailabilities.d.ts +81 -0
- package/dist/esm/sdk/models/operations/listpropertyavailabilities.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listpropertyavailabilities.js +52 -0
- package/dist/esm/sdk/models/operations/listpropertyavailabilities.js.map +1 -0
- package/dist/esm/sdk/models/operations/listpropertyconversations.d.ts +73 -0
- package/dist/esm/sdk/models/operations/listpropertyconversations.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listpropertyconversations.js +50 -0
- package/dist/esm/sdk/models/operations/listpropertyconversations.js.map +1 -0
- package/dist/esm/sdk/models/operations/listpropertyguests.d.ts +70 -0
- package/dist/esm/sdk/models/operations/listpropertyguests.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listpropertyguests.js +48 -0
- package/dist/esm/sdk/models/operations/listpropertyguests.js.map +1 -0
- package/dist/esm/sdk/models/operations/listpropertylistings.d.ts +85 -0
- package/dist/esm/sdk/models/operations/listpropertylistings.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listpropertylistings.js +67 -0
- package/dist/esm/sdk/models/operations/listpropertylistings.js.map +1 -0
- package/dist/esm/sdk/models/operations/listpropertyreservations.d.ts +103 -0
- package/dist/esm/sdk/models/operations/listpropertyreservations.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listpropertyreservations.js +73 -0
- package/dist/esm/sdk/models/operations/listpropertyreservations.js.map +1 -0
- package/dist/esm/sdk/models/operations/listpropertyreviews.d.ts +77 -0
- package/dist/esm/sdk/models/operations/listpropertyreviews.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listpropertyreviews.js +53 -0
- package/dist/esm/sdk/models/operations/listpropertyreviews.js.map +1 -0
- package/dist/esm/sdk/models/operations/listpropertyunittypes.d.ts +75 -0
- package/dist/esm/sdk/models/operations/listpropertyunittypes.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listpropertyunittypes.js +54 -0
- package/dist/esm/sdk/models/operations/listpropertyunittypes.js.map +1 -0
- package/dist/esm/sdk/models/operations/listunifiedconnections.d.ts +1 -0
- package/dist/esm/sdk/models/operations/listunifiedconnections.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listunifiedconnections.js +1 -0
- package/dist/esm/sdk/models/operations/listunifiedconnections.js.map +1 -1
- package/dist/esm/sdk/models/operations/listunifiedintegrations.d.ts +1 -0
- package/dist/esm/sdk/models/operations/listunifiedintegrations.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listunifiedintegrations.js +1 -0
- package/dist/esm/sdk/models/operations/listunifiedintegrations.js.map +1 -1
- package/dist/esm/sdk/models/operations/listunifiedintegrationworkspaces.d.ts +1 -0
- package/dist/esm/sdk/models/operations/listunifiedintegrationworkspaces.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listunifiedintegrationworkspaces.js +1 -0
- package/dist/esm/sdk/models/operations/listunifiedintegrationworkspaces.js.map +1 -1
- package/dist/esm/sdk/models/operations/patchpropertyguest.d.ts +55 -0
- package/dist/esm/sdk/models/operations/patchpropertyguest.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/patchpropertyguest.js +43 -0
- package/dist/esm/sdk/models/operations/patchpropertyguest.js.map +1 -0
- package/dist/esm/sdk/models/operations/patchpropertylisting.d.ts +75 -0
- package/dist/esm/sdk/models/operations/patchpropertylisting.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/patchpropertylisting.js +64 -0
- package/dist/esm/sdk/models/operations/patchpropertylisting.js.map +1 -0
- package/dist/esm/sdk/models/operations/patchpropertyreservation.d.ts +71 -0
- package/dist/esm/sdk/models/operations/patchpropertyreservation.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/patchpropertyreservation.js +61 -0
- package/dist/esm/sdk/models/operations/patchpropertyreservation.js.map +1 -0
- package/dist/esm/sdk/models/operations/patchpropertyreview.d.ts +57 -0
- package/dist/esm/sdk/models/operations/patchpropertyreview.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/patchpropertyreview.js +46 -0
- package/dist/esm/sdk/models/operations/patchpropertyreview.js.map +1 -0
- package/dist/esm/sdk/models/operations/removepropertylisting.d.ts +30 -0
- package/dist/esm/sdk/models/operations/removepropertylisting.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/removepropertylisting.js +30 -0
- package/dist/esm/sdk/models/operations/removepropertylisting.js.map +1 -0
- package/dist/esm/sdk/models/operations/updatepropertyguest.d.ts +55 -0
- package/dist/esm/sdk/models/operations/updatepropertyguest.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/updatepropertyguest.js +44 -0
- package/dist/esm/sdk/models/operations/updatepropertyguest.js.map +1 -0
- package/dist/esm/sdk/models/operations/updatepropertylisting.d.ts +75 -0
- package/dist/esm/sdk/models/operations/updatepropertylisting.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/updatepropertylisting.js +64 -0
- package/dist/esm/sdk/models/operations/updatepropertylisting.js.map +1 -0
- package/dist/esm/sdk/models/operations/updatepropertyreservation.d.ts +71 -0
- package/dist/esm/sdk/models/operations/updatepropertyreservation.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/updatepropertyreservation.js +61 -0
- package/dist/esm/sdk/models/operations/updatepropertyreservation.js.map +1 -0
- package/dist/esm/sdk/models/operations/updatepropertyreview.d.ts +57 -0
- package/dist/esm/sdk/models/operations/updatepropertyreview.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/updatepropertyreview.js +46 -0
- package/dist/esm/sdk/models/operations/updatepropertyreview.js.map +1 -0
- package/dist/esm/sdk/models/shared/index.d.ts +19 -1
- package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/index.js +19 -1
- package/dist/esm/sdk/models/shared/index.js.map +1 -1
- package/dist/esm/sdk/models/shared/integrationsupport.d.ts +64 -1
- package/dist/esm/sdk/models/shared/integrationsupport.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/integrationsupport.js +65 -1
- package/dist/esm/sdk/models/shared/integrationsupport.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyattachment.d.ts +35 -0
- package/dist/esm/sdk/models/shared/propertyattachment.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertyattachment.js +37 -0
- package/dist/esm/sdk/models/shared/propertyattachment.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyavailability.d.ts +74 -0
- package/dist/esm/sdk/models/shared/propertyavailability.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertyavailability.js +50 -0
- package/dist/esm/sdk/models/shared/propertyavailability.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertycategoryrating.d.ts +51 -0
- package/dist/esm/sdk/models/shared/propertycategoryrating.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertycategoryrating.js +41 -0
- package/dist/esm/sdk/models/shared/propertycategoryrating.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertychannel.d.ts +25 -0
- package/dist/esm/sdk/models/shared/propertychannel.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertychannel.js +31 -0
- package/dist/esm/sdk/models/shared/propertychannel.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyconnectioncategories.d.ts +1 -0
- package/dist/esm/sdk/models/shared/propertyconnectioncategories.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyconnectioncategories.js +1 -0
- package/dist/esm/sdk/models/shared/propertyconnectioncategories.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts +14 -0
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js +14 -0
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyconversation.d.ts +91 -0
- package/dist/esm/sdk/models/shared/propertyconversation.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertyconversation.js +75 -0
- package/dist/esm/sdk/models/shared/propertyconversation.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyemail.d.ts +42 -0
- package/dist/esm/sdk/models/shared/propertyemail.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertyemail.js +35 -0
- package/dist/esm/sdk/models/shared/propertyemail.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyguest.d.ts +103 -0
- package/dist/esm/sdk/models/shared/propertyguest.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertyguest.js +75 -0
- package/dist/esm/sdk/models/shared/propertyguest.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyintegrationcategories.d.ts +1 -0
- package/dist/esm/sdk/models/shared/propertyintegrationcategories.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyintegrationcategories.js +1 -0
- package/dist/esm/sdk/models/shared/propertyintegrationcategories.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertylineitem.d.ts +60 -0
- package/dist/esm/sdk/models/shared/propertylineitem.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertylineitem.js +53 -0
- package/dist/esm/sdk/models/shared/propertylineitem.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertylisting.d.ts +226 -0
- package/dist/esm/sdk/models/shared/propertylisting.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertylisting.js +160 -0
- package/dist/esm/sdk/models/shared/propertylisting.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertymessage.d.ts +83 -0
- package/dist/esm/sdk/models/shared/propertymessage.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertymessage.js +73 -0
- package/dist/esm/sdk/models/shared/propertymessage.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertymetadata.d.ts +148 -0
- package/dist/esm/sdk/models/shared/propertymetadata.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertymetadata.js +230 -0
- package/dist/esm/sdk/models/shared/propertymetadata.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertypropertyguestaddress.d.ts +58 -0
- package/dist/esm/sdk/models/shared/propertypropertyguestaddress.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertypropertyguestaddress.js +47 -0
- package/dist/esm/sdk/models/shared/propertypropertyguestaddress.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertypropertylistingaddress.d.ts +58 -0
- package/dist/esm/sdk/models/shared/propertypropertylistingaddress.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertypropertylistingaddress.js +47 -0
- package/dist/esm/sdk/models/shared/propertypropertylistingaddress.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyquote.d.ts +95 -0
- package/dist/esm/sdk/models/shared/propertyquote.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertyquote.js +77 -0
- package/dist/esm/sdk/models/shared/propertyquote.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyreservation.d.ts +203 -0
- package/dist/esm/sdk/models/shared/propertyreservation.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertyreservation.js +151 -0
- package/dist/esm/sdk/models/shared/propertyreservation.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyreview.d.ts +111 -0
- package/dist/esm/sdk/models/shared/propertyreview.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertyreview.js +85 -0
- package/dist/esm/sdk/models/shared/propertyreview.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertytelephone.d.ts +44 -0
- package/dist/esm/sdk/models/shared/propertytelephone.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertytelephone.js +37 -0
- package/dist/esm/sdk/models/shared/propertytelephone.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyunittype.d.ts +96 -0
- package/dist/esm/sdk/models/shared/propertyunittype.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertyunittype.js +51 -0
- package/dist/esm/sdk/models/shared/propertyunittype.js.map +1 -0
- package/dist/esm/sdk/models/shared/{virtualwebhookcarrierid.d.ts → virtualwebhookcalendarid.d.ts} +33 -33
- package/dist/esm/sdk/models/shared/virtualwebhookcalendarid.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/{virtualwebhookcarrierid.js → virtualwebhookcalendarid.js} +29 -29
- package/dist/esm/sdk/models/shared/virtualwebhookcalendarid.js.map +1 -0
- package/dist/esm/sdk/models/shared/webhook.d.ts +8 -0
- package/dist/esm/sdk/models/shared/webhook.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/webhook.js +8 -0
- package/dist/esm/sdk/models/shared/webhook.js.map +1 -1
- package/dist/esm/sdk/property.d.ts +189 -0
- package/dist/esm/sdk/property.d.ts.map +1 -1
- package/dist/esm/sdk/property.js +270 -0
- package/dist/esm/sdk/property.js.map +1 -1
- package/dist/esm/sdk/quote.d.ts +7 -0
- package/dist/esm/sdk/quote.d.ts.map +1 -1
- package/dist/esm/sdk/quote.js +10 -0
- package/dist/esm/sdk/quote.js.map +1 -1
- package/dist/esm/sdk/reservation.d.ts +35 -0
- package/dist/esm/sdk/reservation.d.ts.map +1 -1
- package/dist/esm/sdk/reservation.js +50 -0
- package/dist/esm/sdk/reservation.js.map +1 -1
- package/dist/esm/sdk/review.d.ts +28 -0
- package/dist/esm/sdk/review.d.ts.map +1 -1
- package/dist/esm/sdk/review.js +40 -0
- package/dist/esm/sdk/review.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +12 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +16 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/unittype.d.ts +20 -0
- package/dist/esm/sdk/unittype.d.ts.map +1 -0
- package/dist/esm/sdk/unittype.js +28 -0
- package/dist/esm/sdk/unittype.js.map +1 -0
- package/examples/accountingCreateAccountingAccount.example.ts +2 -2
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/propertyCreatePropertyConversation.ts +177 -0
- package/src/funcs/propertyCreatePropertyGuest.ts +175 -0
- package/src/funcs/propertyCreatePropertyListing.ts +175 -0
- package/src/funcs/propertyCreatePropertyReservation.ts +177 -0
- package/src/funcs/propertyGetPropertyConversation.ts +180 -0
- package/src/funcs/propertyGetPropertyGuest.ts +177 -0
- package/src/funcs/propertyGetPropertyListing.ts +177 -0
- package/src/funcs/propertyGetPropertyReservation.ts +180 -0
- package/src/funcs/propertyGetPropertyReview.ts +177 -0
- package/src/funcs/propertyGetPropertyUnittype.ts +180 -0
- package/src/funcs/propertyListPropertyAvailabilities.ts +185 -0
- package/src/funcs/propertyListPropertyConversations.ts +183 -0
- package/src/funcs/propertyListPropertyGuests.ts +181 -0
- package/src/funcs/propertyListPropertyListings.ts +181 -0
- package/src/funcs/propertyListPropertyReservations.ts +186 -0
- package/src/funcs/propertyListPropertyReviews.ts +183 -0
- package/src/funcs/propertyListPropertyUnittypes.ts +182 -0
- package/src/funcs/propertyPatchPropertyGuest.ts +178 -0
- package/src/funcs/propertyPatchPropertyListing.ts +179 -0
- package/src/funcs/propertyPatchPropertyReservation.ts +183 -0
- package/src/funcs/propertyPatchPropertyReview.ts +179 -0
- package/src/funcs/propertyRemovePropertyListing.ts +183 -0
- package/src/funcs/propertyUpdatePropertyGuest.ts +179 -0
- package/src/funcs/propertyUpdatePropertyListing.ts +179 -0
- package/src/funcs/propertyUpdatePropertyReservation.ts +183 -0
- package/src/funcs/propertyUpdatePropertyReview.ts +179 -0
- package/src/funcs/quoteCreatePropertyQuote.ts +175 -0
- package/src/lib/config.ts +3 -3
- package/src/sdk/availability.ts +18 -0
- package/src/sdk/conversation.ts +64 -0
- package/src/sdk/guest.ts +100 -0
- package/src/sdk/listing.ts +118 -0
- package/src/sdk/models/operations/createpropertyconversation.ts +85 -0
- package/src/sdk/models/operations/createpropertyguest.ts +86 -0
- package/src/sdk/models/operations/createpropertylisting.ts +108 -0
- package/src/sdk/models/operations/createpropertyquote.ts +85 -0
- package/src/sdk/models/operations/createpropertyreservation.ts +103 -0
- package/src/sdk/models/operations/getpropertyconversation.ts +86 -0
- package/src/sdk/models/operations/getpropertyguest.ts +85 -0
- package/src/sdk/models/operations/getpropertylisting.ts +105 -0
- package/src/sdk/models/operations/getpropertyreservation.ts +105 -0
- package/src/sdk/models/operations/getpropertyreview.ts +87 -0
- package/src/sdk/models/operations/getpropertyunittype.ts +92 -0
- package/src/sdk/models/operations/index.ts +27 -0
- package/src/sdk/models/operations/listpropertyavailabilities.ts +131 -0
- package/src/sdk/models/operations/listpropertyconversations.ts +119 -0
- package/src/sdk/models/operations/listpropertyguests.ts +111 -0
- package/src/sdk/models/operations/listpropertylistings.ts +128 -0
- package/src/sdk/models/operations/listpropertyreservations.ts +154 -0
- package/src/sdk/models/operations/listpropertyreviews.ts +122 -0
- package/src/sdk/models/operations/listpropertyunittypes.ts +120 -0
- package/src/sdk/models/operations/listunifiedconnections.ts +1 -0
- package/src/sdk/models/operations/listunifiedintegrations.ts +1 -0
- package/src/sdk/models/operations/listunifiedintegrationworkspaces.ts +1 -0
- package/src/sdk/models/operations/patchpropertyguest.ts +90 -0
- package/src/sdk/models/operations/patchpropertylisting.ts +114 -0
- package/src/sdk/models/operations/patchpropertyreservation.ts +109 -0
- package/src/sdk/models/operations/patchpropertyreview.ts +94 -0
- package/src/sdk/models/operations/removepropertylisting.ts +77 -0
- package/src/sdk/models/operations/updatepropertyguest.ts +92 -0
- package/src/sdk/models/operations/updatepropertylisting.ts +114 -0
- package/src/sdk/models/operations/updatepropertyreservation.ts +109 -0
- package/src/sdk/models/operations/updatepropertyreview.ts +96 -0
- package/src/sdk/models/shared/index.ts +19 -1
- package/src/sdk/models/shared/integrationsupport.ts +135 -9
- package/src/sdk/models/shared/propertyattachment.ts +86 -0
- package/src/sdk/models/shared/propertyavailability.ts +128 -0
- package/src/sdk/models/shared/propertycategoryrating.ts +102 -0
- package/src/sdk/models/shared/propertychannel.ts +68 -0
- package/src/sdk/models/shared/propertyconnectioncategories.ts +1 -0
- package/src/sdk/models/shared/propertyconnectionpermissions.ts +14 -0
- package/src/sdk/models/shared/propertyconversation.ts +184 -0
- package/src/sdk/models/shared/propertyemail.ts +85 -0
- package/src/sdk/models/shared/propertyguest.ts +200 -0
- package/src/sdk/models/shared/propertyintegrationcategories.ts +1 -0
- package/src/sdk/models/shared/propertylineitem.ts +122 -0
- package/src/sdk/models/shared/propertylisting.ts +397 -0
- package/src/sdk/models/shared/propertymessage.ts +170 -0
- package/src/sdk/models/shared/propertymetadata.ts +532 -0
- package/src/sdk/models/shared/propertypropertyguestaddress.ts +121 -0
- package/src/sdk/models/shared/propertypropertylistingaddress.ts +121 -0
- package/src/sdk/models/shared/propertyquote.ts +182 -0
- package/src/sdk/models/shared/propertyreservation.ts +369 -0
- package/src/sdk/models/shared/propertyreview.ts +212 -0
- package/src/sdk/models/shared/propertytelephone.ts +91 -0
- package/src/sdk/models/shared/propertyunittype.ts +155 -0
- package/src/sdk/models/shared/{virtualwebhookcarrierid.ts → virtualwebhookcalendarid.ts} +56 -60
- package/src/sdk/models/shared/webhook.ts +8 -0
- package/src/sdk/property.ts +486 -0
- package/src/sdk/quote.ts +18 -0
- package/src/sdk/reservation.ts +90 -0
- package/src/sdk/review.ts +72 -0
- package/src/sdk/sdk.ts +24 -0
- package/src/sdk/unittype.ts +46 -0
- package/dist/commonjs/sdk/models/shared/virtualwebhookcarrierid.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/shared/virtualwebhookcarrierid.js.map +0 -1
- package/dist/esm/sdk/models/shared/virtualwebhookcarrierid.d.ts.map +0 -1
- package/dist/esm/sdk/models/shared/virtualwebhookcarrierid.js.map +0 -1
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type PropertyChannel = {
|
|
12
|
+
/**
|
|
13
|
+
* the distribution channel name, eg. Airbnb or Booking.com
|
|
14
|
+
*/
|
|
15
|
+
name?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* the listing URL on that channel
|
|
18
|
+
*/
|
|
19
|
+
webUrl?: string | undefined;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const PropertyChannel$inboundSchema: z.ZodType<
|
|
24
|
+
PropertyChannel,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = z.object({
|
|
28
|
+
name: z.string().optional(),
|
|
29
|
+
web_url: z.string().optional(),
|
|
30
|
+
}).transform((v) => {
|
|
31
|
+
return remap$(v, {
|
|
32
|
+
"web_url": "webUrl",
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
/** @internal */
|
|
36
|
+
export type PropertyChannel$Outbound = {
|
|
37
|
+
name?: string | undefined;
|
|
38
|
+
web_url?: string | undefined;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const PropertyChannel$outboundSchema: z.ZodType<
|
|
43
|
+
PropertyChannel$Outbound,
|
|
44
|
+
z.ZodTypeDef,
|
|
45
|
+
PropertyChannel
|
|
46
|
+
> = z.object({
|
|
47
|
+
name: z.string().optional(),
|
|
48
|
+
webUrl: z.string().optional(),
|
|
49
|
+
}).transform((v) => {
|
|
50
|
+
return remap$(v, {
|
|
51
|
+
webUrl: "web_url",
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
export function propertyChannelToJSON(
|
|
56
|
+
propertyChannel: PropertyChannel,
|
|
57
|
+
): string {
|
|
58
|
+
return JSON.stringify(PropertyChannel$outboundSchema.parse(propertyChannel));
|
|
59
|
+
}
|
|
60
|
+
export function propertyChannelFromJSON(
|
|
61
|
+
jsonString: string,
|
|
62
|
+
): SafeParseResult<PropertyChannel, SDKValidationError> {
|
|
63
|
+
return safeParse(
|
|
64
|
+
jsonString,
|
|
65
|
+
(x) => PropertyChannel$inboundSchema.parse(JSON.parse(x)),
|
|
66
|
+
`Failed to parse 'PropertyChannel' from JSON`,
|
|
67
|
+
);
|
|
68
|
+
}
|
|
@@ -418,6 +418,20 @@ export const PropertyConnectionPermissions = {
|
|
|
418
418
|
HealthcareCareplanWrite: "healthcare_careplan_write",
|
|
419
419
|
HealthcareGoalRead: "healthcare_goal_read",
|
|
420
420
|
HealthcareGoalWrite: "healthcare_goal_write",
|
|
421
|
+
PropertyListingRead: "property_listing_read",
|
|
422
|
+
PropertyListingWrite: "property_listing_write",
|
|
423
|
+
PropertyUnittypeRead: "property_unittype_read",
|
|
424
|
+
PropertyGuestRead: "property_guest_read",
|
|
425
|
+
PropertyGuestWrite: "property_guest_write",
|
|
426
|
+
PropertyReservationRead: "property_reservation_read",
|
|
427
|
+
PropertyReservationWrite: "property_reservation_write",
|
|
428
|
+
PropertyAvailabilityRead: "property_availability_read",
|
|
429
|
+
PropertyQuoteRead: "property_quote_read",
|
|
430
|
+
PropertyQuoteWrite: "property_quote_write",
|
|
431
|
+
PropertyReviewRead: "property_review_read",
|
|
432
|
+
PropertyReviewWrite: "property_review_write",
|
|
433
|
+
PropertyConversationRead: "property_conversation_read",
|
|
434
|
+
PropertyConversationWrite: "property_conversation_write",
|
|
421
435
|
} as const;
|
|
422
436
|
export type PropertyConnectionPermissions = OpenEnum<
|
|
423
437
|
typeof PropertyConnectionPermissions
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
PropertyMessage,
|
|
12
|
+
PropertyMessage$inboundSchema,
|
|
13
|
+
PropertyMessage$Outbound,
|
|
14
|
+
PropertyMessage$outboundSchema,
|
|
15
|
+
} from "./propertymessage.js";
|
|
16
|
+
import {
|
|
17
|
+
PropertyMetadata,
|
|
18
|
+
PropertyMetadata$inboundSchema,
|
|
19
|
+
PropertyMetadata$Outbound,
|
|
20
|
+
PropertyMetadata$outboundSchema,
|
|
21
|
+
} from "./propertymetadata.js";
|
|
22
|
+
|
|
23
|
+
export type PropertyConversation = {
|
|
24
|
+
/**
|
|
25
|
+
* when the conversation was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
26
|
+
*/
|
|
27
|
+
createdAt?: Date | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* the guest email address
|
|
30
|
+
*/
|
|
31
|
+
guestEmail?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* pointer to the Property Guest in this conversation
|
|
34
|
+
*/
|
|
35
|
+
guestId?: string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* the guest full name
|
|
38
|
+
*/
|
|
39
|
+
guestName?: string | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* the guest telephone number
|
|
42
|
+
*/
|
|
43
|
+
guestPhone?: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* unique identifier for the conversation
|
|
46
|
+
*/
|
|
47
|
+
id?: string | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* whether the conversation has unread messages
|
|
50
|
+
*/
|
|
51
|
+
isUnread?: boolean | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* pointer to the Property Listing this conversation is about
|
|
54
|
+
*/
|
|
55
|
+
listingId?: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* the messages in this conversation, oldest first
|
|
58
|
+
*/
|
|
59
|
+
messages?: Array<PropertyMessage> | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* custom field values
|
|
62
|
+
*/
|
|
63
|
+
metadata?: Array<PropertyMetadata> | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* raw data from the integration
|
|
66
|
+
*/
|
|
67
|
+
raw?: { [k: string]: any } | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* pointer to the Property Reservation this conversation is about
|
|
70
|
+
*/
|
|
71
|
+
reservationId?: string | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* the channel the conversation happens on, eg. Airbnb, email or SMS
|
|
74
|
+
*/
|
|
75
|
+
source?: string | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* when the conversation was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
78
|
+
*/
|
|
79
|
+
updatedAt?: Date | undefined;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/** @internal */
|
|
83
|
+
export const PropertyConversation$inboundSchema: z.ZodType<
|
|
84
|
+
PropertyConversation,
|
|
85
|
+
z.ZodTypeDef,
|
|
86
|
+
unknown
|
|
87
|
+
> = z.object({
|
|
88
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
89
|
+
.optional(),
|
|
90
|
+
guest_email: z.string().optional(),
|
|
91
|
+
guest_id: z.string().optional(),
|
|
92
|
+
guest_name: z.string().optional(),
|
|
93
|
+
guest_phone: z.string().optional(),
|
|
94
|
+
id: z.string().optional(),
|
|
95
|
+
is_unread: z.boolean().optional(),
|
|
96
|
+
listing_id: z.string().optional(),
|
|
97
|
+
messages: z.array(PropertyMessage$inboundSchema).optional(),
|
|
98
|
+
metadata: z.array(PropertyMetadata$inboundSchema).optional(),
|
|
99
|
+
raw: z.record(z.any()).optional(),
|
|
100
|
+
reservation_id: z.string().optional(),
|
|
101
|
+
source: z.string().optional(),
|
|
102
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
103
|
+
.optional(),
|
|
104
|
+
}).transform((v) => {
|
|
105
|
+
return remap$(v, {
|
|
106
|
+
"created_at": "createdAt",
|
|
107
|
+
"guest_email": "guestEmail",
|
|
108
|
+
"guest_id": "guestId",
|
|
109
|
+
"guest_name": "guestName",
|
|
110
|
+
"guest_phone": "guestPhone",
|
|
111
|
+
"is_unread": "isUnread",
|
|
112
|
+
"listing_id": "listingId",
|
|
113
|
+
"reservation_id": "reservationId",
|
|
114
|
+
"updated_at": "updatedAt",
|
|
115
|
+
});
|
|
116
|
+
});
|
|
117
|
+
/** @internal */
|
|
118
|
+
export type PropertyConversation$Outbound = {
|
|
119
|
+
created_at?: string | undefined;
|
|
120
|
+
guest_email?: string | undefined;
|
|
121
|
+
guest_id?: string | undefined;
|
|
122
|
+
guest_name?: string | undefined;
|
|
123
|
+
guest_phone?: string | undefined;
|
|
124
|
+
id?: string | undefined;
|
|
125
|
+
is_unread?: boolean | undefined;
|
|
126
|
+
listing_id?: string | undefined;
|
|
127
|
+
messages?: Array<PropertyMessage$Outbound> | undefined;
|
|
128
|
+
metadata?: Array<PropertyMetadata$Outbound> | undefined;
|
|
129
|
+
raw?: { [k: string]: any } | undefined;
|
|
130
|
+
reservation_id?: string | undefined;
|
|
131
|
+
source?: string | undefined;
|
|
132
|
+
updated_at?: string | undefined;
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
/** @internal */
|
|
136
|
+
export const PropertyConversation$outboundSchema: z.ZodType<
|
|
137
|
+
PropertyConversation$Outbound,
|
|
138
|
+
z.ZodTypeDef,
|
|
139
|
+
PropertyConversation
|
|
140
|
+
> = z.object({
|
|
141
|
+
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
142
|
+
guestEmail: z.string().optional(),
|
|
143
|
+
guestId: z.string().optional(),
|
|
144
|
+
guestName: z.string().optional(),
|
|
145
|
+
guestPhone: z.string().optional(),
|
|
146
|
+
id: z.string().optional(),
|
|
147
|
+
isUnread: z.boolean().optional(),
|
|
148
|
+
listingId: z.string().optional(),
|
|
149
|
+
messages: z.array(PropertyMessage$outboundSchema).optional(),
|
|
150
|
+
metadata: z.array(PropertyMetadata$outboundSchema).optional(),
|
|
151
|
+
raw: z.record(z.any()).optional(),
|
|
152
|
+
reservationId: z.string().optional(),
|
|
153
|
+
source: z.string().optional(),
|
|
154
|
+
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
155
|
+
}).transform((v) => {
|
|
156
|
+
return remap$(v, {
|
|
157
|
+
createdAt: "created_at",
|
|
158
|
+
guestEmail: "guest_email",
|
|
159
|
+
guestId: "guest_id",
|
|
160
|
+
guestName: "guest_name",
|
|
161
|
+
guestPhone: "guest_phone",
|
|
162
|
+
isUnread: "is_unread",
|
|
163
|
+
listingId: "listing_id",
|
|
164
|
+
reservationId: "reservation_id",
|
|
165
|
+
updatedAt: "updated_at",
|
|
166
|
+
});
|
|
167
|
+
});
|
|
168
|
+
|
|
169
|
+
export function propertyConversationToJSON(
|
|
170
|
+
propertyConversation: PropertyConversation,
|
|
171
|
+
): string {
|
|
172
|
+
return JSON.stringify(
|
|
173
|
+
PropertyConversation$outboundSchema.parse(propertyConversation),
|
|
174
|
+
);
|
|
175
|
+
}
|
|
176
|
+
export function propertyConversationFromJSON(
|
|
177
|
+
jsonString: string,
|
|
178
|
+
): SafeParseResult<PropertyConversation, SDKValidationError> {
|
|
179
|
+
return safeParse(
|
|
180
|
+
jsonString,
|
|
181
|
+
(x) => PropertyConversation$inboundSchema.parse(JSON.parse(x)),
|
|
182
|
+
`Failed to parse 'PropertyConversation' from JSON`,
|
|
183
|
+
);
|
|
184
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* the kind of email address
|
|
14
|
+
*/
|
|
15
|
+
export const PropertyEmailType = {
|
|
16
|
+
Work: "WORK",
|
|
17
|
+
Home: "HOME",
|
|
18
|
+
Other: "OTHER",
|
|
19
|
+
} as const;
|
|
20
|
+
/**
|
|
21
|
+
* the kind of email address
|
|
22
|
+
*/
|
|
23
|
+
export type PropertyEmailType = OpenEnum<typeof PropertyEmailType>;
|
|
24
|
+
|
|
25
|
+
export type PropertyEmail = {
|
|
26
|
+
/**
|
|
27
|
+
* the email address
|
|
28
|
+
*/
|
|
29
|
+
email: string;
|
|
30
|
+
/**
|
|
31
|
+
* the kind of email address
|
|
32
|
+
*/
|
|
33
|
+
type?: PropertyEmailType | undefined;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const PropertyEmailType$inboundSchema: z.ZodType<
|
|
38
|
+
PropertyEmailType,
|
|
39
|
+
z.ZodTypeDef,
|
|
40
|
+
unknown
|
|
41
|
+
> = openEnums.inboundSchema(PropertyEmailType);
|
|
42
|
+
/** @internal */
|
|
43
|
+
export const PropertyEmailType$outboundSchema: z.ZodType<
|
|
44
|
+
string,
|
|
45
|
+
z.ZodTypeDef,
|
|
46
|
+
PropertyEmailType
|
|
47
|
+
> = openEnums.outboundSchema(PropertyEmailType);
|
|
48
|
+
|
|
49
|
+
/** @internal */
|
|
50
|
+
export const PropertyEmail$inboundSchema: z.ZodType<
|
|
51
|
+
PropertyEmail,
|
|
52
|
+
z.ZodTypeDef,
|
|
53
|
+
unknown
|
|
54
|
+
> = z.object({
|
|
55
|
+
email: z.string(),
|
|
56
|
+
type: PropertyEmailType$inboundSchema.optional(),
|
|
57
|
+
});
|
|
58
|
+
/** @internal */
|
|
59
|
+
export type PropertyEmail$Outbound = {
|
|
60
|
+
email: string;
|
|
61
|
+
type?: string | undefined;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/** @internal */
|
|
65
|
+
export const PropertyEmail$outboundSchema: z.ZodType<
|
|
66
|
+
PropertyEmail$Outbound,
|
|
67
|
+
z.ZodTypeDef,
|
|
68
|
+
PropertyEmail
|
|
69
|
+
> = z.object({
|
|
70
|
+
email: z.string(),
|
|
71
|
+
type: PropertyEmailType$outboundSchema.optional(),
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
export function propertyEmailToJSON(propertyEmail: PropertyEmail): string {
|
|
75
|
+
return JSON.stringify(PropertyEmail$outboundSchema.parse(propertyEmail));
|
|
76
|
+
}
|
|
77
|
+
export function propertyEmailFromJSON(
|
|
78
|
+
jsonString: string,
|
|
79
|
+
): SafeParseResult<PropertyEmail, SDKValidationError> {
|
|
80
|
+
return safeParse(
|
|
81
|
+
jsonString,
|
|
82
|
+
(x) => PropertyEmail$inboundSchema.parse(JSON.parse(x)),
|
|
83
|
+
`Failed to parse 'PropertyEmail' from JSON`,
|
|
84
|
+
);
|
|
85
|
+
}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
PropertyEmail,
|
|
12
|
+
PropertyEmail$inboundSchema,
|
|
13
|
+
PropertyEmail$Outbound,
|
|
14
|
+
PropertyEmail$outboundSchema,
|
|
15
|
+
} from "./propertyemail.js";
|
|
16
|
+
import {
|
|
17
|
+
PropertyMetadata,
|
|
18
|
+
PropertyMetadata$inboundSchema,
|
|
19
|
+
PropertyMetadata$Outbound,
|
|
20
|
+
PropertyMetadata$outboundSchema,
|
|
21
|
+
} from "./propertymetadata.js";
|
|
22
|
+
import {
|
|
23
|
+
PropertyPropertyGuestAddress,
|
|
24
|
+
PropertyPropertyGuestAddress$inboundSchema,
|
|
25
|
+
PropertyPropertyGuestAddress$Outbound,
|
|
26
|
+
PropertyPropertyGuestAddress$outboundSchema,
|
|
27
|
+
} from "./propertypropertyguestaddress.js";
|
|
28
|
+
import {
|
|
29
|
+
PropertyTelephone,
|
|
30
|
+
PropertyTelephone$inboundSchema,
|
|
31
|
+
PropertyTelephone$Outbound,
|
|
32
|
+
PropertyTelephone$outboundSchema,
|
|
33
|
+
} from "./propertytelephone.js";
|
|
34
|
+
|
|
35
|
+
export type PropertyGuest = {
|
|
36
|
+
/**
|
|
37
|
+
* postal address of the guest
|
|
38
|
+
*/
|
|
39
|
+
address?: PropertyPropertyGuestAddress | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* the guest company name
|
|
42
|
+
*/
|
|
43
|
+
companyName?: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* when the guest was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
46
|
+
*/
|
|
47
|
+
createdAt?: Date | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* email addresses of the guest
|
|
50
|
+
*/
|
|
51
|
+
emails?: Array<PropertyEmail> | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* the guest first name
|
|
54
|
+
*/
|
|
55
|
+
firstName?: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* unique identifier for the guest
|
|
58
|
+
*/
|
|
59
|
+
id?: string | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* URL of the guest picture
|
|
62
|
+
*/
|
|
63
|
+
imageUrl?: string | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* the guest preferred language (ISO 639-1)
|
|
66
|
+
*/
|
|
67
|
+
language?: string | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* the guest last name
|
|
70
|
+
*/
|
|
71
|
+
lastName?: string | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* custom field values
|
|
74
|
+
*/
|
|
75
|
+
metadata?: Array<PropertyMetadata> | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* the guest full name
|
|
78
|
+
*/
|
|
79
|
+
name?: string | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* the guest nationality
|
|
82
|
+
*/
|
|
83
|
+
nationality?: string | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* free-text notes about the guest
|
|
86
|
+
*/
|
|
87
|
+
notes?: string | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* raw data from the integration
|
|
90
|
+
*/
|
|
91
|
+
raw?: { [k: string]: any } | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* telephone numbers of the guest
|
|
94
|
+
*/
|
|
95
|
+
telephones?: Array<PropertyTelephone> | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* when the guest was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
98
|
+
*/
|
|
99
|
+
updatedAt?: Date | undefined;
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
/** @internal */
|
|
103
|
+
export const PropertyGuest$inboundSchema: z.ZodType<
|
|
104
|
+
PropertyGuest,
|
|
105
|
+
z.ZodTypeDef,
|
|
106
|
+
unknown
|
|
107
|
+
> = z.object({
|
|
108
|
+
address: PropertyPropertyGuestAddress$inboundSchema.optional(),
|
|
109
|
+
company_name: z.string().optional(),
|
|
110
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
111
|
+
.optional(),
|
|
112
|
+
emails: z.array(PropertyEmail$inboundSchema).optional(),
|
|
113
|
+
first_name: z.string().optional(),
|
|
114
|
+
id: z.string().optional(),
|
|
115
|
+
image_url: z.string().optional(),
|
|
116
|
+
language: z.string().optional(),
|
|
117
|
+
last_name: z.string().optional(),
|
|
118
|
+
metadata: z.array(PropertyMetadata$inboundSchema).optional(),
|
|
119
|
+
name: z.string().optional(),
|
|
120
|
+
nationality: z.string().optional(),
|
|
121
|
+
notes: z.string().optional(),
|
|
122
|
+
raw: z.record(z.any()).optional(),
|
|
123
|
+
telephones: z.array(PropertyTelephone$inboundSchema).optional(),
|
|
124
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
125
|
+
.optional(),
|
|
126
|
+
}).transform((v) => {
|
|
127
|
+
return remap$(v, {
|
|
128
|
+
"company_name": "companyName",
|
|
129
|
+
"created_at": "createdAt",
|
|
130
|
+
"first_name": "firstName",
|
|
131
|
+
"image_url": "imageUrl",
|
|
132
|
+
"last_name": "lastName",
|
|
133
|
+
"updated_at": "updatedAt",
|
|
134
|
+
});
|
|
135
|
+
});
|
|
136
|
+
/** @internal */
|
|
137
|
+
export type PropertyGuest$Outbound = {
|
|
138
|
+
address?: PropertyPropertyGuestAddress$Outbound | undefined;
|
|
139
|
+
company_name?: string | undefined;
|
|
140
|
+
created_at?: string | undefined;
|
|
141
|
+
emails?: Array<PropertyEmail$Outbound> | undefined;
|
|
142
|
+
first_name?: string | undefined;
|
|
143
|
+
id?: string | undefined;
|
|
144
|
+
image_url?: string | undefined;
|
|
145
|
+
language?: string | undefined;
|
|
146
|
+
last_name?: string | undefined;
|
|
147
|
+
metadata?: Array<PropertyMetadata$Outbound> | undefined;
|
|
148
|
+
name?: string | undefined;
|
|
149
|
+
nationality?: string | undefined;
|
|
150
|
+
notes?: string | undefined;
|
|
151
|
+
raw?: { [k: string]: any } | undefined;
|
|
152
|
+
telephones?: Array<PropertyTelephone$Outbound> | undefined;
|
|
153
|
+
updated_at?: string | undefined;
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
/** @internal */
|
|
157
|
+
export const PropertyGuest$outboundSchema: z.ZodType<
|
|
158
|
+
PropertyGuest$Outbound,
|
|
159
|
+
z.ZodTypeDef,
|
|
160
|
+
PropertyGuest
|
|
161
|
+
> = z.object({
|
|
162
|
+
address: PropertyPropertyGuestAddress$outboundSchema.optional(),
|
|
163
|
+
companyName: z.string().optional(),
|
|
164
|
+
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
165
|
+
emails: z.array(PropertyEmail$outboundSchema).optional(),
|
|
166
|
+
firstName: z.string().optional(),
|
|
167
|
+
id: z.string().optional(),
|
|
168
|
+
imageUrl: z.string().optional(),
|
|
169
|
+
language: z.string().optional(),
|
|
170
|
+
lastName: z.string().optional(),
|
|
171
|
+
metadata: z.array(PropertyMetadata$outboundSchema).optional(),
|
|
172
|
+
name: z.string().optional(),
|
|
173
|
+
nationality: z.string().optional(),
|
|
174
|
+
notes: z.string().optional(),
|
|
175
|
+
raw: z.record(z.any()).optional(),
|
|
176
|
+
telephones: z.array(PropertyTelephone$outboundSchema).optional(),
|
|
177
|
+
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
178
|
+
}).transform((v) => {
|
|
179
|
+
return remap$(v, {
|
|
180
|
+
companyName: "company_name",
|
|
181
|
+
createdAt: "created_at",
|
|
182
|
+
firstName: "first_name",
|
|
183
|
+
imageUrl: "image_url",
|
|
184
|
+
lastName: "last_name",
|
|
185
|
+
updatedAt: "updated_at",
|
|
186
|
+
});
|
|
187
|
+
});
|
|
188
|
+
|
|
189
|
+
export function propertyGuestToJSON(propertyGuest: PropertyGuest): string {
|
|
190
|
+
return JSON.stringify(PropertyGuest$outboundSchema.parse(propertyGuest));
|
|
191
|
+
}
|
|
192
|
+
export function propertyGuestFromJSON(
|
|
193
|
+
jsonString: string,
|
|
194
|
+
): SafeParseResult<PropertyGuest, SDKValidationError> {
|
|
195
|
+
return safeParse(
|
|
196
|
+
jsonString,
|
|
197
|
+
(x) => PropertyGuest$inboundSchema.parse(JSON.parse(x)),
|
|
198
|
+
`Failed to parse 'PropertyGuest' from JSON`,
|
|
199
|
+
);
|
|
200
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import * as openEnums from "../../types/enums.js";
|
|
9
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
10
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
11
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* base price, fee, tax, discount or deposit
|
|
15
|
+
*/
|
|
16
|
+
export const PropertyLineitemType = {
|
|
17
|
+
Base: "BASE",
|
|
18
|
+
Fee: "FEE",
|
|
19
|
+
Tax: "TAX",
|
|
20
|
+
Discount: "DISCOUNT",
|
|
21
|
+
Deposit: "DEPOSIT",
|
|
22
|
+
Other: "OTHER",
|
|
23
|
+
} as const;
|
|
24
|
+
/**
|
|
25
|
+
* base price, fee, tax, discount or deposit
|
|
26
|
+
*/
|
|
27
|
+
export type PropertyLineitemType = OpenEnum<typeof PropertyLineitemType>;
|
|
28
|
+
|
|
29
|
+
export type PropertyLineitem = {
|
|
30
|
+
/**
|
|
31
|
+
* the line item amount (discounts are negative)
|
|
32
|
+
*/
|
|
33
|
+
amount?: number | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* free-text description of the line item
|
|
36
|
+
*/
|
|
37
|
+
description?: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* whether the line item is mandatory
|
|
40
|
+
*/
|
|
41
|
+
isMandatory?: boolean | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* the line item name, eg. Cleaning fee
|
|
44
|
+
*/
|
|
45
|
+
name?: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* base price, fee, tax, discount or deposit
|
|
48
|
+
*/
|
|
49
|
+
type?: PropertyLineitemType | undefined;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export const PropertyLineitemType$inboundSchema: z.ZodType<
|
|
54
|
+
PropertyLineitemType,
|
|
55
|
+
z.ZodTypeDef,
|
|
56
|
+
unknown
|
|
57
|
+
> = openEnums.inboundSchema(PropertyLineitemType);
|
|
58
|
+
/** @internal */
|
|
59
|
+
export const PropertyLineitemType$outboundSchema: z.ZodType<
|
|
60
|
+
string,
|
|
61
|
+
z.ZodTypeDef,
|
|
62
|
+
PropertyLineitemType
|
|
63
|
+
> = openEnums.outboundSchema(PropertyLineitemType);
|
|
64
|
+
|
|
65
|
+
/** @internal */
|
|
66
|
+
export const PropertyLineitem$inboundSchema: z.ZodType<
|
|
67
|
+
PropertyLineitem,
|
|
68
|
+
z.ZodTypeDef,
|
|
69
|
+
unknown
|
|
70
|
+
> = z.object({
|
|
71
|
+
amount: z.number().optional(),
|
|
72
|
+
description: z.string().optional(),
|
|
73
|
+
is_mandatory: z.boolean().optional(),
|
|
74
|
+
name: z.string().optional(),
|
|
75
|
+
type: PropertyLineitemType$inboundSchema.optional(),
|
|
76
|
+
}).transform((v) => {
|
|
77
|
+
return remap$(v, {
|
|
78
|
+
"is_mandatory": "isMandatory",
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
/** @internal */
|
|
82
|
+
export type PropertyLineitem$Outbound = {
|
|
83
|
+
amount?: number | undefined;
|
|
84
|
+
description?: string | undefined;
|
|
85
|
+
is_mandatory?: boolean | undefined;
|
|
86
|
+
name?: string | undefined;
|
|
87
|
+
type?: string | undefined;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
/** @internal */
|
|
91
|
+
export const PropertyLineitem$outboundSchema: z.ZodType<
|
|
92
|
+
PropertyLineitem$Outbound,
|
|
93
|
+
z.ZodTypeDef,
|
|
94
|
+
PropertyLineitem
|
|
95
|
+
> = z.object({
|
|
96
|
+
amount: z.number().optional(),
|
|
97
|
+
description: z.string().optional(),
|
|
98
|
+
isMandatory: z.boolean().optional(),
|
|
99
|
+
name: z.string().optional(),
|
|
100
|
+
type: PropertyLineitemType$outboundSchema.optional(),
|
|
101
|
+
}).transform((v) => {
|
|
102
|
+
return remap$(v, {
|
|
103
|
+
isMandatory: "is_mandatory",
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
export function propertyLineitemToJSON(
|
|
108
|
+
propertyLineitem: PropertyLineitem,
|
|
109
|
+
): string {
|
|
110
|
+
return JSON.stringify(
|
|
111
|
+
PropertyLineitem$outboundSchema.parse(propertyLineitem),
|
|
112
|
+
);
|
|
113
|
+
}
|
|
114
|
+
export function propertyLineitemFromJSON(
|
|
115
|
+
jsonString: string,
|
|
116
|
+
): SafeParseResult<PropertyLineitem, SDKValidationError> {
|
|
117
|
+
return safeParse(
|
|
118
|
+
jsonString,
|
|
119
|
+
(x) => PropertyLineitem$inboundSchema.parse(JSON.parse(x)),
|
|
120
|
+
`Failed to parse 'PropertyLineitem' from JSON`,
|
|
121
|
+
);
|
|
122
|
+
}
|