From bd853cdedffdb60c2cf7283f849892ac4dbb55d6 Mon Sep 17 00:00:00 2001 From: Rajpaul Bagga Date: Fri, 23 Oct 2026 11:21:50 -0400 Subject: [PATCH 1/2] API-6169: Bump github-cli to 2.103.0 Bumps github-cli in .tool-versions from 2.43.1 to 2.103.0. The version bump is needed because of GitHub server API changes that the older CLI does not support. Co-Authored-By: Claude Opus 5.5 --- .tool-versions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tool-versions b/.tool-versions index 9c67b3108..2d3fc29a2 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,4 +1,4 @@ -github-cli 2.43.1 +github-cli 2.103.0 nodejs 22.19.0 pnpm 8.15.7 java corretto-21.0.1.12.1 From 234b61357f0a377fe3de1fbfcc5bb1b520cc1aa9 Mon Sep 17 00:00:00 2001 From: Rajpaul Bagga Date: Fri, 23 Oct 2026 14:37:21 -0400 Subject: [PATCH 2/2] API-6169: Public SDK Release October 22-23, 2026 Regenerates the TypeScript, Java, and C# SDKs with Speakeasy 1.752.0 from the updated public OpenAPI spec, bumping the SDK version from 1.6.5 to 1.6.6. Adds the Venue Content amenities endpoints (get/update venue amenities) and the new Venue Leads lead-catcher operations (create, update, patch, delete, and the lead catcher overview endpoints), along with their models. The regeneration renames several generated models. Wire shapes are unchanged, but code that references these types by name must be updated: TravelProgramQuestion1 is now TravelProgramQuestion; the previous TravelProgramQuestion is now QuestionWithProgramId, and its nested TravelProgramQuestionTravelProgram is now QuestionWithProgramIdTravelProgram; ContactFields1 is now ContactFields; ContactFields2 is now ContactFields1; and RfpType1 is replaced by RfpType. Co-Authored-By: Claude Opus 5.5 --- .speakeasy/workflow.lock | 16 +- cvent-public-spec/openapi.yaml | 1477 +++++++++++++++-- packages/csharp/.speakeasy/gen.lock | 424 ++++- packages/csharp/.speakeasy/gen.yaml | 2 +- packages/csharp/.speakeasy/tests.arazzo.yaml | 208 ++- packages/csharp/NUGET.md | 8 +- packages/csharp/README.md | 19 +- ...tHookContactTransactionCallbackResponse.md | 2 +- .../Components/AlternateTravelDetail.md | 26 +- .../docs/Models/Components/AttendeeUpdate.md | 32 +- .../Models/Components/AttendeeUpdateStatus.md | 19 +- .../docs/Models/Components/ContactFields.md | 13 + .../docs/Models/Components/ContactFields1.md | 11 +- .../docs/Models/Components/ContactFields2.md | 10 - .../Components/EventAttendeeSubstituted.md | 4 +- .../Models/Components/ExistingLeadCatcher.md | 24 + .../Components/ExistingLeadCatcherInput.md | 19 + .../Components/ExistingVenueAmenities.md | 27 + .../Components/ExistingVenueAmenitiesInput.md | 25 + .../GuestRoomOccupancyPerRoomType.md | 2 +- .../docs/Models/Components/LeadCatcher.md | 19 + .../Models/Components/LeadCatcherAddress.md | 15 + .../Components/LeadCatcherAddressCountry.md | 274 +++ .../Components/LeadCatcherAddressPatch.md | 15 + .../LeadCatcherAddressStateProvince.md | 839 ++++++++++ .../Models/Components/LeadCatcherConfig.md | 12 + .../Components/LeadCatcherConfigPatch.md | 12 + .../Models/Components/LeadCatcherOverview.md | 12 + .../Models/Components/LeadCatcherPatch.md | 19 + .../Components/LeadCatcherPatchCountry.md | 274 +++ .../LeadCatcherPatchStateProvince.md | 839 ++++++++++ .../LeadCatchersOverviewResponse.md | 11 + .../Components/LocaleLanguageVariant.md | 185 +++ .../Components/QuestionWithProgramId.md | 21 + ... => QuestionWithProgramIdTravelProgram.md} | 2 +- .../Components/QuestionsPaginatedResponse1.md | 2 +- .../csharp/docs/Models/Components/Rfp2.md | 112 +- .../docs/Models/Components/RfpQuestion.md | 4 +- .../Components/{RfpType1.md => RfpType.md} | 4 +- .../docs/Models/Components/TravelProgram.md | 2 +- .../Components/TravelProgramQuestion.md | 22 +- .../docs/Models/Components/TravelType.md | 16 +- .../Components/VenueAmenityAVCapability.md | 25 + .../Models/Components/VenueAmenityAlcohol.md | 20 + .../VenueAmenityAvCapabilityItem.md | 11 + .../Components/VenueAmenityBusinessService.md | 21 + .../Components/VenueAmenityCateringDetail.md | 20 + .../Components/VenueAmenityEquipment.md | 23 + .../Components/VenueAmenityFacilityInfo.md | 31 + .../Components/VenueAmenityFacilitySpace.md | 25 + .../VenueAmenityFacilitySpaceItem.md | 11 + .../Models/Components/VenueAmenityParking.md | 29 + .../Components/VenueAmenityParkingItem.md | 11 + .../Components/VenueAmenityProvisionPolicy.md | 20 + .../VenueAmenityRecreationalActivity.md | 26 + .../Components/VenueAmenityRoomFeature.md | 29 + .../Components/VenueAmenityTransportation.md | 22 + .../Requests/CreateLeadCatcherRequest.md | 9 + .../Requests/CreateLeadCatcherResponse.md | 10 + .../Requests/DeleteLeadCatcherRequest.md | 9 + .../Requests/DeleteLeadCatcherResponse.md | 8 + ...GetHousingEventHotelAvailabilityRequest.md | 2 +- .../Requests/GetLeadCatcherOverviewRequest.md | 9 + .../GetLeadCatcherOverviewResponse.md | 9 + .../Requests/GetVenueAmenitiesRequest.md | 8 + .../Requests/GetVenueAmenitiesResponse.md | 9 + .../ListAttendeesPostFilterRequest.md | 2 +- .../ListLeadCatchersOverviewRequest.md} | 11 +- .../ListLeadCatchersOverviewResponse.md | 9 + .../Requests/PatchLeadCatcherRequest.md | 10 + .../Requests/PatchLeadCatcherResponse.md | 9 + .../Requests/UpdateLeadCatcherRequest.md | 10 + .../Requests/UpdateLeadCatcherResponse.md | 9 + .../Requests/UpdateVenueAmenitiesRequest.md | 9 + .../Requests/UpdateVenueAmenitiesResponse.md | 9 + packages/csharp/docs/sdks/attendees/README.md | 2 +- .../csharp/docs/sdks/eventtravel/README.md | 2 +- packages/csharp/docs/sdks/housing/README.md | 2 + .../csharp/docs/sdks/venuecontent/README.md | 123 ++ .../csharp/docs/sdks/venueleads/README.md | 377 +++++ packages/csharp/src/Cvent/SDK/Attendees.cs | 4 +- .../csharp/src/Cvent/SDK/Cvent.SDK.csproj | 2 +- packages/csharp/src/Cvent/SDK/CventSDK.cs | 17 +- packages/csharp/src/Cvent/SDK/EventTravel.cs | 4 +- .../src/Cvent/SDK/Hooks/OAuth2Scopes.cs | 50 + packages/csharp/src/Cvent/SDK/Housing.cs | 8 +- ...tHookContactTransactionCallbackResponse.cs | 2 +- .../Components/AlternateTravelDetail.cs | 4 +- .../SDK/Models/Components/AttendeeUpdate.cs | 19 +- .../Models/Components/AttendeeUpdateStatus.cs | 19 +- .../SDK/Models/Components/ContactFields.cs | 44 + .../SDK/Models/Components/ContactFields1.cs | 28 +- .../Components/EventAttendeeSubstituted.cs | 4 +- .../Models/Components/ExistingLeadCatcher.cs | 197 +++ .../Components/ExistingLeadCatcherInput.cs | 166 ++ .../Components/ExistingVenueAmenities.cs | 229 +++ .../Components/ExistingVenueAmenitiesInput.cs | 217 +++ .../GuestRoomOccupancyPerRoomType.cs | 2 +- .../SDK/Models/Components/LeadCatcher.cs | 166 ++ .../Models/Components/LeadCatcherAddress.cs | 57 + .../Components/LeadCatcherAddressCountry.cs | 312 ++++ .../Components/LeadCatcherAddressPatch.cs | 57 + .../LeadCatcherAddressStateProvince.cs | 877 ++++++++++ .../Models/Components/LeadCatcherConfig.cs | 38 + .../Components/LeadCatcherConfigPatch.cs | 38 + .../Models/Components/LeadCatcherOverview.cs | 38 + .../SDK/Models/Components/LeadCatcherPatch.cs | 81 + .../Components/LeadCatcherPatchCountry.cs | 312 ++++ .../LeadCatcherPatchStateProvince.cs | 877 ++++++++++ .../LeadCatchersOverviewResponse.cs | 34 + .../Components/LocaleLanguageVariant.cs | 223 +++ .../Components/QuestionWithProgramId.cs | 95 ++ ... => QuestionWithProgramIdTravelProgram.cs} | 2 +- .../Components/QuestionsPaginatedResponse1.cs | 2 +- .../src/Cvent/SDK/Models/Components/Rfp2.cs | 7 +- .../SDK/Models/Components/RfpQuestion.cs | 4 +- .../Components/{RfpType1.cs => RfpType.cs} | 16 +- .../SDK/Models/Components/TravelProgram.cs | 2 +- .../Components/TravelProgramQuestion.cs | 72 +- .../Components/TravelProgramQuestion1.cs | 45 - .../Cvent/SDK/Models/Components/TravelType.cs | 4 +- .../Components/VenueAmenityAVCapability.cs | 63 + .../Models/Components/VenueAmenityAlcohol.cs | 58 + .../VenueAmenityAvCapabilityItem.cs | 38 + .../Components/VenueAmenityBusinessService.cs | 59 + .../Components/VenueAmenityCateringDetail.cs | 58 + .../Components/VenueAmenityEquipment.cs | 61 + .../Components/VenueAmenityFacilityInfo.cs | 69 + .../Components/VenueAmenityFacilitySpace.cs | 63 + .../VenueAmenityFacilitySpaceItem.cs | 38 + .../Models/Components/VenueAmenityParking.cs | 67 + .../Components/VenueAmenityParkingItem.cs | 40 + .../Components/VenueAmenityProvisionPolicy.cs | 58 + .../VenueAmenityRecreationalActivity.cs | 64 + .../Components/VenueAmenityRoomFeature.cs | 67 + .../Components/VenueAmenityTransportation.cs | 60 + .../Requests/CreateLeadCatcherRequest.cs | 26 + .../Requests/CreateLeadCatcherResponse.cs | 29 + .../Requests/DeleteLeadCatcherRequest.cs | 28 + .../Requests/DeleteLeadCatcherResponse.cs | 21 + ...GetHousingEventHotelAvailabilityRequest.cs | 2 +- .../Requests/GetLeadCatcherOverviewRequest.cs | 28 + .../GetLeadCatcherOverviewResponse.cs} | 16 +- .../Requests/GetVenueAmenitiesRequest.cs | 22 + .../Requests/GetVenueAmenitiesResponse.cs | 26 + .../ListAttendeesPostFilterRequest.cs | 2 +- .../ListLeadCatchersOverviewRequest.cs | 35 + .../ListLeadCatchersOverviewResponse.cs | 29 + .../Requests/PatchLeadCatcherRequest.cs | 32 + .../Requests/PatchLeadCatcherResponse.cs | 26 + .../Requests/UpdateLeadCatcherRequest.cs | 32 + .../Requests/UpdateLeadCatcherResponse.cs | 26 + .../Requests/UpdateVenueAmenitiesRequest.cs | 26 + .../Requests/UpdateVenueAmenitiesResponse.cs | 26 + packages/csharp/src/Cvent/SDK/SDKConfig.cs | 2 +- .../csharp/src/Cvent/SDK/Utils/Constants.cs | 2 +- packages/csharp/src/Cvent/SDK/VenueContent.cs | 384 +++++ packages/csharp/src/Cvent/SDK/VenueLeads.cs | 1211 ++++++++++++++ packages/java/.speakeasy/gen.lock | 496 +++++- packages/java/.speakeasy/gen.yaml | 2 +- packages/java/.speakeasy/tests.arazzo.yaml | 208 ++- packages/java/README.md | 23 +- ...tHookContactTransactionCallbackResponse.md | 2 +- .../components/AlternateTravelDetail.md | 26 +- .../docs/models/components/AttendeeUpdate.md | 32 +- .../models/components/AttendeeUpdateStatus.md | 19 +- .../docs/models/components/ContactFields.md | 13 + .../docs/models/components/ContactFields1.md | 11 +- .../docs/models/components/ContactFields2.md | 10 - .../components/EventAttendeeSubstituted.md | 4 +- .../models/components/ExistingLeadCatcher.md | 24 + .../components/ExistingLeadCatcherInput.md | 19 + .../components/ExistingVenueAmenities.md | 27 + .../components/ExistingVenueAmenitiesInput.md | 25 + .../GuestRoomOccupancyPerRoomType.md | 2 +- .../docs/models/components/LeadCatcher.md | 19 + .../models/components/LeadCatcherAddress.md | 15 + .../components/LeadCatcherAddressCountry.md | 274 +++ .../components/LeadCatcherAddressPatch.md | 15 + .../LeadCatcherAddressStateProvince.md | 839 ++++++++++ .../models/components/LeadCatcherConfig.md | 12 + .../components/LeadCatcherConfigPatch.md | 12 + .../models/components/LeadCatcherOverview.md | 12 + .../models/components/LeadCatcherPatch.md | 19 + .../components/LeadCatcherPatchCountry.md | 274 +++ .../LeadCatcherPatchStateProvince.md | 839 ++++++++++ .../LeadCatchersOverviewResponse.md | 11 + .../components/LocaleLanguageVariant.md | 185 +++ .../components/QuestionWithProgramId.md | 21 + ... => QuestionWithProgramIdTravelProgram.md} | 2 +- .../components/QuestionsPaginatedResponse1.md | 2 +- packages/java/docs/models/components/Rfp2.md | 112 +- .../docs/models/components/RfpQuestion.md | 4 +- .../components/{RfpType1.md => RfpType.md} | 6 +- .../docs/models/components/TravelProgram.md | 2 +- .../components/TravelProgramQuestion.md | 22 +- .../java/docs/models/components/TravelType.md | 16 +- .../components/VenueAmenityAVCapability.md | 25 + .../models/components/VenueAmenityAlcohol.md | 20 + .../VenueAmenityAvCapabilityItem.md | 11 + .../components/VenueAmenityBusinessService.md | 21 + .../components/VenueAmenityCateringDetail.md | 20 + .../components/VenueAmenityEquipment.md | 23 + .../components/VenueAmenityFacilityInfo.md | 31 + .../components/VenueAmenityFacilitySpace.md | 25 + .../VenueAmenityFacilitySpaceItem.md | 11 + .../models/components/VenueAmenityParking.md | 29 + .../components/VenueAmenityParkingItem.md | 11 + .../components/VenueAmenityProvisionPolicy.md | 20 + .../VenueAmenityRecreationalActivity.md | 26 + .../components/VenueAmenityRoomFeature.md | 29 + .../components/VenueAmenityTransportation.md | 22 + .../operations/CreateLeadCatcherRequest.md | 9 + .../operations/CreateLeadCatcherResponse.md | 12 + .../operations/DeleteLeadCatcherRequest.md | 9 + .../operations/DeleteLeadCatcherResponse.md | 10 + ...GetHousingEventHotelAvailabilityRequest.md | 2 +- .../GetLeadCatcherOverviewRequest.md | 9 + .../GetLeadCatcherOverviewResponse.md | 11 + .../operations/GetVenueAmenitiesRequest.md | 8 + .../operations/GetVenueAmenitiesResponse.md | 11 + .../ListAttendeesPostFilterRequest.md | 2 +- .../ListLeadCatchersOverviewRequest.md} | 11 +- .../ListLeadCatchersOverviewResponse.md | 11 + .../operations/PatchLeadCatcherRequest.md | 10 + .../operations/PatchLeadCatcherResponse.md | 11 + .../operations/UpdateLeadCatcherRequest.md | 10 + .../operations/UpdateLeadCatcherResponse.md | 11 + .../operations/UpdateVenueAmenitiesRequest.md | 9 + .../UpdateVenueAmenitiesResponse.md | 11 + packages/java/docs/sdks/attendees/README.md | 2 +- packages/java/docs/sdks/eventtravel/README.md | 2 +- packages/java/docs/sdks/housing/README.md | 2 + .../java/docs/sdks/venuecontent/README.md | 156 ++ packages/java/docs/sdks/venueleads/README.md | 481 ++++++ packages/java/gradle.properties | 2 +- .../main/java/com/cvent/AsyncAttendees.java | 6 +- .../main/java/com/cvent/AsyncCventSDK.java | 17 + .../main/java/com/cvent/AsyncEventTravel.java | 12 +- .../src/main/java/com/cvent/AsyncHousing.java | 3 + .../java/com/cvent/AsyncVenueContent.java | 105 ++ .../main/java/com/cvent/AsyncVenueLeads.java | 334 ++++ .../src/main/java/com/cvent/Attendees.java | 6 +- .../src/main/java/com/cvent/CventSDK.java | 19 + .../src/main/java/com/cvent/EventTravel.java | 12 +- .../java/src/main/java/com/cvent/Housing.java | 3 + .../main/java/com/cvent/SDKConfiguration.java | 2 +- .../src/main/java/com/cvent/VenueContent.java | 108 ++ .../src/main/java/com/cvent/VenueLeads.java | 343 ++++ .../java/com/cvent/hooks/OAuth2Scopes.java | 50 + ...ookContactTransactionCallbackResponse.java | 34 +- ...ookContactTransactionCallbackResponse.java | 34 +- .../components/AlternateTravelDetail.java | 22 +- .../models/components/AttendeeUpdate.java | 100 +- .../components/AttendeeUpdateStatus.java | 25 +- .../models/components/ContactFields.java | 207 +++ .../models/components/ContactFields1.java | 157 +- .../models/components/ContactFields2.java | 94 -- .../components/EventAttendeeSubstituted.java | 24 +- .../components/ExistingLeadCatcher.java | 1001 +++++++++++ .../components/ExistingLeadCatcherInput.java | 784 +++++++++ .../components/ExistingVenueAmenities.java | 1293 +++++++++++++++ .../ExistingVenueAmenitiesInput.java | 1217 ++++++++++++++ .../GuestRoomOccupancyPerRoomType.java | 22 +- .../cvent/models/components/LeadCatcher.java | 785 +++++++++ .../models/components/LeadCatcherAddress.java | 289 ++++ .../components/LeadCatcherAddressCountry.java | 294 ++++ .../components/LeadCatcherAddressPatch.java | 292 ++++ .../LeadCatcherAddressStateProvince.java | 859 ++++++++++ .../models/components/LeadCatcherConfig.java | 193 +++ .../components/LeadCatcherConfigPatch.java | 185 +++ .../components/LeadCatcherOverview.java | 164 ++ .../models/components/LeadCatcherPatch.java | 448 +++++ .../components/LeadCatcherPatchCountry.java | 294 ++++ .../LeadCatcherPatchStateProvince.java | 859 ++++++++++ .../LeadCatchersOverviewResponse.java | 133 ++ .../components/LocaleLanguageVariant.java | 205 +++ .../components/QuestionWithProgramId.java | 542 ++++++ ...> QuestionWithProgramIdTravelProgram.java} | 18 +- .../QuestionsPaginatedResponse1.java | 12 +- .../com/cvent/models/components/Rfp2.java | 44 +- .../cvent/models/components/RfpQuestion.java | 44 +- .../{RfpType1.java => RfpType.java} | 10 +- .../models/components/TravelProgram.java | 12 +- .../components/TravelProgramQuestion.java | 455 +---- .../components/TravelProgramQuestion1.java | 221 --- .../cvent/models/components/TravelType.java | 9 +- .../components/VenueAmenityAVCapability.java | 45 + .../components/VenueAmenityAlcohol.java | 40 + .../VenueAmenityAvCapabilityItem.java | 158 ++ .../VenueAmenityBusinessService.java | 41 + .../VenueAmenityCateringDetail.java | 40 + .../components/VenueAmenityEquipment.java | 43 + .../components/VenueAmenityFacilityInfo.java | 51 + .../components/VenueAmenityFacilitySpace.java | 45 + .../VenueAmenityFacilitySpaceItem.java | 158 ++ .../components/VenueAmenityParking.java | 49 + .../components/VenueAmenityParkingItem.java | 170 ++ .../VenueAmenityProvisionPolicy.java | 40 + .../VenueAmenityRecreationalActivity.java | 46 + .../components/VenueAmenityRoomFeature.java | 49 + .../VenueAmenityTransportation.java | 42 + .../operations/CreateLeadCatcherRequest.java | 112 ++ .../CreateLeadCatcherRequestBuilder.java | 60 + .../operations/CreateLeadCatcherResponse.java | 237 +++ .../operations/DeleteLeadCatcherRequest.java | 123 ++ .../DeleteLeadCatcherRequestBuilder.java | 60 + .../operations/DeleteLeadCatcherResponse.java | 163 ++ ...tHousingEventHotelAvailabilityRequest.java | 8 +- .../GetLeadCatcherOverviewRequest.java | 123 ++ .../GetLeadCatcherOverviewRequestBuilder.java | 60 + .../GetLeadCatcherOverviewResponse.java | 207 +++ .../operations/GetVenueAmenitiesRequest.java | 89 + .../GetVenueAmenitiesRequestBuilder.java | 60 + .../operations/GetVenueAmenitiesResponse.java | 208 +++ .../ListLeadCatchersOverviewRequest.java | 171 ++ ...istLeadCatchersOverviewRequestBuilder.java | 107 ++ .../ListLeadCatchersOverviewResponse.java | 210 +++ .../operations/PatchLeadCatcherRequest.java | 154 ++ .../PatchLeadCatcherRequestBuilder.java | 60 + .../operations/PatchLeadCatcherResponse.java | 211 +++ .../operations/UpdateLeadCatcherRequest.java | 156 ++ .../UpdateLeadCatcherRequestBuilder.java | 60 + .../operations/UpdateLeadCatcherResponse.java | 207 +++ .../UpdateVenueAmenitiesRequest.java | 119 ++ .../UpdateVenueAmenitiesRequestBuilder.java | 60 + .../UpdateVenueAmenitiesResponse.java | 208 +++ .../CreateLeadCatcherRequestBuilder.java | 62 + .../async/CreateLeadCatcherResponse.java | 238 +++ .../DeleteLeadCatcherRequestBuilder.java | 62 + .../async/DeleteLeadCatcherResponse.java | 164 ++ .../GetLeadCatcherOverviewRequestBuilder.java | 62 + .../async/GetLeadCatcherOverviewResponse.java | 208 +++ .../GetVenueAmenitiesRequestBuilder.java | 62 + .../async/GetVenueAmenitiesResponse.java | 209 +++ ...istLeadCatchersOverviewRequestBuilder.java | 106 ++ .../ListLeadCatchersOverviewResponse.java | 211 +++ .../async/PatchLeadCatcherRequestBuilder.java | 62 + .../async/PatchLeadCatcherResponse.java | 212 +++ .../UpdateLeadCatcherRequestBuilder.java | 62 + .../async/UpdateLeadCatcherResponse.java | 208 +++ .../UpdateVenueAmenitiesRequestBuilder.java | 62 + .../async/UpdateVenueAmenitiesResponse.java | 209 +++ .../cvent/operations/CreateLeadCatcher.java | 311 ++++ .../cvent/operations/DeleteLeadCatcher.java | 287 ++++ .../operations/GetLeadCatcherOverview.java | 297 ++++ .../cvent/operations/GetVenueAmenities.java | 296 ++++ .../operations/ListLeadCatchersOverview.java | 301 ++++ .../cvent/operations/PatchLeadCatcher.java | 310 ++++ .../cvent/operations/UpdateLeadCatcher.java | 310 ++++ .../operations/UpdateVenueAmenities.java | 309 ++++ packages/typescript/.speakeasy/gen.lock | 396 ++++- packages/typescript/.speakeasy/gen.yaml | 2 +- .../typescript/.speakeasy/tests.arazzo.yaml | 208 ++- packages/typescript/README.md | 27 +- .../components/alternatetraveldetail.md | 26 +- .../docs/models/components/attendeeupdate.md | 32 +- .../models/components/attendeeupdatestatus.md | 19 +- .../docs/models/components/contactfields.md | 24 + .../docs/models/components/contactfields1.md | 15 +- .../docs/models/components/contactfields2.md | 19 - .../components/eventattendeesubstituted.md | 4 +- .../models/components/existingleadcatcher.md | 53 + .../components/existingleadcatcherinput.md | 43 + .../components/existingvenueamenities.md | 55 + .../components/existingvenueamenitiesinput.md | 51 + .../guestroomoccupancyperroomtype.md | 2 +- .../docs/models/components/leadcatcher.md | 43 + .../models/components/leadcatcheraddress.md | 27 + .../components/leadcatcheraddresscountry.md | 17 + .../components/leadcatcheraddresspatch.md | 27 + .../leadcatcheraddressstateprovince.md | 17 + .../models/components/leadcatcherconfig.md | 21 + .../components/leadcatcherconfigpatch.md | 23 + .../models/components/leadcatcheroverview.md | 23 + .../models/components/leadcatcherpatch.md | 46 + .../components/leadcatcherpatchcountry.md | 17 + .../leadcatcherpatchstateprovince.md | 17 + .../leadcatchersoverviewresponse.md | 44 + .../components/localelanguagevariant.md | 102 ++ .../components/paginatedrfpquestions.md | 1 + .../components/questionspaginatedresponse1.md | 2 +- .../components/questionwithprogramid.md | 48 + ... => questionwithprogramidtravelprogram.md} | 6 +- .../typescript/docs/models/components/rfp2.md | 112 +- .../docs/models/components/rfpquestion.md | 5 +- .../components/{rfptype1.md => rfptype.md} | 6 +- .../docs/models/components/travelprogram.md | 2 +- .../components/travelprogramquestion.md | 43 +- .../docs/models/components/traveltype.md | 4 +- .../models/components/venueamenityalcohol.md | 17 + .../components/venueamenityavcapability.md | 22 + .../venueamenityavcapabilityitem.md | 21 + .../components/venueamenitybusinessservice.md | 17 + .../components/venueamenitycateringdetail.md | 17 + .../components/venueamenityequipment.md | 17 + .../components/venueamenityfacilityinfo.md | 17 + .../components/venueamenityfacilityspace.md | 22 + .../venueamenityfacilityspaceitem.md | 21 + .../models/components/venueamenityparking.md | 24 + .../components/venueamenityparkingitem.md | 21 + .../components/venueamenityprovisionpolicy.md | 17 + .../venueamenityrecreationalactivity.md | 17 + .../components/venueamenityroomfeature.md | 17 + .../components/venueamenitytransportation.md | 17 + .../operations/createleadcatcherrequest.md | 36 + .../operations/createleadcatcherresponse.md | 49 + .../operations/deleteleadcatcherrequest.md | 19 + ...gethousingeventhotelavailabilityrequest.md | 2 +- .../getleadcatcheroverviewrequest.md | 19 + .../operations/getvenueamenitiesrequest.md | 17 + .../listattendeespostfilterrequest.md | 2 +- .../listleadcatchersoverviewrequest.md} | 21 +- .../listleadcatchersoverviewresponse.md | 43 + .../operations/listrfpquestionsresponse.md | 1 + .../operations/patchleadcatcherrequest.md | 41 + .../operations/updateleadcatcherrequest.md | 38 + .../operations/updatevenueamenitiesrequest.md | 38 + .../typescript/docs/sdks/attendees/README.md | 2 +- .../docs/sdks/eventtravel/README.md | 2 +- .../typescript/docs/sdks/housing/README.md | 2 + .../docs/sdks/venuecontent/README.md | 224 +++ .../typescript/docs/sdks/venueleads/README.md | 684 ++++++++ packages/typescript/jsr.json | 2 +- packages/typescript/package.json | 2 +- .../funcs/attendeesListAttendeesPostFilter.ts | 2 +- .../eventTravelGetAlternateTravelAnswers.ts | 2 +- .../funcs/venueContentGetVenueAmenities.ts | 187 +++ .../funcs/venueContentUpdateVenueAmenities.ts | 191 +++ .../src/funcs/venueLeadsCreateLeadCatcher.ts | 188 +++ .../src/funcs/venueLeadsDeleteLeadCatcher.ts | 191 +++ .../funcs/venueLeadsGetLeadCatcherOverview.ts | 195 +++ .../venueLeadsListLeadCatchersOverview.ts | 261 +++ .../src/funcs/venueLeadsPatchLeadCatcher.ts | 196 +++ .../src/funcs/venueLeadsUpdateLeadCatcher.ts | 194 +++ packages/typescript/src/hooks/oauth2scopes.ts | 40 + packages/typescript/src/lib/config.ts | 4 +- .../src/models/components/activitydata.ts | 13 +- .../components/alternatetraveldetail.ts | 10 +- .../src/models/components/attendeeupdate.ts | 21 +- .../models/components/attendeeupdatestatus.ts | 42 +- .../src/models/components/contactfields.ts | 52 + .../src/models/components/contactfields1.ts | 45 +- .../src/models/components/contactfields2.ts | 59 - .../models/components/existingleadcatcher.ts | 209 +++ .../components/existingleadcatcherinput.ts | 192 +++ .../components/existingvenueamenities.ts | 303 ++++ .../components/existingvenueamenitiesinput.ts | 314 ++++ .../guestroomoccupancyperroomtype.ts | 4 +- .../typescript/src/models/components/index.ts | 31 +- .../src/models/components/leadcatcher.ts | 188 +++ .../models/components/leadcatcheraddress.ts | 1214 ++++++++++++++ .../models/components/leadcatcherconfig.ts | 71 + .../models/components/leadcatcheroverview.ts | 47 + .../src/models/components/leadcatcherpatch.ts | 1395 ++++++++++++++++ .../leadcatchersoverviewresponse.ts | 47 + .../components/localelanguagevariant.ts | 282 ++++ .../components/questionspaginatedresponse1.ts | 10 +- .../components/questionwithprogramid.ts | 138 ++ .../typescript/src/models/components/rfp2.ts | 30 +- .../src/models/components/rfpquestion.ts | 8 +- .../src/models/components/rfptype1.ts | 25 - .../src/models/components/travelprogram.ts | 10 +- .../components/travelprogramquestion.ts | 110 +- .../components/travelprogramquestion1.ts | 56 - .../models/components/venueamenityalcohol.ts | 28 + .../components/venueamenityavcapability.ts | 44 + .../venueamenityavcapabilityitem.ts | 78 + .../components/venueamenitybusinessservice.ts | 31 + .../components/venueamenitycateringdetail.ts | 30 + .../components/venueamenityequipment.ts | 31 + .../components/venueamenityfacilityinfo.ts | 41 + .../components/venueamenityfacilityspace.ts | 44 + .../venueamenityfacilityspaceitem.ts | 78 + .../models/components/venueamenityparking.ts | 48 + .../components/venueamenityparkingitem.ts | 78 + .../components/venueamenityprovisionpolicy.ts | 30 + .../venueamenityrecreationalactivity.ts | 36 + .../components/venueamenityroomfeature.ts | 39 + .../components/venueamenitytransportation.ts | 32 + .../models/operations/createleadcatcher.ts | 72 + .../models/operations/deleteleadcatcher.ts | 40 + .../gethousingeventhotelavailability.ts | 2 +- .../operations/getleadcatcheroverview.ts | 42 + .../models/operations/getvenueamenities.ts | 34 + .../typescript/src/models/operations/index.ts | 8 + .../operations/listattendeespostfilter.ts | 2 +- .../operations/listleadcatchersoverview.ts | 83 + .../src/models/operations/patchleadcatcher.ts | 44 + .../models/operations/updateleadcatcher.ts | 44 + .../models/operations/updatevenueamenities.ts | 40 + packages/typescript/src/sdk/attendees.ts | 2 +- packages/typescript/src/sdk/eventtravel.ts | 2 +- packages/typescript/src/sdk/sdk.ts | 6 + packages/typescript/src/sdk/venuecontent.ts | 40 + packages/typescript/src/sdk/venueleads.ts | 135 ++ 496 files changed, 48053 insertions(+), 2337 deletions(-) create mode 100644 packages/csharp/docs/Models/Components/ContactFields.md delete mode 100644 packages/csharp/docs/Models/Components/ContactFields2.md create mode 100644 packages/csharp/docs/Models/Components/ExistingLeadCatcher.md create mode 100644 packages/csharp/docs/Models/Components/ExistingLeadCatcherInput.md create mode 100644 packages/csharp/docs/Models/Components/ExistingVenueAmenities.md create mode 100644 packages/csharp/docs/Models/Components/ExistingVenueAmenitiesInput.md create mode 100644 packages/csharp/docs/Models/Components/LeadCatcher.md create mode 100644 packages/csharp/docs/Models/Components/LeadCatcherAddress.md create mode 100644 packages/csharp/docs/Models/Components/LeadCatcherAddressCountry.md create mode 100644 packages/csharp/docs/Models/Components/LeadCatcherAddressPatch.md create mode 100644 packages/csharp/docs/Models/Components/LeadCatcherAddressStateProvince.md create mode 100644 packages/csharp/docs/Models/Components/LeadCatcherConfig.md create mode 100644 packages/csharp/docs/Models/Components/LeadCatcherConfigPatch.md create mode 100644 packages/csharp/docs/Models/Components/LeadCatcherOverview.md create mode 100644 packages/csharp/docs/Models/Components/LeadCatcherPatch.md create mode 100644 packages/csharp/docs/Models/Components/LeadCatcherPatchCountry.md create mode 100644 packages/csharp/docs/Models/Components/LeadCatcherPatchStateProvince.md create mode 100644 packages/csharp/docs/Models/Components/LeadCatchersOverviewResponse.md create mode 100644 packages/csharp/docs/Models/Components/LocaleLanguageVariant.md create mode 100644 packages/csharp/docs/Models/Components/QuestionWithProgramId.md rename packages/csharp/docs/Models/Components/{TravelProgramQuestionTravelProgram.md => QuestionWithProgramIdTravelProgram.md} (94%) rename packages/csharp/docs/Models/Components/{RfpType1.md => RfpType.md} (90%) create mode 100644 packages/csharp/docs/Models/Components/VenueAmenityAVCapability.md create mode 100644 packages/csharp/docs/Models/Components/VenueAmenityAlcohol.md create mode 100644 packages/csharp/docs/Models/Components/VenueAmenityAvCapabilityItem.md create mode 100644 packages/csharp/docs/Models/Components/VenueAmenityBusinessService.md create mode 100644 packages/csharp/docs/Models/Components/VenueAmenityCateringDetail.md create mode 100644 packages/csharp/docs/Models/Components/VenueAmenityEquipment.md create mode 100644 packages/csharp/docs/Models/Components/VenueAmenityFacilityInfo.md create mode 100644 packages/csharp/docs/Models/Components/VenueAmenityFacilitySpace.md create mode 100644 packages/csharp/docs/Models/Components/VenueAmenityFacilitySpaceItem.md create mode 100644 packages/csharp/docs/Models/Components/VenueAmenityParking.md create mode 100644 packages/csharp/docs/Models/Components/VenueAmenityParkingItem.md create mode 100644 packages/csharp/docs/Models/Components/VenueAmenityProvisionPolicy.md create mode 100644 packages/csharp/docs/Models/Components/VenueAmenityRecreationalActivity.md create mode 100644 packages/csharp/docs/Models/Components/VenueAmenityRoomFeature.md create mode 100644 packages/csharp/docs/Models/Components/VenueAmenityTransportation.md create mode 100644 packages/csharp/docs/Models/Requests/CreateLeadCatcherRequest.md create mode 100644 packages/csharp/docs/Models/Requests/CreateLeadCatcherResponse.md create mode 100644 packages/csharp/docs/Models/Requests/DeleteLeadCatcherRequest.md create mode 100644 packages/csharp/docs/Models/Requests/DeleteLeadCatcherResponse.md create mode 100644 packages/csharp/docs/Models/Requests/GetLeadCatcherOverviewRequest.md create mode 100644 packages/csharp/docs/Models/Requests/GetLeadCatcherOverviewResponse.md create mode 100644 packages/csharp/docs/Models/Requests/GetVenueAmenitiesRequest.md create mode 100644 packages/csharp/docs/Models/Requests/GetVenueAmenitiesResponse.md rename packages/csharp/docs/Models/{Components/TravelProgramQuestion1.md => Requests/ListLeadCatchersOverviewRequest.md} (58%) create mode 100644 packages/csharp/docs/Models/Requests/ListLeadCatchersOverviewResponse.md create mode 100644 packages/csharp/docs/Models/Requests/PatchLeadCatcherRequest.md create mode 100644 packages/csharp/docs/Models/Requests/PatchLeadCatcherResponse.md create mode 100644 packages/csharp/docs/Models/Requests/UpdateLeadCatcherRequest.md create mode 100644 packages/csharp/docs/Models/Requests/UpdateLeadCatcherResponse.md create mode 100644 packages/csharp/docs/Models/Requests/UpdateVenueAmenitiesRequest.md create mode 100644 packages/csharp/docs/Models/Requests/UpdateVenueAmenitiesResponse.md create mode 100644 packages/csharp/docs/sdks/venueleads/README.md create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ContactFields.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ExistingLeadCatcher.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ExistingLeadCatcherInput.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueAmenities.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueAmenitiesInput.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcher.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherAddress.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherAddressCountry.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherAddressPatch.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherAddressStateProvince.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherConfig.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherConfigPatch.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherOverview.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherPatch.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherPatchCountry.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherPatchStateProvince.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/LeadCatchersOverviewResponse.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/LocaleLanguageVariant.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/QuestionWithProgramId.cs rename packages/csharp/src/Cvent/SDK/Models/Components/{TravelProgramQuestionTravelProgram.cs => QuestionWithProgramIdTravelProgram.cs} (93%) rename packages/csharp/src/Cvent/SDK/Models/Components/{RfpType1.cs => RfpType.cs} (83%) delete mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestion1.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityAVCapability.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityAlcohol.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityAvCapabilityItem.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityBusinessService.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityCateringDetail.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityEquipment.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityFacilityInfo.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityFacilitySpace.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityFacilitySpaceItem.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityParking.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityParkingItem.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityProvisionPolicy.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityRecreationalActivity.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityRoomFeature.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityTransportation.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Requests/CreateLeadCatcherRequest.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Requests/CreateLeadCatcherResponse.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Requests/DeleteLeadCatcherRequest.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Requests/DeleteLeadCatcherResponse.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Requests/GetLeadCatcherOverviewRequest.cs rename packages/csharp/src/Cvent/SDK/Models/{Components/ContactFields2.cs => Requests/GetLeadCatcherOverviewResponse.cs} (61%) create mode 100644 packages/csharp/src/Cvent/SDK/Models/Requests/GetVenueAmenitiesRequest.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Requests/GetVenueAmenitiesResponse.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Requests/ListLeadCatchersOverviewRequest.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Requests/ListLeadCatchersOverviewResponse.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Requests/PatchLeadCatcherRequest.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Requests/PatchLeadCatcherResponse.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Requests/UpdateLeadCatcherRequest.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Requests/UpdateLeadCatcherResponse.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Requests/UpdateVenueAmenitiesRequest.cs create mode 100644 packages/csharp/src/Cvent/SDK/Models/Requests/UpdateVenueAmenitiesResponse.cs create mode 100644 packages/csharp/src/Cvent/SDK/VenueLeads.cs create mode 100644 packages/java/docs/models/components/ContactFields.md delete mode 100644 packages/java/docs/models/components/ContactFields2.md create mode 100644 packages/java/docs/models/components/ExistingLeadCatcher.md create mode 100644 packages/java/docs/models/components/ExistingLeadCatcherInput.md create mode 100644 packages/java/docs/models/components/ExistingVenueAmenities.md create mode 100644 packages/java/docs/models/components/ExistingVenueAmenitiesInput.md create mode 100644 packages/java/docs/models/components/LeadCatcher.md create mode 100644 packages/java/docs/models/components/LeadCatcherAddress.md create mode 100644 packages/java/docs/models/components/LeadCatcherAddressCountry.md create mode 100644 packages/java/docs/models/components/LeadCatcherAddressPatch.md create mode 100644 packages/java/docs/models/components/LeadCatcherAddressStateProvince.md create mode 100644 packages/java/docs/models/components/LeadCatcherConfig.md create mode 100644 packages/java/docs/models/components/LeadCatcherConfigPatch.md create mode 100644 packages/java/docs/models/components/LeadCatcherOverview.md create mode 100644 packages/java/docs/models/components/LeadCatcherPatch.md create mode 100644 packages/java/docs/models/components/LeadCatcherPatchCountry.md create mode 100644 packages/java/docs/models/components/LeadCatcherPatchStateProvince.md create mode 100644 packages/java/docs/models/components/LeadCatchersOverviewResponse.md create mode 100644 packages/java/docs/models/components/LocaleLanguageVariant.md create mode 100644 packages/java/docs/models/components/QuestionWithProgramId.md rename packages/java/docs/models/components/{TravelProgramQuestionTravelProgram.md => QuestionWithProgramIdTravelProgram.md} (94%) rename packages/java/docs/models/components/{RfpType1.md => RfpType.md} (83%) create mode 100644 packages/java/docs/models/components/VenueAmenityAVCapability.md create mode 100644 packages/java/docs/models/components/VenueAmenityAlcohol.md create mode 100644 packages/java/docs/models/components/VenueAmenityAvCapabilityItem.md create mode 100644 packages/java/docs/models/components/VenueAmenityBusinessService.md create mode 100644 packages/java/docs/models/components/VenueAmenityCateringDetail.md create mode 100644 packages/java/docs/models/components/VenueAmenityEquipment.md create mode 100644 packages/java/docs/models/components/VenueAmenityFacilityInfo.md create mode 100644 packages/java/docs/models/components/VenueAmenityFacilitySpace.md create mode 100644 packages/java/docs/models/components/VenueAmenityFacilitySpaceItem.md create mode 100644 packages/java/docs/models/components/VenueAmenityParking.md create mode 100644 packages/java/docs/models/components/VenueAmenityParkingItem.md create mode 100644 packages/java/docs/models/components/VenueAmenityProvisionPolicy.md create mode 100644 packages/java/docs/models/components/VenueAmenityRecreationalActivity.md create mode 100644 packages/java/docs/models/components/VenueAmenityRoomFeature.md create mode 100644 packages/java/docs/models/components/VenueAmenityTransportation.md create mode 100644 packages/java/docs/models/operations/CreateLeadCatcherRequest.md create mode 100644 packages/java/docs/models/operations/CreateLeadCatcherResponse.md create mode 100644 packages/java/docs/models/operations/DeleteLeadCatcherRequest.md create mode 100644 packages/java/docs/models/operations/DeleteLeadCatcherResponse.md create mode 100644 packages/java/docs/models/operations/GetLeadCatcherOverviewRequest.md create mode 100644 packages/java/docs/models/operations/GetLeadCatcherOverviewResponse.md create mode 100644 packages/java/docs/models/operations/GetVenueAmenitiesRequest.md create mode 100644 packages/java/docs/models/operations/GetVenueAmenitiesResponse.md rename packages/java/docs/models/{components/TravelProgramQuestion1.md => operations/ListLeadCatchersOverviewRequest.md} (58%) create mode 100644 packages/java/docs/models/operations/ListLeadCatchersOverviewResponse.md create mode 100644 packages/java/docs/models/operations/PatchLeadCatcherRequest.md create mode 100644 packages/java/docs/models/operations/PatchLeadCatcherResponse.md create mode 100644 packages/java/docs/models/operations/UpdateLeadCatcherRequest.md create mode 100644 packages/java/docs/models/operations/UpdateLeadCatcherResponse.md create mode 100644 packages/java/docs/models/operations/UpdateVenueAmenitiesRequest.md create mode 100644 packages/java/docs/models/operations/UpdateVenueAmenitiesResponse.md create mode 100644 packages/java/docs/sdks/venueleads/README.md create mode 100644 packages/java/src/main/java/com/cvent/AsyncVenueLeads.java create mode 100644 packages/java/src/main/java/com/cvent/VenueLeads.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactFields.java delete mode 100644 packages/java/src/main/java/com/cvent/models/components/ContactFields2.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ExistingLeadCatcher.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ExistingLeadCatcherInput.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ExistingVenueAmenities.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/ExistingVenueAmenitiesInput.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/LeadCatcher.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/LeadCatcherAddress.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/LeadCatcherAddressCountry.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/LeadCatcherAddressPatch.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/LeadCatcherAddressStateProvince.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/LeadCatcherConfig.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/LeadCatcherConfigPatch.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/LeadCatcherOverview.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/LeadCatcherPatch.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/LeadCatcherPatchCountry.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/LeadCatcherPatchStateProvince.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/LeadCatchersOverviewResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/LocaleLanguageVariant.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/QuestionWithProgramId.java rename packages/java/src/main/java/com/cvent/models/components/{TravelProgramQuestionTravelProgram.java => QuestionWithProgramIdTravelProgram.java} (78%) rename packages/java/src/main/java/com/cvent/models/components/{RfpType1.java => RfpType.java} (82%) delete mode 100644 packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestion1.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VenueAmenityAVCapability.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VenueAmenityAlcohol.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VenueAmenityAvCapabilityItem.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VenueAmenityBusinessService.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VenueAmenityCateringDetail.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VenueAmenityEquipment.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VenueAmenityFacilityInfo.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VenueAmenityFacilitySpace.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VenueAmenityFacilitySpaceItem.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VenueAmenityParking.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VenueAmenityParkingItem.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VenueAmenityProvisionPolicy.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VenueAmenityRecreationalActivity.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VenueAmenityRoomFeature.java create mode 100644 packages/java/src/main/java/com/cvent/models/components/VenueAmenityTransportation.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/CreateLeadCatcherRequest.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/CreateLeadCatcherRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/CreateLeadCatcherResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/DeleteLeadCatcherRequest.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/DeleteLeadCatcherRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/DeleteLeadCatcherResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/GetLeadCatcherOverviewRequest.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/GetLeadCatcherOverviewRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/GetLeadCatcherOverviewResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/GetVenueAmenitiesRequest.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/GetVenueAmenitiesRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/GetVenueAmenitiesResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/ListLeadCatchersOverviewRequest.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/ListLeadCatchersOverviewRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/ListLeadCatchersOverviewResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/PatchLeadCatcherRequest.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/PatchLeadCatcherRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/PatchLeadCatcherResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/UpdateLeadCatcherRequest.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/UpdateLeadCatcherRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/UpdateLeadCatcherResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/UpdateVenueAmenitiesRequest.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/UpdateVenueAmenitiesRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/UpdateVenueAmenitiesResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/CreateLeadCatcherRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/CreateLeadCatcherResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/DeleteLeadCatcherRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/DeleteLeadCatcherResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/GetLeadCatcherOverviewRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/GetLeadCatcherOverviewResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/GetVenueAmenitiesRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/GetVenueAmenitiesResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/ListLeadCatchersOverviewRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/ListLeadCatchersOverviewResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/PatchLeadCatcherRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/PatchLeadCatcherResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/UpdateLeadCatcherRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/UpdateLeadCatcherResponse.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/UpdateVenueAmenitiesRequestBuilder.java create mode 100644 packages/java/src/main/java/com/cvent/models/operations/async/UpdateVenueAmenitiesResponse.java create mode 100644 packages/java/src/main/java/com/cvent/operations/CreateLeadCatcher.java create mode 100644 packages/java/src/main/java/com/cvent/operations/DeleteLeadCatcher.java create mode 100644 packages/java/src/main/java/com/cvent/operations/GetLeadCatcherOverview.java create mode 100644 packages/java/src/main/java/com/cvent/operations/GetVenueAmenities.java create mode 100644 packages/java/src/main/java/com/cvent/operations/ListLeadCatchersOverview.java create mode 100644 packages/java/src/main/java/com/cvent/operations/PatchLeadCatcher.java create mode 100644 packages/java/src/main/java/com/cvent/operations/UpdateLeadCatcher.java create mode 100644 packages/java/src/main/java/com/cvent/operations/UpdateVenueAmenities.java create mode 100644 packages/typescript/docs/models/components/contactfields.md delete mode 100644 packages/typescript/docs/models/components/contactfields2.md create mode 100644 packages/typescript/docs/models/components/existingleadcatcher.md create mode 100644 packages/typescript/docs/models/components/existingleadcatcherinput.md create mode 100644 packages/typescript/docs/models/components/existingvenueamenities.md create mode 100644 packages/typescript/docs/models/components/existingvenueamenitiesinput.md create mode 100644 packages/typescript/docs/models/components/leadcatcher.md create mode 100644 packages/typescript/docs/models/components/leadcatcheraddress.md create mode 100644 packages/typescript/docs/models/components/leadcatcheraddresscountry.md create mode 100644 packages/typescript/docs/models/components/leadcatcheraddresspatch.md create mode 100644 packages/typescript/docs/models/components/leadcatcheraddressstateprovince.md create mode 100644 packages/typescript/docs/models/components/leadcatcherconfig.md create mode 100644 packages/typescript/docs/models/components/leadcatcherconfigpatch.md create mode 100644 packages/typescript/docs/models/components/leadcatcheroverview.md create mode 100644 packages/typescript/docs/models/components/leadcatcherpatch.md create mode 100644 packages/typescript/docs/models/components/leadcatcherpatchcountry.md create mode 100644 packages/typescript/docs/models/components/leadcatcherpatchstateprovince.md create mode 100644 packages/typescript/docs/models/components/leadcatchersoverviewresponse.md create mode 100644 packages/typescript/docs/models/components/localelanguagevariant.md create mode 100644 packages/typescript/docs/models/components/questionwithprogramid.md rename packages/typescript/docs/models/components/{travelprogramquestiontravelprogram.md => questionwithprogramidtravelprogram.md} (83%) rename packages/typescript/docs/models/components/{rfptype1.md => rfptype.md} (66%) create mode 100644 packages/typescript/docs/models/components/venueamenityalcohol.md create mode 100644 packages/typescript/docs/models/components/venueamenityavcapability.md create mode 100644 packages/typescript/docs/models/components/venueamenityavcapabilityitem.md create mode 100644 packages/typescript/docs/models/components/venueamenitybusinessservice.md create mode 100644 packages/typescript/docs/models/components/venueamenitycateringdetail.md create mode 100644 packages/typescript/docs/models/components/venueamenityequipment.md create mode 100644 packages/typescript/docs/models/components/venueamenityfacilityinfo.md create mode 100644 packages/typescript/docs/models/components/venueamenityfacilityspace.md create mode 100644 packages/typescript/docs/models/components/venueamenityfacilityspaceitem.md create mode 100644 packages/typescript/docs/models/components/venueamenityparking.md create mode 100644 packages/typescript/docs/models/components/venueamenityparkingitem.md create mode 100644 packages/typescript/docs/models/components/venueamenityprovisionpolicy.md create mode 100644 packages/typescript/docs/models/components/venueamenityrecreationalactivity.md create mode 100644 packages/typescript/docs/models/components/venueamenityroomfeature.md create mode 100644 packages/typescript/docs/models/components/venueamenitytransportation.md create mode 100644 packages/typescript/docs/models/operations/createleadcatcherrequest.md create mode 100644 packages/typescript/docs/models/operations/createleadcatcherresponse.md create mode 100644 packages/typescript/docs/models/operations/deleteleadcatcherrequest.md create mode 100644 packages/typescript/docs/models/operations/getleadcatcheroverviewrequest.md create mode 100644 packages/typescript/docs/models/operations/getvenueamenitiesrequest.md rename packages/typescript/docs/models/{components/travelprogramquestion1.md => operations/listleadcatchersoverviewrequest.md} (56%) create mode 100644 packages/typescript/docs/models/operations/listleadcatchersoverviewresponse.md create mode 100644 packages/typescript/docs/models/operations/patchleadcatcherrequest.md create mode 100644 packages/typescript/docs/models/operations/updateleadcatcherrequest.md create mode 100644 packages/typescript/docs/models/operations/updatevenueamenitiesrequest.md create mode 100644 packages/typescript/docs/sdks/venueleads/README.md create mode 100644 packages/typescript/src/funcs/venueContentGetVenueAmenities.ts create mode 100644 packages/typescript/src/funcs/venueContentUpdateVenueAmenities.ts create mode 100644 packages/typescript/src/funcs/venueLeadsCreateLeadCatcher.ts create mode 100644 packages/typescript/src/funcs/venueLeadsDeleteLeadCatcher.ts create mode 100644 packages/typescript/src/funcs/venueLeadsGetLeadCatcherOverview.ts create mode 100644 packages/typescript/src/funcs/venueLeadsListLeadCatchersOverview.ts create mode 100644 packages/typescript/src/funcs/venueLeadsPatchLeadCatcher.ts create mode 100644 packages/typescript/src/funcs/venueLeadsUpdateLeadCatcher.ts create mode 100644 packages/typescript/src/models/components/contactfields.ts delete mode 100644 packages/typescript/src/models/components/contactfields2.ts create mode 100644 packages/typescript/src/models/components/existingleadcatcher.ts create mode 100644 packages/typescript/src/models/components/existingleadcatcherinput.ts create mode 100644 packages/typescript/src/models/components/existingvenueamenities.ts create mode 100644 packages/typescript/src/models/components/existingvenueamenitiesinput.ts create mode 100644 packages/typescript/src/models/components/leadcatcher.ts create mode 100644 packages/typescript/src/models/components/leadcatcheraddress.ts create mode 100644 packages/typescript/src/models/components/leadcatcherconfig.ts create mode 100644 packages/typescript/src/models/components/leadcatcheroverview.ts create mode 100644 packages/typescript/src/models/components/leadcatcherpatch.ts create mode 100644 packages/typescript/src/models/components/leadcatchersoverviewresponse.ts create mode 100644 packages/typescript/src/models/components/localelanguagevariant.ts create mode 100644 packages/typescript/src/models/components/questionwithprogramid.ts delete mode 100644 packages/typescript/src/models/components/rfptype1.ts delete mode 100644 packages/typescript/src/models/components/travelprogramquestion1.ts create mode 100644 packages/typescript/src/models/components/venueamenityalcohol.ts create mode 100644 packages/typescript/src/models/components/venueamenityavcapability.ts create mode 100644 packages/typescript/src/models/components/venueamenityavcapabilityitem.ts create mode 100644 packages/typescript/src/models/components/venueamenitybusinessservice.ts create mode 100644 packages/typescript/src/models/components/venueamenitycateringdetail.ts create mode 100644 packages/typescript/src/models/components/venueamenityequipment.ts create mode 100644 packages/typescript/src/models/components/venueamenityfacilityinfo.ts create mode 100644 packages/typescript/src/models/components/venueamenityfacilityspace.ts create mode 100644 packages/typescript/src/models/components/venueamenityfacilityspaceitem.ts create mode 100644 packages/typescript/src/models/components/venueamenityparking.ts create mode 100644 packages/typescript/src/models/components/venueamenityparkingitem.ts create mode 100644 packages/typescript/src/models/components/venueamenityprovisionpolicy.ts create mode 100644 packages/typescript/src/models/components/venueamenityrecreationalactivity.ts create mode 100644 packages/typescript/src/models/components/venueamenityroomfeature.ts create mode 100644 packages/typescript/src/models/components/venueamenitytransportation.ts create mode 100644 packages/typescript/src/models/operations/createleadcatcher.ts create mode 100644 packages/typescript/src/models/operations/deleteleadcatcher.ts create mode 100644 packages/typescript/src/models/operations/getleadcatcheroverview.ts create mode 100644 packages/typescript/src/models/operations/getvenueamenities.ts create mode 100644 packages/typescript/src/models/operations/listleadcatchersoverview.ts create mode 100644 packages/typescript/src/models/operations/patchleadcatcher.ts create mode 100644 packages/typescript/src/models/operations/updateleadcatcher.ts create mode 100644 packages/typescript/src/models/operations/updatevenueamenities.ts create mode 100644 packages/typescript/src/sdk/venueleads.ts diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 5b2f40d93..97abefc02 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.752.0 sources: Public: sourceNamespace: public - sourceRevisionDigest: sha256:c3066b6cb34f4bf1759028b9a9fc8791a7f772ed44519cd394492562ef9091ba - sourceBlobDigest: sha256:8af95d5807621381ac3c0aa4523b063a72a9102123695f791c56a681bec17e49 + sourceRevisionDigest: sha256:e48550184ebea2ef5cedb5e6ace3c6a2a98867121cf608fee24914d7137a8b4c + sourceBlobDigest: sha256:637bb7cc9d0334b90c4c1b2514215d09a3953ed8210c4b2dc047c59d4d9a578e tags: - latest - ea @@ -11,18 +11,18 @@ targets: public-csharp: source: Public sourceNamespace: public - sourceRevisionDigest: sha256:c3066b6cb34f4bf1759028b9a9fc8791a7f772ed44519cd394492562ef9091ba - sourceBlobDigest: sha256:8af95d5807621381ac3c0aa4523b063a72a9102123695f791c56a681bec17e49 + sourceRevisionDigest: sha256:e48550184ebea2ef5cedb5e6ace3c6a2a98867121cf608fee24914d7137a8b4c + sourceBlobDigest: sha256:637bb7cc9d0334b90c4c1b2514215d09a3953ed8210c4b2dc047c59d4d9a578e public-java: source: Public sourceNamespace: public - sourceRevisionDigest: sha256:c3066b6cb34f4bf1759028b9a9fc8791a7f772ed44519cd394492562ef9091ba - sourceBlobDigest: sha256:8af95d5807621381ac3c0aa4523b063a72a9102123695f791c56a681bec17e49 + sourceRevisionDigest: sha256:e48550184ebea2ef5cedb5e6ace3c6a2a98867121cf608fee24914d7137a8b4c + sourceBlobDigest: sha256:637bb7cc9d0334b90c4c1b2514215d09a3953ed8210c4b2dc047c59d4d9a578e public-typescript: source: Public sourceNamespace: public - sourceRevisionDigest: sha256:c3066b6cb34f4bf1759028b9a9fc8791a7f772ed44519cd394492562ef9091ba - sourceBlobDigest: sha256:8af95d5807621381ac3c0aa4523b063a72a9102123695f791c56a681bec17e49 + sourceRevisionDigest: sha256:e48550184ebea2ef5cedb5e6ace3c6a2a98867121cf608fee24914d7137a8b4c + sourceBlobDigest: sha256:637bb7cc9d0334b90c4c1b2514215d09a3953ed8210c4b2dc047c59d4d9a578e workflow: workflowVersion: 1.0.0 speakeasyVersion: 1.752.0 diff --git a/cvent-public-spec/openapi.yaml b/cvent-public-spec/openapi.yaml index 7717594d8..0d28f363b 100644 --- a/cvent-public-spec/openapi.yaml +++ b/cvent-public-spec/openapi.yaml @@ -1798,11 +1798,11 @@ paths: - event/attendees:read summary: List Attendees description: | - Gets a paginated list of attendees by sending a filter in the body of the request. This method will return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer filters. + Gets a paginated list of attendees by sending a filter in the body of the request. This method will return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer filters. operationId: listAttendeesPostFilter requestBody: description: | - The request body accepts filters to refine the data returned. Refer to available filter details in [GET List Attendees](#operation/listAttendees). + The request body accepts filters to refine the data returned. Refer to available filter details in [GET List Attendees](#operation/listAttendees). required: false content: application/json: @@ -5958,7 +5958,7 @@ paths: - OAuth2.authorizationCode: - event/attendee-messages:read parameters: - - $ref: '#/components/parameters/eventId5' + - $ref: '#/components/parameters/eventId6' - $ref: '#/components/parameters/limit' - $ref: '#/components/parameters/token' - name: filter @@ -7295,7 +7295,7 @@ paths: description: | Returns a paginated list of all discounts used in an event, including both event-specific and account-level discount codes used in an event. parameters: - - $ref: '#/components/parameters/eventId2' + - $ref: '#/components/parameters/eventId3' - $ref: '#/components/parameters/limit' - $ref: '#/components/parameters/token' - $ref: '#/components/parameters/discountSort' @@ -7334,7 +7334,7 @@ paths: description: | Create discount in an event. parameters: - - $ref: '#/components/parameters/eventId2' + - $ref: '#/components/parameters/eventId3' requestBody: content: application/json: @@ -7373,7 +7373,7 @@ paths: description: | Returns a paginated list of agenda items that are associated with discounts for the specified event. This endpoint helps identify which agenda items (such as admission items, sessions, session bundles, membership-items or quantity-items) are currently associated with discounts. parameters: - - $ref: '#/components/parameters/eventId2' + - $ref: '#/components/parameters/eventId3' - $ref: '#/components/parameters/limit' - $ref: '#/components/parameters/token' - $ref: '#/components/parameters/discountAgendaItemFilter' @@ -7409,7 +7409,7 @@ paths: description: | Update a discount in an event based on details in the request body. Fields not included in the request will revert to their default value. parameters: - - $ref: '#/components/parameters/eventId2' + - $ref: '#/components/parameters/eventId3' - $ref: '#/components/parameters/discountId' requestBody: description: Discount to be updated. @@ -7437,7 +7437,7 @@ paths: $ref: '#/components/responses/TooManyRequests1' /events/{id}/discounts/{discountId}/agenda-items/{agendaItemId}: parameters: - - $ref: '#/components/parameters/eventId2' + - $ref: '#/components/parameters/eventId3' - $ref: '#/components/parameters/discountId' - $ref: '#/components/parameters/agendaItemId1' put: @@ -7506,7 +7506,7 @@ paths: description: | Gets a paginated list of donation items. Donation items are a type of [optional item](https://support.cvent.com/s/communityarticle/Understanding-Agenda-Items). parameters: - - $ref: '#/components/parameters/eventId2' + - $ref: '#/components/parameters/eventId3' - $ref: '#/components/parameters/limit' - $ref: '#/components/parameters/token' - name: filter @@ -7562,7 +7562,7 @@ paths: description: | Gets a paginated list of donation items by sending a filter in the body of the request. Donation items are a type of [optional item](https://support.cvent.com/s/communityarticle/Understanding-Agenda-Items). parameters: - - $ref: '#/components/parameters/eventId2' + - $ref: '#/components/parameters/eventId3' - $ref: '#/components/parameters/limit' - $ref: '#/components/parameters/token' requestBody: @@ -7749,7 +7749,7 @@ paths: - $ref: '#/components/parameters/id2' get: summary: Get Alternate Travel Answers - description: Get alternate travel answers submitted by attendees who opt out of air or hotel bookings for an event. + description: Get alternate travel answers submitted by attendees who opt out of air, hotel, or train bookings for an event. operationId: getAlternateTravelAnswers tags: - Event Travel @@ -9741,7 +9741,7 @@ paths: description: | Gets a paginated list of fee items associated with the event. parameters: - - $ref: '#/components/parameters/eventId2' + - $ref: '#/components/parameters/eventId3' - $ref: '#/components/parameters/limit' - $ref: '#/components/parameters/token' - name: filter @@ -9909,7 +9909,7 @@ paths: description: | Gets a paginated list of membership items. [Membership items](https://support.cvent.com/s/communityarticle/Setting-Up-Memberships) are a type of [optional item](https://support.cvent.com/s/communityarticle/Understanding-Agenda-Items) that can be purchased during registration. parameters: - - $ref: '#/components/parameters/eventId2' + - $ref: '#/components/parameters/eventId3' - $ref: '#/components/parameters/limit' - $ref: '#/components/parameters/token' - name: filter @@ -9964,7 +9964,7 @@ paths: description: | Gets a paginated list of membership items. [Membership items](https://support.cvent.com/s/communityarticle/Setting-Up-Memberships) are a type of [optional item](https://support.cvent.com/s/communityarticle/Understanding-Agenda-Items) that can be purchased during registration. parameters: - - $ref: '#/components/parameters/eventId2' + - $ref: '#/components/parameters/eventId3' - $ref: '#/components/parameters/limit' - $ref: '#/components/parameters/token' requestBody: @@ -10248,7 +10248,7 @@ paths: description: | Gets a paginated list of quantity items. Quantity items are a type of [optional item](https://support.cvent.com/s/communityarticle/Understanding-Agenda-Items). parameters: - - $ref: '#/components/parameters/eventId2' + - $ref: '#/components/parameters/eventId3' - $ref: '#/components/parameters/limit' - $ref: '#/components/parameters/token' - name: filter @@ -10304,7 +10304,7 @@ paths: description: | Gets a paginated list of quantity items by sending a filter in the body of the request. Quantity items are a type of [optional item](https://support.cvent.com/s/communityarticle/Understanding-Agenda-Items). parameters: - - $ref: '#/components/parameters/eventId2' + - $ref: '#/components/parameters/eventId3' - $ref: '#/components/parameters/limit' - $ref: '#/components/parameters/token' requestBody: @@ -10461,7 +10461,7 @@ paths: url: '#oauth2-auth-code-planner-admin' /events/{id}/seatings: parameters: - - $ref: '#/components/parameters/eventId4' + - $ref: '#/components/parameters/eventId5' get: parameters: - $ref: '#/components/parameters/limit' @@ -10519,7 +10519,7 @@ paths: url: '#oauth2-auth-code-planner-admin' /events/{id}/seatings/assignments: parameters: - - $ref: '#/components/parameters/eventId4' + - $ref: '#/components/parameters/eventId5' get: summary: List All Seating Assignments description: Gets all the table assignments across all the seatings in an event. @@ -10559,7 +10559,7 @@ paths: url: '#oauth2-auth-code-planner-admin' /events/{id}/seatings/{seatingId}: parameters: - - $ref: '#/components/parameters/eventId4' + - $ref: '#/components/parameters/eventId5' - $ref: '#/components/parameters/seatingId' get: security: @@ -10593,7 +10593,7 @@ paths: url: '#oauth2-auth-code-planner-admin' /events/{id}/seatings/{seatingId}/assignments: parameters: - - $ref: '#/components/parameters/eventId4' + - $ref: '#/components/parameters/eventId5' - $ref: '#/components/parameters/seatingId' get: parameters: @@ -10634,7 +10634,7 @@ paths: url: '#oauth2-auth-code-planner-admin' /events/{id}/seatings/{seatingId}/tables: parameters: - - $ref: '#/components/parameters/eventId4' + - $ref: '#/components/parameters/eventId5' - $ref: '#/components/parameters/seatingId' get: parameters: @@ -10694,7 +10694,7 @@ paths: url: '#oauth2-auth-code-planner-admin' /events/{id}/seatings/{seatingId}/tables/{tableId}: parameters: - - $ref: '#/components/parameters/eventId4' + - $ref: '#/components/parameters/eventId5' - $ref: '#/components/parameters/seatingId' - $ref: '#/components/parameters/tableId' get: @@ -10733,7 +10733,7 @@ paths: url: '#oauth2-auth-code-planner-admin' /events/{id}/seatings/{seatingId}/tables/{tableId}/seats: parameters: - - $ref: '#/components/parameters/eventId4' + - $ref: '#/components/parameters/eventId5' - $ref: '#/components/parameters/seatingId' - $ref: '#/components/parameters/tableId' get: @@ -10793,7 +10793,7 @@ paths: url: '#oauth2-auth-code-planner-admin' /events/{id}/seatings/{seatingId}/tables/{tableId}/seats/{seatId}: parameters: - - $ref: '#/components/parameters/eventId4' + - $ref: '#/components/parameters/eventId5' - $ref: '#/components/parameters/seatingId' - $ref: '#/components/parameters/tableId' - $ref: '#/components/parameters/seatId' @@ -11319,7 +11319,7 @@ paths: description: | Gets a paginated list of taxes for an event. A tax is an event-level pricing configuration applied to products such as admission items, sessions, and other billable items. parameters: - - $ref: '#/components/parameters/eventId2' + - $ref: '#/components/parameters/eventId3' - $ref: '#/components/parameters/limit' - $ref: '#/components/parameters/token' - name: filter @@ -11641,7 +11641,7 @@ paths: description: | Retrieves a paginated list of vouchers set up for a specific event. parameters: - - $ref: '#/components/parameters/eventId2' + - $ref: '#/components/parameters/eventId3' - $ref: '#/components/parameters/limit' - $ref: '#/components/parameters/token' - $ref: '#/components/parameters/before' @@ -11697,7 +11697,7 @@ paths: description: | Retrieves a paginated list of vouchers configured for an event using a filter provided in the body of the request. parameters: - - $ref: '#/components/parameters/eventId2' + - $ref: '#/components/parameters/eventId3' - $ref: '#/components/parameters/limit' - $ref: '#/components/parameters/token' - $ref: '#/components/parameters/before' @@ -11745,7 +11745,7 @@ paths: description: | Retrieves a paginated list of attendees who have redeemed a specific voucher for the given event. parameters: - - $ref: '#/components/parameters/eventId2' + - $ref: '#/components/parameters/eventId3' - $ref: '#/components/parameters/voucherId' - $ref: '#/components/parameters/limit' - $ref: '#/components/parameters/token' @@ -17976,7 +17976,6 @@ paths: security: - OAuth2.clientCredentials: - business-transient/travel-accounts:read - - OAuth2.clientCredentials: - business-travel/travel-accounts:read parameters: - $ref: '#/components/parameters/after' @@ -18044,7 +18043,6 @@ paths: security: - OAuth2.clientCredentials: - business-transient/travel-accounts:read - - OAuth2.clientCredentials: - business-travel/travel-accounts:read responses: '200': @@ -18104,7 +18102,6 @@ paths: security: - OAuth2.clientCredentials: - business-transient/travel-programs:read - - OAuth2.clientCredentials: - business-travel/travel-programs:read parameters: - $ref: '#/components/parameters/after' @@ -18138,7 +18135,6 @@ paths: security: - OAuth2.clientCredentials: - business-transient/travel-program-questions:read - - OAuth2.clientCredentials: - business-travel/travel-program-questions:read parameters: - $ref: '#/components/parameters/after' @@ -18175,7 +18171,6 @@ paths: security: - OAuth2.clientCredentials: - business-transient/travel-programs:read - - OAuth2.clientCredentials: - business-travel/travel-programs:read responses: '200': @@ -18207,7 +18202,6 @@ paths: security: - OAuth2.clientCredentials: - business-transient/travel-program-questions:read - - OAuth2.clientCredentials: - business-travel/travel-program-questions:read parameters: - $ref: '#/components/parameters/after' @@ -18235,7 +18229,7 @@ paths: /travel-programs/{programId}/questions/{questionId}: parameters: - $ref: '#/components/parameters/programId' - - $ref: '#/components/parameters/questionId2' + - $ref: '#/components/parameters/questionId3' get: summary: Get Travel Program Question description: Returns the details of a single question based on the specified program and question ID. @@ -18245,7 +18239,6 @@ paths: security: - OAuth2.clientCredentials: - business-transient/travel-program-questions:read - - OAuth2.clientCredentials: - business-travel/travel-program-questions:read responses: '200': @@ -18931,6 +18924,79 @@ paths: $ref: '#/components/responses/NotFound1' '429': $ref: '#/components/responses/TooManyRequests1' + /venues/{venueId}/amenities: + get: + operationId: getVenueAmenities + summary: Get Venue Amenities + description: | + Returns the current amenity selections for the specified venue. + + Not applicable to CVB/DMC or Restaurant venues. + security: + - OAuth2.authorizationCode: + - venue/amenities:read + - OAuth2.clientCredentials: + - venue/amenities:read + parameters: + - $ref: '#/components/parameters/venueId' + tags: + - Venue Content + responses: + '200': + description: Successfully retrieved the venue amenities. + content: + application/json: + schema: + $ref: '#/components/schemas/existingVenueAmenities' + '400': + $ref: '#/components/responses/BadRequest1' + '401': + $ref: '#/components/responses/Unauthorized1' + '403': + $ref: '#/components/responses/Forbidden1' + '404': + $ref: '#/components/responses/NotFound1' + '429': + $ref: '#/components/responses/TooManyRequests1' + put: + operationId: updateVenueAmenities + summary: Update Venue Amenities + description: | + Updates the amenity selections for the specified venue, replacing all existing selections with those provided in the request body. Sections absent from the request body or submitted as empty arrays will have their selections cleared. + + Not applicable to CVB/DMC or Restaurant venues. + security: + - OAuth2.authorizationCode: + - venue/amenities:write + - OAuth2.clientCredentials: + - venue/amenities:write + parameters: + - $ref: '#/components/parameters/venueId' + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/existingVenueAmenities' + tags: + - Venue Content + responses: + '200': + description: Successfully updated the venue amenities. + content: + application/json: + schema: + $ref: '#/components/schemas/existingVenueAmenities' + '400': + $ref: '#/components/responses/BadRequest1' + '401': + $ref: '#/components/responses/Unauthorized1' + '403': + $ref: '#/components/responses/Forbidden1' + '404': + $ref: '#/components/responses/NotFound1' + '429': + $ref: '#/components/responses/TooManyRequests1' /venues/{venueId}/attractions: get: operationId: listVenueAttractions @@ -19689,6 +19755,230 @@ paths: $ref: '#/components/responses/NotFound1' '429': $ref: '#/components/responses/TooManyRequests1' + /venues/{venueId}/lead-catchers: + post: + operationId: createLeadCatcher + summary: Create Lead Catcher + description: Creates a new lead catcher contact for the specified venue. Lead catchers receive email notifications when RFPs are submitted to the venue. + security: + - OAuth2.authorizationCode: + - venue/lead-catchers:write + - OAuth2.clientCredentials: + - venue/lead-catchers:write + parameters: + - $ref: '#/components/parameters/venueId' + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/leadCatcher' + tags: + - Venue Leads + responses: + '201': + description: Lead catcher created successfully. + headers: + Location: + description: URL of the newly created lead catcher. + schema: + type: string + format: uri + content: + application/json: + schema: + $ref: '#/components/schemas/existingLeadCatcher' + '400': + $ref: '#/components/responses/BadRequest1' + '401': + $ref: '#/components/responses/Unauthorized1' + '403': + $ref: '#/components/responses/Forbidden1' + '404': + $ref: '#/components/responses/NotFound1' + '429': + $ref: '#/components/responses/TooManyRequests1' + /venues/{venueId}/lead-catchers/overview: + get: + operationId: listLeadCatchersOverview + summary: List Lead Catchers Overview + description: | + Returns a paginated, lightweight overview of the lead catchers for the specified venue, + containing only `id`, `firstName`, and `lastName` for each contact. + + Use this endpoint to discover the `leadCatcherId` needed for PATCH, PUT, and DELETE. + The response does not include contact details such as email address or phone number. + security: + - OAuth2.authorizationCode: + - venue/lead-catchers-overview:read + - OAuth2.clientCredentials: + - venue/lead-catchers-overview:read + parameters: + - $ref: '#/components/parameters/venueId' + - $ref: '#/components/parameters/limit' + - $ref: '#/components/parameters/token' + tags: + - Venue Leads + responses: + '200': + description: Successfully retrieved the overview of lead catchers. + content: + application/json: + schema: + $ref: '#/components/schemas/leadCatchersOverviewResponse' + '400': + $ref: '#/components/responses/BadRequest1' + '401': + $ref: '#/components/responses/Unauthorized1' + '403': + $ref: '#/components/responses/Forbidden1' + '404': + $ref: '#/components/responses/NotFound1' + '429': + $ref: '#/components/responses/TooManyRequests1' + /venues/{venueId}/lead-catchers/{leadCatcherId}: + put: + operationId: updateLeadCatcher + summary: Update Lead Catcher + description: Updates the given lead catcher for the specified venue, replacing the existing lead catcher data. + security: + - OAuth2.authorizationCode: + - venue/lead-catchers:write + - OAuth2.clientCredentials: + - venue/lead-catchers:write + parameters: + - $ref: '#/components/parameters/venueId' + - $ref: '#/components/parameters/leadCatcherId' + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/existingLeadCatcher' + tags: + - Venue Leads + responses: + '200': + description: Successfully updated the lead catcher. + content: + application/json: + schema: + $ref: '#/components/schemas/existingLeadCatcher' + '400': + $ref: '#/components/responses/BadRequest1' + '401': + $ref: '#/components/responses/Unauthorized1' + '403': + $ref: '#/components/responses/Forbidden1' + '404': + $ref: '#/components/responses/NotFound1' + '429': + $ref: '#/components/responses/TooManyRequests1' + patch: + operationId: patchLeadCatcher + summary: Patch Lead Catcher + description: | + Partially updates the specified lead catcher using JSON Merge Patch, as defined in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + + - Only fields present in the request body are updated; omitted fields remain unchanged. + - Set a field to `null` to unset it. + - The response contains only the fields that were provided in the request payload. + security: + - OAuth2.authorizationCode: + - venue/lead-catchers:write + - OAuth2.clientCredentials: + - venue/lead-catchers:write + parameters: + - $ref: '#/components/parameters/venueId' + - $ref: '#/components/parameters/leadCatcherId' + requestBody: + required: true + content: + application/merge-patch+json: + schema: + $ref: '#/components/schemas/leadCatcherPatch' + tags: + - Venue Leads + responses: + '200': + description: Successfully updated the lead catcher. The response contains only the fields that were provided in the request payload. + content: + application/json: + schema: + $ref: '#/components/schemas/leadCatcherPatch' + '400': + $ref: '#/components/responses/BadRequest1' + '401': + $ref: '#/components/responses/Unauthorized1' + '403': + $ref: '#/components/responses/Forbidden1' + '404': + $ref: '#/components/responses/NotFound1' + '429': + $ref: '#/components/responses/TooManyRequests1' + delete: + operationId: deleteLeadCatcher + summary: Delete Lead Catcher + description: Deletes the specified lead catcher for the venue. + security: + - OAuth2.authorizationCode: + - venue/lead-catchers:delete + - OAuth2.clientCredentials: + - venue/lead-catchers:delete + parameters: + - $ref: '#/components/parameters/venueId' + - $ref: '#/components/parameters/leadCatcherId' + tags: + - Venue Leads + responses: + '204': + description: Successfully deleted the lead catcher. + '400': + $ref: '#/components/responses/BadRequest1' + '401': + $ref: '#/components/responses/Unauthorized1' + '403': + $ref: '#/components/responses/Forbidden1' + '404': + $ref: '#/components/responses/NotFound1' + '429': + $ref: '#/components/responses/TooManyRequests1' + /venues/{venueId}/lead-catchers/{leadCatcherId}/overview: + get: + operationId: getLeadCatcherOverview + summary: Get Lead Catcher Overview + description: | + Retrieves a lightweight overview of a specific lead catcher for the specified venue, + containing only `id`, `firstName`, and `lastName`. + + The response does not include contact details such as email address or phone number. + security: + - OAuth2.authorizationCode: + - venue/lead-catchers-overview:read + - OAuth2.clientCredentials: + - venue/lead-catchers-overview:read + parameters: + - $ref: '#/components/parameters/venueId' + - $ref: '#/components/parameters/leadCatcherId' + tags: + - Venue Leads + responses: + '200': + description: Successfully retrieved the lead catcher overview. + content: + application/json: + schema: + $ref: '#/components/schemas/leadCatcherOverview' + '400': + $ref: '#/components/responses/BadRequest1' + '401': + $ref: '#/components/responses/Unauthorized1' + '403': + $ref: '#/components/responses/Forbidden1' + '404': + $ref: '#/components/responses/NotFound1' + '429': + $ref: '#/components/responses/TooManyRequests1' /venues/{venueId}/meeting-rooms: post: operationId: createMeetingRoom @@ -21275,12 +21565,12 @@ components: availabilityLimit: in: query name: limit - description: Limit to this number of search results. Maximum of 50, default of 10. + description: Limit to this number of search results. Maximum of 200, default of 10. required: false example: 10 schema: type: integer - maximum: 50 + maximum: 200 minimum: 1 default: 10 availableNightsFilter: @@ -21696,21 +21986,21 @@ components: required: true schema: $ref: '#/components/schemas/uuid-property' - eventId2: + eventId3: in: path name: id description: Unique ID of an event. required: true schema: $ref: '#/components/schemas/uuid-property' - eventId4: + eventId5: in: path name: id description: ID of an event. required: true schema: $ref: '#/components/schemas/uuid-property' - eventId5: + eventId6: in: path name: eventId description: Unique ID of an event @@ -22250,6 +22540,14 @@ components: required: true schema: $ref: '#/components/schemas/launch-feature-type.json' + leadCatcherId: + description: Unique identifier for a lead catcher. + name: leadCatcherId + required: true + in: path + schema: + type: string + format: uuid leadId: in: path name: leadId @@ -22673,7 +22971,7 @@ components: required: true schema: $ref: '#/components/schemas/uuid-property' - questionId2: + questionId3: name: questionId description: Unique ID for a question in: path @@ -23655,7 +23953,7 @@ components: content: application/json: schema: - $ref: '#/components/schemas/contact-fields' + $ref: '#/components/schemas/contact-fields1' CreateTransactionResponse: description: Response of the create transaction request. content: @@ -25905,7 +26203,7 @@ components: example: Why are you not booking a hotel with us? AlternateTravelDetail: title: AlternateTravelDetail - description: Details of an alternate travel answer submitted by an attendee who opted out of air or hotel bookings. + description: Details of an alternate travel answer submitted by an attendee who opted out of air, hotel, or train bookings. type: object allOf: - $ref: '#/components/schemas/Audit' @@ -25926,12 +26224,14 @@ components: example: Contact travelType: type: string - description: Type of travel alternate question + description: 'Type of travel alternate question. Supported values: AirRequest = attendee requested air travel; HotelRequest = attendee requested hotel travel; AirActual = actual air travel booked; GroupFlight = group flight booking; TrainRequest = attendee requested train travel; AirAndTrainRequest = attendee did not want air or train travel and submitted an alternate response.' enum: - AirRequest - HotelRequest - AirActual - GroupFlight + - TrainRequest + - AirAndTrainRequest example: AirRequest question: $ref: '#/components/schemas/AlternateQuestion' @@ -28274,7 +28574,25 @@ components: - Waitlisted type: string default: No Response - description: "Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Cancelled
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* Waitlisted -> Accepted" + description: |- + Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event. + The following status transitions are supported by this API: + * No Response -> Visited + * No Response -> Accepted + * No Response -> Declined + * No Response -> Pending Approval + * Cancelled -> Accepted + * Cancelled -> Pending Approval + * Visited -> Accepted + * Visited -> Pending Approval + * Declined -> Accepted + * Declined -> Pending Approval + * Accepted -> Cancelled + * Pending Approval -> Accepted + * Pending Approval -> Cancelled + * Pending Approval -> Denied Approval + * Denied Approval -> Pending Approval + * Waitlisted -> Accepted example: Accepted AttendeeVisibility: title: AttendeeVisibility @@ -31809,7 +32127,7 @@ components: type: array items: $ref: '#/components/schemas/contact-update' - contact-fields: + contact-fields1: title: Contact Fields description: An array of standard contact fields supported by Cvent. required: @@ -32014,7 +32332,7 @@ components: - transactionId type: object allOf: - - $ref: '#/components/schemas/contact-fields' + - $ref: '#/components/schemas/contact-fields1' properties: transactionId: title: Readonly UUID Property @@ -38488,6 +38806,25 @@ components: readOnly: true example: 06d2bfce-1793-11ec-9621-0242ac130002 description: Exhibitor Answer id + existingLeadCatcher: + title: ExistingLeadCatcher + description: An existing lead catcher contact. + type: object + required: + - id + - firstName + - lastName + - email + - phone + allOf: + - $ref: '#/components/schemas/leadCatcher' + properties: + id: + type: string + format: uuid + description: Lead catcher ID. + readOnly: true + example: 7e5c2c23-b2bb-461a-adc9-025184988519 existingMeetingRoom: title: Existing Meeting Room description: An existing venue meeting room with read-only generated properties. @@ -38538,6 +38875,29 @@ components: properties: registrationPath: $ref: '#/components/schemas/AssociatedRegistrationPath' + existingVenueAmenities: + title: ExistingVenueAmenities + description: The current amenity selections for a venue, including identifying properties. + type: object + required: + - id + - name + allOf: + - $ref: '#/components/schemas/VenueAmenities' + properties: + id: + type: string + format: uuid + description: Venue ID. + readOnly: true + example: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + name: + type: string + description: The name of the venue. + readOnly: true + minLength: 1 + maxLength: 100 + example: Harbor View Convention Center existingVenueAttraction: title: ExistingVenueAttraction description: An existing venue attraction with read-only generated properties. @@ -39629,6 +39989,8 @@ components: title: GuestRoomOccupancyPerRoomType description: Room occupancy for a room type. type: object + required: + - type properties: occupancy: $ref: '#/components/schemas/GuestRoomOccupancy' @@ -41141,6 +41503,281 @@ components: $ref: '#/components/schemas/ActivityExhibitor' lead: $ref: '#/components/schemas/ActivityLead' + leadCatcher: + title: LeadCatcher + description: A contact attached to a venue offering who receives email notifications when RFPs are submitted to that venue. + type: object + required: + - firstName + - lastName + - email + - phone + allOf: + - $ref: '#/components/schemas/Audit' + properties: + firstName: + type: string + description: First name of the lead catcher contact. + maxLength: 30 + example: Jane + lastName: + type: string + description: Last name of the lead catcher contact. + maxLength: 30 + example: Smith + title: + type: string + description: Job title of the lead catcher contact. + maxLength: 30 + example: Director of Sales + email: + type: string + format: email + description: Email address of the lead catcher contact. RFP notifications are sent to this address. + maxLength: 80 + example: jane.smith@example.com + phone: + type: string + description: Phone number of the lead catcher contact. + maxLength: 30 + example: +1-555-555-0101 + fax: + type: string + description: Fax number of the lead catcher contact. + maxLength: 30 + example: +1-555-555-0101 + address: + $ref: '#/components/schemas/LeadCatcherAddress' + locale: + $ref: '#/components/schemas/LocaleLanguageVariant' + config: + $ref: '#/components/schemas/LeadCatcherConfig' + additionalInfo: + type: string + description: Additional information about the lead catcher contact. + maxLength: 2500 + example: Preferred contact for APAC venues. + LeadCatcherAddress: + title: Lead Catcher Address + description: Address information for a lead catcher contact. + type: object + properties: + streetAddress1: + type: string + description: Street address line 1. + maxLength: 40 + example: 1234 Trap Road + streetAddress2: + type: string + description: Street address line 2. + maxLength: 40 + example: Suite 100 + city: + type: string + description: City. + maxLength: 40 + example: Vienna + stateProvince: + type: string + allOf: + - $ref: '#/components/schemas/StateProvince' + description: State or province code for the contact address (ISO 3166-2). + zipPostalCode: + type: string + description: ZIP or postal code. + maxLength: 25 + example: '22182' + country: + type: string + allOf: + - $ref: '#/components/schemas/Country' + description: Country code for the contact address (ISO 3166-1 alpha-2). + LeadCatcherAddressPatch: + title: Lead Catcher Address Patch + description: Partial update payload for a lead catcher contact's address. + type: object + properties: + streetAddress1: + type: string + nullable: true + description: Street address line 1. + maxLength: 40 + example: 1234 Trap Road + streetAddress2: + type: string + nullable: true + description: Street address line 2. + maxLength: 40 + example: Suite 100 + city: + type: string + nullable: true + description: City. + maxLength: 40 + example: Vienna + stateProvince: + type: string + allOf: + - $ref: '#/components/schemas/StateProvince' + nullable: true + description: The state province code used for contact information. + zipPostalCode: + type: string + nullable: true + description: ZIP or postal code. + maxLength: 25 + example: '22182' + country: + type: string + allOf: + - $ref: '#/components/schemas/Country' + nullable: true + description: ISO 3166 two-letter (alpha-2) country code used for contact information. + LeadCatcherConfig: + title: Lead Catcher Config + description: Notification and role configuration for a lead catcher contact. + type: object + properties: + rfpEmailEnabled: + type: boolean + description: True indicates this contact receives email notifications when an RFP is submitted. + default: true + example: true + pdfLinkEnabled: + type: boolean + description: True indicates the RFP notification email includes a PDF link. Only meaningful when `rfpEmailEnabled` is `true`. + default: true + example: true + supplierContactRole: + type: string + description: Name of the supplier contact role assigned to this contact. + example: Sales Manager + LeadCatcherConfigPatch: + title: Lead Catcher Config Patch + description: Partial update payload for a lead catcher contact's notification and role configuration. + type: object + properties: + rfpEmailEnabled: + type: boolean + nullable: true + description: True indicates this contact receives email notifications when an RFP is submitted. + example: true + pdfLinkEnabled: + type: boolean + nullable: true + description: True indicates the RFP notification email includes a PDF link. Only meaningful when `rfpEmailEnabled` is `true`. + example: true + supplierContactRole: + type: string + nullable: true + description: Name of the supplier contact role assigned to this contact. + example: roleName + leadCatcherOverview: + title: Lead Catcher Overview + description: A lightweight, non-PII overview of a lead catcher contact. + type: object + required: + - id + - firstName + - lastName + properties: + id: + type: string + format: uuid + description: Lead catcher ID. + readOnly: true + example: 7e5c2c23-b2bb-461a-adc9-025184988519 + firstName: + type: string + description: First name of the lead catcher contact. + maxLength: 30 + example: Jane + lastName: + type: string + description: Last name of the lead catcher contact. + maxLength: 30 + example: Smith + leadCatcherPatch: + title: LeadCatcherPatch + description: Partial update payload for a lead catcher contact. + type: object + properties: + firstName: + type: string + nullable: true + description: First name of the lead catcher contact. + maxLength: 30 + example: Jane + lastName: + type: string + nullable: true + description: Last name of the lead catcher contact. + maxLength: 30 + example: Smith + title: + type: string + nullable: true + description: Job title of the lead catcher contact. + maxLength: 30 + example: Director of Sales + email: + type: string + format: email + nullable: true + description: Email address of the lead catcher contact. RFP notifications are sent to this address. + maxLength: 80 + example: jane.smith@example.com + phone: + type: string + nullable: true + description: Phone number of the lead catcher contact. + maxLength: 30 + example: +1-555-0100 + fax: + type: string + nullable: true + description: Fax number of the lead catcher contact. + maxLength: 30 + example: +1-555-0101 + address: + type: object + allOf: + - $ref: '#/components/schemas/LeadCatcherAddressPatch' + nullable: true + description: Address information for the lead catcher contact. Only the address sub-fields supplied are updated; omitted sub-fields are left unchanged. + locale: + type: string + nullable: true + description: Locale used for planner communications sent to this contact. + example: en-US + config: + type: object + allOf: + - $ref: '#/components/schemas/LeadCatcherConfigPatch' + nullable: true + description: Notification and role configuration for the lead catcher contact. Only the config sub-fields supplied are updated; omitted sub-fields are left unchanged. + additionalInfo: + type: string + nullable: true + description: Additional information about the lead catcher contact. + maxLength: 2500 + example: Preferred contact for APAC venues. + leadCatchersOverviewResponse: + title: Lead Catchers Overview Paginated Response + description: Paginated overview of lead catchers for a venue. + type: object + required: + - data + - paging + properties: + paging: + $ref: '#/components/schemas/Paging' + data: + type: array + description: Each item is a lightweight, non-PII overview of a lead catcher for the venue, containing only the `id`, `firstName`, and `lastName`. + minItems: 0 + items: + $ref: '#/components/schemas/leadCatcherOverview' LeadInboundCreated: title: lead.inboundCreated description: A lead inbound-created activity. @@ -41472,6 +42109,182 @@ components: example: en-US minLength: 1 maxLength: 200 + LocaleLanguageVariant: + title: Locale Language Variant + description: |- + Language locale of a Lead Catcher contact. + + Values: + - `zh-CHS` — Chinese (Simplified) Legacy + - `zh-TW` — Chinese (Traditional, Taiwan) + - `de-DE` — German (Germany) + - `en-US` — English (United States) + - `fi-FI` — Finnish (Finland) + - `fr-FR` — French (France) + - `it-IT` — Italian (Italy) + - `ja-JP` — Japanese (Japan) + - `ko-KR` — Korean (Korea) + - `nl-NL` — Dutch (Netherlands) + - `pt-BR` — Portuguese (Brazil) + - `ru-RU` — Russian (Russia) + - `sv-SE` — Swedish (Sweden) + - `th-TH` — Thai (Thailand) + - `tr-TR` — Turkish (Turkey) + - `uk-UA` — Ukrainian (Ukraine) + - `zh-CN` — Chinese (Simplified, China) + - `de-CH` — German (Switzerland) + - `en-GB` — English (United Kingdom) + - `es-MX` — Spanish (Mexico) + - `fr-BE` — French (Belgium) + - `it-CH` — Italian (Switzerland) + - `nl-BE` — Dutch (Belgium) + - `pt-PT` — Portuguese (Portugal) + - `ru-MD` — Russian (Moldova) + - `sv-FI` — Swedish (Finland) + - `zh-HK` — Chinese (Traditional, Hong Kong SAR) + - `de-AT` — German (Austria) + - `en-AU` — English (Australia) + - `es-ES` — Spanish (Spain, International Sort) + - `fr-CA` — French (Canada) + - `zh-SG` — Chinese (Simplified, Singapore) + - `de-LU` — German (Luxembourg) + - `en-CA` — English (Canada) + - `es-GT` — Spanish (Guatemala) + - `fr-CH` — French (Switzerland) + - `zh-MO` — Chinese (Traditional, Macao SAR) + - `de-LI` — German (Liechtenstein) + - `en-NZ` — English (New Zealand) + - `es-CR` — Spanish (Costa Rica) + - `fr-LU` — French (Luxembourg) + - `en-IE` — English (Ireland) + - `es-PA` — Spanish (Panama) + - `fr-MC` — French (Monaco) + - `en-ZA` — English (South Africa) + - `es-DO` — Spanish (Dominican Republic) + - `fr-029` — French (Caribbean) + - `en-JM` — English (Jamaica) + - `es-VE` — Spanish (Venezuela) + - `fr-RE` — French (Réunion) + - `en-029` — English (Caribbean) + - `es-CO` — Spanish (Colombia) + - `fr-CD` — French Congo (DRC) + - `en-BZ` — English (Belize) + - `es-PE` — Spanish (Peru) + - `fr-SN` — French (Senegal) + - `en-TT` — English (Trinidad and Tobago) + - `es-AR` — Spanish (Argentina) + - `fr-CM` — French (Cameroon) + - `en-ZW` — English (Zimbabwe) + - `es-EC` — Spanish (Ecuador) + - `fr-CI` — French (Côte d'Ivoire) + - `en-PH` — English (Philippines) + - `es-CL` — Spanish (Chile) + - `fr-ML` — French (Mali) + - `en-ID` — English (Indonesia) + - `es-UY` — Spanish (Uruguay) + - `fr-MA` — French (Morocco) + - `en-HK` — English (Hong Kong SAR) + - `es-PY` — Spanish (Paraguay) + - `fr-HT` — French (Haiti) + - `en-IN` — English (India) + - `es-BO` — Spanish (Bolivia) + - `en-MY` — English (Malaysia) + - `es-SV` — Spanish (El Salvador) + - `en-SG` — English (Singapore) + - `es-HN` — Spanish (Honduras) + - `es-NI` — Spanish (Nicaragua) + - `es-PR` — Spanish (Puerto Rico) + - `es-US` — Spanish (United States) + - `es-419` — Spanish (Latin America) + - `es-CU` — Spanish (Cuba) + - `zh-CHT` — Chinese (Traditional) Legacy + type: string + enum: + - zh-CHS + - zh-TW + - de-DE + - en-US + - fi-FI + - fr-FR + - it-IT + - ja-JP + - ko-KR + - nl-NL + - pt-BR + - ru-RU + - sv-SE + - th-TH + - tr-TR + - uk-UA + - zh-CN + - de-CH + - en-GB + - es-MX + - fr-BE + - it-CH + - nl-BE + - pt-PT + - ru-MD + - sv-FI + - zh-HK + - de-AT + - en-AU + - es-ES + - fr-CA + - zh-SG + - de-LU + - en-CA + - es-GT + - fr-CH + - zh-MO + - de-LI + - en-NZ + - es-CR + - fr-LU + - en-IE + - es-PA + - fr-MC + - en-ZA + - es-DO + - fr-029 + - en-JM + - es-VE + - fr-RE + - en-029 + - es-CO + - fr-CD + - en-BZ + - es-PE + - fr-SN + - en-TT + - es-AR + - fr-CM + - en-ZW + - es-EC + - fr-CI + - en-PH + - es-CL + - fr-ML + - en-ID + - es-UY + - fr-MA + - en-HK + - es-PY + - fr-HT + - en-IN + - es-BO + - en-MY + - es-SV + - en-SG + - es-HN + - es-NI + - es-PR + - es-US + - es-419 + - es-CU + - zh-CHT + default: en-US + example: en-US location.json: title: Location type: object @@ -45534,7 +46347,7 @@ components: description: Denotes the count of quantity item selected by an attendee during event registration. example: 5 question: - title: Travel Program Question + title: Question description: A question, defined by the program, for the supplier to answer as part of their proposal. type: object allOf: @@ -45586,7 +46399,7 @@ components: format: uuid example: 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3 question-paginated-response: - title: Travel Program Question Paginated Response + title: Question Paginated Response description: A paginated list of Questions. type: object properties: @@ -45963,7 +46776,7 @@ components: $ref: '#/components/schemas/question.json1' description: Collection of questions for surveys. questions-paginated-response1: - title: Travel Program Questions Paginated Response + title: Questions Paginated Response description: A paginated list of Questions. type: object properties: @@ -45972,7 +46785,7 @@ components: data: type: array items: - $ref: '#/components/schemas/TravelProgramQuestion' + $ref: '#/components/schemas/QuestionWithProgramId' description: Collection of Questions. QuestionSection: title: Question Section @@ -46068,6 +46881,58 @@ components: - FileUpload - MatrixSinglePerRow - MatrixMultiPerRow + QuestionWithProgramId: + title: Question With Program Id + description: A question, defined by the program, for the supplier to answer as part of their proposal. + type: object + allOf: + - $ref: '#/components/schemas/Audit' + properties: + travelProgram: + title: Travel Program + description: Travel program that the question belongs to. + type: object + properties: + id: + title: Travel Program ID + description: The unique ID of the travel program. + type: string + format: uuid + example: ddc61444-45c7-4e1d-9fdd-07713c8baf9b + id: + title: Question ID + description: The unique ID of the question. + type: string + format: uuid + example: 76c461cb-77f6-40b3-acc8-db44452f11c4 + text: + title: Question Text + description: The text of the question. + type: string + maxLength: 300 + example: What type of food is served in the hotel restaurant? + required: + title: Required + type: boolean + example: true + description: Is this question required by default? + responseType: + $ref: '#/components/schemas/QuestionResponseType' + responseDataType: + $ref: '#/components/schemas/QuestionResponseDataType' + responseFormat: + $ref: '#/components/schemas/QuestionResponseFormat' + responseChoices: + title: Response Choices + description: A list of options for the question. This only applies when responseType is 'choice' + type: array + items: + type: string + example: + - Mexican + - American + - French + - Other RateApplicationType: title: Rate Application Type description: |- @@ -47484,7 +48349,10 @@ components: status: $ref: '#/components/schemas/RfpStatus-1' type: - $ref: '#/components/schemas/RfpType-1' + type: string + readOnly: true + allOf: + - $ref: '#/components/schemas/RfpType-1' approvedBy: type: string readOnly: true @@ -48131,6 +48999,9 @@ components: title: RfpQuestion description: Question associated with an RFP. type: object + required: + - supplierTypes + - classificationType allOf: - $ref: '#/components/schemas/QuestionCommon' properties: @@ -48351,7 +49222,7 @@ components: preferredVenueIntegrations: type: array deprecated: true - description: 'DEPRECATED: Use [venueIntegrationPreference](#schema/VenueIntegrationPreference) instead. Venue integrations the planner prefers when sourcing venues. An empty array or absent field indicates no preference has been recorded.' + description: 'DEPRECATED: Use `venueIntegrationPreference` instead. Venue integrations the planner prefers when sourcing venues. An empty array or absent field indicates no preference has been recorded.' maxItems: 1 uniqueItems: true items: @@ -53075,7 +53946,7 @@ components: $ref: '#/components/schemas/Address10' description: List of addresses associated with the travel account. travel-account-paginated-response: - title: Travel account paginated response + title: Travel Account Paginated Response description: A paginated list of travel accounts. type: object properties: @@ -53087,7 +53958,7 @@ components: $ref: '#/components/schemas/travel-account' description: Collection of travel accounts and their related details. travel-account-supplier-account: - title: Supplier Travel Account + title: Travel Account Supplier Account description: Details for the supplier travel account. These details are supplier specific and only visible for supply-side clients. type: object properties: @@ -53132,7 +54003,7 @@ components: description: Travel account type defined at the supplier chain level. example: RFP travel-account-supplier-account-paginated-response: - title: Supplier travel account paginated response + title: Travel Account Supplier Account Paginated Response description: A paginated list of supplier travel accounts. type: object properties: @@ -53344,9 +54215,9 @@ components: description: A list of program specific questions for the supplier to answer as part of their proposal. type: array items: - $ref: '#/components/schemas/TravelProgramQuestion-1' + $ref: '#/components/schemas/TravelProgramQuestion' travel-program-paginated-response: - title: Travel program paginated response + title: Travel Program Paginated Response description: A paginated list of travel programs. type: object properties: @@ -54196,58 +55067,6 @@ components: description: Code representing the format of the travel program. example: gbta2013 TravelProgramQuestion: - title: Travel Program Question - description: A question, defined by the program, for the supplier to answer as part of their proposal. - type: object - allOf: - - $ref: '#/components/schemas/Audit' - properties: - travelProgram: - title: Travel Program - description: Travel program that the question belongs to. - type: object - properties: - id: - title: Travel Program ID - description: The unique ID of the travel program. - type: string - format: uuid - example: ddc61444-45c7-4e1d-9fdd-07713c8baf9b - id: - title: Question ID - description: The unique ID of the question. - type: string - format: uuid - example: 76c461cb-77f6-40b3-acc8-db44452f11c4 - text: - title: Question Text - description: The text of the question. - type: string - maxLength: 300 - example: What type of food is served in the hotel restaurant? - required: - title: Required - type: boolean - example: true - description: Is this question required by default? - responseType: - $ref: '#/components/schemas/QuestionResponseType' - responseDataType: - $ref: '#/components/schemas/QuestionResponseDataType' - responseFormat: - $ref: '#/components/schemas/QuestionResponseFormat' - responseChoices: - title: Response Choices - description: A list of options for the question. This only applies when responseType is 'choice' - type: array - items: - type: string - example: - - Mexican - - American - - French - - Other - TravelProgramQuestion-1: title: Travel Program Question description: A question, defined by the account, for the supplier to answer as part of their proposal. type: object @@ -55318,6 +56137,428 @@ components: maximum: 180 example: -97.71518 readOnly: true + VenueAmenities: + title: VenueAmenities + description: The complete set of amenity selections for a venue. Section applicability varies by venue type; sections that do not apply to the venue's type are silently ignored on write. + type: object + properties: + recreationalActivities: + type: array + description: |- + Recreational facilities and leisure activities available at the venue. + + Values: + - `GOLF_ON_GROUNDS` — Golf on Grounds + - `HEALTH_CLUB` — Health Club + - `INDOOR_POOL` — Indoor Pool + - `OUTDOOR_POOL` — Outdoor Pool + - `SKIING` — Skiing + - `SPASALON` — Spa/Salon + - `TENNIS` — Tennis + - `WATER_SPORTS` — Water Sports + - `WHIRLPOOL` — Whirlpool + uniqueItems: true + maxItems: 9 + items: + $ref: '#/components/schemas/VenueAmenityRecreationalActivity' + roomFeatures: + type: array + description: |- + In-room features and guest services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + + Values: + - `CONCIERGE_SERVICES` — Concierge Services + - `FREE_LOCAL_CALLS` — Free Local Calls + - `FREE_TOLL_FREE_CALLS` — Toll-Free Calls + - `GARDEN_VIEWS` — Garden Views + - `INTERNET` — Internet + - `LAUNDRY` — Laundry + - `LUGGAGE_STORAGE` — Luggage Storage + - `MOUNTAIN_VIEWS` — Mountain Views + - `OCEANWATER_VIEWS` — Ocean/Water Views + - `ROOM_SERVICE` — Room Service + - `URBAN_VIEWS` — Urban Views + - `VOICE_MAIL_BOX` — Voicemail Box + uniqueItems: true + maxItems: 12 + items: + $ref: '#/components/schemas/VenueAmenityRoomFeature' + avCapabilities: + type: array + description: |- + Audio-visual equipment and connectivity available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + + Each entry selects an AV capability and, where applicable, provides an internet speed. A `speed` value may only be supplied when `amenity` is `HIGH_SPEED_INTERNET`. + maxItems: 3 + items: + $ref: '#/components/schemas/VenueAmenityAvCapabilityItem' + businessServices: + type: array + description: |- + Business and communications services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + + Values: + - `AUDIOVIDEO_CAPABILITIES` — Audio/Video Capabilities + - `BUSINESS_CENTER` — Business Center + - `VIDEO_CONFERENCING` — Video Conferencing + - `VIP_SERVICES` — VIP Services + uniqueItems: true + maxItems: 4 + items: + $ref: '#/components/schemas/VenueAmenityBusinessService' + transportation: + type: array + description: |- + Transportation options by which the venue is accessible. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + + Values: + - `BUS` — Bus + - `SHUTTLE` — Shuttle + - `SUBWAY` — Subway + - `TAXI` — Taxi + - `TRAIN` — Train + uniqueItems: true + maxItems: 5 + items: + $ref: '#/components/schemas/VenueAmenityTransportation' + equipment: + type: array + description: |- + Physical equipment and staging resources available for event use at the venue. + + Values: + - `DANCE_FLOORS` — Dance Floors + - `LOADING_DOCK_AVAILABLE` — Loading Dock + - `PIANO` — Piano + - `PORTABLE_HEATERS` — Portable Heaters + - `PORTABLE_WALLS` — Portable Walls + - `STAGING` — Staging + uniqueItems: true + maxItems: 6 + items: + $ref: '#/components/schemas/VenueAmenityEquipment' + parking: + type: array + description: Parking options available at or near the venue. Each entry selects a parking type and, where applicable, provides the daily rate. A cost may only be supplied for `PAID_PARKING_AVAILABLE` and `VALET_PARKING_AVAILABLE`. + maxItems: 5 + items: + $ref: '#/components/schemas/VenueAmenityParkingItem' + facilityInfo: + type: array + description: |- + General facility features and on-site services available at the venue. Applicable only to the following venue types: Boutique Hotel, Conference Center, Convention Center, Exposition Center, Hotel, Luxury Hotel, and Resort (all values below except `BUSINESS_CENTER` and `INTERNET`); Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue (only `BUSINESS_CENTER`, `CASINO`, `INTERNET`, `RESTAURANT_ON_SITE`, and `WHEELCHAIR_ACCESSIBLE`). + + Values: + - `ALL_INCLUSIVE` — All Inclusive + - `BUSINESS_CENTER` — Business Center + - `CASINO` — Casino + - `EXTENDED_STAY` — Extended Stay + - `FREE_AIRPORT_SHUTTLE` — Free Airport Shuttle + - `GIFT_SHOP_ON_SITE` — Onsite Gift Shop + - `INTERNET` — Internet + - `ONSITE_CATERING` — Onsite Catering + - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + - `PETS_WELCOME` — Pet Friendly + - `RENTAL_CAR_SERVICES` — Rental Car Services + - `RESTAURANT_ON_SITE` — Onsite Restaurant + - `SECURITY_STAFF_ONSITE` — Onsite Security + - `WHEELCHAIR_ACCESSIBLE` — Wheelchair Accessible + uniqueItems: true + maxItems: 14 + items: + $ref: '#/components/schemas/VenueAmenityFacilityInfo' + facilitySpaceInfo: + type: array + description: Facility space measurements at the venue. Each entry selects a space type and optionally provides the available event space area, expressed in the venue's configured unit of measurement. + maxItems: 3 + items: + $ref: '#/components/schemas/VenueAmenityFacilitySpaceItem' + cateringDetails: + type: array + description: |- + Catering options and policies offered at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + + Values: + - `KITCHEN_ONSITE` — Kitchen Onsite + - `ONSITE_CATERING` — Onsite Catering + - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + uniqueItems: true + maxItems: 3 + items: + $ref: '#/components/schemas/VenueAmenityCateringDetail' + alcohol: + type: array + description: |- + Alcohol-related policies at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + + Values: + - `ALCOHOL_ALLOWED` — Alcohol Allowed + - `BRING_YOUR_OWN` — Bring Your Own + - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + uniqueItems: true + maxItems: 3 + items: + $ref: '#/components/schemas/VenueAmenityAlcohol' + audioVisual: + type: array + description: |- + Audio-visual provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + + Values: + - `AVAILABLE` — Available + - `BRING_YOUR_OWN` — Bring Your Own + - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + uniqueItems: true + maxItems: 3 + items: + $ref: '#/components/schemas/VenueAmenityProvisionPolicy' + furniture: + type: array + description: |- + Furniture provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + + Values: + - `AVAILABLE` — Available + - `BRING_YOUR_OWN` — Bring Your Own + - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + uniqueItems: true + maxItems: 3 + items: + $ref: '#/components/schemas/VenueAmenityProvisionPolicy' + linensAndTableSettings: + type: array + description: |- + Linens and table settings provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + + Values: + - `AVAILABLE` — Available + - `BRING_YOUR_OWN` — Bring Your Own + - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + uniqueItems: true + maxItems: 3 + items: + $ref: '#/components/schemas/VenueAmenityProvisionPolicy' + lighting: + type: array + description: |- + Lighting provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + + Values: + - `AVAILABLE` — Available + - `BRING_YOUR_OWN` — Bring Your Own + - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + uniqueItems: true + maxItems: 3 + items: + $ref: '#/components/schemas/VenueAmenityProvisionPolicy' + otherDecor: + type: array + description: |- + Other décor provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + + Values: + - `AVAILABLE` — Available + - `BRING_YOUR_OWN` — Bring Your Own + - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + uniqueItems: true + maxItems: 3 + items: + $ref: '#/components/schemas/VenueAmenityProvisionPolicy' + VenueAmenityAlcohol: + title: Venue Amenity Alcohol + description: Alcohol-related policy at a venue. + type: string + enum: + - ALCOHOL_ALLOWED + - BRING_YOUR_OWN + - PREFERRED_VENDORS_ONLY + VenueAmenityAVCapability: + title: Venue Amenity AV Capability + description: |- + Audio-visual capability available at a venue. + + Values: + - `AV_EQUIPMENT` — AV Equipment + - `HIGH_SPEED_INTERNET` — High Speed Internet + - `ONSITE_AV_STAFF` — Onsite AV Staff + type: string + enum: + - AV_EQUIPMENT + - HIGH_SPEED_INTERNET + - ONSITE_AV_STAFF + VenueAmenityAvCapabilityItem: + title: VenueAmenityAvCapabilityItem + description: An AV capability selection for a venue. An internet speed may be provided when the selected amenity is `HIGH_SPEED_INTERNET`. + type: object + required: + - amenity + properties: + amenity: + $ref: '#/components/schemas/VenueAmenityAVCapability' + speed: + type: integer + description: Internet connection speed in Mbps. Applicable only when `amenity` is `HIGH_SPEED_INTERNET`. + minimum: 1 + maximum: 9999999 + example: 1000 + VenueAmenityBusinessService: + title: Venue Amenity Business Service + description: Business or communications service available at a venue. + type: string + enum: + - AUDIOVIDEO_CAPABILITIES + - BUSINESS_CENTER + - VIDEO_CONFERENCING + - VIP_SERVICES + VenueAmenityCateringDetail: + title: Venue Amenity Catering Detail + description: Catering option or policy offered at a venue. + type: string + enum: + - KITCHEN_ONSITE + - ONSITE_CATERING + - OUTSIDE_CATERERS_ALLOWED + VenueAmenityEquipment: + title: Venue Amenity Equipment + description: Physical equipment or staging resource available for event use at a venue. + type: string + enum: + - DANCE_FLOORS + - LOADING_DOCK_AVAILABLE + - PIANO + - PORTABLE_HEATERS + - PORTABLE_WALLS + - STAGING + VenueAmenityFacilityInfo: + title: Venue Amenity Facility Info + description: General facility feature or on-site service available at a venue. + type: string + enum: + - ALL_INCLUSIVE + - BUSINESS_CENTER + - CASINO + - EXTENDED_STAY + - FREE_AIRPORT_SHUTTLE + - GIFT_SHOP_ON_SITE + - INTERNET + - ONSITE_CATERING + - OUTSIDE_CATERERS_ALLOWED + - PETS_WELCOME + - RENTAL_CAR_SERVICES + - RESTAURANT_ON_SITE + - SECURITY_STAFF_ONSITE + - WHEELCHAIR_ACCESSIBLE + VenueAmenityFacilitySpace: + title: Venue Amenity Facility Space + description: |- + Facility space type available at a venue. + + Values: + - `OUTDOOR_SPACE` — Outdoor Space + - `PRIVATE_SPACE` — Private Space + - `SEMI_PRIVATE_SPACE` — Semi-Private Space + type: string + enum: + - OUTDOOR_SPACE + - PRIVATE_SPACE + - SEMI_PRIVATE_SPACE + VenueAmenityFacilitySpaceItem: + title: VenueAmenityFacilitySpaceItem + description: A facility space entry for a venue, with an optional area measurement expressed in the venue's configured unit of measurement. + type: object + required: + - amenity + properties: + amenity: + $ref: '#/components/schemas/VenueAmenityFacilitySpace' + value: + type: integer + description: Area of the space in the venue's configured unit of measurement. + minimum: 1 + maximum: 9999999 + example: 5000 + VenueAmenityParking: + title: Venue Amenity Parking + description: |- + Parking type available at or near a venue. + + Values: + - `BUS_PARKING_AVAILABLE` — Bus Parking + - `COMPLIMENTARY_PARKING_PROVIDED` — Complimentary Parking + - `PAID_PARKING_AVAILABLE` — Paid Parking + - `STREET_PARKING` — Street Parking + - `VALET_PARKING_AVAILABLE` — Valet Parking + type: string + enum: + - BUS_PARKING_AVAILABLE + - COMPLIMENTARY_PARKING_PROVIDED + - PAID_PARKING_AVAILABLE + - STREET_PARKING + - VALET_PARKING_AVAILABLE + VenueAmenityParkingItem: + title: VenueAmenityParkingItem + description: A parking amenity selection for a venue. An optional daily rate may be provided for paid parking types. + type: object + required: + - amenity + properties: + amenity: + $ref: '#/components/schemas/VenueAmenityParking' + cost: + type: number + description: Daily parking cost per vehicle, in the venue's local currency. Applicable only when `amenity` is `PAID_PARKING_AVAILABLE` or `VALET_PARKING_AVAILABLE`. + minimum: 0 + maximum: 999999999 + example: 25 + VenueAmenityProvisionPolicy: + title: Venue Amenity Provision Policy + description: Provision policy for a venue amenity or service. + type: string + enum: + - AVAILABLE + - BRING_YOUR_OWN + - PREFERRED_VENDORS_ONLY + VenueAmenityRecreationalActivity: + title: Venue Amenity Recreational Activity + description: Recreational facility or leisure activity available at a venue. + type: string + enum: + - GOLF_ON_GROUNDS + - HEALTH_CLUB + - INDOOR_POOL + - OUTDOOR_POOL + - SKIING + - SPASALON + - TENNIS + - WATER_SPORTS + - WHIRLPOOL + VenueAmenityRoomFeature: + title: Venue Amenity Room Feature + description: In-room feature or guest service available at a venue. + type: string + enum: + - CONCIERGE_SERVICES + - FREE_LOCAL_CALLS + - FREE_TOLL_FREE_CALLS + - GARDEN_VIEWS + - INTERNET + - LAUNDRY + - LUGGAGE_STORAGE + - MOUNTAIN_VIEWS + - OCEANWATER_VIEWS + - ROOM_SERVICE + - URBAN_VIEWS + - VOICE_MAIL_BOX + VenueAmenityTransportation: + title: Venue Amenity Transportation + description: Transportation option by which a venue is accessible. + type: string + enum: + - BUS + - SHUTTLE + - SUBWAY + - TAXI + - TRAIN venueAttraction: title: VenueAttraction description: An attraction or point of interest located near a venue. @@ -57373,11 +58614,16 @@ components: survey/survey-responses:read: Allows reading the event survey responses survey/survey-responses:write: Allows write operations on the event surveys respondent's responses survey/surveys:read: Allows the reading of event surveys + venue/amenities:read: Allows reading of venue amenity selections. + venue/amenities:write: Allows the modification of venue amenity selections. venue/availability-settings:read: Allows reading of venue availability settings. venue/availability-settings:write: Allows the modification of venue availability settings. venue/images:delete: Allows disassociating images from venues. venue/images:read: Allows read access for venue images metadata. venue/images:write: Allows associating images with venues. + venue/lead-catchers-overview:read: Allows read access for overview of lead catchers. + venue/lead-catchers:delete: Allows the deletion of lead catchers. + venue/lead-catchers:write: Allows the creation and modification of lead catchers. venue/meeting-room-images:delete: Allows disassociating images from meeting rooms. venue/meeting-room-images:read: Allows retrieving meeting room images. venue/meeting-room-images:write: Allows associating images with meeting rooms. @@ -57634,11 +58880,16 @@ components: survey/survey-responses:read: Allows reading the event survey responses survey/survey-responses:write: Allows write operations on the event surveys respondent's responses survey/surveys:read: Allows the reading of event surveys + venue/amenities:read: Allows reading of venue amenity selections. + venue/amenities:write: Allows the modification of venue amenity selections. venue/availability-settings:read: Allows reading of venue availability settings. venue/availability-settings:write: Allows the modification of venue availability settings. venue/images:delete: Allows disassociating images from venues. venue/images:read: Allows read access for venue images metadata. venue/images:write: Allows associating images with venues. + venue/lead-catchers-overview:read: Allows read access for overview of lead catchers. + venue/lead-catchers:delete: Allows the deletion of lead catchers. + venue/lead-catchers:write: Allows the creation and modification of lead catchers. venue/meeting-room-images:delete: Allows disassociating images from meeting rooms. venue/meeting-room-images:read: Allows retrieving meeting room images. venue/meeting-room-images:write: Allows associating images with meeting rooms. @@ -57833,6 +59084,8 @@ tags: * **Reservation Request.** Represents a request to book rooms in the housing event. * **RegLink.** A feature that links Passkey events to your registration events, enabling you to sync data between the two events. * **Callback.** [Passkey's callback system](https://developers.cvent.com/docs/passkey/REST/callbacks) allows for a push notification to be sent to your system when a reservation is created, modified or cancelled. + + > Passkey Housing APIs only support the NA base URL. Calls to the EU base URL will return an error. - name: Housing Hotels description: APIs for managing hotel-related operations. - name: Leads @@ -57897,6 +59150,8 @@ tags: Manage the date ranges when a venue is available for event bookings. - name: Venue Content description: Manage images, amenities, and nearby attractions associated with a venue. + - name: Venue Leads + description: Manage inbound leads submitted to venues through Cvent's sourcing channels. - name: Venue Meeting Rooms description: Manage meeting rooms for a venue, including creating and updating room details, configuring capacities and amenities, and associating images. - name: Venue Profiles diff --git a/packages/csharp/.speakeasy/gen.lock b/packages/csharp/.speakeasy/gen.lock index daac96633..88bab529e 100644 --- a/packages/csharp/.speakeasy/gen.lock +++ b/packages/csharp/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 3f6b1580-b75b-44d2-a95a-1b74729f1d26 management: - docChecksum: 1fd9ebcd59841afef8d06776d975d698 + docChecksum: 983d33abba527021aab132eb1ac91964 docVersion: ea speakeasyVersion: 1.752.0 generationVersion: 2.859.2 - releaseVersion: 1.6.5 - configChecksum: ccac38de202a8bfd2884f256f1cf8bee + releaseVersion: 1.6.6 + configChecksum: 4a566480a17e43403638e988bb307175 published: true persistentEdits: generation_id: c50843e4-e393-4964-8f45-57aa92ab8994 @@ -46,7 +46,7 @@ trackedFiles: pristine_git_object: ec6bbb4bbe2f8ad9230b01a2da715a63475f5e3d NUGET.md: id: f4c8a442a6e5 - last_write_checksum: sha1:8394dd45665433d0526e382fd14cbd8af551389a + last_write_checksum: sha1:f232900ab1419692e154f0fa75d486fbb393915c pristine_git_object: 7a318ebe39215ade31d133b8f5920eb190ea74e3 USAGE.md: id: 3aed33ce6e6f @@ -54,7 +54,7 @@ trackedFiles: pristine_git_object: 9d9d2cb0300360310d0594405723f6b3c23ef99d docs/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.md: id: d08cc9e72a35 - last_write_checksum: sha1:1a2c798543793259cdf5bb1f4c223d0368797f86 + last_write_checksum: sha1:6360243e3945ca74907463ed5b0cb4ff12e67715 pristine_git_object: 9f9e22ff2ad4cbf586938d2da46928ec7f3b6309 ? docs/Models/Components/AGeneralLedgerCodeUsedToCategorizeFinancialDataWhichHelpsBusinessesAnalyzeAndReportOnTheirFinancialActivity.md : last_write_checksum: sha1:05a66b2e726c48c88c479ca48c69b3c921108e1d @@ -269,7 +269,7 @@ trackedFiles: docs/Models/Components/AlternateQuestion.md: last_write_checksum: sha1:239ded15c41ce09f0a17828d233307af22fb0ae4 docs/Models/Components/AlternateTravelDetail.md: - last_write_checksum: sha1:9ea6ec14a9ee31991c4ac1d1d8f429fc0090d7db + last_write_checksum: sha1:1d35e847951a373a516baaff8fe18c07d9aba7ff docs/Models/Components/AlternateTravelDetailRequesterType.md: last_write_checksum: sha1:27d3b1ef7fafb9cb84cfff86038e7123dd575853 docs/Models/Components/AlternateTravelPaginatedResponse.md: @@ -620,7 +620,7 @@ trackedFiles: last_write_checksum: sha1:48d651a92014240d445b70680e71f3995a9a0a65 docs/Models/Components/AttendeeUpdate.md: id: 99c54db194aa - last_write_checksum: sha1:e024a700cf10799f494266c2de94b675bc2dd991 + last_write_checksum: sha1:76c3d76524e63fad3a2989af82d0f9e193315def pristine_git_object: 8ef2b7f0d3f3d88a8b7284f127c5f73dd6abd8a3 docs/Models/Components/AttendeeUpdateAdministrator.md: id: 5271b01705c0 @@ -647,7 +647,7 @@ trackedFiles: last_write_checksum: sha1:77f0cec179be18388fa2deeda7e1438757714918 pristine_git_object: 40e75bfe09fe11730a5882b1b806fbb520f931ca docs/Models/Components/AttendeeUpdateStatus.md: - last_write_checksum: sha1:95eb4ccaed48e81ea5f97fe72edb0f4d4fc16ea6 + last_write_checksum: sha1:1342b672e2c3907526146de9ce1302dc5e101d7f docs/Models/Components/AttendeeVisibility.md: last_write_checksum: sha1:c2905ee281e6df3dc8afbe86803a36278bb4d8aa docs/Models/Components/AttendeeWebLinks.md: @@ -1226,10 +1226,10 @@ trackedFiles: last_write_checksum: sha1:bb1e9e3b49018a688aeb25a57b1092a957d0a711 docs/Models/Components/ContactFieldType.md: last_write_checksum: sha1:09988646e23ce9f38a13d0c7c2e55f5510baf067 + docs/Models/Components/ContactFields.md: + last_write_checksum: sha1:551362297bc65ca83f9dcb873187843ec4f642c5 docs/Models/Components/ContactFields1.md: - last_write_checksum: sha1:b5d6afa72670e6401c9b4eddbea81387cfbec6e1 - docs/Models/Components/ContactFields2.md: - last_write_checksum: sha1:bb64fa1d3846e01293a584a9ff4b740abc23849f + last_write_checksum: sha1:ade421eaf166601111af8b4ba08c85e302c4b906 docs/Models/Components/ContactFile.md: id: c995d5d3d70a last_write_checksum: sha1:7895b59067218ccc5cec554653e701c00e1cdc10 @@ -1714,7 +1714,7 @@ trackedFiles: pristine_git_object: ab15f9cd75105fcd7df6671195a50bde6794529a docs/Models/Components/EventAttendeeSubstituted.md: id: aad0ae5cb1f2 - last_write_checksum: sha1:1e60511059aed4077464277dc597f8920506631f + last_write_checksum: sha1:01dc2b91d1d8c63161b53c9089de56cf0058f638 pristine_git_object: 4345c4093e91beef9c3659f557aa062a80a27d25 docs/Models/Components/EventAttendeeSubstitutedEvent.md: last_write_checksum: sha1:d657c1de2d0af3f822041f6fa078a1c8d5444327 @@ -2194,6 +2194,10 @@ trackedFiles: id: 4c2abd932332 last_write_checksum: sha1:cc98d80e210580d291c427deb38b14507751af53 pristine_git_object: 68f40c6d91b51cd2806664f3a5abd996cc751646 + docs/Models/Components/ExistingLeadCatcher.md: + last_write_checksum: sha1:4834933a91bee53d1443630d863a8523b6443b57 + docs/Models/Components/ExistingLeadCatcherInput.md: + last_write_checksum: sha1:c71adf14e190786256820273be446ab899b5d0b8 docs/Models/Components/ExistingMeetingRoom.md: last_write_checksum: sha1:3950c54762998d10f07aa3730348b9d4e15dd265 docs/Models/Components/ExistingMeetingRoomDimensions.md: @@ -2272,6 +2276,10 @@ trackedFiles: id: fd9778f44795 last_write_checksum: sha1:08a17f412199837bfb59afa53a092eb69cba37a1 pristine_git_object: c88c5713511a1f916274938bbc19516ebc9b173f + docs/Models/Components/ExistingVenueAmenities.md: + last_write_checksum: sha1:589b752f9189de61ab688af74da764833b312926 + docs/Models/Components/ExistingVenueAmenitiesInput.md: + last_write_checksum: sha1:7d7799db272e8b6ea8e1a9f25eccfc772736c697 docs/Models/Components/ExistingVenueAttraction.md: last_write_checksum: sha1:f64ceb753c0e017101368acc44d7a438ef37477f docs/Models/Components/ExistingVenueAvailabilitySettings.md: @@ -2509,7 +2517,7 @@ trackedFiles: docs/Models/Components/GuestRoomOccupancy.md: last_write_checksum: sha1:9538f551654710db86d758a5b88f36ee456554f7 docs/Models/Components/GuestRoomOccupancyPerRoomType.md: - last_write_checksum: sha1:20083c477ae0a8a7678d786f34bdeb36859229d7 + last_write_checksum: sha1:99ae8a9110bbcd1f9a52269f2365d6f443439ae6 docs/Models/Components/GuestRoomType.md: last_write_checksum: sha1:89154d8a5a4c7dc123936f59b3732c81b15002e9 docs/Models/Components/HTTPMetadata.md: @@ -2698,6 +2706,30 @@ trackedFiles: last_write_checksum: sha1:d92a39df02bf4d96e44ad1c92021732c31252555 docs/Models/Components/Lead2.md: last_write_checksum: sha1:7e6e9da579275a0531131cc6ba3c8a7049a5b75a + docs/Models/Components/LeadCatcher.md: + last_write_checksum: sha1:e95e4cc3b89de914f94fc67c677ec7b9c0a2e580 + docs/Models/Components/LeadCatcherAddress.md: + last_write_checksum: sha1:de57c46b11ff3eeee4590a375652a629cee4f020 + docs/Models/Components/LeadCatcherAddressCountry.md: + last_write_checksum: sha1:f4cd47eded050c46db841c73db3f1710d0827821 + docs/Models/Components/LeadCatcherAddressPatch.md: + last_write_checksum: sha1:ee93dd48d15110c0df3abbce5691d7b8d8264d9f + docs/Models/Components/LeadCatcherAddressStateProvince.md: + last_write_checksum: sha1:881c5490115ee30ae515e79982c058615a2bdab1 + docs/Models/Components/LeadCatcherConfig.md: + last_write_checksum: sha1:0974dcd9f9ea9856ff778c7ef7cfa3d4fbd7f30c + docs/Models/Components/LeadCatcherConfigPatch.md: + last_write_checksum: sha1:682632b116cdf1f3555edc022039b9742fdf2830 + docs/Models/Components/LeadCatcherOverview.md: + last_write_checksum: sha1:b6372f9b95e642bc23a00de322fd94bd6a10c267 + docs/Models/Components/LeadCatcherPatch.md: + last_write_checksum: sha1:6fe1a3ceb4ed2e08e259115cc5b9e019bf8cc771 + docs/Models/Components/LeadCatcherPatchCountry.md: + last_write_checksum: sha1:6a5c16eabc506842f1c7fe69ef748172c4ef0523 + docs/Models/Components/LeadCatcherPatchStateProvince.md: + last_write_checksum: sha1:fd47bb828fd94f2bd75197a155f268a658d5509b + docs/Models/Components/LeadCatchersOverviewResponse.md: + last_write_checksum: sha1:a0612cc32ab947b7aecd38c481ffe51eb3979c18 docs/Models/Components/LeadInboundCreated.md: id: 886b965c2894 last_write_checksum: sha1:58fdc2d170f5e24338764d6e5316db1b97c0c4dd @@ -2762,6 +2794,8 @@ trackedFiles: last_write_checksum: sha1:ab9dfe5cb78222e912fcc8feb2ff7187bad10a41 docs/Models/Components/LiveStreamStatus.md: last_write_checksum: sha1:c22edda3d528a12974ff09d1d4087cdc253af553 + docs/Models/Components/LocaleLanguageVariant.md: + last_write_checksum: sha1:e918aff33b898197117d370a7d8a3926aa76e213 docs/Models/Components/Location1.md: last_write_checksum: sha1:2ec9f409d93e6a7489b5bf2d7fba64d1e38d6048 docs/Models/Components/Location1Input.md: @@ -3350,13 +3384,17 @@ trackedFiles: last_write_checksum: sha1:eb940f73475e3b15738cf35c89041b5b1af5f649 docs/Models/Components/QuestionTypeJson.md: last_write_checksum: sha1:0ee0e7a3e15668d6b662963adc59cc8e06f9c7d7 + docs/Models/Components/QuestionWithProgramId.md: + last_write_checksum: sha1:9fd2c2c735a96b063dbbbdc9008cf48a518d4241 + docs/Models/Components/QuestionWithProgramIdTravelProgram.md: + last_write_checksum: sha1:b24bfda85ee5d43f3898b6f644e0b5209689ef3e docs/Models/Components/QuestionsPaginatedResponse.md: id: b4a3d5ce9358 last_write_checksum: sha1:c7f53e0c7a0aa6a7178e6109982660123e5ab17c pristine_git_object: 66195d46cdb5dad904b9a8f5dd8e487d587db804 docs/Models/Components/QuestionsPaginatedResponse1.md: id: 8b89d4cde347 - last_write_checksum: sha1:7d7516698127c1a33452df914e9fd8c369b4ed55 + last_write_checksum: sha1:eea23f3c043bdfc465e418b8ec3dff83cbd9964a pristine_git_object: de3e3a100b74fcc302f144563abebac46a0f6aeb docs/Models/Components/Rate.md: id: ddc8aee5ad5b @@ -3577,7 +3615,7 @@ trackedFiles: docs/Models/Components/Rfp1.md: last_write_checksum: sha1:b5a782804341d1545cee7212732ed9fb90a1f24c docs/Models/Components/Rfp2.md: - last_write_checksum: sha1:5c6efcc6a8ad5df13c9fff81463ede8deae40bb2 + last_write_checksum: sha1:57f72b932719d68b19d1d747bfaacae85c6e564e docs/Models/Components/RfpAgendaItem.md: last_write_checksum: sha1:608bfd2278eef551d81efdc5c15ef00a27a44ca1 docs/Models/Components/RfpAgendaItemSchedule.md: @@ -3609,7 +3647,7 @@ trackedFiles: docs/Models/Components/RfpPastEvents.md: last_write_checksum: sha1:0ea1719afd3937dc0a895f231b239d8834c79b3b docs/Models/Components/RfpQuestion.md: - last_write_checksum: sha1:69ed8fd26d81922b2b1cdbdff7a031ad963520e0 + last_write_checksum: sha1:6a31a435f4bd8b1f7650b452fe730a8561219f46 docs/Models/Components/RfpRecipientLogEntry.md: last_write_checksum: sha1:b71859b749da427217414edcda76965d1806fef2 docs/Models/Components/RfpRecipientLogEntryMessage.md: @@ -3628,8 +3666,8 @@ trackedFiles: last_write_checksum: sha1:ede6a6a6d84ae2627271d22a60248eeea7e5a1f9 docs/Models/Components/RfpSupplierStatus.md: last_write_checksum: sha1:33b0c12473a630eb03c65fe0291c814291718150 - docs/Models/Components/RfpType1.md: - last_write_checksum: sha1:8d975520b354a0058d622384009083561b43005a + docs/Models/Components/RfpType.md: + last_write_checksum: sha1:cfeceb35106774032a3e5300b9226f9512e22607 docs/Models/Components/RoomAttendeeType.md: last_write_checksum: sha1:dbc97d358475667cb436aa63bcc18d129140f27d docs/Models/Components/RoomBedType1.md: @@ -4376,7 +4414,7 @@ trackedFiles: pristine_git_object: da68e0fd1935ef7f8e7d2f1554c3f7629c3c100a docs/Models/Components/TravelProgram.md: id: 85e9f62afdfb - last_write_checksum: sha1:9a4484125beb31c795ac18eb6763d8919deef420 + last_write_checksum: sha1:40f306845be0e5c30d494931af9654b19d9ed439 pristine_git_object: e95ac6e088d1b53ee8132bc221067a721de4b7de docs/Models/Components/TravelProgramFormatType.md: last_write_checksum: sha1:ff70cc3d86a33c668d412e24d2865584fd2db8c2 @@ -4385,11 +4423,7 @@ trackedFiles: last_write_checksum: sha1:1def717ccd0b233f86c30c3171e86d2a5f703d73 pristine_git_object: 46150154a88239488036636f1e7682b4c6fa9938 docs/Models/Components/TravelProgramQuestion.md: - last_write_checksum: sha1:6224136605b6553675de56c1fa2f97bd4e4744f2 - docs/Models/Components/TravelProgramQuestion1.md: - last_write_checksum: sha1:340f2d4e84f5ea9a7a6dc4ddcc2a072568bcef08 - docs/Models/Components/TravelProgramQuestionTravelProgram.md: - last_write_checksum: sha1:25f83ac8867dbbfc406f147dfbefa98ec16fccc0 + last_write_checksum: sha1:a12d4834848c62d0aa7aadce93a78cc3249049b6 docs/Models/Components/TravelProgramStatus.md: last_write_checksum: sha1:a2320feb996116a71c5fce7b5e67ce5d6fe3d0ad docs/Models/Components/TravelProgramStayType.md: @@ -4455,7 +4489,7 @@ trackedFiles: docs/Models/Components/TravelRequestStatus.md: last_write_checksum: sha1:2444b12b8f951342675a4cd0004af9ca79e5f7c9 docs/Models/Components/TravelType.md: - last_write_checksum: sha1:5424e4d3238c6b52afd4e2e3959fdb3eeb1158b4 + last_write_checksum: sha1:fe5c057af3ee2d79b4588e107bf1fd9ddcc7552b docs/Models/Components/TypeAllOf.md: last_write_checksum: sha1:47718aac674717fa02e227fccd3d905eba78b3a6 docs/Models/Components/TypeInput.md: @@ -4542,6 +4576,36 @@ trackedFiles: id: 3656eaa8c3ef last_write_checksum: sha1:c01d48818b6606a5b63b23f26cadc4b9903f05ea pristine_git_object: 5b9a47d26cdc1dedbe5e3665514b4558621ab683 + docs/Models/Components/VenueAmenityAVCapability.md: + last_write_checksum: sha1:35dbd3357a12101f72737e0b99aa10182dc2ea8c + docs/Models/Components/VenueAmenityAlcohol.md: + last_write_checksum: sha1:0633944cb9faf6f66d66116664328c5413f07027 + docs/Models/Components/VenueAmenityAvCapabilityItem.md: + last_write_checksum: sha1:14c5beea657f66de0eda28b4786a1ee84cda9fac + docs/Models/Components/VenueAmenityBusinessService.md: + last_write_checksum: sha1:796b98111bfb67acaa3212a1ad1060f66789ed7e + docs/Models/Components/VenueAmenityCateringDetail.md: + last_write_checksum: sha1:c173434862050011d8ac9f1c6a50e5f94dec9c65 + docs/Models/Components/VenueAmenityEquipment.md: + last_write_checksum: sha1:33026d78e67903ea6786e0572fb497ad338c0c37 + docs/Models/Components/VenueAmenityFacilityInfo.md: + last_write_checksum: sha1:8fd7f57600e86e7371e438b770e5c2f89b20d6f0 + docs/Models/Components/VenueAmenityFacilitySpace.md: + last_write_checksum: sha1:70ef27b3add3f426a642021c80916b4b3714ad9b + docs/Models/Components/VenueAmenityFacilitySpaceItem.md: + last_write_checksum: sha1:bf784805ba4f477cfe9abca94ed76b8f0c17a34d + docs/Models/Components/VenueAmenityParking.md: + last_write_checksum: sha1:19499e87e6dda4c9f8c40ac021f4c9920c336062 + docs/Models/Components/VenueAmenityParkingItem.md: + last_write_checksum: sha1:1e684543e288e1932b2f0b6cbd26569149aa602a + docs/Models/Components/VenueAmenityProvisionPolicy.md: + last_write_checksum: sha1:010b72d428d6c0116c0b8e198a4a6c718f03b685 + docs/Models/Components/VenueAmenityRecreationalActivity.md: + last_write_checksum: sha1:fa0a15288eb071245a87a7135c4816c150eaf243 + docs/Models/Components/VenueAmenityRoomFeature.md: + last_write_checksum: sha1:d26f97943d150e02590b66703b6aa30532356206 + docs/Models/Components/VenueAmenityTransportation.md: + last_write_checksum: sha1:1f0d38640c7b5bbf0af5fba30079382f5f3d344d docs/Models/Components/VenueAttraction.md: last_write_checksum: sha1:cd32d9db1458f57febef7284ee1b2f0f42efa928 docs/Models/Components/VenueAttractionType.md: @@ -5118,6 +5182,10 @@ trackedFiles: id: 4a28ba19768d last_write_checksum: sha1:6950fc870fecf6e4abf85c1977cb970a47a36c28 pristine_git_object: e24b76a6edd9634a76fbe81936499e3b6fd3f1ca + docs/Models/Requests/CreateLeadCatcherRequest.md: + last_write_checksum: sha1:323d5b47a45885710e09f64b6194088c93702a68 + docs/Models/Requests/CreateLeadCatcherResponse.md: + last_write_checksum: sha1:b789e72334c83d6b4589e0744e34aca10501c3c0 docs/Models/Requests/CreateMeetingRequestRequest.md: id: 9594667b3c67 last_write_checksum: sha1:810f25676b976088f6dbc39c98e67c681af66617 @@ -5386,6 +5454,10 @@ trackedFiles: id: 531d84903324 last_write_checksum: sha1:1db3e390f3dd87f33ec256fb7ff7d2a7a4485578 pristine_git_object: cf8e019566d029ce6e9431b3e5de656b90c7df00 + docs/Models/Requests/DeleteLeadCatcherRequest.md: + last_write_checksum: sha1:a72190a3b2294b472f4f19db40ae7ab37e3c8460 + docs/Models/Requests/DeleteLeadCatcherResponse.md: + last_write_checksum: sha1:cd7bf01cfbae53b403700be632cbfbc9e0eadfa7 docs/Models/Requests/DeletePaymentRequest.md: id: 3c72f3ad08f4 last_write_checksum: sha1:66a7e5972ee0816fe62347fdad85db946f9718e8 @@ -6188,7 +6260,7 @@ trackedFiles: pristine_git_object: c1c465795a9a2e7450e6e448404f9389c13d4628 docs/Models/Requests/GetHousingEventHotelAvailabilityRequest.md: id: 6deb4db4cb3a - last_write_checksum: sha1:e7adea92ded2207636e5bd2b99b0a89d82c99cbc + last_write_checksum: sha1:485eadb52ca66386c255b4dca996950dc3a76297 pristine_git_object: 849bf250cf7dda932d9e184757081b7d37c4f88b docs/Models/Requests/GetHousingEventHotelAvailabilityResponse.md: id: 976be88865ee @@ -6282,6 +6354,10 @@ trackedFiles: id: 5afe5d36bf41 last_write_checksum: sha1:ef1b3c85964c20849e499cfd994f3b12a9e3f07a pristine_git_object: 2daaa4fcfe47cf2f6dba6d6526c059a42db01bc7 + docs/Models/Requests/GetLeadCatcherOverviewRequest.md: + last_write_checksum: sha1:9700ca8bb2356770e23491fd63a71df3d11da5a9 + docs/Models/Requests/GetLeadCatcherOverviewResponse.md: + last_write_checksum: sha1:30965a79a8ae19b1718cd78416c413af1a461285 docs/Models/Requests/GetLeadQualificationAnswersRequest.md: id: a3d37b60d0e5 last_write_checksum: sha1:16da173298e67b74a46da3f5114d4a2643f43189 @@ -6782,6 +6858,10 @@ trackedFiles: id: d1e4416c3d2b last_write_checksum: sha1:7a176710d714109ba9d506cddd5a5767a7870d1e pristine_git_object: a511b88725d86767afb0be0f0286c4291a242fc0 + docs/Models/Requests/GetVenueAmenitiesRequest.md: + last_write_checksum: sha1:2885bfa04013b158f68982097a0c97819e0b1c24 + docs/Models/Requests/GetVenueAmenitiesResponse.md: + last_write_checksum: sha1:56a70daf78f1b57e530d710268718cf1306483a5 docs/Models/Requests/GetVenueAttractionRequest.md: last_write_checksum: sha1:06fea07f537ec9c2be5355c2221e6df38b628a74 docs/Models/Requests/GetVenueAttractionResponse.md: @@ -6932,7 +7012,7 @@ trackedFiles: pristine_git_object: 4581f48ea4d3d5c17533a4f25026e20bfc7f1996 docs/Models/Requests/ListAttendeesPostFilterRequest.md: id: cc5a5caa8ebb - last_write_checksum: sha1:5d36e65afed757ca6459ea5e09f0e42b9656e6a6 + last_write_checksum: sha1:1fe8c4ee6060d357be4d7c09f656e7027c399a51 pristine_git_object: 60211b6f1dcd61e1bc234e66a9a5943675b839ec docs/Models/Requests/ListAttendeesPostFilterResponse.md: id: 415fd0e31039 @@ -7198,6 +7278,10 @@ trackedFiles: id: e17ab85a9d8b last_write_checksum: sha1:aa162f48d7b4e871f6dfdd83bc6e2b0da2e17fe5 pristine_git_object: 83a79eadcf258c0bb745368fb0fd178a88e068d1 + docs/Models/Requests/ListLeadCatchersOverviewRequest.md: + last_write_checksum: sha1:6fef19099bd8de9300e9317bb862d261d4605ed7 + docs/Models/Requests/ListLeadCatchersOverviewResponse.md: + last_write_checksum: sha1:f53856b2f027fae444879370780b5fe815efe91a docs/Models/Requests/ListLocationsRequest.md: id: ab971d708c07 last_write_checksum: sha1:7f318dd7d2b74356708585c62d9198b3b24e53dc @@ -7670,6 +7754,10 @@ trackedFiles: id: be01ca264d7e last_write_checksum: sha1:0c644c0731c3abc19ae055d57d6cf13362b26638 pristine_git_object: cfc8918cff6d94ad23b43890005d5e73bf68823e + docs/Models/Requests/PatchLeadCatcherRequest.md: + last_write_checksum: sha1:25d5063696b9e6c710c3c5330f25eb88372abb71 + docs/Models/Requests/PatchLeadCatcherResponse.md: + last_write_checksum: sha1:26ebef4aa53c1ff0a7babce86a5ea4c981c36474 docs/Models/Requests/PatchMeetingRoomRequest.md: last_write_checksum: sha1:c74c6e576fa166af027a6093907eb3e93551f3e6 docs/Models/Requests/PatchMeetingRoomResponse.md: @@ -8130,6 +8218,10 @@ trackedFiles: id: 0faa775ab267 last_write_checksum: sha1:e7bf2a4a6eeacb3d1d83058d35f70642de9c9ee0 pristine_git_object: 18c92e281bbd23f6456864a445961ab96abf1df6 + docs/Models/Requests/UpdateLeadCatcherRequest.md: + last_write_checksum: sha1:0d547ad23fa66b9bc8dfa453d4aa0b9813814919 + docs/Models/Requests/UpdateLeadCatcherResponse.md: + last_write_checksum: sha1:1ad9ab21cf36430382edd5dc2ef19573b5829b5f docs/Models/Requests/UpdateMeetingRequestRequest.md: id: "332079331584" last_write_checksum: sha1:d46b91d5414ad2d1bb974bad9bbaf74c8deaf200 @@ -8262,6 +8354,10 @@ trackedFiles: id: 6fa52e73de43 last_write_checksum: sha1:ca300637a8614ecec1d367ea29e3ed709bcff1f2 pristine_git_object: 6c894b99cc7dca298e02dadc259341d9d308cb93 + docs/Models/Requests/UpdateVenueAmenitiesRequest.md: + last_write_checksum: sha1:48f2ed11b145195d3a7840f408c6ba3c53a5ca16 + docs/Models/Requests/UpdateVenueAmenitiesResponse.md: + last_write_checksum: sha1:023faaa6c5d3195a974e09d19263ec805aca8231 docs/Models/Requests/UpdateVenueAttractionRequest.md: last_write_checksum: sha1:06835de9124dc0dd8a2b08fa9ac63a20c47ffbef docs/Models/Requests/UpdateVenueAttractionResponse.md: @@ -8332,7 +8428,7 @@ trackedFiles: pristine_git_object: c05b58f290ecf7fb80ec0b61ac47843d61aa0118 docs/sdks/attendees/README.md: id: 99bffbf21091 - last_write_checksum: sha1:007ec0d0c45b73da045b86f7be7be2d4a08fc9cd + last_write_checksum: sha1:490dbe5f41d9ff9d3187575d26f133eb7f0b827b pristine_git_object: 309b429b5efc21e6dac3eda810410a5db0155fbb docs/sdks/audiencesegments/README.md: id: a2ccf2d6ee02 @@ -8408,7 +8504,7 @@ trackedFiles: pristine_git_object: 5552dd2ba328f8dbf8dc09b9cb1ddae39ee4cc26 docs/sdks/eventtravel/README.md: id: d7533cadf8e6 - last_write_checksum: sha1:c9361e852b66924129fed441bca0fd9d4b6875ca + last_write_checksum: sha1:bacc025d3ba7f380241aaf1a8582d1a36415dc0e pristine_git_object: 2c574599b73113a5907f3b8930afa57eff55b6a1 docs/sdks/exhibitor/README.md: id: cb0578099210 @@ -8432,7 +8528,7 @@ trackedFiles: pristine_git_object: 226634479fc1c80c5445e0abd3906614f5ca218a docs/sdks/housing/README.md: id: 23d65d817ab8 - last_write_checksum: sha1:543a967f9394888e721e538d70056267fd79c34a + last_write_checksum: sha1:a7128c0d07a7252d3abbc7dc50bd5cbc6d341b11 pristine_git_object: 4455010cbde3a3837c5ca2b707afac4aae2ac717 docs/sdks/housinghotels/README.md: id: d04ff5412c59 @@ -8513,7 +8609,9 @@ trackedFiles: docs/sdks/venueavailability/README.md: last_write_checksum: sha1:313d2ead630b21b58209d9ac251530333e7daa08 docs/sdks/venuecontent/README.md: - last_write_checksum: sha1:ca100497c14b81986d8708b25ec6f3bb6a6c0f30 + last_write_checksum: sha1:79bab65c992d44465934069d574b14c30ab2f457 + docs/sdks/venueleads/README.md: + last_write_checksum: sha1:8f7992e24f7c9bc14d9ebb8ef5c44b7011dd5aa4 docs/sdks/venuemeetingrooms/README.md: last_write_checksum: sha1:ae05a99cb6c04935f7cc4f5250f467b161e032ab docs/sdks/venueprofiles/README.md: @@ -8548,7 +8646,7 @@ trackedFiles: pristine_git_object: bad6c37a004676ea369dedb8042432f0aeee6a00 src/Cvent/SDK/Attendees.cs: id: 32949bd964be - last_write_checksum: sha1:5c9c2c5adf4e1cfc7761407d77a56c6deb314b3c + last_write_checksum: sha1:70d4a582f40af4c7d1847c9595587ffe9646a8ba pristine_git_object: a3cd526a9a86ef8600b77fe5700ec9462a16157c src/Cvent/SDK/AudienceSegments.cs: id: 8ea605bfa719 @@ -8596,11 +8694,11 @@ trackedFiles: pristine_git_object: 977cd7381c7598682830d6e4a64a85cb14130b98 src/Cvent/SDK/Cvent.SDK.csproj: id: 7a55759bc2f0 - last_write_checksum: sha1:568bdf6cb37c2df087aceadb55c8a1b97356650e + last_write_checksum: sha1:318e6aaae64780ec1c68f9ad568abba8c8738c04 pristine_git_object: 711013944bc0505858b0b7cf177f166071b47593 src/Cvent/SDK/CventSDK.cs: id: f7e1ad22cd8f - last_write_checksum: sha1:e1cd062a757708711587256c31e1e3fc97c62506 + last_write_checksum: sha1:d0fb95b62f76ae5b9d6f77ecf0ca603f4df72c06 pristine_git_object: 73b691f7e3fc8c29322c3bac6169519066a92685 src/Cvent/SDK/Discounts.cs: id: 65ff3d7f6c89 @@ -8624,7 +8722,7 @@ trackedFiles: pristine_git_object: edfd34d648de349f3958e7fbea9e14f7b99aa8b3 src/Cvent/SDK/EventTravel.cs: id: d5493432a866 - last_write_checksum: sha1:975831d490142dce2cd77e792f9f40d6c2fb473d + last_write_checksum: sha1:f2bad741042070f1d0bb7eddd356c2e69d088f90 pristine_git_object: a8b681cf4ef2300fc3896005e04884f778619289 src/Cvent/SDK/Events.cs: id: b96dbb23cc9b @@ -8660,7 +8758,7 @@ trackedFiles: pristine_git_object: 1937b5a9d23d666c998441dff6dfeb35f548e5a6 src/Cvent/SDK/Hooks/OAuth2Scopes.cs: id: ea272e98d50c - last_write_checksum: sha1:91a2532c1fdea22d27e67a24d34bc571df83dc8f + last_write_checksum: sha1:74e101f2e5d02cfd9c4f7a2d46f14d1e9c2c05d4 pristine_git_object: 55a8b501e50769ad517eb3b3fb5ed1cafcd038cc src/Cvent/SDK/Hooks/SDKHooks.cs: id: 0038e747490d @@ -8672,7 +8770,7 @@ trackedFiles: pristine_git_object: e3ad1ac7b4dd624040e3f30514dfffb4e2b94155 src/Cvent/SDK/Housing.cs: id: a10cf2ffbc7c - last_write_checksum: sha1:29c34286adf09310b7de98651eeb17e4139805c3 + last_write_checksum: sha1:a0294767d54294acc508cf032b587d7114fdf41d pristine_git_object: 26397f09d75ba9d69843a3b969c292ee2407ae6d src/Cvent/SDK/HousingHotels.cs: id: 9249b2b9a6b5 @@ -8688,7 +8786,7 @@ trackedFiles: pristine_git_object: ab4d871c869ae435b0148438a074c626d5bf7495 src/Cvent/SDK/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.cs: id: bfa3f73d3233 - last_write_checksum: sha1:b57dee81dd2f53036bad4281dd7b20d19f6d460c + last_write_checksum: sha1:998e48dc00f7ffd9da755d34fa76e2545fcc37be pristine_git_object: 5f2a0586c619c34598f23d894d7b8d20eeaab173 ? src/Cvent/SDK/Models/Components/AGeneralLedgerCodeUsedToCategorizeFinancialDataWhichHelpsBusinessesAnalyzeAndReportOnTheirFinancialActivity.cs : last_write_checksum: sha1:ded18bff631de9270ed98af5e5f3453cf6766dbc @@ -8903,7 +9001,7 @@ trackedFiles: src/Cvent/SDK/Models/Components/AlternateQuestion.cs: last_write_checksum: sha1:d8040c65dfcfef83245e8239b6f0b5737644b40f src/Cvent/SDK/Models/Components/AlternateTravelDetail.cs: - last_write_checksum: sha1:baf66cd43a29320a100f9224f362c74cd602a5aa + last_write_checksum: sha1:ce745329700a1a9f8b772c0c51ef44893a352454 src/Cvent/SDK/Models/Components/AlternateTravelDetailRequesterType.cs: last_write_checksum: sha1:dda669535c938351eb28aa63dcd90f78bf77da9f src/Cvent/SDK/Models/Components/AlternateTravelPaginatedResponse.cs: @@ -9254,7 +9352,7 @@ trackedFiles: last_write_checksum: sha1:3f86d853142fc34260c7413d6fb66f3c996fa705 src/Cvent/SDK/Models/Components/AttendeeUpdate.cs: id: 30f7f411c09b - last_write_checksum: sha1:57afcd4cd5fff20c0cbc7775bea7abd9d5f2942b + last_write_checksum: sha1:6f2c59e11dfa6c6e33f48c4c376578429374e592 pristine_git_object: df2d5bfa09a819468b35b3d376f8d4aadbddb514 src/Cvent/SDK/Models/Components/AttendeeUpdateAdministrator.cs: id: 2496307e0f9c @@ -9281,7 +9379,7 @@ trackedFiles: last_write_checksum: sha1:5d89067d325f8f301c72c64a09c6cded852cc6bb pristine_git_object: 47b9c2e799b9a6136533ba54651eeb2d5bdd1081 src/Cvent/SDK/Models/Components/AttendeeUpdateStatus.cs: - last_write_checksum: sha1:686d5e0b0895ced91b0a592f2bf87c759ab94fb9 + last_write_checksum: sha1:ec825b2ba3aeea15c580b2056fa1ac619aff0354 src/Cvent/SDK/Models/Components/AttendeeVisibility.cs: last_write_checksum: sha1:b2b8051df1c8f09a7bd0311fc91df4c2037a43b8 src/Cvent/SDK/Models/Components/AttendeeWebLinks.cs: @@ -9860,10 +9958,10 @@ trackedFiles: last_write_checksum: sha1:0aa954387445ab030b28fc09b73e832eff81bf46 src/Cvent/SDK/Models/Components/ContactFieldType.cs: last_write_checksum: sha1:54fe5ec500a41f3cb00a3aef1de0a22ccf9bfd7e + src/Cvent/SDK/Models/Components/ContactFields.cs: + last_write_checksum: sha1:05ffb11eaf93d61cc3b247c681b182aa2926e88e src/Cvent/SDK/Models/Components/ContactFields1.cs: - last_write_checksum: sha1:a4bb42b27a071fdda481f87f32cbe291d3368d77 - src/Cvent/SDK/Models/Components/ContactFields2.cs: - last_write_checksum: sha1:0f6caa485e10296fe5c54ce0d9f6e10805847d9a + last_write_checksum: sha1:57e4346afb2850670c31da893c5521ac8264cc77 src/Cvent/SDK/Models/Components/ContactFile.cs: id: 4164062cd137 last_write_checksum: sha1:9bde780f274a69c537d04303607ba088c71dae96 @@ -10348,7 +10446,7 @@ trackedFiles: pristine_git_object: e759bad4a86de1172260ca29efedd21ed80a06b3 src/Cvent/SDK/Models/Components/EventAttendeeSubstituted.cs: id: 0fff5fd92c31 - last_write_checksum: sha1:10df9f1a5688deacd794f34fb689168083bbcd8f + last_write_checksum: sha1:6f823a5557a121adaabfc9c6fe784b0bdceef7e6 pristine_git_object: 23189545e792e1e3618b62a36b8650d08d8b73f7 src/Cvent/SDK/Models/Components/EventAttendeeSubstitutedEvent.cs: last_write_checksum: sha1:e7429d35507d67f8cf2997f1e8d640e462e0e0bc @@ -10828,6 +10926,10 @@ trackedFiles: id: 887e4731926c last_write_checksum: sha1:01a074e861d81ff157c7b0d06f2a62e784e40910 pristine_git_object: 8dad8891371af62f9985920ec2ba691f284876d0 + src/Cvent/SDK/Models/Components/ExistingLeadCatcher.cs: + last_write_checksum: sha1:3500846b37c0c50cbbbe19bd33f3d089f4c796c1 + src/Cvent/SDK/Models/Components/ExistingLeadCatcherInput.cs: + last_write_checksum: sha1:b6dee6964efbe78f6f38d9ef5d10df7f367d0909 src/Cvent/SDK/Models/Components/ExistingMeetingRoom.cs: last_write_checksum: sha1:965c49df0f89093da87dddfc08627b076319da2a src/Cvent/SDK/Models/Components/ExistingMeetingRoomDimensions.cs: @@ -10906,6 +11008,10 @@ trackedFiles: id: 93aace9e468e last_write_checksum: sha1:c7e9ab34a8ebc682a8c04f9667bf306f6be06ee7 pristine_git_object: 8447e628f3db64dfde0477784bfdf3f2d744f294 + src/Cvent/SDK/Models/Components/ExistingVenueAmenities.cs: + last_write_checksum: sha1:8fcf6f47cea3a4456f348f9ed35797b8b7be46ea + src/Cvent/SDK/Models/Components/ExistingVenueAmenitiesInput.cs: + last_write_checksum: sha1:dca34941526011dc36bf1ec8abe35f241d4a35ae src/Cvent/SDK/Models/Components/ExistingVenueAttraction.cs: last_write_checksum: sha1:268829fbf58bfb6daca59a0afad62917350a42ac src/Cvent/SDK/Models/Components/ExistingVenueAvailabilitySettings.cs: @@ -11143,7 +11249,7 @@ trackedFiles: src/Cvent/SDK/Models/Components/GuestRoomOccupancy.cs: last_write_checksum: sha1:d3609f8c8c3ba91fc7a6627a3a0ac873c262373b src/Cvent/SDK/Models/Components/GuestRoomOccupancyPerRoomType.cs: - last_write_checksum: sha1:ddb9e42affe02be34b8a0df3639f6e207af78db2 + last_write_checksum: sha1:ed619577fe8b93eca12a26f73baa955b2944a4ef src/Cvent/SDK/Models/Components/GuestRoomType.cs: last_write_checksum: sha1:5c745abcd7c15952d868ce82ae4ebdef85638444 src/Cvent/SDK/Models/Components/HTTPMetadata.cs: @@ -11332,6 +11438,30 @@ trackedFiles: last_write_checksum: sha1:7e70e347e954af292703e13fe9facad51a74e1a8 src/Cvent/SDK/Models/Components/Lead2.cs: last_write_checksum: sha1:9069c569143bed0abf09b876cf1a32d243243cc3 + src/Cvent/SDK/Models/Components/LeadCatcher.cs: + last_write_checksum: sha1:c9ffcb463e6f1d375166dbcdd003129bd02cb4e0 + src/Cvent/SDK/Models/Components/LeadCatcherAddress.cs: + last_write_checksum: sha1:608a00309d05ce31de747495a0fd5fd5af4530dd + src/Cvent/SDK/Models/Components/LeadCatcherAddressCountry.cs: + last_write_checksum: sha1:3a7b739a53d004e4cc427d15f45cdbb5a000a629 + src/Cvent/SDK/Models/Components/LeadCatcherAddressPatch.cs: + last_write_checksum: sha1:75852737d8665b3260f4ece6000476e2d37b35e2 + src/Cvent/SDK/Models/Components/LeadCatcherAddressStateProvince.cs: + last_write_checksum: sha1:1a2b11f6613bfba53a1819a734f77d3d6a321af6 + src/Cvent/SDK/Models/Components/LeadCatcherConfig.cs: + last_write_checksum: sha1:36ff003ef9a396b9f287aba3c0ea270acfd56afd + src/Cvent/SDK/Models/Components/LeadCatcherConfigPatch.cs: + last_write_checksum: sha1:405678009ba2c5c13ef3f7b1f440a317ab3180b3 + src/Cvent/SDK/Models/Components/LeadCatcherOverview.cs: + last_write_checksum: sha1:f8655f0c400ee01d7f5fe3234ff4f091188cdf45 + src/Cvent/SDK/Models/Components/LeadCatcherPatch.cs: + last_write_checksum: sha1:1e86220f3677a4fcb0782290dae1cf1e2d48a190 + src/Cvent/SDK/Models/Components/LeadCatcherPatchCountry.cs: + last_write_checksum: sha1:52a52906c4e583e79ee06994e35e5e7064de0113 + src/Cvent/SDK/Models/Components/LeadCatcherPatchStateProvince.cs: + last_write_checksum: sha1:8fe05b0c15d3e75840a1526033d8848300223662 + src/Cvent/SDK/Models/Components/LeadCatchersOverviewResponse.cs: + last_write_checksum: sha1:2d678e5647c174c4f3fce9aa5f1d784489cf752e src/Cvent/SDK/Models/Components/LeadInboundCreated.cs: id: 2ba747df4b27 last_write_checksum: sha1:e726a5d43492c9617a4675bc353afbc8e40a5163 @@ -11396,6 +11526,8 @@ trackedFiles: last_write_checksum: sha1:13afb7ac71044766f977ab25eb461cfc6bd81849 src/Cvent/SDK/Models/Components/LiveStreamStatus.cs: last_write_checksum: sha1:63a0d47cd31510f092f3df339b4f51bfa15be52e + src/Cvent/SDK/Models/Components/LocaleLanguageVariant.cs: + last_write_checksum: sha1:4dd574000429f4cd5f431be6e618f021837976be src/Cvent/SDK/Models/Components/Location1.cs: last_write_checksum: sha1:ad3d48fb7225dd86cb24d0ae6cd8385bdf5782df src/Cvent/SDK/Models/Components/Location1Input.cs: @@ -11984,13 +12116,17 @@ trackedFiles: last_write_checksum: sha1:001fc3ea135a3f6504080d3bb2f974b8e2d5198f src/Cvent/SDK/Models/Components/QuestionTypeJson.cs: last_write_checksum: sha1:dca0767fd376773c338aa5b755ebe06181c1dafd + src/Cvent/SDK/Models/Components/QuestionWithProgramId.cs: + last_write_checksum: sha1:56bdb378119426c9be421ac61962441d2549a432 + src/Cvent/SDK/Models/Components/QuestionWithProgramIdTravelProgram.cs: + last_write_checksum: sha1:3fcd2084db26f36a65e202a0d0762a3f2dd78b2a src/Cvent/SDK/Models/Components/QuestionsPaginatedResponse.cs: id: b38bea7454bf last_write_checksum: sha1:d1c0bd3f7bc6a4e749d92fd79477b430b07eb9c8 pristine_git_object: 24fc0fbbed2ecf807ad067c9fb5678e63da93322 src/Cvent/SDK/Models/Components/QuestionsPaginatedResponse1.cs: id: 3e7703c05491 - last_write_checksum: sha1:6d034038ecd0856dbb82c030ad997e2b35322b6e + last_write_checksum: sha1:eeac46842baa9131918274b9d9d600abb89a4fa6 pristine_git_object: 3723efbbdfd55a098436ec21edf19d3c9a9b376e src/Cvent/SDK/Models/Components/Rate.cs: id: 7400c0ed57f9 @@ -12211,7 +12347,7 @@ trackedFiles: src/Cvent/SDK/Models/Components/Rfp1.cs: last_write_checksum: sha1:a0049535bfe8ae8818dbd49b1ef2a9e2198fc2c4 src/Cvent/SDK/Models/Components/Rfp2.cs: - last_write_checksum: sha1:1739e715b5b1b0b7e04ea8cfba7dbfad1c9da3fe + last_write_checksum: sha1:720dfd7f34c2401f25fa68090e2396b24fa7c222 src/Cvent/SDK/Models/Components/RfpAgendaItem.cs: last_write_checksum: sha1:3fe0da4b7a3ac4cd2c3dc3c8bc2f09a299c15ce4 src/Cvent/SDK/Models/Components/RfpAgendaItemSchedule.cs: @@ -12243,7 +12379,7 @@ trackedFiles: src/Cvent/SDK/Models/Components/RfpPastEvents.cs: last_write_checksum: sha1:bd41d80834aa9ea81ae9bcc430822eabd189ee8f src/Cvent/SDK/Models/Components/RfpQuestion.cs: - last_write_checksum: sha1:b7d3c283825b69836c626db5113607f8c68d1b89 + last_write_checksum: sha1:6f963892724abc71a2e8fa957e9127f4a0396811 src/Cvent/SDK/Models/Components/RfpRecipientLogEntry.cs: last_write_checksum: sha1:cc235735e661ef03c4ec85898e19693d853d96bc src/Cvent/SDK/Models/Components/RfpRecipientLogEntryMessage.cs: @@ -12262,8 +12398,8 @@ trackedFiles: last_write_checksum: sha1:ef34cc5cf803e752ce09f76f8e0a6d4fb96d8837 src/Cvent/SDK/Models/Components/RfpSupplierStatus.cs: last_write_checksum: sha1:1335fbf46671b782d7c21db0758d9c0d12a9d35d - src/Cvent/SDK/Models/Components/RfpType1.cs: - last_write_checksum: sha1:5b8471744751d565bca4c8bbf0b05d79971410b1 + src/Cvent/SDK/Models/Components/RfpType.cs: + last_write_checksum: sha1:81f19cc814df4de065cdcdd1e63a9b9792c6b533 src/Cvent/SDK/Models/Components/RoomAttendeeType.cs: last_write_checksum: sha1:cfe2c342895da7cd6e5aae5cb5dc9e25f3cc9fcc src/Cvent/SDK/Models/Components/RoomBedType1.cs: @@ -13010,7 +13146,7 @@ trackedFiles: pristine_git_object: e73940420b46576413137ed1d7edea56e7b93317 src/Cvent/SDK/Models/Components/TravelProgram.cs: id: d3a3bd558d60 - last_write_checksum: sha1:30ce44edcb0510a30c88f1a95fc857aec15cde52 + last_write_checksum: sha1:a7e84d41b608dcbe3c35140592d511ae0d7b1057 pristine_git_object: a2647e77fe6dee192aaddaaf1250480d83ea1853 src/Cvent/SDK/Models/Components/TravelProgramFormatType.cs: last_write_checksum: sha1:306c11fd6eeb7abefeab675c6818390e032bfb55 @@ -13019,11 +13155,7 @@ trackedFiles: last_write_checksum: sha1:47d8ed6594f4e869b1ea308711b11a2b25b0bc92 pristine_git_object: ccd52a146aaa7ae8e8005b80c4a283cadc44e32f src/Cvent/SDK/Models/Components/TravelProgramQuestion.cs: - last_write_checksum: sha1:79498ff473ce7aeb75a0010b01be9fdb9394a9cd - src/Cvent/SDK/Models/Components/TravelProgramQuestion1.cs: - last_write_checksum: sha1:a510ada69c7d42a5a90fd6e124a7680f2e6a0c3a - src/Cvent/SDK/Models/Components/TravelProgramQuestionTravelProgram.cs: - last_write_checksum: sha1:6ba0f3045e30fa6ed56a1618d6de2185e7760a30 + last_write_checksum: sha1:f7fb8d781cf97aec494ffd0202fa5916c2917321 src/Cvent/SDK/Models/Components/TravelProgramStatus.cs: last_write_checksum: sha1:77a0143a7d272a31a6c1618221c000f5d27e5f80 src/Cvent/SDK/Models/Components/TravelProgramStayType.cs: @@ -13089,7 +13221,7 @@ trackedFiles: src/Cvent/SDK/Models/Components/TravelRequestStatus.cs: last_write_checksum: sha1:b6539169df62ea891a26e20a03b904dd5d9dc550 src/Cvent/SDK/Models/Components/TravelType.cs: - last_write_checksum: sha1:3f7b5efd8ffab16bd3789cb600f756b9f525477f + last_write_checksum: sha1:2a702ad18227c6ca1c993025dd46c5f46a817b78 src/Cvent/SDK/Models/Components/TypeAllOf.cs: last_write_checksum: sha1:ff4c9d3a6895cfdabb55638331910bb6223642fb src/Cvent/SDK/Models/Components/TypeInput.cs: @@ -13176,6 +13308,36 @@ trackedFiles: id: 2a55565c9af7 last_write_checksum: sha1:90e9cfdc098ee0c77b29c894434b80e1564cd829 pristine_git_object: 7edacd15abc2b3a3629fa1388175104ed6b72529 + src/Cvent/SDK/Models/Components/VenueAmenityAVCapability.cs: + last_write_checksum: sha1:766628f59de677ba974e6167ba09bf1ee0dec3f8 + src/Cvent/SDK/Models/Components/VenueAmenityAlcohol.cs: + last_write_checksum: sha1:8e3e2aa962316326d0e8a8d28315e35302ee8b6e + src/Cvent/SDK/Models/Components/VenueAmenityAvCapabilityItem.cs: + last_write_checksum: sha1:53d0795d2187d8cc8a02d706af3745ec15e7a843 + src/Cvent/SDK/Models/Components/VenueAmenityBusinessService.cs: + last_write_checksum: sha1:90574695d97364aaf2a786ec7eb2548987004f5c + src/Cvent/SDK/Models/Components/VenueAmenityCateringDetail.cs: + last_write_checksum: sha1:93d7e38e2bf265c4ebad745ae990715a7e83feb6 + src/Cvent/SDK/Models/Components/VenueAmenityEquipment.cs: + last_write_checksum: sha1:60b15966f0ae950ec999a2603d63ea51663aa969 + src/Cvent/SDK/Models/Components/VenueAmenityFacilityInfo.cs: + last_write_checksum: sha1:cce2bf886d279ad4e79bf5827b07c3a0f4254f3c + src/Cvent/SDK/Models/Components/VenueAmenityFacilitySpace.cs: + last_write_checksum: sha1:2d94559d01e2820a21ff6c2a5b1b90a4f82cb6ce + src/Cvent/SDK/Models/Components/VenueAmenityFacilitySpaceItem.cs: + last_write_checksum: sha1:3df07183404d54c3021ce8df916efb328ecc0e4c + src/Cvent/SDK/Models/Components/VenueAmenityParking.cs: + last_write_checksum: sha1:9f0cd342dd6675c62eb37345244203e1e29019c1 + src/Cvent/SDK/Models/Components/VenueAmenityParkingItem.cs: + last_write_checksum: sha1:062aa3e11d6335e0f72b116975513b3f14976a6e + src/Cvent/SDK/Models/Components/VenueAmenityProvisionPolicy.cs: + last_write_checksum: sha1:674498264e3ec7b414b79b42501ab5bdc496ac3c + src/Cvent/SDK/Models/Components/VenueAmenityRecreationalActivity.cs: + last_write_checksum: sha1:d76c191bac90efdaed9b47cf80cc6e2831fc1327 + src/Cvent/SDK/Models/Components/VenueAmenityRoomFeature.cs: + last_write_checksum: sha1:b5a02cbe7e0aa3c4eeea38f6c951eec30bec4d5b + src/Cvent/SDK/Models/Components/VenueAmenityTransportation.cs: + last_write_checksum: sha1:8ea070ac4cc719271a921e3638da816ac3ebd5c5 src/Cvent/SDK/Models/Components/VenueAttraction.cs: last_write_checksum: sha1:54b245a3946936a03bf7d5ed5591a436a623c9a1 src/Cvent/SDK/Models/Components/VenueAttractionType.cs: @@ -13764,6 +13926,10 @@ trackedFiles: id: df1b10a85bf4 last_write_checksum: sha1:e7943281017e0714caee61ae00fba451e9f37377 pristine_git_object: 661dfa96020434fef75c620c71d1e005cd7e8d7a + src/Cvent/SDK/Models/Requests/CreateLeadCatcherRequest.cs: + last_write_checksum: sha1:ec2a3328c76975394408ea6ea5d463bfd34a22c4 + src/Cvent/SDK/Models/Requests/CreateLeadCatcherResponse.cs: + last_write_checksum: sha1:0fc23db9f60f0c636592605b714487f9ddb5e37c src/Cvent/SDK/Models/Requests/CreateMeetingRequestRequest.cs: id: 927a3562838e last_write_checksum: sha1:261b4e7671711dc9ea51c160fdabfcb8cff5bebd @@ -14032,6 +14198,10 @@ trackedFiles: id: b4620af5551f last_write_checksum: sha1:c4614b63613a2393dc4e51993d6ccb12129f944c pristine_git_object: 996674ee42cfcc56d38e28663323d33097f99f7a + src/Cvent/SDK/Models/Requests/DeleteLeadCatcherRequest.cs: + last_write_checksum: sha1:4fe17ea4284b407f184d143d1ef329efa9c19cef + src/Cvent/SDK/Models/Requests/DeleteLeadCatcherResponse.cs: + last_write_checksum: sha1:b8ef6ace2bc8bfd996171fc9881cfb227f0e9468 src/Cvent/SDK/Models/Requests/DeletePaymentRequest.cs: id: 8749f6d19473 last_write_checksum: sha1:05fa0e38aa420c736784e9b186dbf80d7d4e75eb @@ -14834,7 +15004,7 @@ trackedFiles: pristine_git_object: 663aaa831af71b04a00e4b770776d3460f0de1bf src/Cvent/SDK/Models/Requests/GetHousingEventHotelAvailabilityRequest.cs: id: 91d67ba8485f - last_write_checksum: sha1:f0e26861abce7f4f39b998a0d30192f584288cbf + last_write_checksum: sha1:19408eeae82f20242961abf2276b1046f3d3da25 pristine_git_object: 72d0faac7121a70c05f55b05d197747de454d068 src/Cvent/SDK/Models/Requests/GetHousingEventHotelAvailabilityResponse.cs: id: 9561386f2286 @@ -14928,6 +15098,10 @@ trackedFiles: id: d2091cbde36c last_write_checksum: sha1:ae335b7edbad847597aa158d5279d97aa10af716 pristine_git_object: 5d2a4c12eadfcfd39920ed0534e7460630ba31b9 + src/Cvent/SDK/Models/Requests/GetLeadCatcherOverviewRequest.cs: + last_write_checksum: sha1:69a2f97897db317ae4dc133904e59e2dc469a087 + src/Cvent/SDK/Models/Requests/GetLeadCatcherOverviewResponse.cs: + last_write_checksum: sha1:e8c3eae0ccd3cb1131c7ac9b55991f9a0e83b7d9 src/Cvent/SDK/Models/Requests/GetLeadQualificationAnswersRequest.cs: id: ea1a4e82c6e2 last_write_checksum: sha1:51d045f979fd49eb4b993a9de6fac152a0a0e28c @@ -15428,6 +15602,10 @@ trackedFiles: id: 90c3d3328b9e last_write_checksum: sha1:77619087b3adffe81d213b98fa1e358a35e12bbf pristine_git_object: 939beae2f24c66480a6f7821d9a0f726f5e2c32c + src/Cvent/SDK/Models/Requests/GetVenueAmenitiesRequest.cs: + last_write_checksum: sha1:af105f91631faf74227bfe7a3c1c39f33c736e6c + src/Cvent/SDK/Models/Requests/GetVenueAmenitiesResponse.cs: + last_write_checksum: sha1:b4ba0e2568629ad5781cf4ed48925985eab7d178 src/Cvent/SDK/Models/Requests/GetVenueAttractionRequest.cs: last_write_checksum: sha1:e9927560911a507d81dc68ba5dc81917a3eaedb4 src/Cvent/SDK/Models/Requests/GetVenueAttractionResponse.cs: @@ -15578,7 +15756,7 @@ trackedFiles: pristine_git_object: daa8119ed60f893ba5f88b599c928cbd0d50bb85 src/Cvent/SDK/Models/Requests/ListAttendeesPostFilterRequest.cs: id: 0bd554f11a52 - last_write_checksum: sha1:c929c8bde5a01415799ff7128440566e1019589c + last_write_checksum: sha1:0a257bfcddfbf9269e44d198b1533ecb4da10193 pristine_git_object: d5e90b6f849790752ef19e2b1e1059fae0f6b993 src/Cvent/SDK/Models/Requests/ListAttendeesPostFilterResponse.cs: id: f94f996c672c @@ -15844,6 +16022,10 @@ trackedFiles: id: f72542116b45 last_write_checksum: sha1:975da8ccb2b2e1ea5d19fb38af423b2bd22714e5 pristine_git_object: 0e170b75c2e77c7c2e818c7efc82f323fbc25d42 + src/Cvent/SDK/Models/Requests/ListLeadCatchersOverviewRequest.cs: + last_write_checksum: sha1:aeffedde2adb24d3ea7eebdea1f931dc2f8a4004 + src/Cvent/SDK/Models/Requests/ListLeadCatchersOverviewResponse.cs: + last_write_checksum: sha1:6f451ad4ea40a8dd2402c907ee338e1341a467c1 src/Cvent/SDK/Models/Requests/ListLocationsRequest.cs: id: 8fab233d2528 last_write_checksum: sha1:bf73373b6eb107289255ff313eed4319f621602c @@ -16316,6 +16498,10 @@ trackedFiles: id: 8664e03c73c4 last_write_checksum: sha1:d305f82259dd60080243e10ac6ae42b2578c5c49 pristine_git_object: f641b54093c1b925b9c70eb3e47be58fa4781eaf + src/Cvent/SDK/Models/Requests/PatchLeadCatcherRequest.cs: + last_write_checksum: sha1:19fe60c088b1abad8604a69573a74e845f0818b4 + src/Cvent/SDK/Models/Requests/PatchLeadCatcherResponse.cs: + last_write_checksum: sha1:ec307fd4b40c0e2cc1563db2eddcaa437faa7aa5 src/Cvent/SDK/Models/Requests/PatchMeetingRoomRequest.cs: last_write_checksum: sha1:a0ce5088114fde99f0eadf684a53a78f042d83cb src/Cvent/SDK/Models/Requests/PatchMeetingRoomResponse.cs: @@ -16776,6 +16962,10 @@ trackedFiles: id: db049b98af1a last_write_checksum: sha1:3947f7f3a3d1f06d81ba4de0383b637c400e430f pristine_git_object: fda93ab1a1da0639df300ed6e8d547814820cfa6 + src/Cvent/SDK/Models/Requests/UpdateLeadCatcherRequest.cs: + last_write_checksum: sha1:d6f79dc64fc751af1527efe3677742ea9d6ec79c + src/Cvent/SDK/Models/Requests/UpdateLeadCatcherResponse.cs: + last_write_checksum: sha1:85038a2406058a189db36092f1626fc2445ae873 src/Cvent/SDK/Models/Requests/UpdateMeetingRequestRequest.cs: id: 3ce07ca8b7a1 last_write_checksum: sha1:821fa648ca4a477defe2b92ed94ac142da117ca8 @@ -16908,6 +17098,10 @@ trackedFiles: id: 77e8f028ac65 last_write_checksum: sha1:45df933ebf103fbda2a95253ac02364dac9e486f pristine_git_object: ad9ffcf9dd69f4ce34731b8e7f5b1fe170f2edf4 + src/Cvent/SDK/Models/Requests/UpdateVenueAmenitiesRequest.cs: + last_write_checksum: sha1:16ac3b5ba3b92cdb17d86c697145cafc958aa702 + src/Cvent/SDK/Models/Requests/UpdateVenueAmenitiesResponse.cs: + last_write_checksum: sha1:a54d6b2dad6c2ff78971a2599ca0f34018ae93ab src/Cvent/SDK/Models/Requests/UpdateVenueAttractionRequest.cs: last_write_checksum: sha1:00abd0f7340fc2e8bd2d7fb71b42d37e3f4dd53b src/Cvent/SDK/Models/Requests/UpdateVenueAttractionResponse.cs: @@ -16980,7 +17174,7 @@ trackedFiles: last_write_checksum: sha1:729557ecc2fc3c7455b0449a5706b0d91c274dad src/Cvent/SDK/SDKConfig.cs: id: 7ad7086454a8 - last_write_checksum: sha1:16594dd306ba66ea39982e677edac07bf02e4d2c + last_write_checksum: sha1:5315c3c9c4f19cb6ca3b1d78cd606a877d1781f6 pristine_git_object: 796c23cd551fbe87f613d89d60ed25ac5fe0c54b src/Cvent/SDK/Seating.cs: id: 01c249fc2746 @@ -17038,7 +17232,7 @@ trackedFiles: pristine_git_object: a75f770b33edd25c0fa4d4a77ab523da12d269ba src/Cvent/SDK/Utils/Constants.cs: id: 231d94d8a5dc - last_write_checksum: sha1:0a15bf594f24de50a2e23efb14e9c60f339a63c4 + last_write_checksum: sha1:e8bbabac717bf919720b5c404ad63aa656096d4d pristine_git_object: 0a54932893793a10e459afbc15920803cff3ed1e src/Cvent/SDK/Utils/CventSDKHttpClient.cs: id: 374fee4fdbaf @@ -17107,7 +17301,9 @@ trackedFiles: src/Cvent/SDK/VenueAvailability.cs: last_write_checksum: sha1:85c14a8aecad916024153bbe65225937c79bda0e src/Cvent/SDK/VenueContent.cs: - last_write_checksum: sha1:adee6ed6a05315558641d647c9ae8f2670348951 + last_write_checksum: sha1:77638e143421d29253a10a27b95c7e87294196f0 + src/Cvent/SDK/VenueLeads.cs: + last_write_checksum: sha1:32d8c1c8bfa14035a30c667e7d3d40f92f53af95 src/Cvent/SDK/VenueMeetingRooms.cs: last_write_checksum: sha1:1cf89f9df6a5eba93f9c95d53f19e5b1aecf62e7 src/Cvent/SDK/VenueProfiles.cs: @@ -22473,7 +22669,7 @@ examples: token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a" responses: "200": - application/json: {"paging": {"previousToken": "1a2b3c4d5e6f7g8h9i10j11k", "nextToken": "1a2b3c4d5e6f7g8h9i10j11k", "currentToken": "1a2b3c4d5e6f7g8h9i10j11k", "limit": 100, "totalCount": 2, "_links": {"next": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "self": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "prev": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}}, "data": [{"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "htmlText": "Question Html", "code": "4l6x", "type": "SingleChoice", "choices": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "label": "Choice A"}], "categories": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "required": true}], "subCategories": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?"}], "notApplicableAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "otherAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "comments": "Comments Text", "required": true, "fields": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "choices": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "label": "Choice A"}], "notApplicableAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "otherAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "required": true}], "maxScore": 20, "totalSum": 45, "minSelection": 1, "maxSelection": 3, "minDate": "2020-01-01", "maxDate": "2020-12-31", "showDateSelector": true, "showCurrentDate": true, "dateAnswerFormat": "DateTime", "unitLabel": "miles", "minLength": 5, "maxLength": 100, "customAnswerFormat": {"id": 104}, "supplierTypes": ["CVB", "HOTEL"], "order": 1, "standardQuestion": {"id": "50dc08af-24a9-4d01-84be-3d43133dc945"}, "aiQuestionGenerationSource": "MCP-Visual Studio Code/1.107.1"}]} + application/json: {"paging": {"previousToken": "1a2b3c4d5e6f7g8h9i10j11k", "nextToken": "1a2b3c4d5e6f7g8h9i10j11k", "currentToken": "1a2b3c4d5e6f7g8h9i10j11k", "limit": 100, "totalCount": 2, "_links": {"next": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "self": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "prev": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}}, "data": [{"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "htmlText": "Question Html", "code": "4l6x", "type": "SingleChoice", "choices": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "label": "Choice A"}], "categories": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "required": true}], "subCategories": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?"}], "notApplicableAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "otherAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "comments": "Comments Text", "required": true, "fields": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "choices": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "label": "Choice A"}], "notApplicableAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "otherAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "required": true}], "maxScore": 20, "totalSum": 45, "minSelection": 1, "maxSelection": 3, "minDate": "2020-01-01", "maxDate": "2020-12-31", "showDateSelector": true, "showCurrentDate": true, "dateAnswerFormat": "DateTime", "unitLabel": "miles", "minLength": 5, "maxLength": 100, "customAnswerFormat": {"id": 104}, "supplierTypes": ["CVB", "HOTEL"], "classificationType": "MEETING_ROOM", "order": 1, "standardQuestion": {"id": "50dc08af-24a9-4d01-84be-3d43133dc945"}, "aiQuestionGenerationSource": "MCP-Visual Studio Code/1.107.1"}]} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} listRfpPastEvents: @@ -23278,6 +23474,99 @@ examples: application/json: {"id": "501fbc6a-cfd4-468f-a2f7-14e521d33c71", "platformUserId": "00ad83olslLwIeKcW1m8", "username": "jsmith@example.com", "federatedSsoLoginName": "jsmith@example.com", "contact": {"honorificPrefix": "Mr.", "firstName": "Jack", "middleName": "John", "lastName": "Tripper", "title": "Senior Software Engineer", "organization": "Cvent", "email": "jack.tripper@example.com", "homePhone": "+17035551234", "homeFax": "+17035551234", "mobilePhone": "+17035551234", "workPhone": "+17035551234", "workFax": "+17035551234", "pager": "+17035551234", "address": {"address1": "1765 Greensboro Station Pl", "address2": "7th Floor", "address3": "", "city": "McLean", "countryCode": "US", "regionCode": "VA", "postalCode": "22102"}}, "locale": "en-US", "timezone": "America/New_York", "active": false, "usernameVerified": true, "emailVerified": "VERIFIED", "lockedOut": false, "termsOfUseAccepted": true, "failedLoginCount": 1, "markDocumentsAsInternal": false, "visibilityAccess": [], "audit": {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "lockedOutDate": "2017-01-02T02:00:00Z", "termsOfUseAcceptedDate": "2017-01-02T02:00:00Z", "lastLoginDate": "2017-01-02T02:00:00Z", "passwordLastModifiedDate": "2017-01-02T02:00:00Z"}, "customFields": [{"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "name": "What is your favorite color?", "type": "Choice - Multiple Answers", "values": ["Choice C", "Choice A"], "order": 1}], "role": {"id": "946505f6-6b29-421a-bda2-0815fcdea73c"}} "401": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + getVenueAmenities: + speakeasy-default-get-venue-amenities: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + responses: + "200": + application/json: {"avCapabilities": [{"amenity": "ONSITE_AV_STAFF", "speed": 1000}], "parking": [{"amenity": "COMPLIMENTARY_PARKING_PROVIDED", "cost": 25}], "facilitySpaceInfo": [{"amenity": "OUTDOOR_SPACE", "value": 5000}], "id": "6bb0e2db-861f-46e3-a923-eb4d959ffa00", "name": "Harbor View Convention Center"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + updateVenueAmenities: + speakeasy-default-update-venue-amenities: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + requestBody: + application/json: {"avCapabilities": [{"amenity": "ONSITE_AV_STAFF", "speed": 1000}], "parking": [{"amenity": "BUS_PARKING_AVAILABLE", "cost": 25}], "facilitySpaceInfo": [{"amenity": "OUTDOOR_SPACE", "value": 5000}]} + responses: + "200": + application/json: {"avCapabilities": [{"amenity": "ONSITE_AV_STAFF", "speed": 1000}], "parking": [{"amenity": "BUS_PARKING_AVAILABLE", "cost": 25}], "facilitySpaceInfo": [{"amenity": "OUTDOOR_SPACE", "value": 5000}], "id": "6bb0e2db-861f-46e3-a923-eb4d959ffa00", "name": "Harbor View Convention Center"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + createLeadCatcher: + speakeasy-default-create-lead-catcher: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + requestBody: + application/json: {"firstName": "Jane", "lastName": "Smith", "title": "Director of Sales", "email": "jane.smith@example.com", "phone": "+1-555-555-0101", "fax": "+1-555-555-0101", "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182"}, "locale": "en-US", "config": {"rfpEmailEnabled": true, "pdfLinkEnabled": true, "supplierContactRole": "Sales Manager"}, "additionalInfo": "Preferred contact for APAC venues."} + responses: + "201": + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "firstName": "Jane", "lastName": "Smith", "title": "Director of Sales", "email": "jane.smith@example.com", "phone": "+1-555-555-0101", "fax": "+1-555-555-0101", "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182"}, "locale": "en-US", "config": {"rfpEmailEnabled": true, "pdfLinkEnabled": true, "supplierContactRole": "Sales Manager"}, "additionalInfo": "Preferred contact for APAC venues.", "id": "7e5c2c23-b2bb-461a-adc9-025184988519"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + listLeadCatchersOverview: + speakeasy-default-list-lead-catchers-overview: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + query: + limit: 100 + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a" + responses: + "200": + application/json: {"paging": {"previousToken": "1a2b3c4d5e6f7g8h9i10j11k", "nextToken": "1a2b3c4d5e6f7g8h9i10j11k", "currentToken": "1a2b3c4d5e6f7g8h9i10j11k", "limit": 100, "totalCount": 2, "_links": {"next": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "self": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "prev": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}}, "data": [{"id": "7e5c2c23-b2bb-461a-adc9-025184988519", "firstName": "Jane", "lastName": "Smith"}]} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + updateLeadCatcher: + speakeasy-default-update-lead-catcher: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + leadCatcherId: "6e7d0d64-13f7-4472-8308-fa7067dba173" + requestBody: + application/json: {"firstName": "Jane", "lastName": "Smith", "title": "Director of Sales", "email": "jane.smith@example.com", "phone": "+1-555-555-0101", "fax": "+1-555-555-0101", "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182"}, "locale": "en-US", "config": {"rfpEmailEnabled": true, "pdfLinkEnabled": true, "supplierContactRole": "Sales Manager"}, "additionalInfo": "Preferred contact for APAC venues."} + responses: + "200": + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "firstName": "Jane", "lastName": "Smith", "title": "Director of Sales", "email": "jane.smith@example.com", "phone": "+1-555-555-0101", "fax": "+1-555-555-0101", "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182"}, "locale": "en-US", "config": {"rfpEmailEnabled": true, "pdfLinkEnabled": true, "supplierContactRole": "Sales Manager"}, "additionalInfo": "Preferred contact for APAC venues.", "id": "7e5c2c23-b2bb-461a-adc9-025184988519"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + patchLeadCatcher: + speakeasy-default-patch-lead-catcher: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + leadCatcherId: "f72c984a-4f55-4563-90e5-7e34a3be1552" + requestBody: + application/merge-patch+json: {"firstName": "Jane", "lastName": "Smith", "title": "Director of Sales", "email": "jane.smith@example.com", "phone": "+1-555-0100", "fax": "+1-555-0101", "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182"}, "locale": "en-US", "config": {"rfpEmailEnabled": true, "pdfLinkEnabled": true, "supplierContactRole": "roleName"}, "additionalInfo": "Preferred contact for APAC venues."} + responses: + "200": + application/json: {"firstName": "Jane", "lastName": "Smith", "title": "Director of Sales", "email": "jane.smith@example.com", "phone": "+1-555-0100", "fax": "+1-555-0101", "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182"}, "locale": "en-US", "config": {"rfpEmailEnabled": true, "pdfLinkEnabled": true, "supplierContactRole": "roleName"}, "additionalInfo": "Preferred contact for APAC venues."} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + deleteLeadCatcher: + speakeasy-default-delete-lead-catcher: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + leadCatcherId: "d7aa3fa0-4c8f-4353-9810-3984886b6a9d" + responses: + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + getLeadCatcherOverview: + speakeasy-default-get-lead-catcher-overview: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + leadCatcherId: "7de41b14-8083-46d4-91b6-5a3239d59277" + responses: + "200": + application/json: {"id": "7e5c2c23-b2bb-461a-adc9-025184988519", "firstName": "Jane", "lastName": "Smith"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} examplesVersion: 1.0.2 generatedTests: getAccountUserGroups: "2026-02-27T14:14:25-04:00" @@ -23719,3 +24008,10 @@ generatedTests: listAccountUsers-combined: "2026-10-15T14:35:09-04:00" listAccountUsers: "2026-10-15T14:35:09-04:00" getAccountUser: "2026-10-15T14:35:09-04:00" + getVenueAmenities: "2026-10-23T14:12:57-04:00" + updateVenueAmenities: "2026-10-23T14:12:57-04:00" + createLeadCatcher: "2026-10-23T14:12:57-04:00" + listLeadCatchersOverview: "2026-10-23T14:12:57-04:00" + updateLeadCatcher: "2026-10-23T14:12:57-04:00" + patchLeadCatcher: "2026-10-23T14:12:57-04:00" + getLeadCatcherOverview: "2026-10-23T14:12:57-04:00" diff --git a/packages/csharp/.speakeasy/gen.yaml b/packages/csharp/.speakeasy/gen.yaml index ace859c21..ee6557b02 100644 --- a/packages/csharp/.speakeasy/gen.yaml +++ b/packages/csharp/.speakeasy/gen.yaml @@ -34,7 +34,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: false csharp: - version: 1.6.5 + version: 1.6.6 additionalDependencies: [] author: Cvent baseErrorName: CventSDKException diff --git a/packages/csharp/.speakeasy/tests.arazzo.yaml b/packages/csharp/.speakeasy/tests.arazzo.yaml index cd02decde..c9994fa52 100644 --- a/packages/csharp/.speakeasy/tests.arazzo.yaml +++ b/packages/csharp/.speakeasy/tests.arazzo.yaml @@ -10571,7 +10571,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - {"paging":{"previousToken":"1a2b3c4d5e6f7g8h9i10j11k","nextToken":"1a2b3c4d5e6f7g8h9i10j11k","currentToken":"1a2b3c4d5e6f7g8h9i10j11k","limit":100,"totalCount":2,"_links":{"next":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"self":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"prev":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}},"data":[{"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","htmlText":"Question Html","code":"4l6x","type":"SingleChoice","choices":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","label":"Choice A"}],"categories":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","required":true}],"subCategories":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?"}],"notApplicableAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"otherAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"comments":"Comments Text","required":true,"fields":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","choices":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","label":"Choice A"}],"notApplicableAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"otherAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"required":true}],"maxScore":20,"totalSum":45,"minSelection":1,"maxSelection":3,"minDate":"2020-01-01","maxDate":"2020-12-31","showDateSelector":true,"showCurrentDate":true,"dateAnswerFormat":"DateTime","unitLabel":"miles","minLength":5,"maxLength":100,"customAnswerFormat":{"id":104},"supplierTypes":["CVB","HOTEL"],"order":1,"standardQuestion":{"id":"50dc08af-24a9-4d01-84be-3d43133dc945"},"aiQuestionGenerationSource":"MCP-Visual Studio Code/1.107.1"}]} + {"paging":{"previousToken":"1a2b3c4d5e6f7g8h9i10j11k","nextToken":"1a2b3c4d5e6f7g8h9i10j11k","currentToken":"1a2b3c4d5e6f7g8h9i10j11k","limit":100,"totalCount":2,"_links":{"next":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"self":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"prev":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}},"data":[{"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","htmlText":"Question Html","code":"4l6x","type":"SingleChoice","choices":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","label":"Choice A"}],"categories":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","required":true}],"subCategories":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?"}],"notApplicableAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"otherAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"comments":"Comments Text","required":true,"fields":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","choices":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","label":"Choice A"}],"notApplicableAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"otherAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"required":true}],"maxScore":20,"totalSum":45,"minSelection":1,"maxSelection":3,"minDate":"2020-01-01","maxDate":"2020-12-31","showDateSelector":true,"showCurrentDate":true,"dateAnswerFormat":"DateTime","unitLabel":"miles","minLength":5,"maxLength":100,"customAnswerFormat":{"id":104},"supplierTypes":["CVB","HOTEL"],"classificationType":"MEETING_ROOM","order":1,"standardQuestion":{"id":"50dc08af-24a9-4d01-84be-3d43133dc945"},"aiQuestionGenerationSource":"MCP-Visual Studio Code/1.107.1"}]} type: simple x-speakeasy-test-group: RFP Requirements x-speakeasy-test-rebuild: true @@ -12205,3 +12205,209 @@ workflows: type: simple x-speakeasy-test-group: Users x-speakeasy-test-rebuild: true + - workflowId: getVenueAmenities + steps: + - stepId: test + operationId: getVenueAmenities + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"avCapabilities":[{"amenity":"ONSITE_AV_STAFF","speed":1000}],"parking":[{"amenity":"COMPLIMENTARY_PARKING_PROVIDED","cost":25}],"facilitySpaceInfo":[{"amenity":"OUTDOOR_SPACE","value":5000}],"id":"6bb0e2db-861f-46e3-a923-eb4d959ffa00","name":"Harbor View Convention Center"} + type: simple + x-speakeasy-test-group: Venue Content + x-speakeasy-test-rebuild: true + - workflowId: updateVenueAmenities + steps: + - stepId: test + operationId: updateVenueAmenities + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + requestBody: + contentType: application/json + payload: + avCapabilities: + - amenity: ONSITE_AV_STAFF + speed: 1000 + facilitySpaceInfo: + - amenity: OUTDOOR_SPACE + value: 5000 + parking: + - amenity: BUS_PARKING_AVAILABLE + cost: 25 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"avCapabilities":[{"amenity":"ONSITE_AV_STAFF","speed":1000}],"parking":[{"amenity":"BUS_PARKING_AVAILABLE","cost":25}],"facilitySpaceInfo":[{"amenity":"OUTDOOR_SPACE","value":5000}],"id":"6bb0e2db-861f-46e3-a923-eb4d959ffa00","name":"Harbor View Convention Center"} + type: simple + x-speakeasy-test-group: Venue Content + x-speakeasy-test-rebuild: true + - workflowId: createLeadCatcher + steps: + - stepId: test + operationId: createLeadCatcher + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + requestBody: + contentType: application/json + payload: + additionalInfo: Preferred contact for APAC venues. + address: + city: Vienna + streetAddress1: 1234 Trap Road + streetAddress2: Suite 100 + zipPostalCode: "22182" + config: + pdfLinkEnabled: true + rfpEmailEnabled: true + supplierContactRole: Sales Manager + email: jane.smith@example.com + fax: +1-555-555-0101 + firstName: Jane + lastName: Smith + locale: en-US + phone: +1-555-555-0101 + title: Director of Sales + successCriteria: + - condition: $statusCode == 201 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","firstName":"Jane","lastName":"Smith","title":"Director of Sales","email":"jane.smith@example.com","phone":"+1-555-555-0101","fax":"+1-555-555-0101","address":{"streetAddress1":"1234 Trap Road","streetAddress2":"Suite 100","city":"Vienna","zipPostalCode":"22182"},"locale":"en-US","config":{"rfpEmailEnabled":true,"pdfLinkEnabled":true,"supplierContactRole":"Sales Manager"},"additionalInfo":"Preferred contact for APAC venues.","id":"7e5c2c23-b2bb-461a-adc9-025184988519"} + type: simple + x-speakeasy-test-group: Venue Leads + x-speakeasy-test-rebuild: true + - workflowId: listLeadCatchersOverview + steps: + - stepId: test + operationId: listLeadCatchersOverview + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: limit + in: query + value: 100 + - name: token + in: query + value: 0e28af57-511f-47ab-ae46-46cd1ca51a1a + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"paging":{"previousToken":"1a2b3c4d5e6f7g8h9i10j11k","nextToken":"1a2b3c4d5e6f7g8h9i10j11k","currentToken":"1a2b3c4d5e6f7g8h9i10j11k","limit":100,"totalCount":2,"_links":{"next":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"self":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"prev":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}},"data":[{"id":"7e5c2c23-b2bb-461a-adc9-025184988519","firstName":"Jane","lastName":"Smith"}]} + type: simple + x-speakeasy-test-group: Venue Leads + x-speakeasy-test-rebuild: true + - workflowId: updateLeadCatcher + steps: + - stepId: test + operationId: updateLeadCatcher + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: leadCatcherId + in: path + value: 6e7d0d64-13f7-4472-8308-fa7067dba173 + requestBody: + contentType: application/json + payload: + additionalInfo: Preferred contact for APAC venues. + address: + city: Vienna + streetAddress1: 1234 Trap Road + streetAddress2: Suite 100 + zipPostalCode: "22182" + config: + pdfLinkEnabled: true + rfpEmailEnabled: true + supplierContactRole: Sales Manager + email: jane.smith@example.com + fax: +1-555-555-0101 + firstName: Jane + lastName: Smith + locale: en-US + phone: +1-555-555-0101 + title: Director of Sales + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","firstName":"Jane","lastName":"Smith","title":"Director of Sales","email":"jane.smith@example.com","phone":"+1-555-555-0101","fax":"+1-555-555-0101","address":{"streetAddress1":"1234 Trap Road","streetAddress2":"Suite 100","city":"Vienna","zipPostalCode":"22182"},"locale":"en-US","config":{"rfpEmailEnabled":true,"pdfLinkEnabled":true,"supplierContactRole":"Sales Manager"},"additionalInfo":"Preferred contact for APAC venues.","id":"7e5c2c23-b2bb-461a-adc9-025184988519"} + type: simple + x-speakeasy-test-group: Venue Leads + x-speakeasy-test-rebuild: true + - workflowId: patchLeadCatcher + steps: + - stepId: test + operationId: patchLeadCatcher + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: leadCatcherId + in: path + value: f72c984a-4f55-4563-90e5-7e34a3be1552 + requestBody: + contentType: application/merge-patch+json + payload: + additionalInfo: Preferred contact for APAC venues. + address: + city: Vienna + streetAddress1: 1234 Trap Road + streetAddress2: Suite 100 + zipPostalCode: "22182" + config: + pdfLinkEnabled: true + rfpEmailEnabled: true + supplierContactRole: roleName + email: jane.smith@example.com + fax: +1-555-0101 + firstName: Jane + lastName: Smith + locale: en-US + phone: +1-555-0100 + title: Director of Sales + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"firstName":"Jane","lastName":"Smith","title":"Director of Sales","email":"jane.smith@example.com","phone":"+1-555-0100","fax":"+1-555-0101","address":{"streetAddress1":"1234 Trap Road","streetAddress2":"Suite 100","city":"Vienna","zipPostalCode":"22182"},"locale":"en-US","config":{"rfpEmailEnabled":true,"pdfLinkEnabled":true,"supplierContactRole":"roleName"},"additionalInfo":"Preferred contact for APAC venues."} + type: simple + x-speakeasy-test-group: Venue Leads + x-speakeasy-test-rebuild: true + - workflowId: getLeadCatcherOverview + steps: + - stepId: test + operationId: getLeadCatcherOverview + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: leadCatcherId + in: path + value: 7de41b14-8083-46d4-91b6-5a3239d59277 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"id":"7e5c2c23-b2bb-461a-adc9-025184988519","firstName":"Jane","lastName":"Smith"} + type: simple + x-speakeasy-test-group: Venue Leads + x-speakeasy-test-rebuild: true diff --git a/packages/csharp/NUGET.md b/packages/csharp/NUGET.md index 0d349c5d5..617578af1 100644 --- a/packages/csharp/NUGET.md +++ b/packages/csharp/NUGET.md @@ -326,10 +326,10 @@ catch (System.Net.Http.HttpRequestException ex) * [`System.Net.Http.HttpRequestException`](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httprequestexception): Network connectivity error. For more details about the underlying cause, inspect the `ex.InnerException`. * Inheriting from [`CventSDKException`](./src/Cvent/SDK/Models/Errors/CventSDKException.cs): - * [`ErrorResponse`](./src/Cvent/SDK/Models/Errors/ErrorResponse.cs): Represents an error response with additional details of cascading error messages. Applicable to 18 of 499 methods.* - * [`ErrorResponse17`](./src/Cvent/SDK/Models/Errors/ErrorResponse17.cs): The error response. Applicable to 11 of 499 methods.* - * [`SegmentsErrorResponse`](./src/Cvent/SDK/Models/Errors/SegmentsErrorResponse.cs): Segments error response details. Status code `400`. Applicable to 2 of 499 methods.* - * [`Oauth2TokenPostResponse0Exception`](./src/Cvent/SDK/Models/Errors/Oauth2TokenPostResponse0Exception.cs): A bad token response. Status code `400`. Applicable to 1 of 499 methods.* + * [`ErrorResponse`](./src/Cvent/SDK/Models/Errors/ErrorResponse.cs): Represents an error response with additional details of cascading error messages. Applicable to 18 of 507 methods.* + * [`ErrorResponse17`](./src/Cvent/SDK/Models/Errors/ErrorResponse17.cs): The error response. Applicable to 11 of 507 methods.* + * [`SegmentsErrorResponse`](./src/Cvent/SDK/Models/Errors/SegmentsErrorResponse.cs): Segments error response details. Status code `400`. Applicable to 2 of 507 methods.* + * [`Oauth2TokenPostResponse0Exception`](./src/Cvent/SDK/Models/Errors/Oauth2TokenPostResponse0Exception.cs): A bad token response. Status code `400`. Applicable to 1 of 507 methods.* * [`ResponseValidationError`](./src/Cvent/SDK/Models/Errors/ResponseValidationError.cs): Thrown when the response data could not be deserialized into the expected type. \* Refer to the [relevant documentation](#available-resources-and-operations) to determine whether an exception applies to a specific operation. diff --git a/packages/csharp/README.md b/packages/csharp/README.md index c46e36cb5..0c8fb246b 100644 --- a/packages/csharp/README.md +++ b/packages/csharp/README.md @@ -778,6 +778,8 @@ var res = await sdk.Authentication.Oauth2TokenAsync( ### [VenueContent](docs/sdks/venuecontent/README.md) +* [GetVenueAmenities](docs/sdks/venuecontent/README.md#getvenueamenities) - Get Venue Amenities +* [UpdateVenueAmenities](docs/sdks/venuecontent/README.md#updatevenueamenities) - Update Venue Amenities * [ListVenueAttractions](docs/sdks/venuecontent/README.md#listvenueattractions) - List Venue Attractions * [CreateVenueAttraction](docs/sdks/venuecontent/README.md#createvenueattraction) - Create Venue Attraction * [GetVenueAttraction](docs/sdks/venuecontent/README.md#getvenueattraction) - Get Venue Attraction @@ -793,6 +795,15 @@ var res = await sdk.Authentication.Oauth2TokenAsync( * [AssociateVenueImage](docs/sdks/venuecontent/README.md#associatevenueimage) - Associate Venue Image * [DisassociateVenueImage](docs/sdks/venuecontent/README.md#disassociatevenueimage) - Remove Venue Image +### [VenueLeads](docs/sdks/venueleads/README.md) + +* [CreateLeadCatcher](docs/sdks/venueleads/README.md#createleadcatcher) - Create Lead Catcher +* [ListLeadCatchersOverview](docs/sdks/venueleads/README.md#listleadcatchersoverview) - List Lead Catchers Overview +* [UpdateLeadCatcher](docs/sdks/venueleads/README.md#updateleadcatcher) - Update Lead Catcher +* [PatchLeadCatcher](docs/sdks/venueleads/README.md#patchleadcatcher) - Patch Lead Catcher +* [DeleteLeadCatcher](docs/sdks/venueleads/README.md#deleteleadcatcher) - Delete Lead Catcher +* [GetLeadCatcherOverview](docs/sdks/venueleads/README.md#getleadcatcheroverview) - Get Lead Catcher Overview + ### [VenueMeetingRooms](docs/sdks/venuemeetingrooms/README.md) * [CreateMeetingRoom](docs/sdks/venuemeetingrooms/README.md#createmeetingroom) - Create Meeting Room @@ -1058,10 +1069,10 @@ catch (System.Net.Http.HttpRequestException ex) * [`System.Net.Http.HttpRequestException`](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httprequestexception): Network connectivity error. For more details about the underlying cause, inspect the `ex.InnerException`. * Inheriting from [`CventSDKException`](./src/Cvent/SDK/Models/Errors/CventSDKException.cs): - * [`ErrorResponse`](./src/Cvent/SDK/Models/Errors/ErrorResponse.cs): Represents an error response with additional details of cascading error messages. Applicable to 18 of 499 methods.* - * [`ErrorResponse17`](./src/Cvent/SDK/Models/Errors/ErrorResponse17.cs): The error response. Applicable to 11 of 499 methods.* - * [`SegmentsErrorResponse`](./src/Cvent/SDK/Models/Errors/SegmentsErrorResponse.cs): Segments error response details. Status code `400`. Applicable to 2 of 499 methods.* - * [`Oauth2TokenPostResponse0Exception`](./src/Cvent/SDK/Models/Errors/Oauth2TokenPostResponse0Exception.cs): A bad token response. Status code `400`. Applicable to 1 of 499 methods.* + * [`ErrorResponse`](./src/Cvent/SDK/Models/Errors/ErrorResponse.cs): Represents an error response with additional details of cascading error messages. Applicable to 18 of 507 methods.* + * [`ErrorResponse17`](./src/Cvent/SDK/Models/Errors/ErrorResponse17.cs): The error response. Applicable to 11 of 507 methods.* + * [`SegmentsErrorResponse`](./src/Cvent/SDK/Models/Errors/SegmentsErrorResponse.cs): Segments error response details. Status code `400`. Applicable to 2 of 507 methods.* + * [`Oauth2TokenPostResponse0Exception`](./src/Cvent/SDK/Models/Errors/Oauth2TokenPostResponse0Exception.cs): A bad token response. Status code `400`. Applicable to 1 of 507 methods.* * [`ResponseValidationError`](./src/Cvent/SDK/Models/Errors/ResponseValidationError.cs): Thrown when the response data could not be deserialized into the expected type. diff --git a/packages/csharp/docs/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.md b/packages/csharp/docs/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.md index a9f473149..fb6cfcf3e 100644 --- a/packages/csharp/docs/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.md +++ b/packages/csharp/docs/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | | `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | -| `ContactFields` | [ContactFields2](../../Models/Components/ContactFields2.md) | :heavy_minus_sign: | Your server returns this structure on a successful callback with the updated values for contact fields present in your system. | \ No newline at end of file +| `ContactFields1` | [ContactFields1](../../Models/Components/ContactFields1.md) | :heavy_minus_sign: | Your server returns this structure on a successful callback with the updated values for contact fields present in your system. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AlternateTravelDetail.md b/packages/csharp/docs/Models/Components/AlternateTravelDetail.md index 6e58ade33..8f367ed11 100644 --- a/packages/csharp/docs/Models/Components/AlternateTravelDetail.md +++ b/packages/csharp/docs/Models/Components/AlternateTravelDetail.md @@ -1,19 +1,19 @@ # AlternateTravelDetail -Details of an alternate travel answer submitted by an attendee who opted out of air or hotel bookings. +Details of an alternate travel answer submitted by an attendee who opted out of air, hotel, or train bookings. ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Created` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | -| `CreatedBy` | *string* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | -| `LastModified` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | -| `LastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | -| `Attendee` | [Attendee3](../../Models/Components/Attendee3.md) | :heavy_minus_sign: | Representation of the attendee | | -| `RequesterId` | *string* | :heavy_minus_sign: | ID of the entity this alternate travel belongs to. For an event attendee, this field is contact ID. For guest, this field is guest ID. | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | -| `RequesterType` | [AlternateTravelDetailRequesterType](../../Models/Components/AlternateTravelDetailRequesterType.md) | :heavy_minus_sign: | Attendee type of the entity this alternate travel belongs to. Contact means the requester is an independent attendee. Guest means the attendee is accompanying another attendee. | Contact | -| `TravelType` | [TravelType](../../Models/Components/TravelType.md) | :heavy_minus_sign: | Type of travel alternate question | AirRequest | -| `Question` | [AlternateQuestion](../../Models/Components/AlternateQuestion.md) | :heavy_minus_sign: | Represents a reference to an alternate travel question entity, containing only the question ID and text. | | -| `Answer` | [AlternateAnswer](../../Models/Components/AlternateAnswer.md) | :heavy_minus_sign: | Represents the answer(s) to an alternate travel question submitted by an attendee. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `Created` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | +| `CreatedBy` | *string* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | +| `LastModified` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | +| `LastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | +| `Attendee` | [Attendee3](../../Models/Components/Attendee3.md) | :heavy_minus_sign: | Representation of the attendee | | +| `RequesterId` | *string* | :heavy_minus_sign: | ID of the entity this alternate travel belongs to. For an event attendee, this field is contact ID. For guest, this field is guest ID. | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | +| `RequesterType` | [AlternateTravelDetailRequesterType](../../Models/Components/AlternateTravelDetailRequesterType.md) | :heavy_minus_sign: | Attendee type of the entity this alternate travel belongs to. Contact means the requester is an independent attendee. Guest means the attendee is accompanying another attendee. | Contact | +| `TravelType` | [TravelType](../../Models/Components/TravelType.md) | :heavy_minus_sign: | Type of travel alternate question. Supported values: AirRequest = attendee requested air travel; HotelRequest = attendee requested hotel travel; AirActual = actual air travel booked; GroupFlight = group flight booking; TrainRequest = attendee requested train travel; AirAndTrainRequest = attendee did not want air or train travel and submitted an alternate response. | AirRequest | +| `Question` | [AlternateQuestion](../../Models/Components/AlternateQuestion.md) | :heavy_minus_sign: | Represents a reference to an alternate travel question entity, containing only the question ID and text. | | +| `Answer` | [AlternateAnswer](../../Models/Components/AlternateAnswer.md) | :heavy_minus_sign: | Represents the answer(s) to an alternate travel question submitted by an attendee. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AttendeeUpdate.md b/packages/csharp/docs/Models/Components/AttendeeUpdate.md index 91c5812cf..70e23ca8a 100644 --- a/packages/csharp/docs/Models/Components/AttendeeUpdate.md +++ b/packages/csharp/docs/Models/Components/AttendeeUpdate.md @@ -5,19 +5,19 @@ Model representing an attendee to be updated in an event. ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Event` | [AttendeeUpdateEvent](../../Models/Components/AttendeeUpdateEvent.md) | :heavy_check_mark: | The ID of the event associated with the attendee. | | -| `Contact` | [AttendeeUpdateContact](../../Models/Components/AttendeeUpdateContact.md) | :heavy_check_mark: | The ID of the address book contact associated with the attendee. | | -| `InvitationList` | [AttendeeUpdateInvitationList](../../Models/Components/AttendeeUpdateInvitationList.md) | :heavy_minus_sign: | The ID of the invitation list associated with the attendee. | | -| `ReferenceId` | *string* | :heavy_minus_sign: | The reference ID of an attendee. A planner determined string used to track which link attendee's used to reach the event registration. | refid-marketingwebsite | -| `Note` | *string* | :heavy_minus_sign: | A planner created note for an attendee, used to track details about the attendee. | Would like to sit near the front of the room for sessions. | -| `Administrator` | [AttendeeUpdateAdministrator](../../Models/Components/AttendeeUpdateAdministrator.md) | :heavy_minus_sign: | The ID of the administrator contact whom registered this attendee. | | -| `AdmissionItem` | [AttendeeUpdateAdmissionItem](../../Models/Components/AttendeeUpdateAdmissionItem.md) | :heavy_minus_sign: | The ID of the attendee's admission item. Required when registering, updating a registered attendee, or cancelling an attendee. | | -| `Visibility` | [AttendeeVisibility](../../Models/Components/AttendeeVisibility.md) | :heavy_minus_sign: | Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not visible. Public: Their profile is visible. | Private | -| `Answers` | List<[AttendeeAnswer](../../Models/Components/AttendeeAnswer.md)> | :heavy_minus_sign: | The list of answers to the attendee's registration questions. | | -| `SendEmail` | *bool* | :heavy_minus_sign: | True indicates a confirmation email should be sent to the attendee. Cancelled attendees will not receive emails as a result of this field. If this field is left blank, the event settings for confirmation emails will apply. | false | -| `Status` | [AttendeeUpdateStatus](../../Models/Components/AttendeeUpdateStatus.md) | :heavy_minus_sign: | Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Cancelled
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* Waitlisted -> Accepted | Accepted | -| `RegistrationType` | [AttendeeUpdateRegistrationType](../../Models/Components/AttendeeUpdateRegistrationType.md) | :heavy_minus_sign: | The attendee's registration type. | | -| ~~`InvitedBy`~~ | [AttendeeInvitedBy](../../Models/Components/AttendeeInvitedBy.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Method by which the attendee was invited to the event. Note: This field is deprecated. Previous documentation incorrectly listed support for this feature. | Planner-Invited | -| ~~`ResponseMethod`~~ | [AttendeeResponseMethod](../../Models/Components/AttendeeResponseMethod.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Method by which attendee registered for the event. Note: This field is deprecated. Previous documentation incorrectly listed support for this feature. | Self-Responded | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Event` | [AttendeeUpdateEvent](../../Models/Components/AttendeeUpdateEvent.md) | :heavy_check_mark: | The ID of the event associated with the attendee. | | +| `Contact` | [AttendeeUpdateContact](../../Models/Components/AttendeeUpdateContact.md) | :heavy_check_mark: | The ID of the address book contact associated with the attendee. | | +| `InvitationList` | [AttendeeUpdateInvitationList](../../Models/Components/AttendeeUpdateInvitationList.md) | :heavy_minus_sign: | The ID of the invitation list associated with the attendee. | | +| `ReferenceId` | *string* | :heavy_minus_sign: | The reference ID of an attendee. A planner determined string used to track which link attendee's used to reach the event registration. | refid-marketingwebsite | +| `Note` | *string* | :heavy_minus_sign: | A planner created note for an attendee, used to track details about the attendee. | Would like to sit near the front of the room for sessions. | +| `Administrator` | [AttendeeUpdateAdministrator](../../Models/Components/AttendeeUpdateAdministrator.md) | :heavy_minus_sign: | The ID of the administrator contact whom registered this attendee. | | +| `AdmissionItem` | [AttendeeUpdateAdmissionItem](../../Models/Components/AttendeeUpdateAdmissionItem.md) | :heavy_minus_sign: | The ID of the attendee's admission item. Required when registering, updating a registered attendee, or cancelling an attendee. | | +| `Visibility` | [AttendeeVisibility](../../Models/Components/AttendeeVisibility.md) | :heavy_minus_sign: | Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not visible. Public: Their profile is visible. | Private | +| `Answers` | List<[AttendeeAnswer](../../Models/Components/AttendeeAnswer.md)> | :heavy_minus_sign: | The list of answers to the attendee's registration questions. | | +| `SendEmail` | *bool* | :heavy_minus_sign: | True indicates a confirmation email should be sent to the attendee. Cancelled attendees will not receive emails as a result of this field. If this field is left blank, the event settings for confirmation emails will apply. | false | +| `Status` | [AttendeeUpdateStatus](../../Models/Components/AttendeeUpdateStatus.md) | :heavy_minus_sign: | Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Cancelled
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* Waitlisted -> Accepted | Accepted | +| `RegistrationType` | [AttendeeUpdateRegistrationType](../../Models/Components/AttendeeUpdateRegistrationType.md) | :heavy_minus_sign: | The attendee's registration type. | | +| ~~`InvitedBy`~~ | [AttendeeInvitedBy](../../Models/Components/AttendeeInvitedBy.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Method by which the attendee was invited to the event. Note: This field is deprecated. Previous documentation incorrectly listed support for this feature. | Planner-Invited | +| ~~`ResponseMethod`~~ | [AttendeeResponseMethod](../../Models/Components/AttendeeResponseMethod.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Method by which attendee registered for the event. Note: This field is deprecated. Previous documentation incorrectly listed support for this feature. | Self-Responded | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/AttendeeUpdateStatus.md b/packages/csharp/docs/Models/Components/AttendeeUpdateStatus.md index c8ba48f78..402a5d866 100644 --- a/packages/csharp/docs/Models/Components/AttendeeUpdateStatus.md +++ b/packages/csharp/docs/Models/Components/AttendeeUpdateStatus.md @@ -1,6 +1,23 @@ # AttendeeUpdateStatus -Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Cancelled
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* Waitlisted -> Accepted +Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event. +The following status transitions are supported by this API: +* No Response -> Visited +* No Response -> Accepted +* No Response -> Declined +* No Response -> Pending Approval +* Cancelled -> Accepted +* Cancelled -> Pending Approval +* Visited -> Accepted +* Visited -> Pending Approval +* Declined -> Accepted +* Declined -> Pending Approval +* Accepted -> Cancelled +* Pending Approval -> Accepted +* Pending Approval -> Cancelled +* Pending Approval -> Denied Approval +* Denied Approval -> Pending Approval +* Waitlisted -> Accepted ## Example Usage diff --git a/packages/csharp/docs/Models/Components/ContactFields.md b/packages/csharp/docs/Models/Components/ContactFields.md new file mode 100644 index 000000000..89097121a --- /dev/null +++ b/packages/csharp/docs/Models/Components/ContactFields.md @@ -0,0 +1,13 @@ +# ContactFields + +Details of a contact. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `Id` | *string* | :heavy_minus_sign: | Contact ID | | +| `FirstName` | *string* | :heavy_minus_sign: | The first name of the contact. | Henry | +| `LastName` | *string* | :heavy_minus_sign: | The last name of the contact. | Potterfield | +| `Email` | *string* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactFields1.md b/packages/csharp/docs/Models/Components/ContactFields1.md index e3dbcd7b1..cd582d4bf 100644 --- a/packages/csharp/docs/Models/Components/ContactFields1.md +++ b/packages/csharp/docs/Models/Components/ContactFields1.md @@ -1,13 +1,10 @@ # ContactFields1 -Details of a contact. +An array of standard contact fields supported by Cvent. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | -| `Id` | *string* | :heavy_minus_sign: | Contact ID | | -| `FirstName` | *string* | :heavy_minus_sign: | The first name of the contact. | Henry | -| `LastName` | *string* | :heavy_minus_sign: | The last name of the contact. | Potterfield | -| `Email` | *string* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `Data` | List<[ContactField](../../Models/Components/ContactField.md)> | :heavy_check_mark: | Collection of standard contact fields. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ContactFields2.md b/packages/csharp/docs/Models/Components/ContactFields2.md deleted file mode 100644 index 27d962c69..000000000 --- a/packages/csharp/docs/Models/Components/ContactFields2.md +++ /dev/null @@ -1,10 +0,0 @@ -# ContactFields2 - -An array of standard contact fields supported by Cvent. - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `Data` | List<[ContactField](../../Models/Components/ContactField.md)> | :heavy_check_mark: | Collection of standard contact fields. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/EventAttendeeSubstituted.md b/packages/csharp/docs/Models/Components/EventAttendeeSubstituted.md index 6fb8722c5..e2a9908b7 100644 --- a/packages/csharp/docs/Models/Components/EventAttendeeSubstituted.md +++ b/packages/csharp/docs/Models/Components/EventAttendeeSubstituted.md @@ -8,5 +8,5 @@ An attendee-substituted activity. | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `Event` | [EventAttendeeSubstitutedEvent](../../Models/Components/EventAttendeeSubstitutedEvent.md) | :heavy_minus_sign: | The event in which this activity occurred. | -| `OldContact` | [ContactFields1](../../Models/Components/ContactFields1.md) | :heavy_minus_sign: | Details of a contact. | -| `NewContact` | [ContactFields1](../../Models/Components/ContactFields1.md) | :heavy_minus_sign: | Details of a contact. | \ No newline at end of file +| `OldContact` | [ContactFields](../../Models/Components/ContactFields.md) | :heavy_minus_sign: | Details of a contact. | +| `NewContact` | [ContactFields](../../Models/Components/ContactFields.md) | :heavy_minus_sign: | Details of a contact. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingLeadCatcher.md b/packages/csharp/docs/Models/Components/ExistingLeadCatcher.md new file mode 100644 index 000000000..2736f23ec --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExistingLeadCatcher.md @@ -0,0 +1,24 @@ +# ExistingLeadCatcher + +An existing lead catcher contact. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Created` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | +| `CreatedBy` | *string* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | +| `LastModified` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | +| `LastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | +| `FirstName` | *string* | :heavy_check_mark: | First name of the lead catcher contact. | Jane | +| `LastName` | *string* | :heavy_check_mark: | Last name of the lead catcher contact. | Smith | +| `Title` | *string* | :heavy_minus_sign: | Job title of the lead catcher contact. | Director of Sales | +| `Email` | *string* | :heavy_check_mark: | Email address of the lead catcher contact. RFP notifications are sent to this address. | jane.smith@example.com | +| `Phone` | *string* | :heavy_check_mark: | Phone number of the lead catcher contact. | +1-555-555-0101 | +| `Fax` | *string* | :heavy_minus_sign: | Fax number of the lead catcher contact. | +1-555-555-0101 | +| `Address` | [LeadCatcherAddress](../../Models/Components/LeadCatcherAddress.md) | :heavy_minus_sign: | Address information for a lead catcher contact. | | +| `Locale` | [LocaleLanguageVariant](../../Models/Components/LocaleLanguageVariant.md) | :heavy_minus_sign: | Language locale of a Lead Catcher contact.

Values:
- `zh-CHS` — Chinese (Simplified) Legacy
- `zh-TW` — Chinese (Traditional, Taiwan)
- `de-DE` — German (Germany)
- `en-US` — English (United States)
- `fi-FI` — Finnish (Finland)
- `fr-FR` — French (France)
- `it-IT` — Italian (Italy)
- `ja-JP` — Japanese (Japan)
- `ko-KR` — Korean (Korea)
- `nl-NL` — Dutch (Netherlands)
- `pt-BR` — Portuguese (Brazil)
- `ru-RU` — Russian (Russia)
- `sv-SE` — Swedish (Sweden)
- `th-TH` — Thai (Thailand)
- `tr-TR` — Turkish (Turkey)
- `uk-UA` — Ukrainian (Ukraine)
- `zh-CN` — Chinese (Simplified, China)
- `de-CH` — German (Switzerland)
- `en-GB` — English (United Kingdom)
- `es-MX` — Spanish (Mexico)
- `fr-BE` — French (Belgium)
- `it-CH` — Italian (Switzerland)
- `nl-BE` — Dutch (Belgium)
- `pt-PT` — Portuguese (Portugal)
- `ru-MD` — Russian (Moldova)
- `sv-FI` — Swedish (Finland)
- `zh-HK` — Chinese (Traditional, Hong Kong SAR)
- `de-AT` — German (Austria)
- `en-AU` — English (Australia)
- `es-ES` — Spanish (Spain, International Sort)
- `fr-CA` — French (Canada)
- `zh-SG` — Chinese (Simplified, Singapore)
- `de-LU` — German (Luxembourg)
- `en-CA` — English (Canada)
- `es-GT` — Spanish (Guatemala)
- `fr-CH` — French (Switzerland)
- `zh-MO` — Chinese (Traditional, Macao SAR)
- `de-LI` — German (Liechtenstein)
- `en-NZ` — English (New Zealand)
- `es-CR` — Spanish (Costa Rica)
- `fr-LU` — French (Luxembourg)
- `en-IE` — English (Ireland)
- `es-PA` — Spanish (Panama)
- `fr-MC` — French (Monaco)
- `en-ZA` — English (South Africa)
- `es-DO` — Spanish (Dominican Republic)
- `fr-029` — French (Caribbean)
- `en-JM` — English (Jamaica)
- `es-VE` — Spanish (Venezuela)
- `fr-RE` — French (Réunion)
- `en-029` — English (Caribbean)
- `es-CO` — Spanish (Colombia)
- `fr-CD` — French Congo (DRC)
- `en-BZ` — English (Belize)
- `es-PE` — Spanish (Peru)
- `fr-SN` — French (Senegal)
- `en-TT` — English (Trinidad and Tobago)
- `es-AR` — Spanish (Argentina)
- `fr-CM` — French (Cameroon)
- `en-ZW` — English (Zimbabwe)
- `es-EC` — Spanish (Ecuador)
- `fr-CI` — French (Côte d'Ivoire)
- `en-PH` — English (Philippines)
- `es-CL` — Spanish (Chile)
- `fr-ML` — French (Mali)
- `en-ID` — English (Indonesia)
- `es-UY` — Spanish (Uruguay)
- `fr-MA` — French (Morocco)
- `en-HK` — English (Hong Kong SAR)
- `es-PY` — Spanish (Paraguay)
- `fr-HT` — French (Haiti)
- `en-IN` — English (India)
- `es-BO` — Spanish (Bolivia)
- `en-MY` — English (Malaysia)
- `es-SV` — Spanish (El Salvador)
- `en-SG` — English (Singapore)
- `es-HN` — Spanish (Honduras)
- `es-NI` — Spanish (Nicaragua)
- `es-PR` — Spanish (Puerto Rico)
- `es-US` — Spanish (United States)
- `es-419` — Spanish (Latin America)
- `es-CU` — Spanish (Cuba)
- `zh-CHT` — Chinese (Traditional) Legacy | en-US | +| `Config` | [LeadCatcherConfig](../../Models/Components/LeadCatcherConfig.md) | :heavy_minus_sign: | Notification and role configuration for a lead catcher contact. | | +| `AdditionalInfo` | *string* | :heavy_minus_sign: | Additional information about the lead catcher contact. | Preferred contact for APAC venues. | +| `Id` | *string* | :heavy_check_mark: | Lead catcher ID. | 7e5c2c23-b2bb-461a-adc9-025184988519 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingLeadCatcherInput.md b/packages/csharp/docs/Models/Components/ExistingLeadCatcherInput.md new file mode 100644 index 000000000..2d26baebb --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExistingLeadCatcherInput.md @@ -0,0 +1,19 @@ +# ExistingLeadCatcherInput + +An existing lead catcher contact. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `FirstName` | *string* | :heavy_check_mark: | First name of the lead catcher contact. | Jane | +| `LastName` | *string* | :heavy_check_mark: | Last name of the lead catcher contact. | Smith | +| `Title` | *string* | :heavy_minus_sign: | Job title of the lead catcher contact. | Director of Sales | +| `Email` | *string* | :heavy_check_mark: | Email address of the lead catcher contact. RFP notifications are sent to this address. | jane.smith@example.com | +| `Phone` | *string* | :heavy_check_mark: | Phone number of the lead catcher contact. | +1-555-555-0101 | +| `Fax` | *string* | :heavy_minus_sign: | Fax number of the lead catcher contact. | +1-555-555-0101 | +| `Address` | [LeadCatcherAddress](../../Models/Components/LeadCatcherAddress.md) | :heavy_minus_sign: | Address information for a lead catcher contact. | | +| `Locale` | [LocaleLanguageVariant](../../Models/Components/LocaleLanguageVariant.md) | :heavy_minus_sign: | Language locale of a Lead Catcher contact.

Values:
- `zh-CHS` — Chinese (Simplified) Legacy
- `zh-TW` — Chinese (Traditional, Taiwan)
- `de-DE` — German (Germany)
- `en-US` — English (United States)
- `fi-FI` — Finnish (Finland)
- `fr-FR` — French (France)
- `it-IT` — Italian (Italy)
- `ja-JP` — Japanese (Japan)
- `ko-KR` — Korean (Korea)
- `nl-NL` — Dutch (Netherlands)
- `pt-BR` — Portuguese (Brazil)
- `ru-RU` — Russian (Russia)
- `sv-SE` — Swedish (Sweden)
- `th-TH` — Thai (Thailand)
- `tr-TR` — Turkish (Turkey)
- `uk-UA` — Ukrainian (Ukraine)
- `zh-CN` — Chinese (Simplified, China)
- `de-CH` — German (Switzerland)
- `en-GB` — English (United Kingdom)
- `es-MX` — Spanish (Mexico)
- `fr-BE` — French (Belgium)
- `it-CH` — Italian (Switzerland)
- `nl-BE` — Dutch (Belgium)
- `pt-PT` — Portuguese (Portugal)
- `ru-MD` — Russian (Moldova)
- `sv-FI` — Swedish (Finland)
- `zh-HK` — Chinese (Traditional, Hong Kong SAR)
- `de-AT` — German (Austria)
- `en-AU` — English (Australia)
- `es-ES` — Spanish (Spain, International Sort)
- `fr-CA` — French (Canada)
- `zh-SG` — Chinese (Simplified, Singapore)
- `de-LU` — German (Luxembourg)
- `en-CA` — English (Canada)
- `es-GT` — Spanish (Guatemala)
- `fr-CH` — French (Switzerland)
- `zh-MO` — Chinese (Traditional, Macao SAR)
- `de-LI` — German (Liechtenstein)
- `en-NZ` — English (New Zealand)
- `es-CR` — Spanish (Costa Rica)
- `fr-LU` — French (Luxembourg)
- `en-IE` — English (Ireland)
- `es-PA` — Spanish (Panama)
- `fr-MC` — French (Monaco)
- `en-ZA` — English (South Africa)
- `es-DO` — Spanish (Dominican Republic)
- `fr-029` — French (Caribbean)
- `en-JM` — English (Jamaica)
- `es-VE` — Spanish (Venezuela)
- `fr-RE` — French (Réunion)
- `en-029` — English (Caribbean)
- `es-CO` — Spanish (Colombia)
- `fr-CD` — French Congo (DRC)
- `en-BZ` — English (Belize)
- `es-PE` — Spanish (Peru)
- `fr-SN` — French (Senegal)
- `en-TT` — English (Trinidad and Tobago)
- `es-AR` — Spanish (Argentina)
- `fr-CM` — French (Cameroon)
- `en-ZW` — English (Zimbabwe)
- `es-EC` — Spanish (Ecuador)
- `fr-CI` — French (Côte d'Ivoire)
- `en-PH` — English (Philippines)
- `es-CL` — Spanish (Chile)
- `fr-ML` — French (Mali)
- `en-ID` — English (Indonesia)
- `es-UY` — Spanish (Uruguay)
- `fr-MA` — French (Morocco)
- `en-HK` — English (Hong Kong SAR)
- `es-PY` — Spanish (Paraguay)
- `fr-HT` — French (Haiti)
- `en-IN` — English (India)
- `es-BO` — Spanish (Bolivia)
- `en-MY` — English (Malaysia)
- `es-SV` — Spanish (El Salvador)
- `en-SG` — English (Singapore)
- `es-HN` — Spanish (Honduras)
- `es-NI` — Spanish (Nicaragua)
- `es-PR` — Spanish (Puerto Rico)
- `es-US` — Spanish (United States)
- `es-419` — Spanish (Latin America)
- `es-CU` — Spanish (Cuba)
- `zh-CHT` — Chinese (Traditional) Legacy | en-US | +| `Config` | [LeadCatcherConfig](../../Models/Components/LeadCatcherConfig.md) | :heavy_minus_sign: | Notification and role configuration for a lead catcher contact. | | +| `AdditionalInfo` | *string* | :heavy_minus_sign: | Additional information about the lead catcher contact. | Preferred contact for APAC venues. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingVenueAmenities.md b/packages/csharp/docs/Models/Components/ExistingVenueAmenities.md new file mode 100644 index 000000000..a7d2a284a --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExistingVenueAmenities.md @@ -0,0 +1,27 @@ +# ExistingVenueAmenities + +The current amenity selections for a venue, including identifying properties. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `RecreationalActivities` | List<[VenueAmenityRecreationalActivity](../../Models/Components/VenueAmenityRecreationalActivity.md)> | :heavy_minus_sign: | Recreational facilities and leisure activities available at the venue.

Values:
- `GOLF_ON_GROUNDS` — Golf on Grounds
- `HEALTH_CLUB` — Health Club
- `INDOOR_POOL` — Indoor Pool
- `OUTDOOR_POOL` — Outdoor Pool
- `SKIING` — Skiing
- `SPASALON` — Spa/Salon
- `TENNIS` — Tennis
- `WATER_SPORTS` — Water Sports
- `WHIRLPOOL` — Whirlpool | | +| `RoomFeatures` | List<[VenueAmenityRoomFeature](../../Models/Components/VenueAmenityRoomFeature.md)> | :heavy_minus_sign: | In-room features and guest services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `CONCIERGE_SERVICES` — Concierge Services
- `FREE_LOCAL_CALLS` — Free Local Calls
- `FREE_TOLL_FREE_CALLS` — Toll-Free Calls
- `GARDEN_VIEWS` — Garden Views
- `INTERNET` — Internet
- `LAUNDRY` — Laundry
- `LUGGAGE_STORAGE` — Luggage Storage
- `MOUNTAIN_VIEWS` — Mountain Views
- `OCEANWATER_VIEWS` — Ocean/Water Views
- `ROOM_SERVICE` — Room Service
- `URBAN_VIEWS` — Urban Views
- `VOICE_MAIL_BOX` — Voicemail Box | | +| `AvCapabilities` | List<[VenueAmenityAvCapabilityItem](../../Models/Components/VenueAmenityAvCapabilityItem.md)> | :heavy_minus_sign: | Audio-visual equipment and connectivity available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Each entry selects an AV capability and, where applicable, provides an internet speed. A `speed` value may only be supplied when `amenity` is `HIGH_SPEED_INTERNET`. | | +| `BusinessServices` | List<[VenueAmenityBusinessService](../../Models/Components/VenueAmenityBusinessService.md)> | :heavy_minus_sign: | Business and communications services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AUDIOVIDEO_CAPABILITIES` — Audio/Video Capabilities
- `BUSINESS_CENTER` — Business Center
- `VIDEO_CONFERENCING` — Video Conferencing
- `VIP_SERVICES` — VIP Services | | +| `Transportation` | List<[VenueAmenityTransportation](../../Models/Components/VenueAmenityTransportation.md)> | :heavy_minus_sign: | Transportation options by which the venue is accessible. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `BUS` — Bus
- `SHUTTLE` — Shuttle
- `SUBWAY` — Subway
- `TAXI` — Taxi
- `TRAIN` — Train | | +| `Equipment` | List<[VenueAmenityEquipment](../../Models/Components/VenueAmenityEquipment.md)> | :heavy_minus_sign: | Physical equipment and staging resources available for event use at the venue.

Values:
- `DANCE_FLOORS` — Dance Floors
- `LOADING_DOCK_AVAILABLE` — Loading Dock
- `PIANO` — Piano
- `PORTABLE_HEATERS` — Portable Heaters
- `PORTABLE_WALLS` — Portable Walls
- `STAGING` — Staging | | +| `Parking` | List<[VenueAmenityParkingItem](../../Models/Components/VenueAmenityParkingItem.md)> | :heavy_minus_sign: | Parking options available at or near the venue. Each entry selects a parking type and, where applicable, provides the daily rate. A cost may only be supplied for `PAID_PARKING_AVAILABLE` and `VALET_PARKING_AVAILABLE`. | | +| `FacilityInfo` | List<[VenueAmenityFacilityInfo](../../Models/Components/VenueAmenityFacilityInfo.md)> | :heavy_minus_sign: | General facility features and on-site services available at the venue. Applicable only to the following venue types: Boutique Hotel, Conference Center, Convention Center, Exposition Center, Hotel, Luxury Hotel, and Resort (all values below except `BUSINESS_CENTER` and `INTERNET`); Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue (only `BUSINESS_CENTER`, `CASINO`, `INTERNET`, `RESTAURANT_ON_SITE`, and `WHEELCHAIR_ACCESSIBLE`).

Values:
- `ALL_INCLUSIVE` — All Inclusive
- `BUSINESS_CENTER` — Business Center
- `CASINO` — Casino
- `EXTENDED_STAY` — Extended Stay
- `FREE_AIRPORT_SHUTTLE` — Free Airport Shuttle
- `GIFT_SHOP_ON_SITE` — Onsite Gift Shop
- `INTERNET` — Internet
- `ONSITE_CATERING` — Onsite Catering
- `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed
- `PETS_WELCOME` — Pet Friendly
- `RENTAL_CAR_SERVICES` — Rental Car Services
- `RESTAURANT_ON_SITE` — Onsite Restaurant
- `SECURITY_STAFF_ONSITE` — Onsite Security
- `WHEELCHAIR_ACCESSIBLE` — Wheelchair Accessible | | +| `FacilitySpaceInfo` | List<[VenueAmenityFacilitySpaceItem](../../Models/Components/VenueAmenityFacilitySpaceItem.md)> | :heavy_minus_sign: | Facility space measurements at the venue. Each entry selects a space type and optionally provides the available event space area, expressed in the venue's configured unit of measurement. | | +| `CateringDetails` | List<[VenueAmenityCateringDetail](../../Models/Components/VenueAmenityCateringDetail.md)> | :heavy_minus_sign: | Catering options and policies offered at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `KITCHEN_ONSITE` — Kitchen Onsite
- `ONSITE_CATERING` — Onsite Catering
- `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed | | +| `Alcohol` | List<[VenueAmenityAlcohol](../../Models/Components/VenueAmenityAlcohol.md)> | :heavy_minus_sign: | Alcohol-related policies at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `ALCOHOL_ALLOWED` — Alcohol Allowed
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | | +| `AudioVisual` | List<[VenueAmenityProvisionPolicy](../../Models/Components/VenueAmenityProvisionPolicy.md)> | :heavy_minus_sign: | Audio-visual provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | | +| `Furniture` | List<[VenueAmenityProvisionPolicy](../../Models/Components/VenueAmenityProvisionPolicy.md)> | :heavy_minus_sign: | Furniture provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | | +| `LinensAndTableSettings` | List<[VenueAmenityProvisionPolicy](../../Models/Components/VenueAmenityProvisionPolicy.md)> | :heavy_minus_sign: | Linens and table settings provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | | +| `Lighting` | List<[VenueAmenityProvisionPolicy](../../Models/Components/VenueAmenityProvisionPolicy.md)> | :heavy_minus_sign: | Lighting provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | | +| `OtherDecor` | List<[VenueAmenityProvisionPolicy](../../Models/Components/VenueAmenityProvisionPolicy.md)> | :heavy_minus_sign: | Other décor provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | | +| `Id` | *string* | :heavy_check_mark: | Venue ID. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `Name` | *string* | :heavy_check_mark: | The name of the venue. | Harbor View Convention Center | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/ExistingVenueAmenitiesInput.md b/packages/csharp/docs/Models/Components/ExistingVenueAmenitiesInput.md new file mode 100644 index 000000000..899ac5be4 --- /dev/null +++ b/packages/csharp/docs/Models/Components/ExistingVenueAmenitiesInput.md @@ -0,0 +1,25 @@ +# ExistingVenueAmenitiesInput + +The current amenity selections for a venue, including identifying properties. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `RecreationalActivities` | List<[VenueAmenityRecreationalActivity](../../Models/Components/VenueAmenityRecreationalActivity.md)> | :heavy_minus_sign: | Recreational facilities and leisure activities available at the venue.

Values:
- `GOLF_ON_GROUNDS` — Golf on Grounds
- `HEALTH_CLUB` — Health Club
- `INDOOR_POOL` — Indoor Pool
- `OUTDOOR_POOL` — Outdoor Pool
- `SKIING` — Skiing
- `SPASALON` — Spa/Salon
- `TENNIS` — Tennis
- `WATER_SPORTS` — Water Sports
- `WHIRLPOOL` — Whirlpool | +| `RoomFeatures` | List<[VenueAmenityRoomFeature](../../Models/Components/VenueAmenityRoomFeature.md)> | :heavy_minus_sign: | In-room features and guest services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `CONCIERGE_SERVICES` — Concierge Services
- `FREE_LOCAL_CALLS` — Free Local Calls
- `FREE_TOLL_FREE_CALLS` — Toll-Free Calls
- `GARDEN_VIEWS` — Garden Views
- `INTERNET` — Internet
- `LAUNDRY` — Laundry
- `LUGGAGE_STORAGE` — Luggage Storage
- `MOUNTAIN_VIEWS` — Mountain Views
- `OCEANWATER_VIEWS` — Ocean/Water Views
- `ROOM_SERVICE` — Room Service
- `URBAN_VIEWS` — Urban Views
- `VOICE_MAIL_BOX` — Voicemail Box | +| `AvCapabilities` | List<[VenueAmenityAvCapabilityItem](../../Models/Components/VenueAmenityAvCapabilityItem.md)> | :heavy_minus_sign: | Audio-visual equipment and connectivity available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Each entry selects an AV capability and, where applicable, provides an internet speed. A `speed` value may only be supplied when `amenity` is `HIGH_SPEED_INTERNET`. | +| `BusinessServices` | List<[VenueAmenityBusinessService](../../Models/Components/VenueAmenityBusinessService.md)> | :heavy_minus_sign: | Business and communications services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AUDIOVIDEO_CAPABILITIES` — Audio/Video Capabilities
- `BUSINESS_CENTER` — Business Center
- `VIDEO_CONFERENCING` — Video Conferencing
- `VIP_SERVICES` — VIP Services | +| `Transportation` | List<[VenueAmenityTransportation](../../Models/Components/VenueAmenityTransportation.md)> | :heavy_minus_sign: | Transportation options by which the venue is accessible. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `BUS` — Bus
- `SHUTTLE` — Shuttle
- `SUBWAY` — Subway
- `TAXI` — Taxi
- `TRAIN` — Train | +| `Equipment` | List<[VenueAmenityEquipment](../../Models/Components/VenueAmenityEquipment.md)> | :heavy_minus_sign: | Physical equipment and staging resources available for event use at the venue.

Values:
- `DANCE_FLOORS` — Dance Floors
- `LOADING_DOCK_AVAILABLE` — Loading Dock
- `PIANO` — Piano
- `PORTABLE_HEATERS` — Portable Heaters
- `PORTABLE_WALLS` — Portable Walls
- `STAGING` — Staging | +| `Parking` | List<[VenueAmenityParkingItem](../../Models/Components/VenueAmenityParkingItem.md)> | :heavy_minus_sign: | Parking options available at or near the venue. Each entry selects a parking type and, where applicable, provides the daily rate. A cost may only be supplied for `PAID_PARKING_AVAILABLE` and `VALET_PARKING_AVAILABLE`. | +| `FacilityInfo` | List<[VenueAmenityFacilityInfo](../../Models/Components/VenueAmenityFacilityInfo.md)> | :heavy_minus_sign: | General facility features and on-site services available at the venue. Applicable only to the following venue types: Boutique Hotel, Conference Center, Convention Center, Exposition Center, Hotel, Luxury Hotel, and Resort (all values below except `BUSINESS_CENTER` and `INTERNET`); Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue (only `BUSINESS_CENTER`, `CASINO`, `INTERNET`, `RESTAURANT_ON_SITE`, and `WHEELCHAIR_ACCESSIBLE`).

Values:
- `ALL_INCLUSIVE` — All Inclusive
- `BUSINESS_CENTER` — Business Center
- `CASINO` — Casino
- `EXTENDED_STAY` — Extended Stay
- `FREE_AIRPORT_SHUTTLE` — Free Airport Shuttle
- `GIFT_SHOP_ON_SITE` — Onsite Gift Shop
- `INTERNET` — Internet
- `ONSITE_CATERING` — Onsite Catering
- `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed
- `PETS_WELCOME` — Pet Friendly
- `RENTAL_CAR_SERVICES` — Rental Car Services
- `RESTAURANT_ON_SITE` — Onsite Restaurant
- `SECURITY_STAFF_ONSITE` — Onsite Security
- `WHEELCHAIR_ACCESSIBLE` — Wheelchair Accessible | +| `FacilitySpaceInfo` | List<[VenueAmenityFacilitySpaceItem](../../Models/Components/VenueAmenityFacilitySpaceItem.md)> | :heavy_minus_sign: | Facility space measurements at the venue. Each entry selects a space type and optionally provides the available event space area, expressed in the venue's configured unit of measurement. | +| `CateringDetails` | List<[VenueAmenityCateringDetail](../../Models/Components/VenueAmenityCateringDetail.md)> | :heavy_minus_sign: | Catering options and policies offered at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `KITCHEN_ONSITE` — Kitchen Onsite
- `ONSITE_CATERING` — Onsite Catering
- `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed | +| `Alcohol` | List<[VenueAmenityAlcohol](../../Models/Components/VenueAmenityAlcohol.md)> | :heavy_minus_sign: | Alcohol-related policies at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `ALCOHOL_ALLOWED` — Alcohol Allowed
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | +| `AudioVisual` | List<[VenueAmenityProvisionPolicy](../../Models/Components/VenueAmenityProvisionPolicy.md)> | :heavy_minus_sign: | Audio-visual provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | +| `Furniture` | List<[VenueAmenityProvisionPolicy](../../Models/Components/VenueAmenityProvisionPolicy.md)> | :heavy_minus_sign: | Furniture provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | +| `LinensAndTableSettings` | List<[VenueAmenityProvisionPolicy](../../Models/Components/VenueAmenityProvisionPolicy.md)> | :heavy_minus_sign: | Linens and table settings provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | +| `Lighting` | List<[VenueAmenityProvisionPolicy](../../Models/Components/VenueAmenityProvisionPolicy.md)> | :heavy_minus_sign: | Lighting provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | +| `OtherDecor` | List<[VenueAmenityProvisionPolicy](../../Models/Components/VenueAmenityProvisionPolicy.md)> | :heavy_minus_sign: | Other décor provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/GuestRoomOccupancyPerRoomType.md b/packages/csharp/docs/Models/Components/GuestRoomOccupancyPerRoomType.md index 86c402d4a..dcb38d786 100644 --- a/packages/csharp/docs/Models/Components/GuestRoomOccupancyPerRoomType.md +++ b/packages/csharp/docs/Models/Components/GuestRoomOccupancyPerRoomType.md @@ -8,4 +8,4 @@ Room occupancy for a room type. | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `Occupancy` | [GuestRoomOccupancy](../../Models/Components/GuestRoomOccupancy.md) | :heavy_minus_sign: | Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. | SINGLE | -| `Type` | [GuestRoomType](../../Models/Components/GuestRoomType.md) | :heavy_minus_sign: | Guest room type. `ANY`: Room can be any type. `SINGLE`: Room with one bed. `DOUBLE`: Room with two beds. `SUITE`: Room is an entire suite. `STAFF`: Room is for staff. | DOUBLE | \ No newline at end of file +| `Type` | [GuestRoomType](../../Models/Components/GuestRoomType.md) | :heavy_check_mark: | Guest room type. `ANY`: Room can be any type. `SINGLE`: Room with one bed. `DOUBLE`: Room with two beds. `SUITE`: Room is an entire suite. `STAFF`: Room is for staff. | DOUBLE | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadCatcher.md b/packages/csharp/docs/Models/Components/LeadCatcher.md new file mode 100644 index 000000000..56dd801ac --- /dev/null +++ b/packages/csharp/docs/Models/Components/LeadCatcher.md @@ -0,0 +1,19 @@ +# LeadCatcher + +A contact attached to a venue offering who receives email notifications when RFPs are submitted to that venue. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `FirstName` | *string* | :heavy_check_mark: | First name of the lead catcher contact. | Jane | +| `LastName` | *string* | :heavy_check_mark: | Last name of the lead catcher contact. | Smith | +| `Title` | *string* | :heavy_minus_sign: | Job title of the lead catcher contact. | Director of Sales | +| `Email` | *string* | :heavy_check_mark: | Email address of the lead catcher contact. RFP notifications are sent to this address. | jane.smith@example.com | +| `Phone` | *string* | :heavy_check_mark: | Phone number of the lead catcher contact. | +1-555-555-0101 | +| `Fax` | *string* | :heavy_minus_sign: | Fax number of the lead catcher contact. | +1-555-555-0101 | +| `Address` | [LeadCatcherAddress](../../Models/Components/LeadCatcherAddress.md) | :heavy_minus_sign: | Address information for a lead catcher contact. | | +| `Locale` | [LocaleLanguageVariant](../../Models/Components/LocaleLanguageVariant.md) | :heavy_minus_sign: | Language locale of a Lead Catcher contact.

Values:
- `zh-CHS` — Chinese (Simplified) Legacy
- `zh-TW` — Chinese (Traditional, Taiwan)
- `de-DE` — German (Germany)
- `en-US` — English (United States)
- `fi-FI` — Finnish (Finland)
- `fr-FR` — French (France)
- `it-IT` — Italian (Italy)
- `ja-JP` — Japanese (Japan)
- `ko-KR` — Korean (Korea)
- `nl-NL` — Dutch (Netherlands)
- `pt-BR` — Portuguese (Brazil)
- `ru-RU` — Russian (Russia)
- `sv-SE` — Swedish (Sweden)
- `th-TH` — Thai (Thailand)
- `tr-TR` — Turkish (Turkey)
- `uk-UA` — Ukrainian (Ukraine)
- `zh-CN` — Chinese (Simplified, China)
- `de-CH` — German (Switzerland)
- `en-GB` — English (United Kingdom)
- `es-MX` — Spanish (Mexico)
- `fr-BE` — French (Belgium)
- `it-CH` — Italian (Switzerland)
- `nl-BE` — Dutch (Belgium)
- `pt-PT` — Portuguese (Portugal)
- `ru-MD` — Russian (Moldova)
- `sv-FI` — Swedish (Finland)
- `zh-HK` — Chinese (Traditional, Hong Kong SAR)
- `de-AT` — German (Austria)
- `en-AU` — English (Australia)
- `es-ES` — Spanish (Spain, International Sort)
- `fr-CA` — French (Canada)
- `zh-SG` — Chinese (Simplified, Singapore)
- `de-LU` — German (Luxembourg)
- `en-CA` — English (Canada)
- `es-GT` — Spanish (Guatemala)
- `fr-CH` — French (Switzerland)
- `zh-MO` — Chinese (Traditional, Macao SAR)
- `de-LI` — German (Liechtenstein)
- `en-NZ` — English (New Zealand)
- `es-CR` — Spanish (Costa Rica)
- `fr-LU` — French (Luxembourg)
- `en-IE` — English (Ireland)
- `es-PA` — Spanish (Panama)
- `fr-MC` — French (Monaco)
- `en-ZA` — English (South Africa)
- `es-DO` — Spanish (Dominican Republic)
- `fr-029` — French (Caribbean)
- `en-JM` — English (Jamaica)
- `es-VE` — Spanish (Venezuela)
- `fr-RE` — French (Réunion)
- `en-029` — English (Caribbean)
- `es-CO` — Spanish (Colombia)
- `fr-CD` — French Congo (DRC)
- `en-BZ` — English (Belize)
- `es-PE` — Spanish (Peru)
- `fr-SN` — French (Senegal)
- `en-TT` — English (Trinidad and Tobago)
- `es-AR` — Spanish (Argentina)
- `fr-CM` — French (Cameroon)
- `en-ZW` — English (Zimbabwe)
- `es-EC` — Spanish (Ecuador)
- `fr-CI` — French (Côte d'Ivoire)
- `en-PH` — English (Philippines)
- `es-CL` — Spanish (Chile)
- `fr-ML` — French (Mali)
- `en-ID` — English (Indonesia)
- `es-UY` — Spanish (Uruguay)
- `fr-MA` — French (Morocco)
- `en-HK` — English (Hong Kong SAR)
- `es-PY` — Spanish (Paraguay)
- `fr-HT` — French (Haiti)
- `en-IN` — English (India)
- `es-BO` — Spanish (Bolivia)
- `en-MY` — English (Malaysia)
- `es-SV` — Spanish (El Salvador)
- `en-SG` — English (Singapore)
- `es-HN` — Spanish (Honduras)
- `es-NI` — Spanish (Nicaragua)
- `es-PR` — Spanish (Puerto Rico)
- `es-US` — Spanish (United States)
- `es-419` — Spanish (Latin America)
- `es-CU` — Spanish (Cuba)
- `zh-CHT` — Chinese (Traditional) Legacy | en-US | +| `Config` | [LeadCatcherConfig](../../Models/Components/LeadCatcherConfig.md) | :heavy_minus_sign: | Notification and role configuration for a lead catcher contact. | | +| `AdditionalInfo` | *string* | :heavy_minus_sign: | Additional information about the lead catcher contact. | Preferred contact for APAC venues. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadCatcherAddress.md b/packages/csharp/docs/Models/Components/LeadCatcherAddress.md new file mode 100644 index 000000000..70520501b --- /dev/null +++ b/packages/csharp/docs/Models/Components/LeadCatcherAddress.md @@ -0,0 +1,15 @@ +# LeadCatcherAddress + +Address information for a lead catcher contact. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `StreetAddress1` | *string* | :heavy_minus_sign: | Street address line 1. | 1234 Trap Road | +| `StreetAddress2` | *string* | :heavy_minus_sign: | Street address line 2. | Suite 100 | +| `City` | *string* | :heavy_minus_sign: | City. | Vienna | +| `StateProvince` | [LeadCatcherAddressStateProvince](../../Models/Components/LeadCatcherAddressStateProvince.md) | :heavy_minus_sign: | State or province code for the contact address (ISO 3166-2). | | +| `ZipPostalCode` | *string* | :heavy_minus_sign: | ZIP or postal code. | 22182 | +| `Country` | [LeadCatcherAddressCountry](../../Models/Components/LeadCatcherAddressCountry.md) | :heavy_minus_sign: | Country code for the contact address (ISO 3166-1 alpha-2). | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadCatcherAddressCountry.md b/packages/csharp/docs/Models/Components/LeadCatcherAddressCountry.md new file mode 100644 index 000000000..f51990170 --- /dev/null +++ b/packages/csharp/docs/Models/Components/LeadCatcherAddressCountry.md @@ -0,0 +1,274 @@ +# LeadCatcherAddressCountry + +Country code for the contact address (ISO 3166-1 alpha-2). + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = LeadCatcherAddressCountry.Blank; +``` + + +## Values + +| Name | Value | +| ------- | ------- | +| `Blank` | BLANK | +| `Ad` | AD | +| `Ae` | AE | +| `Af` | AF | +| `Ag` | AG | +| `Ai` | AI | +| `Al` | AL | +| `Am` | AM | +| `An` | AN | +| `Ao` | AO | +| `Aq` | AQ | +| `Ar` | AR | +| `As` | AS | +| `At` | AT | +| `Au` | AU | +| `Aw` | AW | +| `Ax` | AX | +| `Az` | AZ | +| `Ba` | BA | +| `Bb` | BB | +| `Bd` | BD | +| `Be` | BE | +| `Bf` | BF | +| `Bg` | BG | +| `Bh` | BH | +| `Bi` | BI | +| `Bj` | BJ | +| `Bl` | BL | +| `Bm` | BM | +| `Bn` | BN | +| `Bo` | BO | +| `Bq` | BQ | +| `Br` | BR | +| `Bs` | BS | +| `Bt` | BT | +| `Bv` | BV | +| `Bw` | BW | +| `By` | BY | +| `Bz` | BZ | +| `Ca` | CA | +| `Cc` | CC | +| `Cd` | CD | +| `Cf` | CF | +| `Cg` | CG | +| `Ch` | CH | +| `Ci` | CI | +| `Ck` | CK | +| `Cl` | CL | +| `Cm` | CM | +| `Cn` | CN | +| `Co` | CO | +| `Cr` | CR | +| `Cu` | CU | +| `Cv` | CV | +| `Cw` | CW | +| `Cx` | CX | +| `Cy` | CY | +| `Cz` | CZ | +| `De` | DE | +| `Dj` | DJ | +| `Dk` | DK | +| `Dm` | DM | +| `Do` | DO | +| `Dz` | DZ | +| `Ec` | EC | +| `Ee` | EE | +| `Eg` | EG | +| `Eh` | EH | +| `Er` | ER | +| `Es` | ES | +| `Et` | ET | +| `Fi` | FI | +| `Fj` | FJ | +| `Fk` | FK | +| `Fm` | FM | +| `Fo` | FO | +| `Fr` | FR | +| `Ga` | GA | +| `Gb` | GB | +| `Gb1` | GB_1 | +| `Gb2` | GB_2 | +| `Gb3` | GB_3 | +| `Gb4` | GB_4 | +| `Gd` | GD | +| `Ge` | GE | +| `Gf` | GF | +| `Gg` | GG | +| `Gh` | GH | +| `Gi` | GI | +| `Gl` | GL | +| `Gm` | GM | +| `Gn` | GN | +| `Gp` | GP | +| `Gq` | GQ | +| `Gr` | GR | +| `Gs` | GS | +| `Gt` | GT | +| `Gu` | GU | +| `Gw` | GW | +| `Gy` | GY | +| `Hk` | HK | +| `Hm` | HM | +| `Hn` | HN | +| `Hr` | HR | +| `Ht` | HT | +| `Hu` | HU | +| `Id` | ID | +| `Ie` | IE | +| `Il` | IL | +| `Im` | IM | +| `In` | IN | +| `Io` | IO | +| `Iq` | IQ | +| `Ir` | IR | +| `Is` | IS | +| `It` | IT | +| `Je` | JE | +| `Jm` | JM | +| `Jo` | JO | +| `Jp` | JP | +| `Ke` | KE | +| `Kg` | KG | +| `Kh` | KH | +| `Ki` | KI | +| `Km` | KM | +| `Kn` | KN | +| `Ko` | KO | +| `Kp` | KP | +| `Kr` | KR | +| `Kw` | KW | +| `Ky` | KY | +| `Kz` | KZ | +| `La` | LA | +| `Lb` | LB | +| `Lc` | LC | +| `Li` | LI | +| `Lk` | LK | +| `Lr` | LR | +| `Ls` | LS | +| `Lt` | LT | +| `Lu` | LU | +| `Lv` | LV | +| `Ly` | LY | +| `Ma` | MA | +| `Mc` | MC | +| `Md` | MD | +| `Me` | ME | +| `Mf` | MF | +| `Mg` | MG | +| `Mh` | MH | +| `Mk` | MK | +| `Ml` | ML | +| `Mm` | MM | +| `Mn` | MN | +| `Mo` | MO | +| `Mp` | MP | +| `Mq` | MQ | +| `Mr` | MR | +| `Ms` | MS | +| `Mt` | MT | +| `Mu` | MU | +| `Mv` | MV | +| `Mw` | MW | +| `Mx` | MX | +| `My` | MY | +| `Mz` | MZ | +| `Na` | NA | +| `Nc` | NC | +| `Ne` | NE | +| `Nf` | NF | +| `Ng` | NG | +| `Ni` | NI | +| `Nl` | NL | +| `No` | NO | +| `Np` | NP | +| `Nr` | NR | +| `Nu` | NU | +| `Nz` | NZ | +| `Om` | OM | +| `Pa` | PA | +| `Pe` | PE | +| `Pf` | PF | +| `Pg` | PG | +| `Ph` | PH | +| `Pk` | PK | +| `Pl` | PL | +| `Pm` | PM | +| `Pn` | PN | +| `Pr` | PR | +| `Ps` | PS | +| `Pt` | PT | +| `Pw` | PW | +| `Py` | PY | +| `Qa` | QA | +| `Re` | RE | +| `Ro` | RO | +| `Rs` | RS | +| `Ru` | RU | +| `Rw` | RW | +| `Sa` | SA | +| `Sb` | SB | +| `Sc` | SC | +| `Sd` | SD | +| `Se` | SE | +| `Sg` | SG | +| `Sh` | SH | +| `Si` | SI | +| `Sj` | SJ | +| `Sk` | SK | +| `Sl` | SL | +| `Sm` | SM | +| `Sn` | SN | +| `So` | SO | +| `Sr` | SR | +| `Ss` | SS | +| `St` | ST | +| `Sv` | SV | +| `Sx` | SX | +| `Sy` | SY | +| `Sz` | SZ | +| `Tc` | TC | +| `Td` | TD | +| `Tf` | TF | +| `Tg` | TG | +| `Th` | TH | +| `Tj` | TJ | +| `Tk` | TK | +| `Tl` | TL | +| `Tm` | TM | +| `Tn` | TN | +| `To` | TO | +| `Tp` | TP | +| `Tr` | TR | +| `Tt` | TT | +| `Tv` | TV | +| `Tw` | TW | +| `Tz` | TZ | +| `Ua` | UA | +| `Ug` | UG | +| `Um` | UM | +| `Us` | US | +| `Uy` | UY | +| `Uz` | UZ | +| `Va` | VA | +| `Vc` | VC | +| `Ve` | VE | +| `Vg` | VG | +| `Vi` | VI | +| `Vn` | VN | +| `Vu` | VU | +| `Wf` | WF | +| `Ws` | WS | +| `Ye` | YE | +| `Yt` | YT | +| `Za` | ZA | +| `Zm` | ZM | +| `Zw` | ZW | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadCatcherAddressPatch.md b/packages/csharp/docs/Models/Components/LeadCatcherAddressPatch.md new file mode 100644 index 000000000..c9e940077 --- /dev/null +++ b/packages/csharp/docs/Models/Components/LeadCatcherAddressPatch.md @@ -0,0 +1,15 @@ +# LeadCatcherAddressPatch + +Address information for the lead catcher contact. Only the address sub-fields supplied are updated; omitted sub-fields are left unchanged. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `StreetAddress1` | *string* | :heavy_minus_sign: | Street address line 1. | 1234 Trap Road | +| `StreetAddress2` | *string* | :heavy_minus_sign: | Street address line 2. | Suite 100 | +| `City` | *string* | :heavy_minus_sign: | City. | Vienna | +| `StateProvince` | [LeadCatcherPatchStateProvince](../../Models/Components/LeadCatcherPatchStateProvince.md) | :heavy_minus_sign: | The state province code used for contact information. | | +| `ZipPostalCode` | *string* | :heavy_minus_sign: | ZIP or postal code. | 22182 | +| `Country` | [LeadCatcherPatchCountry](../../Models/Components/LeadCatcherPatchCountry.md) | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code used for contact information. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadCatcherAddressStateProvince.md b/packages/csharp/docs/Models/Components/LeadCatcherAddressStateProvince.md new file mode 100644 index 000000000..06d852038 --- /dev/null +++ b/packages/csharp/docs/Models/Components/LeadCatcherAddressStateProvince.md @@ -0,0 +1,839 @@ +# LeadCatcherAddressStateProvince + +State or province code for the contact address (ISO 3166-2). + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = LeadCatcherAddressStateProvince.Blank; +``` + + +## Values + +| Name | Value | +| -------- | -------- | +| `Blank` | BLANK | +| `Aa` | AA | +| `Ab` | AB | +| `Abd` | ABD | +| `Abe` | ABE | +| `ActAus` | ACT_AUS | +| `Ae` | AE | +| `Agb` | AGB | +| `Agy` | AGY | +| `Ak` | AK | +| `Al` | AL | +| `Ans` | ANS | +| `Ant` | ANT | +| `Ap` | AP | +| `Ar` | AR | +| `Ard` | ARD | +| `Arm` | ARM | +| `As` | AS | +| `At1` | AT_1 | +| `At2` | AT_2 | +| `At3` | AT_3 | +| `At4` | AT_4 | +| `At5` | AT_5 | +| `At6` | AT_6 | +| `At7` | AT_7 | +| `At8` | AT_8 | +| `At9` | AT_9 | +| `Az` | AZ | +| `Ban` | BAN | +| `Bas` | BAS | +| `Bbd` | BBD | +| `Bc` | BC | +| `Bdf` | BDF | +| `BeBru` | BE_BRU | +| `Ben` | BEN | +| `BeVan` | BE_VAN | +| `BeVbr` | BE_VBR | +| `BeVli` | BE_VLI | +| `BeVov` | BE_VOV | +| `BeVwv` | BE_VWV | +| `BeWbr` | BE_WBR | +| `BeWht` | BE_WHT | +| `BeWlg` | BE_WLG | +| `BeWlx` | BE_WLX | +| `BeWna` | BE_WNA | +| `Bex` | BEX | +| `Bfs` | BFS | +| `Bge` | BGE | +| `Bgw` | BGW | +| `Bir` | BIR | +| `Bkm` | BKM | +| `Bla` | BLA | +| `Bly` | BLY | +| `Bmh` | BMH | +| `Bnb` | BNB | +| `Bne` | BNE | +| `Bnh` | BNH | +| `Bns` | BNS | +| `Bol` | BOL | +| `Bpl` | BPL | +| `BrAc` | BR_AC | +| `BrAl` | BR_AL | +| `BrAm` | BR_AM | +| `BrAp` | BR_AP | +| `BrBa` | BR_BA | +| `Brc` | BRC | +| `BrCe` | BR_CE | +| `Brd` | BRD | +| `BrDf` | BR_DF | +| `BrEs` | BR_ES | +| `BrGo` | BR_GO | +| `Brk` | BRK | +| `BrMa` | BR_MA | +| `BrMg` | BR_MG | +| `BrMs` | BR_MS | +| `BrMt` | BR_MT | +| `BrPa` | BR_PA | +| `BrPb` | BR_PB | +| `BrPe` | BR_PE | +| `BrPi` | BR_PI | +| `BrPr` | BR_PR | +| `BrRj` | BR_RJ | +| `BrRn` | BR_RN | +| `BrRo` | BR_RO | +| `BrRr` | BR_RR | +| `BrRs` | BR_RS | +| `BrSc` | BR_SC | +| `BrSe` | BR_SE | +| `BrSp` | BR_SP | +| `BrTo` | BR_TO | +| `Bry` | BRY | +| `Bst` | BST | +| `Bur` | BUR | +| `Ca` | CA | +| `Cam` | CAM | +| `Cay` | CAY | +| `Cgn` | CGN | +| `Cgv` | CGV | +| `ChAg` | CH_AG | +| `ChAi` | CH_AI | +| `ChAr` | CH_AR | +| `ChBe` | CH_BE | +| `ChBl` | CH_BL | +| `ChBs` | CH_BS | +| `ChFr` | CH_FR | +| `ChGe` | CH_GE | +| `ChGl` | CH_GL | +| `ChGr` | CH_GR | +| `Chi` | CHI | +| `ChJu` | CH_JU | +| `ChLu` | CH_LU | +| `ChNe` | CH_NE | +| `ChNw` | CH_NW | +| `ChOw` | CH_OW | +| `Chs` | CHS | +| `ChSg` | CH_SG | +| `ChSh` | CH_SH | +| `ChSo` | CH_SO | +| `ChSz` | CH_SZ | +| `ChTg` | CH_TG | +| `ChTi` | CH_TI | +| `ChUr` | CH_UR | +| `ChVd` | CH_VD | +| `ChVs` | CH_VS | +| `ChZg` | CH_ZG | +| `ChZh` | CH_ZH | +| `Ckf` | CKF | +| `Ckt` | CKT | +| `Cld` | CLD | +| `Clk` | CLK | +| `Clr` | CLR | +| `Cma` | CMA | +| `Cmd` | CMD | +| `Cmn` | CMN | +| `Cn11` | CN_11 | +| `Cn12` | CN_12 | +| `Cn13` | CN_13 | +| `Cn14` | CN_14 | +| `Cn15` | CN_15 | +| `Cn21` | CN_21 | +| `Cn22` | CN_22 | +| `Cn23` | CN_23 | +| `Cn31` | CN_31 | +| `Cn32` | CN_32 | +| `Cn33` | CN_33 | +| `Cn34` | CN_34 | +| `Cn35` | CN_35 | +| `Cn36` | CN_36 | +| `Cn37` | CN_37 | +| `Cn41` | CN_41 | +| `Cn42` | CN_42 | +| `Cn43` | CN_43 | +| `Cn44` | CN_44 | +| `Cn45` | CN_45 | +| `Cn46` | CN_46 | +| `Cn50` | CN_50 | +| `Cn51` | CN_51 | +| `Cn52` | CN_52 | +| `Cn53` | CN_53 | +| `Cn54` | CN_54 | +| `Cn61` | CN_61 | +| `Cn62` | CN_62 | +| `Cn63` | CN_63 | +| `Cn64` | CN_64 | +| `Cn65` | CN_65 | +| `Cn91` | CN_91 | +| `Cn92` | CN_92 | +| `Co` | CO | +| `Con` | CON | +| `Cov` | COV | +| `Crf` | CRF | +| `Cry` | CRY | +| `Csr` | CSR | +| `Ct` | CT | +| `Cwd` | CWD | +| `Cwy` | CWY | +| `Dal` | DAL | +| `Dby` | DBY | +| `Dc` | DC | +| `De` | DE | +| `Den` | DEN | +| `Der` | DER | +| `Dev` | DEV | +| `Dgn` | DGN | +| `Dgy` | DGY | +| `Dk015` | DK_015 | +| `Dk020` | DK_020 | +| `Dk025` | DK_025 | +| `Dk030` | DK_030 | +| `Dk035` | DK_035 | +| `Dk040` | DK_040 | +| `Dk042` | DK_042 | +| `Dk050` | DK_050 | +| `Dk055` | DK_055 | +| `Dk060` | DK_060 | +| `Dk065` | DK_065 | +| `Dk070` | DK_070 | +| `Dk076` | DK_076 | +| `Dk080` | DK_080 | +| `Dk101` | DK_101 | +| `Dk147` | DK_147 | +| `Dk81` | DK_81 | +| `Dk82` | DK_82 | +| `Dk83` | DK_83 | +| `Dk84` | DK_84 | +| `Dk85` | DK_85 | +| `Dnc` | DNC | +| `Dnd` | DND | +| `Dor` | DOR | +| `Dow` | DOW | +| `Dry` | DRY | +| `Dud` | DUD | +| `Dur` | DUR | +| `Eal` | EAL | +| `Eay` | EAY | +| `Edh` | EDH | +| `Edu` | EDU | +| `Eln` | ELN | +| `Els` | ELS | +| `Enf` | ENF | +| `Erw` | ERW | +| `Ery` | ERY | +| `Ess` | ESS | +| `Esx` | ESX | +| `Fal` | FAL | +| `Fer` | FER | +| `Fif` | FIF | +| `Fl` | FL | +| `Fln` | FLN | +| `Fm` | FM | +| `Ga` | GA | +| `Gat` | GAT | +| `Gb` | GB | +| `Glg` | GLG | +| `Gln` | GLN | +| `Gls` | GLS | +| `Gr01` | GR_01 | +| `Gr03` | GR_03 | +| `Gr04` | GR_04 | +| `Gr05` | GR_05 | +| `Gr06` | GR_06 | +| `Gr07` | GR_07 | +| `Gr11` | GR_11 | +| `Gr12` | GR_12 | +| `Gr13` | GR_13 | +| `Gr14` | GR_14 | +| `Gr15` | GR_15 | +| `Gr16` | GR_16 | +| `Gr17` | GR_17 | +| `Gr21` | GR_21 | +| `Gr22` | GR_22 | +| `Gr23` | GR_23 | +| `Gr24` | GR_24 | +| `Gr31` | GR_31 | +| `Gr32` | GR_32 | +| `Gr33` | GR_33 | +| `Gr34` | GR_34 | +| `Gr41` | GR_41 | +| `Gr42` | GR_42 | +| `Gr43` | GR_43 | +| `Gr44` | GR_44 | +| `Gr51` | GR_51 | +| `Gr52` | GR_52 | +| `Gr53` | GR_53 | +| `Gr54` | GR_54 | +| `Gr55` | GR_55 | +| `Gr56` | GR_56 | +| `Gr57` | GR_57 | +| `Gr58` | GR_58 | +| `Gr59` | GR_59 | +| `Gr61` | GR_61 | +| `Gr62` | GR_62 | +| `Gr63` | GR_63 | +| `Gr64` | GR_64 | +| `Gr69` | GR_69 | +| `Gr71` | GR_71 | +| `Gr72` | GR_72 | +| `Gr73` | GR_73 | +| `Gr81` | GR_81 | +| `Gr82` | GR_82 | +| `Gr83` | GR_83 | +| `Gr84` | GR_84 | +| `Gr85` | GR_85 | +| `Gr91` | GR_91 | +| `Gr92` | GR_92 | +| `Gr93` | GR_93 | +| `Gr94` | GR_94 | +| `GrA1` | GR_A_1 | +| `Gre` | GRE | +| `Gtm` | GTM | +| `Gu` | GU | +| `Gwn` | GWN | +| `Hal` | HAL | +| `Ham` | HAM | +| `Hav` | HAV | +| `Hck` | HCK | +| `Hef` | HEF | +| `Hi` | HI | +| `Hil` | HIL | +| `Hld` | HLD | +| `Hmf` | HMF | +| `Hns` | HNS | +| `Hpl` | HPL | +| `Hrt` | HRT | +| `Hrw` | HRW | +| `Hry` | HRY | +| `Ia` | IA | +| `Id` | ID | +| `IeC` | IE_C | +| `IeCe` | IE_CE | +| `IeCn` | IE_CN | +| `IeCw` | IE_CW | +| `IeD` | IE_D | +| `IeDl` | IE_DL | +| `IeG` | IE_G | +| `IeKe` | IE_KE | +| `IeKk` | IE_KK | +| `IeKy` | IE_KY | +| `IeLd` | IE_LD | +| `IeLh` | IE_LH | +| `IeLk` | IE_LK | +| `IeLm` | IE_LM | +| `IeLs` | IE_LS | +| `IeMh` | IE_MH | +| `IeMn` | IE_MN | +| `IeMo` | IE_MO | +| `IeOy` | IE_OY | +| `IeRn` | IE_RN | +| `IeSo` | IE_SO | +| `IeTa` | IE_TA | +| `IeWd` | IE_WD | +| `IeWh` | IE_WH | +| `IeWw` | IE_WW | +| `IeWx` | IE_WX | +| `Il` | IL | +| `In` | IN | +| `InAn` | IN_AN | +| `InAp` | IN_AP | +| `InAr` | IN_AR | +| `InAs` | IN_AS | +| `InBr` | IN_BR | +| `InCh` | IN_CH | +| `InCt` | IN_CT | +| `InDd` | IN_DD | +| `InDl` | IN_DL | +| `InDn` | IN_DN | +| `InGa` | IN_GA | +| `InGj` | IN_GJ | +| `InHp` | IN_HP | +| `InHr` | IN_HR | +| `InJh` | IN_JH | +| `InJk` | IN_JK | +| `InKa` | IN_KA | +| `InKl` | IN_KL | +| `InLd` | IN_LD | +| `InMh` | IN_MH | +| `InMl` | IN_ML | +| `InMn` | IN_MN | +| `InMp` | IN_MP | +| `InMz` | IN_MZ | +| `InNl` | IN_NL | +| `InOr` | IN_OR | +| `InPb` | IN_PB | +| `InPy` | IN_PY | +| `InRj` | IN_RJ | +| `InSk` | IN_SK | +| `InTg` | IN_TG | +| `InTn` | IN_TN | +| `InTr` | IN_TR | +| `InUl` | IN_UL | +| `InUp` | IN_UP | +| `InWb` | IN_WB | +| `Ioa` | IOA | +| `Ioi` | IOI | +| `Iol` | IOL | +| `Iom` | IOM | +| `Ios` | IOS | +| `Iow` | IOW | +| `Ioy` | IOY | +| `Isl` | ISL | +| `It21` | IT_21 | +| `It23` | IT_23 | +| `It25` | IT_25 | +| `It32` | IT_32 | +| `It34` | IT_34 | +| `It36` | IT_36 | +| `It42` | IT_42 | +| `It45` | IT_45 | +| `It52` | IT_52 | +| `It55` | IT_55 | +| `It57` | IT_57 | +| `It62` | IT_62 | +| `It65` | IT_65 | +| `It67` | IT_67 | +| `It72` | IT_72 | +| `It75` | IT_75 | +| `It77` | IT_77 | +| `It78` | IT_78 | +| `It82` | IT_82 | +| `It88` | IT_88 | +| `ItAg` | IT_AG | +| `ItAl` | IT_AL | +| `ItAn` | IT_AN | +| `ItAo` | IT_AO | +| `ItAp` | IT_AP | +| `ItAq` | IT_AQ | +| `ItAr` | IT_AR | +| `ItAt` | IT_AT | +| `ItAv` | IT_AV | +| `ItBa` | IT_BA | +| `ItBg` | IT_BG | +| `ItBi` | IT_BI | +| `ItBl` | IT_BL | +| `ItBn` | IT_BN | +| `ItBo` | IT_BO | +| `ItBr` | IT_BR | +| `ItBs` | IT_BS | +| `ItBt` | IT_BT | +| `ItBz` | IT_BZ | +| `ItCa` | IT_CA | +| `ItCb` | IT_CB | +| `ItCe` | IT_CE | +| `ItCh` | IT_CH | +| `ItCi` | IT_CI | +| `ItCl` | IT_CL | +| `ItCn` | IT_CN | +| `ItCo` | IT_CO | +| `ItCr` | IT_CR | +| `ItCs` | IT_CS | +| `ItCt` | IT_CT | +| `ItCz` | IT_CZ | +| `ItEn` | IT_EN | +| `ItFc` | IT_FC | +| `ItFe` | IT_FE | +| `ItFg` | IT_FG | +| `ItFi` | IT_FI | +| `ItFm` | IT_FM | +| `ItFr` | IT_FR | +| `ItGe` | IT_GE | +| `ItGo` | IT_GO | +| `ItGr` | IT_GR | +| `ItIm` | IT_IM | +| `ItIs` | IT_IS | +| `ItKr` | IT_KR | +| `ItLc` | IT_LC | +| `ItLe` | IT_LE | +| `ItLi` | IT_LI | +| `ItLo` | IT_LO | +| `ItLt` | IT_LT | +| `ItLu` | IT_LU | +| `ItMb` | IT_MB | +| `ItMc` | IT_MC | +| `ItMe` | IT_ME | +| `ItMi` | IT_MI | +| `ItMn` | IT_MN | +| `ItMo` | IT_MO | +| `ItMs` | IT_MS | +| `ItMt` | IT_MT | +| `ItNa` | IT_NA | +| `ItNo` | IT_NO | +| `ItNu` | IT_NU | +| `ItOg` | IT_OG | +| `ItOr` | IT_OR | +| `ItOt` | IT_OT | +| `ItPa` | IT_PA | +| `ItPc` | IT_PC | +| `ItPd` | IT_PD | +| `ItPe` | IT_PE | +| `ItPg` | IT_PG | +| `ItPi` | IT_PI | +| `ItPn` | IT_PN | +| `ItPo` | IT_PO | +| `ItPr` | IT_PR | +| `ItPt` | IT_PT | +| `ItPu` | IT_PU | +| `ItPv` | IT_PV | +| `ItPz` | IT_PZ | +| `ItRa` | IT_RA | +| `ItRc` | IT_RC | +| `ItRe` | IT_RE | +| `ItRg` | IT_RG | +| `ItRi` | IT_RI | +| `ItRm` | IT_RM | +| `ItRn` | IT_RN | +| `ItRo` | IT_RO | +| `ItSa` | IT_SA | +| `ItSi` | IT_SI | +| `ItSo` | IT_SO | +| `ItSp` | IT_SP | +| `ItSr` | IT_SR | +| `ItSs` | IT_SS | +| `ItSv` | IT_SV | +| `ItTa` | IT_TA | +| `ItTe` | IT_TE | +| `ItTn` | IT_TN | +| `ItTo` | IT_TO | +| `ItTp` | IT_TP | +| `ItTr` | IT_TR | +| `ItTs` | IT_TS | +| `ItTv` | IT_TV | +| `ItUd` | IT_UD | +| `ItVa` | IT_VA | +| `ItVb` | IT_VB | +| `ItVc` | IT_VC | +| `ItVe` | IT_VE | +| `ItVi` | IT_VI | +| `ItVr` | IT_VR | +| `ItVs` | IT_VS | +| `ItVt` | IT_VT | +| `ItVv` | IT_VV | +| `Ivk` | IVK | +| `Jp01` | JP_01 | +| `Jp02` | JP_02 | +| `Jp03` | JP_03 | +| `Jp04` | JP_04 | +| `Jp05` | JP_05 | +| `Jp06` | JP_06 | +| `Jp07` | JP_07 | +| `Jp08` | JP_08 | +| `Jp09` | JP_09 | +| `Jp10` | JP_10 | +| `Jp11` | JP_11 | +| `Jp12` | JP_12 | +| `Jp13` | JP_13 | +| `Jp14` | JP_14 | +| `Jp15` | JP_15 | +| `Jp16` | JP_16 | +| `Jp17` | JP_17 | +| `Jp18` | JP_18 | +| `Jp19` | JP_19 | +| `Jp20` | JP_20 | +| `Jp21` | JP_21 | +| `Jp22` | JP_22 | +| `Jp23` | JP_23 | +| `Jp24` | JP_24 | +| `Jp25` | JP_25 | +| `Jp26` | JP_26 | +| `Jp27` | JP_27 | +| `Jp28` | JP_28 | +| `Jp29` | JP_29 | +| `Jp30` | JP_30 | +| `Jp31` | JP_31 | +| `Jp32` | JP_32 | +| `Jp33` | JP_33 | +| `Jp34` | JP_34 | +| `Jp35` | JP_35 | +| `Jp36` | JP_36 | +| `Jp37` | JP_37 | +| `Jp38` | JP_38 | +| `Jp39` | JP_39 | +| `Jp40` | JP_40 | +| `Jp41` | JP_41 | +| `Jp42` | JP_42 | +| `Jp43` | JP_43 | +| `Jp44` | JP_44 | +| `Jp45` | JP_45 | +| `Jp46` | JP_46 | +| `Jp47` | JP_47 | +| `Kec` | KEC | +| `Ken` | KEN | +| `Khl` | KHL | +| `Kir` | KIR | +| `Ks` | KS | +| `Ktt` | KTT | +| `Kwl` | KWL | +| `Ky` | KY | +| `La` | LA | +| `Lan` | LAN | +| `Lbh` | LBH | +| `Lce` | LCE | +| `Lds` | LDS | +| `Lec` | LEC | +| `Lew` | LEW | +| `Lin` | LIN | +| `Liv` | LIV | +| `Lmv` | LMV | +| `Lnd` | LND | +| `Lrn` | LRN | +| `Lsb` | LSB | +| `LuD` | LU_D | +| `LuG` | LU_G | +| `LuL` | LU_L | +| `Lut` | LUT | +| `Ma` | MA | +| `Man` | MAN | +| `Mb` | MB | +| `Md` | MD | +| `Mdb` | MDB | +| `Mds` | MDS | +| `Mdw` | MDW | +| `Me` | ME | +| `Mft` | MFT | +| `Mgm` | MGM | +| `Mh` | MH | +| `Mi` | MI | +| `Mik` | MIK | +| `Mln` | MLN | +| `Mn` | MN | +| `Mo` | MO | +| `Mon` | MON | +| `Mp` | MP | +| `Mrt` | MRT | +| `Mry` | MRY | +| `Ms` | MS | +| `Msy` | MSY | +| `Mt` | MT | +| `Mty` | MTY | +| `MxAgu` | MX_AGU | +| `MxBcn` | MX_BCN | +| `MxBcs` | MX_BCS | +| `MxCam` | MX_CAM | +| `MxChh` | MX_CHH | +| `MxChp` | MX_CHP | +| `MxCoa` | MX_COA | +| `MxCol` | MX_COL | +| `MxDif` | MX_DIF | +| `MxDur` | MX_DUR | +| `MxGro` | MX_GRO | +| `MxGua` | MX_GUA | +| `MxHid` | MX_HID | +| `MxJal` | MX_JAL | +| `MxMex` | MX_MEX | +| `MxMic` | MX_MIC | +| `MxMor` | MX_MOR | +| `MxNay` | MX_NAY | +| `MxNle` | MX_NLE | +| `MxOax` | MX_OAX | +| `MxPue` | MX_PUE | +| `MxQue` | MX_QUE | +| `MxRoo` | MX_ROO | +| `MxSin` | MX_SIN | +| `MxSlp` | MX_SLP | +| `MxSon` | MX_SON | +| `MxTab` | MX_TAB | +| `MxTam` | MX_TAM | +| `MxTla` | MX_TLA | +| `MxVer` | MX_VER | +| `MxYuc` | MX_YUC | +| `MxZac` | MX_ZAC | +| `Myl` | MYL | +| `Nay` | NAY | +| `Nb` | NB | +| `Nbl` | NBL | +| `Nc` | NC | +| `Nd` | ND | +| `Ndn` | NDN | +| `Ne` | NE | +| `Nel` | NEL | +| `Net` | NET | +| `Nfk` | NFK | +| `Ngm` | NGM | +| `Nh` | NH | +| `Nj` | NJ | +| `Nl` | NL | +| `NlDr` | NL_DR | +| `NlFl` | NL_FL | +| `NlFr` | NL_FR | +| `NlGe` | NL_GE | +| `NlGr` | NL_GR | +| `Nlk` | NLK | +| `NlLi` | NL_LI | +| `Nln` | NLN | +| `NlNb` | NL_NB | +| `NlNh` | NL_NH | +| `NlOv` | NL_OV | +| `NlUt` | NL_UT | +| `NlZe` | NL_ZE | +| `NlZh` | NL_ZH | +| `Nm` | NM | +| `No01` | NO_01 | +| `No02` | NO_02 | +| `No03` | NO_03 | +| `No04` | NO_04 | +| `No05` | NO_05 | +| `No06` | NO_06 | +| `No07` | NO_07 | +| `No08` | NO_08 | +| `No09` | NO_09 | +| `No10` | NO_10 | +| `No11` | NO_11 | +| `No12` | NO_12 | +| `No14` | NO_14 | +| `No15` | NO_15 | +| `No16` | NO_16 | +| `No17` | NO_17 | +| `No18` | NO_18 | +| `No19` | NO_19 | +| `No20` | NO_20 | +| `No21` | NO_21 | +| `No22` | NO_22 | +| `Nry` | NRY | +| `Ns` | NS | +| `Nsm` | NSM | +| `NswAus` | NSW_AUS | +| `Nt` | NT | +| `NtAus` | NT_AUS | +| `Nta` | NTA | +| `Nth` | NTH | +| `Ntl` | NTL | +| `Ntt` | NTT | +| `Nty` | NTY | +| `Nu` | NU | +| `Nv` | NV | +| `Nwm` | NWM | +| `Nwp` | NWP | +| `Ny` | NY | +| `Nyk` | NYK | +| `Nym` | NYM | +| `Oh` | OH | +| `Ok` | OK | +| `Old` | OLD | +| `Omh` | OMH | +| `On` | ON | +| `Or` | OR | +| `Ork` | ORK | +| `Oxf` | OXF | +| `Pa` | PA | +| `Pe` | PE | +| `Pem` | PEM | +| `Pkn` | PKN | +| `Ply` | PLY | +| `Pol` | POL | +| `Por` | POR | +| `Pow` | POW | +| `Pr` | PR | +| `Pte` | PTE | +| `Pw` | PW | +| `Qc` | QC | +| `QldAus` | QLD_AUS | +| `Rcc` | RCC | +| `Rch` | RCH | +| `Rct` | RCT | +| `Rdb` | RDB | +| `Rdg` | RDG | +| `Rfw` | RFW | +| `Ri` | RI | +| `Ric` | RIC | +| `Rot` | ROT | +| `Rut` | RUT | +| `SaAus` | SA_AUS | +| `Saw` | SAW | +| `Say` | SAY | +| `Sc` | SC | +| `Scb` | SCB | +| `Sd` | SD | +| `Sfk` | SFK | +| `Sft` | SFT | +| `Sgc` | SGC | +| `Sgm` | SGM | +| `Shf` | SHF | +| `Shn` | SHN | +| `Shr` | SHR | +| `Sk` | SK | +| `Skp` | SKP | +| `Slf` | SLF | +| `Slg` | SLG | +| `Slk` | SLK | +| `Sol` | SOL | +| `Som` | SOM | +| `Sos` | SOS | +| `Sry` | SRY | +| `Stb` | STB | +| `Ste` | STE | +| `Stg` | STG | +| `Sth` | STH | +| `Stn` | STN | +| `Sts` | STS | +| `Stt` | STT | +| `Sty` | STY | +| `Swa` | SWA | +| `Swd` | SWD | +| `Swk` | SWK | +| `Syk` | SYK | +| `Tam` | TAM | +| `TasAus` | TAS_AUS | +| `Tfw` | TFW | +| `Thr` | THR | +| `Tn` | TN | +| `Tob` | TOB | +| `Tof` | TOF | +| `Trf` | TRF | +| `Twh` | TWH | +| `Twr` | TWR | +| `Tx` | TX | +| `Tyr` | TYR | +| `Ut` | UT | +| `Va` | VA | +| `Vgl` | VGL | +| `Vi` | VI | +| `VicAus` | VIC_AUS | +| `Vt` | VT | +| `Wa` | WA | +| `WaAus` | WA_AUS | +| `War` | WAR | +| `Wbk` | WBK | +| `Wdu` | WDU | +| `Wft` | WFT | +| `Wgm` | WGM | +| `Wgn` | WGN | +| `Wi` | WI | +| `Wil` | WIL | +| `Wis` | WIS | +| `Wkf` | WKF | +| `Wll` | WLL | +| `Wln` | WLN | +| `Wlv` | WLV | +| `Wmd` | WMD | +| `Wnd` | WND | +| `Wnm` | WNM | +| `Wok` | WOK | +| `Wor` | WOR | +| `Wrl` | WRL | +| `Wrt` | WRT | +| `Wrx` | WRX | +| `Wsm` | WSM | +| `Wsx` | WSX | +| `Wv` | WV | +| `Wy` | WY | +| `Wyk` | WYK | +| `Yor` | YOR | +| `Yt` | YT | +| `Zet` | ZET | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadCatcherConfig.md b/packages/csharp/docs/Models/Components/LeadCatcherConfig.md new file mode 100644 index 000000000..31ffb0d75 --- /dev/null +++ b/packages/csharp/docs/Models/Components/LeadCatcherConfig.md @@ -0,0 +1,12 @@ +# LeadCatcherConfig + +Notification and role configuration for a lead catcher contact. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `RfpEmailEnabled` | *bool* | :heavy_minus_sign: | True indicates this contact receives email notifications when an RFP is submitted. | true | +| `PdfLinkEnabled` | *bool* | :heavy_minus_sign: | True indicates the RFP notification email includes a PDF link. Only meaningful when `rfpEmailEnabled` is `true`. | true | +| `SupplierContactRole` | *string* | :heavy_minus_sign: | Name of the supplier contact role assigned to this contact. | Sales Manager | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadCatcherConfigPatch.md b/packages/csharp/docs/Models/Components/LeadCatcherConfigPatch.md new file mode 100644 index 000000000..410d5c32e --- /dev/null +++ b/packages/csharp/docs/Models/Components/LeadCatcherConfigPatch.md @@ -0,0 +1,12 @@ +# LeadCatcherConfigPatch + +Notification and role configuration for the lead catcher contact. Only the config sub-fields supplied are updated; omitted sub-fields are left unchanged. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `RfpEmailEnabled` | *bool* | :heavy_minus_sign: | True indicates this contact receives email notifications when an RFP is submitted. | true | +| `PdfLinkEnabled` | *bool* | :heavy_minus_sign: | True indicates the RFP notification email includes a PDF link. Only meaningful when `rfpEmailEnabled` is `true`. | true | +| `SupplierContactRole` | *string* | :heavy_minus_sign: | Name of the supplier contact role assigned to this contact. | roleName | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadCatcherOverview.md b/packages/csharp/docs/Models/Components/LeadCatcherOverview.md new file mode 100644 index 000000000..07dc57ace --- /dev/null +++ b/packages/csharp/docs/Models/Components/LeadCatcherOverview.md @@ -0,0 +1,12 @@ +# LeadCatcherOverview + +A lightweight, non-PII overview of a lead catcher contact. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `Id` | *string* | :heavy_check_mark: | Lead catcher ID. | 7e5c2c23-b2bb-461a-adc9-025184988519 | +| `FirstName` | *string* | :heavy_check_mark: | First name of the lead catcher contact. | Jane | +| `LastName` | *string* | :heavy_check_mark: | Last name of the lead catcher contact. | Smith | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadCatcherPatch.md b/packages/csharp/docs/Models/Components/LeadCatcherPatch.md new file mode 100644 index 000000000..1bb612b94 --- /dev/null +++ b/packages/csharp/docs/Models/Components/LeadCatcherPatch.md @@ -0,0 +1,19 @@ +# LeadCatcherPatch + +Partial update payload for a lead catcher contact. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `FirstName` | *string* | :heavy_minus_sign: | First name of the lead catcher contact. | Jane | +| `LastName` | *string* | :heavy_minus_sign: | Last name of the lead catcher contact. | Smith | +| `Title` | *string* | :heavy_minus_sign: | Job title of the lead catcher contact. | Director of Sales | +| `Email` | *string* | :heavy_minus_sign: | Email address of the lead catcher contact. RFP notifications are sent to this address. | jane.smith@example.com | +| `Phone` | *string* | :heavy_minus_sign: | Phone number of the lead catcher contact. | +1-555-0100 | +| `Fax` | *string* | :heavy_minus_sign: | Fax number of the lead catcher contact. | +1-555-0101 | +| `Address` | [LeadCatcherAddressPatch](../../Models/Components/LeadCatcherAddressPatch.md) | :heavy_minus_sign: | Address information for the lead catcher contact. Only the address sub-fields supplied are updated; omitted sub-fields are left unchanged. | | +| `Locale` | *string* | :heavy_minus_sign: | Locale used for planner communications sent to this contact. | en-US | +| `Config` | [LeadCatcherConfigPatch](../../Models/Components/LeadCatcherConfigPatch.md) | :heavy_minus_sign: | Notification and role configuration for the lead catcher contact. Only the config sub-fields supplied are updated; omitted sub-fields are left unchanged. | | +| `AdditionalInfo` | *string* | :heavy_minus_sign: | Additional information about the lead catcher contact. | Preferred contact for APAC venues. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadCatcherPatchCountry.md b/packages/csharp/docs/Models/Components/LeadCatcherPatchCountry.md new file mode 100644 index 000000000..d7104506b --- /dev/null +++ b/packages/csharp/docs/Models/Components/LeadCatcherPatchCountry.md @@ -0,0 +1,274 @@ +# LeadCatcherPatchCountry + +ISO 3166 two-letter (alpha-2) country code used for contact information. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = LeadCatcherPatchCountry.Blank; +``` + + +## Values + +| Name | Value | +| ------- | ------- | +| `Blank` | BLANK | +| `Ad` | AD | +| `Ae` | AE | +| `Af` | AF | +| `Ag` | AG | +| `Ai` | AI | +| `Al` | AL | +| `Am` | AM | +| `An` | AN | +| `Ao` | AO | +| `Aq` | AQ | +| `Ar` | AR | +| `As` | AS | +| `At` | AT | +| `Au` | AU | +| `Aw` | AW | +| `Ax` | AX | +| `Az` | AZ | +| `Ba` | BA | +| `Bb` | BB | +| `Bd` | BD | +| `Be` | BE | +| `Bf` | BF | +| `Bg` | BG | +| `Bh` | BH | +| `Bi` | BI | +| `Bj` | BJ | +| `Bl` | BL | +| `Bm` | BM | +| `Bn` | BN | +| `Bo` | BO | +| `Bq` | BQ | +| `Br` | BR | +| `Bs` | BS | +| `Bt` | BT | +| `Bv` | BV | +| `Bw` | BW | +| `By` | BY | +| `Bz` | BZ | +| `Ca` | CA | +| `Cc` | CC | +| `Cd` | CD | +| `Cf` | CF | +| `Cg` | CG | +| `Ch` | CH | +| `Ci` | CI | +| `Ck` | CK | +| `Cl` | CL | +| `Cm` | CM | +| `Cn` | CN | +| `Co` | CO | +| `Cr` | CR | +| `Cu` | CU | +| `Cv` | CV | +| `Cw` | CW | +| `Cx` | CX | +| `Cy` | CY | +| `Cz` | CZ | +| `De` | DE | +| `Dj` | DJ | +| `Dk` | DK | +| `Dm` | DM | +| `Do` | DO | +| `Dz` | DZ | +| `Ec` | EC | +| `Ee` | EE | +| `Eg` | EG | +| `Eh` | EH | +| `Er` | ER | +| `Es` | ES | +| `Et` | ET | +| `Fi` | FI | +| `Fj` | FJ | +| `Fk` | FK | +| `Fm` | FM | +| `Fo` | FO | +| `Fr` | FR | +| `Ga` | GA | +| `Gb` | GB | +| `Gb1` | GB_1 | +| `Gb2` | GB_2 | +| `Gb3` | GB_3 | +| `Gb4` | GB_4 | +| `Gd` | GD | +| `Ge` | GE | +| `Gf` | GF | +| `Gg` | GG | +| `Gh` | GH | +| `Gi` | GI | +| `Gl` | GL | +| `Gm` | GM | +| `Gn` | GN | +| `Gp` | GP | +| `Gq` | GQ | +| `Gr` | GR | +| `Gs` | GS | +| `Gt` | GT | +| `Gu` | GU | +| `Gw` | GW | +| `Gy` | GY | +| `Hk` | HK | +| `Hm` | HM | +| `Hn` | HN | +| `Hr` | HR | +| `Ht` | HT | +| `Hu` | HU | +| `Id` | ID | +| `Ie` | IE | +| `Il` | IL | +| `Im` | IM | +| `In` | IN | +| `Io` | IO | +| `Iq` | IQ | +| `Ir` | IR | +| `Is` | IS | +| `It` | IT | +| `Je` | JE | +| `Jm` | JM | +| `Jo` | JO | +| `Jp` | JP | +| `Ke` | KE | +| `Kg` | KG | +| `Kh` | KH | +| `Ki` | KI | +| `Km` | KM | +| `Kn` | KN | +| `Ko` | KO | +| `Kp` | KP | +| `Kr` | KR | +| `Kw` | KW | +| `Ky` | KY | +| `Kz` | KZ | +| `La` | LA | +| `Lb` | LB | +| `Lc` | LC | +| `Li` | LI | +| `Lk` | LK | +| `Lr` | LR | +| `Ls` | LS | +| `Lt` | LT | +| `Lu` | LU | +| `Lv` | LV | +| `Ly` | LY | +| `Ma` | MA | +| `Mc` | MC | +| `Md` | MD | +| `Me` | ME | +| `Mf` | MF | +| `Mg` | MG | +| `Mh` | MH | +| `Mk` | MK | +| `Ml` | ML | +| `Mm` | MM | +| `Mn` | MN | +| `Mo` | MO | +| `Mp` | MP | +| `Mq` | MQ | +| `Mr` | MR | +| `Ms` | MS | +| `Mt` | MT | +| `Mu` | MU | +| `Mv` | MV | +| `Mw` | MW | +| `Mx` | MX | +| `My` | MY | +| `Mz` | MZ | +| `Na` | NA | +| `Nc` | NC | +| `Ne` | NE | +| `Nf` | NF | +| `Ng` | NG | +| `Ni` | NI | +| `Nl` | NL | +| `No` | NO | +| `Np` | NP | +| `Nr` | NR | +| `Nu` | NU | +| `Nz` | NZ | +| `Om` | OM | +| `Pa` | PA | +| `Pe` | PE | +| `Pf` | PF | +| `Pg` | PG | +| `Ph` | PH | +| `Pk` | PK | +| `Pl` | PL | +| `Pm` | PM | +| `Pn` | PN | +| `Pr` | PR | +| `Ps` | PS | +| `Pt` | PT | +| `Pw` | PW | +| `Py` | PY | +| `Qa` | QA | +| `Re` | RE | +| `Ro` | RO | +| `Rs` | RS | +| `Ru` | RU | +| `Rw` | RW | +| `Sa` | SA | +| `Sb` | SB | +| `Sc` | SC | +| `Sd` | SD | +| `Se` | SE | +| `Sg` | SG | +| `Sh` | SH | +| `Si` | SI | +| `Sj` | SJ | +| `Sk` | SK | +| `Sl` | SL | +| `Sm` | SM | +| `Sn` | SN | +| `So` | SO | +| `Sr` | SR | +| `Ss` | SS | +| `St` | ST | +| `Sv` | SV | +| `Sx` | SX | +| `Sy` | SY | +| `Sz` | SZ | +| `Tc` | TC | +| `Td` | TD | +| `Tf` | TF | +| `Tg` | TG | +| `Th` | TH | +| `Tj` | TJ | +| `Tk` | TK | +| `Tl` | TL | +| `Tm` | TM | +| `Tn` | TN | +| `To` | TO | +| `Tp` | TP | +| `Tr` | TR | +| `Tt` | TT | +| `Tv` | TV | +| `Tw` | TW | +| `Tz` | TZ | +| `Ua` | UA | +| `Ug` | UG | +| `Um` | UM | +| `Us` | US | +| `Uy` | UY | +| `Uz` | UZ | +| `Va` | VA | +| `Vc` | VC | +| `Ve` | VE | +| `Vg` | VG | +| `Vi` | VI | +| `Vn` | VN | +| `Vu` | VU | +| `Wf` | WF | +| `Ws` | WS | +| `Ye` | YE | +| `Yt` | YT | +| `Za` | ZA | +| `Zm` | ZM | +| `Zw` | ZW | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadCatcherPatchStateProvince.md b/packages/csharp/docs/Models/Components/LeadCatcherPatchStateProvince.md new file mode 100644 index 000000000..7e732a406 --- /dev/null +++ b/packages/csharp/docs/Models/Components/LeadCatcherPatchStateProvince.md @@ -0,0 +1,839 @@ +# LeadCatcherPatchStateProvince + +The state province code used for contact information. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = LeadCatcherPatchStateProvince.Blank; +``` + + +## Values + +| Name | Value | +| -------- | -------- | +| `Blank` | BLANK | +| `Aa` | AA | +| `Ab` | AB | +| `Abd` | ABD | +| `Abe` | ABE | +| `ActAus` | ACT_AUS | +| `Ae` | AE | +| `Agb` | AGB | +| `Agy` | AGY | +| `Ak` | AK | +| `Al` | AL | +| `Ans` | ANS | +| `Ant` | ANT | +| `Ap` | AP | +| `Ar` | AR | +| `Ard` | ARD | +| `Arm` | ARM | +| `As` | AS | +| `At1` | AT_1 | +| `At2` | AT_2 | +| `At3` | AT_3 | +| `At4` | AT_4 | +| `At5` | AT_5 | +| `At6` | AT_6 | +| `At7` | AT_7 | +| `At8` | AT_8 | +| `At9` | AT_9 | +| `Az` | AZ | +| `Ban` | BAN | +| `Bas` | BAS | +| `Bbd` | BBD | +| `Bc` | BC | +| `Bdf` | BDF | +| `BeBru` | BE_BRU | +| `Ben` | BEN | +| `BeVan` | BE_VAN | +| `BeVbr` | BE_VBR | +| `BeVli` | BE_VLI | +| `BeVov` | BE_VOV | +| `BeVwv` | BE_VWV | +| `BeWbr` | BE_WBR | +| `BeWht` | BE_WHT | +| `BeWlg` | BE_WLG | +| `BeWlx` | BE_WLX | +| `BeWna` | BE_WNA | +| `Bex` | BEX | +| `Bfs` | BFS | +| `Bge` | BGE | +| `Bgw` | BGW | +| `Bir` | BIR | +| `Bkm` | BKM | +| `Bla` | BLA | +| `Bly` | BLY | +| `Bmh` | BMH | +| `Bnb` | BNB | +| `Bne` | BNE | +| `Bnh` | BNH | +| `Bns` | BNS | +| `Bol` | BOL | +| `Bpl` | BPL | +| `BrAc` | BR_AC | +| `BrAl` | BR_AL | +| `BrAm` | BR_AM | +| `BrAp` | BR_AP | +| `BrBa` | BR_BA | +| `Brc` | BRC | +| `BrCe` | BR_CE | +| `Brd` | BRD | +| `BrDf` | BR_DF | +| `BrEs` | BR_ES | +| `BrGo` | BR_GO | +| `Brk` | BRK | +| `BrMa` | BR_MA | +| `BrMg` | BR_MG | +| `BrMs` | BR_MS | +| `BrMt` | BR_MT | +| `BrPa` | BR_PA | +| `BrPb` | BR_PB | +| `BrPe` | BR_PE | +| `BrPi` | BR_PI | +| `BrPr` | BR_PR | +| `BrRj` | BR_RJ | +| `BrRn` | BR_RN | +| `BrRo` | BR_RO | +| `BrRr` | BR_RR | +| `BrRs` | BR_RS | +| `BrSc` | BR_SC | +| `BrSe` | BR_SE | +| `BrSp` | BR_SP | +| `BrTo` | BR_TO | +| `Bry` | BRY | +| `Bst` | BST | +| `Bur` | BUR | +| `Ca` | CA | +| `Cam` | CAM | +| `Cay` | CAY | +| `Cgn` | CGN | +| `Cgv` | CGV | +| `ChAg` | CH_AG | +| `ChAi` | CH_AI | +| `ChAr` | CH_AR | +| `ChBe` | CH_BE | +| `ChBl` | CH_BL | +| `ChBs` | CH_BS | +| `ChFr` | CH_FR | +| `ChGe` | CH_GE | +| `ChGl` | CH_GL | +| `ChGr` | CH_GR | +| `Chi` | CHI | +| `ChJu` | CH_JU | +| `ChLu` | CH_LU | +| `ChNe` | CH_NE | +| `ChNw` | CH_NW | +| `ChOw` | CH_OW | +| `Chs` | CHS | +| `ChSg` | CH_SG | +| `ChSh` | CH_SH | +| `ChSo` | CH_SO | +| `ChSz` | CH_SZ | +| `ChTg` | CH_TG | +| `ChTi` | CH_TI | +| `ChUr` | CH_UR | +| `ChVd` | CH_VD | +| `ChVs` | CH_VS | +| `ChZg` | CH_ZG | +| `ChZh` | CH_ZH | +| `Ckf` | CKF | +| `Ckt` | CKT | +| `Cld` | CLD | +| `Clk` | CLK | +| `Clr` | CLR | +| `Cma` | CMA | +| `Cmd` | CMD | +| `Cmn` | CMN | +| `Cn11` | CN_11 | +| `Cn12` | CN_12 | +| `Cn13` | CN_13 | +| `Cn14` | CN_14 | +| `Cn15` | CN_15 | +| `Cn21` | CN_21 | +| `Cn22` | CN_22 | +| `Cn23` | CN_23 | +| `Cn31` | CN_31 | +| `Cn32` | CN_32 | +| `Cn33` | CN_33 | +| `Cn34` | CN_34 | +| `Cn35` | CN_35 | +| `Cn36` | CN_36 | +| `Cn37` | CN_37 | +| `Cn41` | CN_41 | +| `Cn42` | CN_42 | +| `Cn43` | CN_43 | +| `Cn44` | CN_44 | +| `Cn45` | CN_45 | +| `Cn46` | CN_46 | +| `Cn50` | CN_50 | +| `Cn51` | CN_51 | +| `Cn52` | CN_52 | +| `Cn53` | CN_53 | +| `Cn54` | CN_54 | +| `Cn61` | CN_61 | +| `Cn62` | CN_62 | +| `Cn63` | CN_63 | +| `Cn64` | CN_64 | +| `Cn65` | CN_65 | +| `Cn91` | CN_91 | +| `Cn92` | CN_92 | +| `Co` | CO | +| `Con` | CON | +| `Cov` | COV | +| `Crf` | CRF | +| `Cry` | CRY | +| `Csr` | CSR | +| `Ct` | CT | +| `Cwd` | CWD | +| `Cwy` | CWY | +| `Dal` | DAL | +| `Dby` | DBY | +| `Dc` | DC | +| `De` | DE | +| `Den` | DEN | +| `Der` | DER | +| `Dev` | DEV | +| `Dgn` | DGN | +| `Dgy` | DGY | +| `Dk015` | DK_015 | +| `Dk020` | DK_020 | +| `Dk025` | DK_025 | +| `Dk030` | DK_030 | +| `Dk035` | DK_035 | +| `Dk040` | DK_040 | +| `Dk042` | DK_042 | +| `Dk050` | DK_050 | +| `Dk055` | DK_055 | +| `Dk060` | DK_060 | +| `Dk065` | DK_065 | +| `Dk070` | DK_070 | +| `Dk076` | DK_076 | +| `Dk080` | DK_080 | +| `Dk101` | DK_101 | +| `Dk147` | DK_147 | +| `Dk81` | DK_81 | +| `Dk82` | DK_82 | +| `Dk83` | DK_83 | +| `Dk84` | DK_84 | +| `Dk85` | DK_85 | +| `Dnc` | DNC | +| `Dnd` | DND | +| `Dor` | DOR | +| `Dow` | DOW | +| `Dry` | DRY | +| `Dud` | DUD | +| `Dur` | DUR | +| `Eal` | EAL | +| `Eay` | EAY | +| `Edh` | EDH | +| `Edu` | EDU | +| `Eln` | ELN | +| `Els` | ELS | +| `Enf` | ENF | +| `Erw` | ERW | +| `Ery` | ERY | +| `Ess` | ESS | +| `Esx` | ESX | +| `Fal` | FAL | +| `Fer` | FER | +| `Fif` | FIF | +| `Fl` | FL | +| `Fln` | FLN | +| `Fm` | FM | +| `Ga` | GA | +| `Gat` | GAT | +| `Gb` | GB | +| `Glg` | GLG | +| `Gln` | GLN | +| `Gls` | GLS | +| `Gr01` | GR_01 | +| `Gr03` | GR_03 | +| `Gr04` | GR_04 | +| `Gr05` | GR_05 | +| `Gr06` | GR_06 | +| `Gr07` | GR_07 | +| `Gr11` | GR_11 | +| `Gr12` | GR_12 | +| `Gr13` | GR_13 | +| `Gr14` | GR_14 | +| `Gr15` | GR_15 | +| `Gr16` | GR_16 | +| `Gr17` | GR_17 | +| `Gr21` | GR_21 | +| `Gr22` | GR_22 | +| `Gr23` | GR_23 | +| `Gr24` | GR_24 | +| `Gr31` | GR_31 | +| `Gr32` | GR_32 | +| `Gr33` | GR_33 | +| `Gr34` | GR_34 | +| `Gr41` | GR_41 | +| `Gr42` | GR_42 | +| `Gr43` | GR_43 | +| `Gr44` | GR_44 | +| `Gr51` | GR_51 | +| `Gr52` | GR_52 | +| `Gr53` | GR_53 | +| `Gr54` | GR_54 | +| `Gr55` | GR_55 | +| `Gr56` | GR_56 | +| `Gr57` | GR_57 | +| `Gr58` | GR_58 | +| `Gr59` | GR_59 | +| `Gr61` | GR_61 | +| `Gr62` | GR_62 | +| `Gr63` | GR_63 | +| `Gr64` | GR_64 | +| `Gr69` | GR_69 | +| `Gr71` | GR_71 | +| `Gr72` | GR_72 | +| `Gr73` | GR_73 | +| `Gr81` | GR_81 | +| `Gr82` | GR_82 | +| `Gr83` | GR_83 | +| `Gr84` | GR_84 | +| `Gr85` | GR_85 | +| `Gr91` | GR_91 | +| `Gr92` | GR_92 | +| `Gr93` | GR_93 | +| `Gr94` | GR_94 | +| `GrA1` | GR_A_1 | +| `Gre` | GRE | +| `Gtm` | GTM | +| `Gu` | GU | +| `Gwn` | GWN | +| `Hal` | HAL | +| `Ham` | HAM | +| `Hav` | HAV | +| `Hck` | HCK | +| `Hef` | HEF | +| `Hi` | HI | +| `Hil` | HIL | +| `Hld` | HLD | +| `Hmf` | HMF | +| `Hns` | HNS | +| `Hpl` | HPL | +| `Hrt` | HRT | +| `Hrw` | HRW | +| `Hry` | HRY | +| `Ia` | IA | +| `Id` | ID | +| `IeC` | IE_C | +| `IeCe` | IE_CE | +| `IeCn` | IE_CN | +| `IeCw` | IE_CW | +| `IeD` | IE_D | +| `IeDl` | IE_DL | +| `IeG` | IE_G | +| `IeKe` | IE_KE | +| `IeKk` | IE_KK | +| `IeKy` | IE_KY | +| `IeLd` | IE_LD | +| `IeLh` | IE_LH | +| `IeLk` | IE_LK | +| `IeLm` | IE_LM | +| `IeLs` | IE_LS | +| `IeMh` | IE_MH | +| `IeMn` | IE_MN | +| `IeMo` | IE_MO | +| `IeOy` | IE_OY | +| `IeRn` | IE_RN | +| `IeSo` | IE_SO | +| `IeTa` | IE_TA | +| `IeWd` | IE_WD | +| `IeWh` | IE_WH | +| `IeWw` | IE_WW | +| `IeWx` | IE_WX | +| `Il` | IL | +| `In` | IN | +| `InAn` | IN_AN | +| `InAp` | IN_AP | +| `InAr` | IN_AR | +| `InAs` | IN_AS | +| `InBr` | IN_BR | +| `InCh` | IN_CH | +| `InCt` | IN_CT | +| `InDd` | IN_DD | +| `InDl` | IN_DL | +| `InDn` | IN_DN | +| `InGa` | IN_GA | +| `InGj` | IN_GJ | +| `InHp` | IN_HP | +| `InHr` | IN_HR | +| `InJh` | IN_JH | +| `InJk` | IN_JK | +| `InKa` | IN_KA | +| `InKl` | IN_KL | +| `InLd` | IN_LD | +| `InMh` | IN_MH | +| `InMl` | IN_ML | +| `InMn` | IN_MN | +| `InMp` | IN_MP | +| `InMz` | IN_MZ | +| `InNl` | IN_NL | +| `InOr` | IN_OR | +| `InPb` | IN_PB | +| `InPy` | IN_PY | +| `InRj` | IN_RJ | +| `InSk` | IN_SK | +| `InTg` | IN_TG | +| `InTn` | IN_TN | +| `InTr` | IN_TR | +| `InUl` | IN_UL | +| `InUp` | IN_UP | +| `InWb` | IN_WB | +| `Ioa` | IOA | +| `Ioi` | IOI | +| `Iol` | IOL | +| `Iom` | IOM | +| `Ios` | IOS | +| `Iow` | IOW | +| `Ioy` | IOY | +| `Isl` | ISL | +| `It21` | IT_21 | +| `It23` | IT_23 | +| `It25` | IT_25 | +| `It32` | IT_32 | +| `It34` | IT_34 | +| `It36` | IT_36 | +| `It42` | IT_42 | +| `It45` | IT_45 | +| `It52` | IT_52 | +| `It55` | IT_55 | +| `It57` | IT_57 | +| `It62` | IT_62 | +| `It65` | IT_65 | +| `It67` | IT_67 | +| `It72` | IT_72 | +| `It75` | IT_75 | +| `It77` | IT_77 | +| `It78` | IT_78 | +| `It82` | IT_82 | +| `It88` | IT_88 | +| `ItAg` | IT_AG | +| `ItAl` | IT_AL | +| `ItAn` | IT_AN | +| `ItAo` | IT_AO | +| `ItAp` | IT_AP | +| `ItAq` | IT_AQ | +| `ItAr` | IT_AR | +| `ItAt` | IT_AT | +| `ItAv` | IT_AV | +| `ItBa` | IT_BA | +| `ItBg` | IT_BG | +| `ItBi` | IT_BI | +| `ItBl` | IT_BL | +| `ItBn` | IT_BN | +| `ItBo` | IT_BO | +| `ItBr` | IT_BR | +| `ItBs` | IT_BS | +| `ItBt` | IT_BT | +| `ItBz` | IT_BZ | +| `ItCa` | IT_CA | +| `ItCb` | IT_CB | +| `ItCe` | IT_CE | +| `ItCh` | IT_CH | +| `ItCi` | IT_CI | +| `ItCl` | IT_CL | +| `ItCn` | IT_CN | +| `ItCo` | IT_CO | +| `ItCr` | IT_CR | +| `ItCs` | IT_CS | +| `ItCt` | IT_CT | +| `ItCz` | IT_CZ | +| `ItEn` | IT_EN | +| `ItFc` | IT_FC | +| `ItFe` | IT_FE | +| `ItFg` | IT_FG | +| `ItFi` | IT_FI | +| `ItFm` | IT_FM | +| `ItFr` | IT_FR | +| `ItGe` | IT_GE | +| `ItGo` | IT_GO | +| `ItGr` | IT_GR | +| `ItIm` | IT_IM | +| `ItIs` | IT_IS | +| `ItKr` | IT_KR | +| `ItLc` | IT_LC | +| `ItLe` | IT_LE | +| `ItLi` | IT_LI | +| `ItLo` | IT_LO | +| `ItLt` | IT_LT | +| `ItLu` | IT_LU | +| `ItMb` | IT_MB | +| `ItMc` | IT_MC | +| `ItMe` | IT_ME | +| `ItMi` | IT_MI | +| `ItMn` | IT_MN | +| `ItMo` | IT_MO | +| `ItMs` | IT_MS | +| `ItMt` | IT_MT | +| `ItNa` | IT_NA | +| `ItNo` | IT_NO | +| `ItNu` | IT_NU | +| `ItOg` | IT_OG | +| `ItOr` | IT_OR | +| `ItOt` | IT_OT | +| `ItPa` | IT_PA | +| `ItPc` | IT_PC | +| `ItPd` | IT_PD | +| `ItPe` | IT_PE | +| `ItPg` | IT_PG | +| `ItPi` | IT_PI | +| `ItPn` | IT_PN | +| `ItPo` | IT_PO | +| `ItPr` | IT_PR | +| `ItPt` | IT_PT | +| `ItPu` | IT_PU | +| `ItPv` | IT_PV | +| `ItPz` | IT_PZ | +| `ItRa` | IT_RA | +| `ItRc` | IT_RC | +| `ItRe` | IT_RE | +| `ItRg` | IT_RG | +| `ItRi` | IT_RI | +| `ItRm` | IT_RM | +| `ItRn` | IT_RN | +| `ItRo` | IT_RO | +| `ItSa` | IT_SA | +| `ItSi` | IT_SI | +| `ItSo` | IT_SO | +| `ItSp` | IT_SP | +| `ItSr` | IT_SR | +| `ItSs` | IT_SS | +| `ItSv` | IT_SV | +| `ItTa` | IT_TA | +| `ItTe` | IT_TE | +| `ItTn` | IT_TN | +| `ItTo` | IT_TO | +| `ItTp` | IT_TP | +| `ItTr` | IT_TR | +| `ItTs` | IT_TS | +| `ItTv` | IT_TV | +| `ItUd` | IT_UD | +| `ItVa` | IT_VA | +| `ItVb` | IT_VB | +| `ItVc` | IT_VC | +| `ItVe` | IT_VE | +| `ItVi` | IT_VI | +| `ItVr` | IT_VR | +| `ItVs` | IT_VS | +| `ItVt` | IT_VT | +| `ItVv` | IT_VV | +| `Ivk` | IVK | +| `Jp01` | JP_01 | +| `Jp02` | JP_02 | +| `Jp03` | JP_03 | +| `Jp04` | JP_04 | +| `Jp05` | JP_05 | +| `Jp06` | JP_06 | +| `Jp07` | JP_07 | +| `Jp08` | JP_08 | +| `Jp09` | JP_09 | +| `Jp10` | JP_10 | +| `Jp11` | JP_11 | +| `Jp12` | JP_12 | +| `Jp13` | JP_13 | +| `Jp14` | JP_14 | +| `Jp15` | JP_15 | +| `Jp16` | JP_16 | +| `Jp17` | JP_17 | +| `Jp18` | JP_18 | +| `Jp19` | JP_19 | +| `Jp20` | JP_20 | +| `Jp21` | JP_21 | +| `Jp22` | JP_22 | +| `Jp23` | JP_23 | +| `Jp24` | JP_24 | +| `Jp25` | JP_25 | +| `Jp26` | JP_26 | +| `Jp27` | JP_27 | +| `Jp28` | JP_28 | +| `Jp29` | JP_29 | +| `Jp30` | JP_30 | +| `Jp31` | JP_31 | +| `Jp32` | JP_32 | +| `Jp33` | JP_33 | +| `Jp34` | JP_34 | +| `Jp35` | JP_35 | +| `Jp36` | JP_36 | +| `Jp37` | JP_37 | +| `Jp38` | JP_38 | +| `Jp39` | JP_39 | +| `Jp40` | JP_40 | +| `Jp41` | JP_41 | +| `Jp42` | JP_42 | +| `Jp43` | JP_43 | +| `Jp44` | JP_44 | +| `Jp45` | JP_45 | +| `Jp46` | JP_46 | +| `Jp47` | JP_47 | +| `Kec` | KEC | +| `Ken` | KEN | +| `Khl` | KHL | +| `Kir` | KIR | +| `Ks` | KS | +| `Ktt` | KTT | +| `Kwl` | KWL | +| `Ky` | KY | +| `La` | LA | +| `Lan` | LAN | +| `Lbh` | LBH | +| `Lce` | LCE | +| `Lds` | LDS | +| `Lec` | LEC | +| `Lew` | LEW | +| `Lin` | LIN | +| `Liv` | LIV | +| `Lmv` | LMV | +| `Lnd` | LND | +| `Lrn` | LRN | +| `Lsb` | LSB | +| `LuD` | LU_D | +| `LuG` | LU_G | +| `LuL` | LU_L | +| `Lut` | LUT | +| `Ma` | MA | +| `Man` | MAN | +| `Mb` | MB | +| `Md` | MD | +| `Mdb` | MDB | +| `Mds` | MDS | +| `Mdw` | MDW | +| `Me` | ME | +| `Mft` | MFT | +| `Mgm` | MGM | +| `Mh` | MH | +| `Mi` | MI | +| `Mik` | MIK | +| `Mln` | MLN | +| `Mn` | MN | +| `Mo` | MO | +| `Mon` | MON | +| `Mp` | MP | +| `Mrt` | MRT | +| `Mry` | MRY | +| `Ms` | MS | +| `Msy` | MSY | +| `Mt` | MT | +| `Mty` | MTY | +| `MxAgu` | MX_AGU | +| `MxBcn` | MX_BCN | +| `MxBcs` | MX_BCS | +| `MxCam` | MX_CAM | +| `MxChh` | MX_CHH | +| `MxChp` | MX_CHP | +| `MxCoa` | MX_COA | +| `MxCol` | MX_COL | +| `MxDif` | MX_DIF | +| `MxDur` | MX_DUR | +| `MxGro` | MX_GRO | +| `MxGua` | MX_GUA | +| `MxHid` | MX_HID | +| `MxJal` | MX_JAL | +| `MxMex` | MX_MEX | +| `MxMic` | MX_MIC | +| `MxMor` | MX_MOR | +| `MxNay` | MX_NAY | +| `MxNle` | MX_NLE | +| `MxOax` | MX_OAX | +| `MxPue` | MX_PUE | +| `MxQue` | MX_QUE | +| `MxRoo` | MX_ROO | +| `MxSin` | MX_SIN | +| `MxSlp` | MX_SLP | +| `MxSon` | MX_SON | +| `MxTab` | MX_TAB | +| `MxTam` | MX_TAM | +| `MxTla` | MX_TLA | +| `MxVer` | MX_VER | +| `MxYuc` | MX_YUC | +| `MxZac` | MX_ZAC | +| `Myl` | MYL | +| `Nay` | NAY | +| `Nb` | NB | +| `Nbl` | NBL | +| `Nc` | NC | +| `Nd` | ND | +| `Ndn` | NDN | +| `Ne` | NE | +| `Nel` | NEL | +| `Net` | NET | +| `Nfk` | NFK | +| `Ngm` | NGM | +| `Nh` | NH | +| `Nj` | NJ | +| `Nl` | NL | +| `NlDr` | NL_DR | +| `NlFl` | NL_FL | +| `NlFr` | NL_FR | +| `NlGe` | NL_GE | +| `NlGr` | NL_GR | +| `Nlk` | NLK | +| `NlLi` | NL_LI | +| `Nln` | NLN | +| `NlNb` | NL_NB | +| `NlNh` | NL_NH | +| `NlOv` | NL_OV | +| `NlUt` | NL_UT | +| `NlZe` | NL_ZE | +| `NlZh` | NL_ZH | +| `Nm` | NM | +| `No01` | NO_01 | +| `No02` | NO_02 | +| `No03` | NO_03 | +| `No04` | NO_04 | +| `No05` | NO_05 | +| `No06` | NO_06 | +| `No07` | NO_07 | +| `No08` | NO_08 | +| `No09` | NO_09 | +| `No10` | NO_10 | +| `No11` | NO_11 | +| `No12` | NO_12 | +| `No14` | NO_14 | +| `No15` | NO_15 | +| `No16` | NO_16 | +| `No17` | NO_17 | +| `No18` | NO_18 | +| `No19` | NO_19 | +| `No20` | NO_20 | +| `No21` | NO_21 | +| `No22` | NO_22 | +| `Nry` | NRY | +| `Ns` | NS | +| `Nsm` | NSM | +| `NswAus` | NSW_AUS | +| `Nt` | NT | +| `NtAus` | NT_AUS | +| `Nta` | NTA | +| `Nth` | NTH | +| `Ntl` | NTL | +| `Ntt` | NTT | +| `Nty` | NTY | +| `Nu` | NU | +| `Nv` | NV | +| `Nwm` | NWM | +| `Nwp` | NWP | +| `Ny` | NY | +| `Nyk` | NYK | +| `Nym` | NYM | +| `Oh` | OH | +| `Ok` | OK | +| `Old` | OLD | +| `Omh` | OMH | +| `On` | ON | +| `Or` | OR | +| `Ork` | ORK | +| `Oxf` | OXF | +| `Pa` | PA | +| `Pe` | PE | +| `Pem` | PEM | +| `Pkn` | PKN | +| `Ply` | PLY | +| `Pol` | POL | +| `Por` | POR | +| `Pow` | POW | +| `Pr` | PR | +| `Pte` | PTE | +| `Pw` | PW | +| `Qc` | QC | +| `QldAus` | QLD_AUS | +| `Rcc` | RCC | +| `Rch` | RCH | +| `Rct` | RCT | +| `Rdb` | RDB | +| `Rdg` | RDG | +| `Rfw` | RFW | +| `Ri` | RI | +| `Ric` | RIC | +| `Rot` | ROT | +| `Rut` | RUT | +| `SaAus` | SA_AUS | +| `Saw` | SAW | +| `Say` | SAY | +| `Sc` | SC | +| `Scb` | SCB | +| `Sd` | SD | +| `Sfk` | SFK | +| `Sft` | SFT | +| `Sgc` | SGC | +| `Sgm` | SGM | +| `Shf` | SHF | +| `Shn` | SHN | +| `Shr` | SHR | +| `Sk` | SK | +| `Skp` | SKP | +| `Slf` | SLF | +| `Slg` | SLG | +| `Slk` | SLK | +| `Sol` | SOL | +| `Som` | SOM | +| `Sos` | SOS | +| `Sry` | SRY | +| `Stb` | STB | +| `Ste` | STE | +| `Stg` | STG | +| `Sth` | STH | +| `Stn` | STN | +| `Sts` | STS | +| `Stt` | STT | +| `Sty` | STY | +| `Swa` | SWA | +| `Swd` | SWD | +| `Swk` | SWK | +| `Syk` | SYK | +| `Tam` | TAM | +| `TasAus` | TAS_AUS | +| `Tfw` | TFW | +| `Thr` | THR | +| `Tn` | TN | +| `Tob` | TOB | +| `Tof` | TOF | +| `Trf` | TRF | +| `Twh` | TWH | +| `Twr` | TWR | +| `Tx` | TX | +| `Tyr` | TYR | +| `Ut` | UT | +| `Va` | VA | +| `Vgl` | VGL | +| `Vi` | VI | +| `VicAus` | VIC_AUS | +| `Vt` | VT | +| `Wa` | WA | +| `WaAus` | WA_AUS | +| `War` | WAR | +| `Wbk` | WBK | +| `Wdu` | WDU | +| `Wft` | WFT | +| `Wgm` | WGM | +| `Wgn` | WGN | +| `Wi` | WI | +| `Wil` | WIL | +| `Wis` | WIS | +| `Wkf` | WKF | +| `Wll` | WLL | +| `Wln` | WLN | +| `Wlv` | WLV | +| `Wmd` | WMD | +| `Wnd` | WND | +| `Wnm` | WNM | +| `Wok` | WOK | +| `Wor` | WOR | +| `Wrl` | WRL | +| `Wrt` | WRT | +| `Wrx` | WRX | +| `Wsm` | WSM | +| `Wsx` | WSX | +| `Wv` | WV | +| `Wy` | WY | +| `Wyk` | WYK | +| `Yor` | YOR | +| `Yt` | YT | +| `Zet` | ZET | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LeadCatchersOverviewResponse.md b/packages/csharp/docs/Models/Components/LeadCatchersOverviewResponse.md new file mode 100644 index 000000000..8defa5e6b --- /dev/null +++ b/packages/csharp/docs/Models/Components/LeadCatchersOverviewResponse.md @@ -0,0 +1,11 @@ +# LeadCatchersOverviewResponse + +Paginated overview of lead catchers for a venue. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `Data` | List<[LeadCatcherOverview](../../Models/Components/LeadCatcherOverview.md)> | :heavy_check_mark: | Each item is a lightweight, non-PII overview of a lead catcher for the venue, containing only the `id`, `firstName`, and `lastName`. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/LocaleLanguageVariant.md b/packages/csharp/docs/Models/Components/LocaleLanguageVariant.md new file mode 100644 index 000000000..27342f2f3 --- /dev/null +++ b/packages/csharp/docs/Models/Components/LocaleLanguageVariant.md @@ -0,0 +1,185 @@ +# LocaleLanguageVariant + +Language locale of a Lead Catcher contact. + +Values: +- `zh-CHS` — Chinese (Simplified) Legacy +- `zh-TW` — Chinese (Traditional, Taiwan) +- `de-DE` — German (Germany) +- `en-US` — English (United States) +- `fi-FI` — Finnish (Finland) +- `fr-FR` — French (France) +- `it-IT` — Italian (Italy) +- `ja-JP` — Japanese (Japan) +- `ko-KR` — Korean (Korea) +- `nl-NL` — Dutch (Netherlands) +- `pt-BR` — Portuguese (Brazil) +- `ru-RU` — Russian (Russia) +- `sv-SE` — Swedish (Sweden) +- `th-TH` — Thai (Thailand) +- `tr-TR` — Turkish (Turkey) +- `uk-UA` — Ukrainian (Ukraine) +- `zh-CN` — Chinese (Simplified, China) +- `de-CH` — German (Switzerland) +- `en-GB` — English (United Kingdom) +- `es-MX` — Spanish (Mexico) +- `fr-BE` — French (Belgium) +- `it-CH` — Italian (Switzerland) +- `nl-BE` — Dutch (Belgium) +- `pt-PT` — Portuguese (Portugal) +- `ru-MD` — Russian (Moldova) +- `sv-FI` — Swedish (Finland) +- `zh-HK` — Chinese (Traditional, Hong Kong SAR) +- `de-AT` — German (Austria) +- `en-AU` — English (Australia) +- `es-ES` — Spanish (Spain, International Sort) +- `fr-CA` — French (Canada) +- `zh-SG` — Chinese (Simplified, Singapore) +- `de-LU` — German (Luxembourg) +- `en-CA` — English (Canada) +- `es-GT` — Spanish (Guatemala) +- `fr-CH` — French (Switzerland) +- `zh-MO` — Chinese (Traditional, Macao SAR) +- `de-LI` — German (Liechtenstein) +- `en-NZ` — English (New Zealand) +- `es-CR` — Spanish (Costa Rica) +- `fr-LU` — French (Luxembourg) +- `en-IE` — English (Ireland) +- `es-PA` — Spanish (Panama) +- `fr-MC` — French (Monaco) +- `en-ZA` — English (South Africa) +- `es-DO` — Spanish (Dominican Republic) +- `fr-029` — French (Caribbean) +- `en-JM` — English (Jamaica) +- `es-VE` — Spanish (Venezuela) +- `fr-RE` — French (Réunion) +- `en-029` — English (Caribbean) +- `es-CO` — Spanish (Colombia) +- `fr-CD` — French Congo (DRC) +- `en-BZ` — English (Belize) +- `es-PE` — Spanish (Peru) +- `fr-SN` — French (Senegal) +- `en-TT` — English (Trinidad and Tobago) +- `es-AR` — Spanish (Argentina) +- `fr-CM` — French (Cameroon) +- `en-ZW` — English (Zimbabwe) +- `es-EC` — Spanish (Ecuador) +- `fr-CI` — French (Côte d'Ivoire) +- `en-PH` — English (Philippines) +- `es-CL` — Spanish (Chile) +- `fr-ML` — French (Mali) +- `en-ID` — English (Indonesia) +- `es-UY` — Spanish (Uruguay) +- `fr-MA` — French (Morocco) +- `en-HK` — English (Hong Kong SAR) +- `es-PY` — Spanish (Paraguay) +- `fr-HT` — French (Haiti) +- `en-IN` — English (India) +- `es-BO` — Spanish (Bolivia) +- `en-MY` — English (Malaysia) +- `es-SV` — Spanish (El Salvador) +- `en-SG` — English (Singapore) +- `es-HN` — Spanish (Honduras) +- `es-NI` — Spanish (Nicaragua) +- `es-PR` — Spanish (Puerto Rico) +- `es-US` — Spanish (United States) +- `es-419` — Spanish (Latin America) +- `es-CU` — Spanish (Cuba) +- `zh-CHT` — Chinese (Traditional) Legacy + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = LocaleLanguageVariant.ZhCHS; +``` + + +## Values + +| Name | Value | +| ------- | ------- | +| `ZhCHS` | zh-CHS | +| `ZhTW` | zh-TW | +| `Dede` | de-DE | +| `EnUS` | en-US | +| `Fifi` | fi-FI | +| `Frfr` | fr-FR | +| `Itit` | it-IT | +| `JaJP` | ja-JP | +| `KoKR` | ko-KR | +| `Nlnl` | nl-NL | +| `PtBR` | pt-BR | +| `Ruru` | ru-RU | +| `SvSE` | sv-SE | +| `Thth` | th-TH | +| `Trtr` | tr-TR | +| `UkUA` | uk-UA | +| `ZhCN` | zh-CN | +| `DeCH` | de-CH | +| `EnGB` | en-GB | +| `EsMX` | es-MX | +| `FrBE` | fr-BE | +| `ItCH` | it-CH | +| `NlBE` | nl-BE | +| `Ptpt` | pt-PT | +| `RuMD` | ru-MD | +| `SvFI` | sv-FI | +| `ZhHK` | zh-HK | +| `DeAT` | de-AT | +| `EnAU` | en-AU | +| `Eses` | es-ES | +| `FrCA` | fr-CA | +| `ZhSG` | zh-SG | +| `DeLU` | de-LU | +| `EnCA` | en-CA | +| `EsGT` | es-GT | +| `FrCH` | fr-CH | +| `ZhMO` | zh-MO | +| `DeLI` | de-LI | +| `EnNZ` | en-NZ | +| `EsCR` | es-CR | +| `FrLU` | fr-LU | +| `EnIE` | en-IE | +| `EsPA` | es-PA | +| `FrMC` | fr-MC | +| `EnZA` | en-ZA | +| `EsDO` | es-DO | +| `Fr029` | fr-029 | +| `EnJM` | en-JM | +| `EsVE` | es-VE | +| `FrRE` | fr-RE | +| `En029` | en-029 | +| `EsCO` | es-CO | +| `FrCD` | fr-CD | +| `EnBZ` | en-BZ | +| `EsPE` | es-PE | +| `FrSN` | fr-SN | +| `EnTT` | en-TT | +| `EsAR` | es-AR | +| `FrCM` | fr-CM | +| `EnZW` | en-ZW | +| `EsEC` | es-EC | +| `FrCI` | fr-CI | +| `EnPH` | en-PH | +| `EsCL` | es-CL | +| `FrML` | fr-ML | +| `EnID` | en-ID | +| `EsUY` | es-UY | +| `FrMA` | fr-MA | +| `EnHK` | en-HK | +| `EsPY` | es-PY | +| `FrHT` | fr-HT | +| `EnIN` | en-IN | +| `EsBO` | es-BO | +| `EnMY` | en-MY | +| `EsSV` | es-SV | +| `EnSG` | en-SG | +| `EsHN` | es-HN | +| `EsNI` | es-NI | +| `EsPR` | es-PR | +| `EsUS` | es-US | +| `Es419` | es-419 | +| `EsCU` | es-CU | +| `ZhCHT` | zh-CHT | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/QuestionWithProgramId.md b/packages/csharp/docs/Models/Components/QuestionWithProgramId.md new file mode 100644 index 000000000..9b08064eb --- /dev/null +++ b/packages/csharp/docs/Models/Components/QuestionWithProgramId.md @@ -0,0 +1,21 @@ +# QuestionWithProgramId + +A question, defined by the program, for the supplier to answer as part of their proposal. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Created` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | +| `CreatedBy` | *string* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | +| `LastModified` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | +| `LastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | +| `TravelProgram` | [QuestionWithProgramIdTravelProgram](../../Models/Components/QuestionWithProgramIdTravelProgram.md) | :heavy_minus_sign: | Travel program that the question belongs to. | | +| `Id` | *string* | :heavy_minus_sign: | The unique ID of the question. | 76c461cb-77f6-40b3-acc8-db44452f11c4 | +| `Text` | *string* | :heavy_minus_sign: | The text of the question. | What type of food is served in the hotel restaurant? | +| `Required` | *bool* | :heavy_minus_sign: | Is this question required by default? | true | +| `ResponseType` | [QuestionResponseType](../../Models/Components/QuestionResponseType.md) | :heavy_minus_sign: | Code representing the type of response supported. Single represents a simple single value response, and choice means the user will be given a set of options for selection. | choice | +| `ResponseDataType` | [QuestionResponseDataType](../../Models/Components/QuestionResponseDataType.md) | :heavy_minus_sign: | Code representing the expected data type of the question response. | text | +| `ResponseFormat` | [QuestionResponseFormat](../../Models/Components/QuestionResponseFormat.md) | :heavy_minus_sign: | Code representing the format the text of the response will be in. | proper_case | +| `ResponseChoices` | List<*string*> | :heavy_minus_sign: | A list of options for the question. This only applies when responseType is 'choice' | [
"Mexican",
"American",
"French",
"Other"
] | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProgramQuestionTravelProgram.md b/packages/csharp/docs/Models/Components/QuestionWithProgramIdTravelProgram.md similarity index 94% rename from packages/csharp/docs/Models/Components/TravelProgramQuestionTravelProgram.md rename to packages/csharp/docs/Models/Components/QuestionWithProgramIdTravelProgram.md index 2a28db4d6..d2ab8ebdd 100644 --- a/packages/csharp/docs/Models/Components/TravelProgramQuestionTravelProgram.md +++ b/packages/csharp/docs/Models/Components/QuestionWithProgramIdTravelProgram.md @@ -1,4 +1,4 @@ -# TravelProgramQuestionTravelProgram +# QuestionWithProgramIdTravelProgram Travel program that the question belongs to. diff --git a/packages/csharp/docs/Models/Components/QuestionsPaginatedResponse1.md b/packages/csharp/docs/Models/Components/QuestionsPaginatedResponse1.md index ac379392f..77a8033fd 100644 --- a/packages/csharp/docs/Models/Components/QuestionsPaginatedResponse1.md +++ b/packages/csharp/docs/Models/Components/QuestionsPaginatedResponse1.md @@ -8,4 +8,4 @@ A paginated list of Questions. | Field | Type | Required | Description | | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | | `Paging` | [Paging](../../Models/Components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `Data` | List<[TravelProgramQuestion](../../Models/Components/TravelProgramQuestion.md)> | :heavy_minus_sign: | Collection of Questions. | \ No newline at end of file +| `Data` | List<[QuestionWithProgramId](../../Models/Components/QuestionWithProgramId.md)> | :heavy_minus_sign: | Collection of Questions. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/Rfp2.md b/packages/csharp/docs/Models/Components/Rfp2.md index 043f14064..140b01bf8 100644 --- a/packages/csharp/docs/Models/Components/Rfp2.md +++ b/packages/csharp/docs/Models/Components/Rfp2.md @@ -5,59 +5,59 @@ Basic RFP details ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Created` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | -| `CreatedBy` | *string* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | -| `LastModified` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | -| `LastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | -| `NeedsMeetingSpace` | *bool* | :heavy_check_mark: | True indicates meeting space is needed for event. | | -| `NeedsGuestRooms` | *bool* | :heavy_check_mark: | True indicates guest rooms are needed for event. | | -| `Description` | *string* | :heavy_minus_sign: | Description of RFP. | Planning to host company's annual event in an outdoor location. | -| `DateRequirements` | [DateRequirements1](../../Models/Components/DateRequirements1.md) | :heavy_minus_sign: | Date requirements for the event. | | -| `RfpEvent` | [RfpEvent](../../Models/Components/RfpEvent.md) | :heavy_minus_sign: | RFP event details. | | -| `AgendaStartDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 date representing the start date of agenda. | 2025-10-13 | -| `Contact` | [Contact1](../../Models/Components/Contact1.md) | :heavy_minus_sign: | Contact details of planner. | | -| `RfpEventOrganization` | [EventOrganization1](../../Models/Components/EventOrganization1.md) | :heavy_minus_sign: | Details of organization which is hosting the event. | | -| `DecisionFactors` | *string* | :heavy_minus_sign: | Decision factors based on which RFP will be awarded. These can be price, location, or quality of service. | Price, location, and quality of service. | -| `CitywideEvent` | *bool* | :heavy_minus_sign: | True indicates event is city wide and might require multiple venues. | | -| `ResponseDueDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 date by when the response for RFP is expected from suppliers. | 2016-10-13 | -| `DecisionDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 date by which RFP will be awarded. | 2016-10-13 | -| `BillingDetails` | [BillingDetails1](../../Models/Components/BillingDetails1.md) | :heavy_minus_sign: | Billing details for RFP. | | -| `InternalNote` | *string* | :heavy_minus_sign: | Internal note for planners. This note is not shared with suppliers. | Don't award this RFP to the same venue as last year. | -| `CurrencyCode` | *string* | :heavy_minus_sign: | The ISO 4217 standard format currency code. | USD | -| `MeasurementUnit` | [MeasurementUnit](../../Models/Components/MeasurementUnit.md) | :heavy_minus_sign: | Unit of measurement for area or space.

Values:
- `SQUARE_FEET` — Square Feet
- `SQUARE_METERS` — Square Meters | | -| `RequiredCostItems` | List<[OfferingCostType1](../../Models/Components/OfferingCostType1.md)> | :heavy_minus_sign: | This contains cost items which are marked as required for suppliers in the RFP. | [
"BREAK_AM",
"BREAK_PM"
] | -| `HiddenCostItems` | List<[OfferingCostType1](../../Models/Components/OfferingCostType1.md)> | :heavy_minus_sign: | This contains cost items which are marked as not needed for suppliers in the RFP. | [
"BREAK_DRINKS_ONLY",
"BREAK_SNACKS_AND_DRINKS"
] | -| `Forwardable` | *bool* | :heavy_minus_sign: | True indicates suppliers added on the RFP should be allowed to forward the RFP. | | -| `CvbForwardLimit` | *long* | :heavy_minus_sign: | Limits the number of venues that a CVB (Convention and Visitors Bureau) can forward an RFP to. | 5 | -| `AllowEmailNotifications` | *bool* | :heavy_minus_sign: | True indicates email notifications are allowed for this RFP. | | -| `NotificationRecipients` | List<[RecipientInfo](../../Models/Components/RecipientInfo.md)> | :heavy_minus_sign: | This contains recipients who would get notified every time a new response is received back from the suppliers | [
{
"order": 1,
"type": "EMAIL",
"value": "johnDoe@example.com"
},
{
"order": 2,
"type": "ACCOUNT_USER",
"value": "50dc08af-24a9-4d01-84be-3d43133dc945"
},
{
"order": 3,
"type": "ACCOUNT_USER_GROUP",
"value": "70de07af-24a9-4d01-84be-3d43133dc932"
}
] | -| `ShareAwardDetails` | *bool* | :heavy_minus_sign: | True indicates award details can be shared with other suppliers added in RFP. | | -| `LeadSource` | [LeadSource](../../Models/Components/LeadSource.md) | :heavy_minus_sign: | Lead source details. | | -| `SourceId` | *string* | :heavy_minus_sign: | Unique identifier for RFPs originating from outside Cvent network provided by source system where RFP was created. | 123456 | -| `ShowcaseEnabled` | *bool* | :heavy_minus_sign: | True indicates showcase is enabled for this RFP. | | -| `AutoAddToShowcaseEnabled` | *bool* | :heavy_minus_sign: | True indicates that the RFP will be automatically added to showcase in case there is a low response rate. | | -| `DestinationExpertsRequiredOnProposal` | *bool* | :heavy_minus_sign: | True indicates suppliers are required to copy the destination experts (i.e. CVB/DMC) on the proposal that is sent back through Cvent. | | -| `WeddingDetails` | [WeddingDetails1](../../Models/Components/WeddingDetails1.md) | :heavy_minus_sign: | Wedding details. | | -| `NeedsCatering` | *bool* | :heavy_minus_sign: | True indicates catering is required. | | -| `PackagePricingPreference` | [PackagePricingPreference](../../Models/Components/PackagePricingPreference.md) | :heavy_minus_sign: | Represents different preferences by planner for pricing packages response that supplier has to provide. NO_PREFERENCE means no pricing package information is need, OPTIONAL means it's not mandatory to provide pricing preference, and REQUIRED means package information is mandatory to be provided by supplier. | OPTIONAL | -| `FeeTransparencyEnabled` | *bool* | :heavy_minus_sign: | True indicates RFP was created with fee transparency enabled. | | -| ~~`PreferredVenueIntegrations`~~ | List<[VenueIntegrationType](../../Models/Components/VenueIntegrationType.md)> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

DEPRECATED: Use [venueIntegrationPreference](#schema/VenueIntegrationPreference) instead. Venue integrations the planner prefers when sourcing venues. An empty array or absent field indicates no preference has been recorded. | | -| `VenueIntegrationPreference` | [VenueIntegrationPreference](../../Models/Components/VenueIntegrationPreference.md) | :heavy_minus_sign: | Venue integration preference for an RFP. | | -| `Id` | *string* | :heavy_check_mark: | Unique identifier for RFP. | a3edf581-b80c-4a0b-bdcf-ab8bf5fdcd1b | -| `Code` | *string* | :heavy_minus_sign: | Unique code of RFP. | JBNJN7BGJ5J | -| `Status` | [RfpStatus1](../../Models/Components/RfpStatus1.md) | :heavy_minus_sign: | Represents state of the RFP. | | -| `Type` | [RfpType1](../../Models/Components/RfpType1.md) | :heavy_minus_sign: | RFP types based on event requirements. | | -| `ApprovedBy` | *string* | :heavy_minus_sign: | Details of the user who approved the RFP. | approver@example.com | -| `ApprovedDateTime` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) when the RFP was approved. The initial value when RFP is not approved is 1900-01-01 00:00:00.000. | 2021-01-13T14:06:20.080Z | -| `Approved` | *bool* | :heavy_minus_sign: | True indicates RFP is approved. | true | -| `CancellationDetails` | [CancellationDetails](../../Models/Components/CancellationDetails.md) | :heavy_minus_sign: | Information about cancellation of RFP. | | -| `LastSentDateTime` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) when RFP was last sent. | 2021-01-13T14:06:20.080Z | -| `OriginalSentDateTime` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) when RFP was first sent. | 2021-01-13T14:06:20.080Z | -| `SentVenueCount` | *long* | :heavy_minus_sign: | Number of venues to which the planner has sent the RFP. | 5 | -| `Archived` | *bool* | :heavy_minus_sign: | True indicates RFP is archived. | | -| `ArchivalDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) representing the archival date. | 2021-01-13T14:06:20.080Z | -| `AwardedExternally` | *bool* | :heavy_minus_sign: | True indicates RFP has been awarded to a venue outside of Cvent Supplier Network. | | -| `FinishedAwarding` | *bool* | :heavy_minus_sign: | True indicates venue sourcing process for this RFP has been marked as finished after awarding the eligible venues. | | -| `AiRfpGenerationSource` | *string* | :heavy_minus_sign: | Represents the AI generation source for the RFP. This field is set during RFP creation and cannot be modified afterwards. | MCP-Visual Studio Code/1.107.1 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Created` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | +| `CreatedBy` | *string* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | +| `LastModified` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | +| `LastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | +| `NeedsMeetingSpace` | *bool* | :heavy_check_mark: | True indicates meeting space is needed for event. | | +| `NeedsGuestRooms` | *bool* | :heavy_check_mark: | True indicates guest rooms are needed for event. | | +| `Description` | *string* | :heavy_minus_sign: | Description of RFP. | Planning to host company's annual event in an outdoor location. | +| `DateRequirements` | [DateRequirements1](../../Models/Components/DateRequirements1.md) | :heavy_minus_sign: | Date requirements for the event. | | +| `RfpEvent` | [RfpEvent](../../Models/Components/RfpEvent.md) | :heavy_minus_sign: | RFP event details. | | +| `AgendaStartDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 date representing the start date of agenda. | 2025-10-13 | +| `Contact` | [Contact1](../../Models/Components/Contact1.md) | :heavy_minus_sign: | Contact details of planner. | | +| `RfpEventOrganization` | [EventOrganization1](../../Models/Components/EventOrganization1.md) | :heavy_minus_sign: | Details of organization which is hosting the event. | | +| `DecisionFactors` | *string* | :heavy_minus_sign: | Decision factors based on which RFP will be awarded. These can be price, location, or quality of service. | Price, location, and quality of service. | +| `CitywideEvent` | *bool* | :heavy_minus_sign: | True indicates event is city wide and might require multiple venues. | | +| `ResponseDueDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 date by when the response for RFP is expected from suppliers. | 2016-10-13 | +| `DecisionDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 date by which RFP will be awarded. | 2016-10-13 | +| `BillingDetails` | [BillingDetails1](../../Models/Components/BillingDetails1.md) | :heavy_minus_sign: | Billing details for RFP. | | +| `InternalNote` | *string* | :heavy_minus_sign: | Internal note for planners. This note is not shared with suppliers. | Don't award this RFP to the same venue as last year. | +| `CurrencyCode` | *string* | :heavy_minus_sign: | The ISO 4217 standard format currency code. | USD | +| `MeasurementUnit` | [MeasurementUnit](../../Models/Components/MeasurementUnit.md) | :heavy_minus_sign: | Unit of measurement for area or space.

Values:
- `SQUARE_FEET` — Square Feet
- `SQUARE_METERS` — Square Meters | | +| `RequiredCostItems` | List<[OfferingCostType1](../../Models/Components/OfferingCostType1.md)> | :heavy_minus_sign: | This contains cost items which are marked as required for suppliers in the RFP. | [
"BREAK_AM",
"BREAK_PM"
] | +| `HiddenCostItems` | List<[OfferingCostType1](../../Models/Components/OfferingCostType1.md)> | :heavy_minus_sign: | This contains cost items which are marked as not needed for suppliers in the RFP. | [
"BREAK_DRINKS_ONLY",
"BREAK_SNACKS_AND_DRINKS"
] | +| `Forwardable` | *bool* | :heavy_minus_sign: | True indicates suppliers added on the RFP should be allowed to forward the RFP. | | +| `CvbForwardLimit` | *long* | :heavy_minus_sign: | Limits the number of venues that a CVB (Convention and Visitors Bureau) can forward an RFP to. | 5 | +| `AllowEmailNotifications` | *bool* | :heavy_minus_sign: | True indicates email notifications are allowed for this RFP. | | +| `NotificationRecipients` | List<[RecipientInfo](../../Models/Components/RecipientInfo.md)> | :heavy_minus_sign: | This contains recipients who would get notified every time a new response is received back from the suppliers | [
{
"order": 1,
"type": "EMAIL",
"value": "johnDoe@example.com"
},
{
"order": 2,
"type": "ACCOUNT_USER",
"value": "50dc08af-24a9-4d01-84be-3d43133dc945"
},
{
"order": 3,
"type": "ACCOUNT_USER_GROUP",
"value": "70de07af-24a9-4d01-84be-3d43133dc932"
}
] | +| `ShareAwardDetails` | *bool* | :heavy_minus_sign: | True indicates award details can be shared with other suppliers added in RFP. | | +| `LeadSource` | [LeadSource](../../Models/Components/LeadSource.md) | :heavy_minus_sign: | Lead source details. | | +| `SourceId` | *string* | :heavy_minus_sign: | Unique identifier for RFPs originating from outside Cvent network provided by source system where RFP was created. | 123456 | +| `ShowcaseEnabled` | *bool* | :heavy_minus_sign: | True indicates showcase is enabled for this RFP. | | +| `AutoAddToShowcaseEnabled` | *bool* | :heavy_minus_sign: | True indicates that the RFP will be automatically added to showcase in case there is a low response rate. | | +| `DestinationExpertsRequiredOnProposal` | *bool* | :heavy_minus_sign: | True indicates suppliers are required to copy the destination experts (i.e. CVB/DMC) on the proposal that is sent back through Cvent. | | +| `WeddingDetails` | [WeddingDetails1](../../Models/Components/WeddingDetails1.md) | :heavy_minus_sign: | Wedding details. | | +| `NeedsCatering` | *bool* | :heavy_minus_sign: | True indicates catering is required. | | +| `PackagePricingPreference` | [PackagePricingPreference](../../Models/Components/PackagePricingPreference.md) | :heavy_minus_sign: | Represents different preferences by planner for pricing packages response that supplier has to provide. NO_PREFERENCE means no pricing package information is need, OPTIONAL means it's not mandatory to provide pricing preference, and REQUIRED means package information is mandatory to be provided by supplier. | OPTIONAL | +| `FeeTransparencyEnabled` | *bool* | :heavy_minus_sign: | True indicates RFP was created with fee transparency enabled. | | +| ~~`PreferredVenueIntegrations`~~ | List<[VenueIntegrationType](../../Models/Components/VenueIntegrationType.md)> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

DEPRECATED: Use `venueIntegrationPreference` instead. Venue integrations the planner prefers when sourcing venues. An empty array or absent field indicates no preference has been recorded. | | +| `VenueIntegrationPreference` | [VenueIntegrationPreference](../../Models/Components/VenueIntegrationPreference.md) | :heavy_minus_sign: | Venue integration preference for an RFP. | | +| `Id` | *string* | :heavy_check_mark: | Unique identifier for RFP. | a3edf581-b80c-4a0b-bdcf-ab8bf5fdcd1b | +| `Code` | *string* | :heavy_minus_sign: | Unique code of RFP. | JBNJN7BGJ5J | +| `Status` | [RfpStatus1](../../Models/Components/RfpStatus1.md) | :heavy_minus_sign: | Represents state of the RFP. | | +| `Type` | [RfpType](../../Models/Components/RfpType.md) | :heavy_minus_sign: | N/A | | +| `ApprovedBy` | *string* | :heavy_minus_sign: | Details of the user who approved the RFP. | approver@example.com | +| `ApprovedDateTime` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) when the RFP was approved. The initial value when RFP is not approved is 1900-01-01 00:00:00.000. | 2021-01-13T14:06:20.080Z | +| `Approved` | *bool* | :heavy_minus_sign: | True indicates RFP is approved. | true | +| `CancellationDetails` | [CancellationDetails](../../Models/Components/CancellationDetails.md) | :heavy_minus_sign: | Information about cancellation of RFP. | | +| `LastSentDateTime` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) when RFP was last sent. | 2021-01-13T14:06:20.080Z | +| `OriginalSentDateTime` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) when RFP was first sent. | 2021-01-13T14:06:20.080Z | +| `SentVenueCount` | *long* | :heavy_minus_sign: | Number of venues to which the planner has sent the RFP. | 5 | +| `Archived` | *bool* | :heavy_minus_sign: | True indicates RFP is archived. | | +| `ArchivalDate` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) representing the archival date. | 2021-01-13T14:06:20.080Z | +| `AwardedExternally` | *bool* | :heavy_minus_sign: | True indicates RFP has been awarded to a venue outside of Cvent Supplier Network. | | +| `FinishedAwarding` | *bool* | :heavy_minus_sign: | True indicates venue sourcing process for this RFP has been marked as finished after awarding the eligible venues. | | +| `AiRfpGenerationSource` | *string* | :heavy_minus_sign: | Represents the AI generation source for the RFP. This field is set during RFP creation and cannot be modified afterwards. | MCP-Visual Studio Code/1.107.1 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpQuestion.md b/packages/csharp/docs/Models/Components/RfpQuestion.md index 0062ec2f4..5a2745db0 100644 --- a/packages/csharp/docs/Models/Components/RfpQuestion.md +++ b/packages/csharp/docs/Models/Components/RfpQuestion.md @@ -43,8 +43,8 @@ Question associated with an RFP. | `MaxLength` | *long* | :heavy_minus_sign: | Maximum number of characters that can be entered. | 100 | | `TextAnswerFormat` | [TextAnswerFormat](../../Models/Components/TextAnswerFormat.md) | :heavy_minus_sign: | Text answer format. Used for `OpenEndedTextOneLine` question types.`CustomFormat`: Answers must follow a planner defined custom format. `EmailAddress`: Answers must follow the pattern of an email address. `General`: Answers can be any string. `USPhoneNumber`: Answers must be formatted as a phone number. | | | `CustomAnswerFormat` | [CustomAnswerFormat](../../Models/Components/CustomAnswerFormat.md) | :heavy_minus_sign: | An object that contains custom answer format data. | | -| `SupplierTypes` | List<[SupplierType](../../Models/Components/SupplierType.md)> | :heavy_minus_sign: | List of supplier types that can view the question on the RFP. | [
"CVB",
"HOTEL"
] | -| `ClassificationType` | [QuestionClassificationType](../../Models/Components/QuestionClassificationType.md) | :heavy_minus_sign: | Indicates the types of RFP that can be assigned this custom question. `MEETING_ROOM`: Meeting room type RFPs can be assigned this custom question. `GUEST_ROOM`: Guest room type RFPs can be assigned this custom question. `ALL_RFPS`: All RFPs can be assigned this custom question. | | +| `SupplierTypes` | List<[SupplierType](../../Models/Components/SupplierType.md)> | :heavy_check_mark: | List of supplier types that can view the question on the RFP. | [
"CVB",
"HOTEL"
] | +| `ClassificationType` | [QuestionClassificationType](../../Models/Components/QuestionClassificationType.md) | :heavy_check_mark: | Indicates the types of RFP that can be assigned this custom question. `MEETING_ROOM`: Meeting room type RFPs can be assigned this custom question. `GUEST_ROOM`: Guest room type RFPs can be assigned this custom question. `ALL_RFPS`: All RFPs can be assigned this custom question. | | | `Order` | *long* | :heavy_minus_sign: | Determines the display order for questions on the RFP. Questions with smaller values appear first. | 1 | | `StandardQuestion` | [StandardQuestion](../../Models/Components/StandardQuestion.md) | :heavy_minus_sign: | Standard questions are selected from a predefined list of Cvent questions that can be used in an RFP. | | | `AiQuestionGenerationSource` | *string* | :heavy_minus_sign: | Represents the AI generation source for the custom question on RFP. This field is set during question creation and cannot be modified afterwards. | MCP-Visual Studio Code/1.107.1 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/RfpType1.md b/packages/csharp/docs/Models/Components/RfpType.md similarity index 90% rename from packages/csharp/docs/Models/Components/RfpType1.md rename to packages/csharp/docs/Models/Components/RfpType.md index 5a4e574ae..933dc4e45 100644 --- a/packages/csharp/docs/Models/Components/RfpType1.md +++ b/packages/csharp/docs/Models/Components/RfpType.md @@ -1,4 +1,4 @@ -# RfpType1 +# RfpType RFP types based on event requirements. @@ -7,7 +7,7 @@ RFP types based on event requirements. ```csharp using Cvent.SDK.Models.Components; -var value = RfpType1.MeetingSpaceAndGuestRooms; +var value = RfpType.MeetingSpaceAndGuestRooms; ``` diff --git a/packages/csharp/docs/Models/Components/TravelProgram.md b/packages/csharp/docs/Models/Components/TravelProgram.md index a138c9534..319faf173 100644 --- a/packages/csharp/docs/Models/Components/TravelProgram.md +++ b/packages/csharp/docs/Models/Components/TravelProgram.md @@ -23,4 +23,4 @@ Travel program details. | `EndDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 formatted end date (in GMT) of the travel program. | 2024-12-31 | | `DueDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 formatted due date (in GMT) of the travel program. | 2023-11-13 | | `CloseoutDate` | [DateOnly](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly?view=net-6.0) | :heavy_minus_sign: | The ISO 8601 formatted decision date (in GMT) of the travel program. | 2023-11-13 | -| `Questions` | List<[TravelProgramQuestion1](../../Models/Components/TravelProgramQuestion1.md)> | :heavy_minus_sign: | A list of program specific questions for the supplier to answer as part of their proposal. | | \ No newline at end of file +| `Questions` | List<[TravelProgramQuestion](../../Models/Components/TravelProgramQuestion.md)> | :heavy_minus_sign: | A list of program specific questions for the supplier to answer as part of their proposal. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProgramQuestion.md b/packages/csharp/docs/Models/Components/TravelProgramQuestion.md index 452628084..618d6aacc 100644 --- a/packages/csharp/docs/Models/Components/TravelProgramQuestion.md +++ b/packages/csharp/docs/Models/Components/TravelProgramQuestion.md @@ -1,21 +1,13 @@ # TravelProgramQuestion -A question, defined by the program, for the supplier to answer as part of their proposal. +A question, defined by the account, for the supplier to answer as part of their proposal. ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Created` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | -| `CreatedBy` | *string* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | -| `LastModified` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | -| `LastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | -| `TravelProgram` | [TravelProgramQuestionTravelProgram](../../Models/Components/TravelProgramQuestionTravelProgram.md) | :heavy_minus_sign: | Travel program that the question belongs to. | | -| `Id` | *string* | :heavy_minus_sign: | The unique ID of the question. | 76c461cb-77f6-40b3-acc8-db44452f11c4 | -| `Text` | *string* | :heavy_minus_sign: | The text of the question. | What type of food is served in the hotel restaurant? | -| `Required` | *bool* | :heavy_minus_sign: | Is this question required by default? | true | -| `ResponseType` | [QuestionResponseType](../../Models/Components/QuestionResponseType.md) | :heavy_minus_sign: | Code representing the type of response supported. Single represents a simple single value response, and choice means the user will be given a set of options for selection. | choice | -| `ResponseDataType` | [QuestionResponseDataType](../../Models/Components/QuestionResponseDataType.md) | :heavy_minus_sign: | Code representing the expected data type of the question response. | text | -| `ResponseFormat` | [QuestionResponseFormat](../../Models/Components/QuestionResponseFormat.md) | :heavy_minus_sign: | Code representing the format the text of the response will be in. | proper_case | -| `ResponseChoices` | List<*string*> | :heavy_minus_sign: | A list of options for the question. This only applies when responseType is 'choice' | [
"Mexican",
"American",
"French",
"Other"
] | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `QuestionId` | *string* | :heavy_minus_sign: | The unique ID of the custom question. | 76c461cb-77f6-40b3-acc8-db44452f11c4 | +| `Section` | [QuestionSection](../../Models/Components/QuestionSection.md) | :heavy_minus_sign: | Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. | program_client | +| `Required` | *bool* | :heavy_minus_sign: | Is it required for suppliers to answer this question in their proposal? | true | +| `Sequence` | *long* | :heavy_minus_sign: | The sequence number of the question within the proposal. | 1 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelType.md b/packages/csharp/docs/Models/Components/TravelType.md index a641a63a0..11b36fb5e 100644 --- a/packages/csharp/docs/Models/Components/TravelType.md +++ b/packages/csharp/docs/Models/Components/TravelType.md @@ -1,6 +1,6 @@ # TravelType -Type of travel alternate question +Type of travel alternate question. Supported values: AirRequest = attendee requested air travel; HotelRequest = attendee requested hotel travel; AirActual = actual air travel booked; GroupFlight = group flight booking; TrainRequest = attendee requested train travel; AirAndTrainRequest = attendee did not want air or train travel and submitted an alternate response. ## Example Usage @@ -13,9 +13,11 @@ var value = TravelType.AirRequest; ## Values -| Name | Value | -| -------------- | -------------- | -| `AirRequest` | AirRequest | -| `HotelRequest` | HotelRequest | -| `AirActual` | AirActual | -| `GroupFlight` | GroupFlight | \ No newline at end of file +| Name | Value | +| -------------------- | -------------------- | +| `AirRequest` | AirRequest | +| `HotelRequest` | HotelRequest | +| `AirActual` | AirActual | +| `GroupFlight` | GroupFlight | +| `TrainRequest` | TrainRequest | +| `AirAndTrainRequest` | AirAndTrainRequest | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueAmenityAVCapability.md b/packages/csharp/docs/Models/Components/VenueAmenityAVCapability.md new file mode 100644 index 000000000..0cd5d524a --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueAmenityAVCapability.md @@ -0,0 +1,25 @@ +# VenueAmenityAVCapability + +Audio-visual capability available at a venue. + +Values: +- `AV_EQUIPMENT` — AV Equipment +- `HIGH_SPEED_INTERNET` — High Speed Internet +- `ONSITE_AV_STAFF` — Onsite AV Staff + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VenueAmenityAVCapability.AvEquipment; +``` + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `AvEquipment` | AV_EQUIPMENT | +| `HighSpeedInternet` | HIGH_SPEED_INTERNET | +| `OnsiteAvStaff` | ONSITE_AV_STAFF | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueAmenityAlcohol.md b/packages/csharp/docs/Models/Components/VenueAmenityAlcohol.md new file mode 100644 index 000000000..d4508f220 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueAmenityAlcohol.md @@ -0,0 +1,20 @@ +# VenueAmenityAlcohol + +Alcohol-related policy at a venue. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VenueAmenityAlcohol.AlcoholAllowed; +``` + + +## Values + +| Name | Value | +| ---------------------- | ---------------------- | +| `AlcoholAllowed` | ALCOHOL_ALLOWED | +| `BringYourOwn` | BRING_YOUR_OWN | +| `PreferredVendorsOnly` | PREFERRED_VENDORS_ONLY | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueAmenityAvCapabilityItem.md b/packages/csharp/docs/Models/Components/VenueAmenityAvCapabilityItem.md new file mode 100644 index 000000000..7fd6c578b --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueAmenityAvCapabilityItem.md @@ -0,0 +1,11 @@ +# VenueAmenityAvCapabilityItem + +An AV capability selection for a venue. An internet speed may be provided when the selected amenity is `HIGH_SPEED_INTERNET`. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Amenity` | [VenueAmenityAVCapability](../../Models/Components/VenueAmenityAVCapability.md) | :heavy_check_mark: | Audio-visual capability available at a venue.

Values:
- `AV_EQUIPMENT` — AV Equipment
- `HIGH_SPEED_INTERNET` — High Speed Internet
- `ONSITE_AV_STAFF` — Onsite AV Staff | | +| `Speed` | *long* | :heavy_minus_sign: | Internet connection speed in Mbps. Applicable only when `amenity` is `HIGH_SPEED_INTERNET`. | 1000 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueAmenityBusinessService.md b/packages/csharp/docs/Models/Components/VenueAmenityBusinessService.md new file mode 100644 index 000000000..c883139e8 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueAmenityBusinessService.md @@ -0,0 +1,21 @@ +# VenueAmenityBusinessService + +Business or communications service available at a venue. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VenueAmenityBusinessService.AudiovideoCapabilities; +``` + + +## Values + +| Name | Value | +| ------------------------ | ------------------------ | +| `AudiovideoCapabilities` | AUDIOVIDEO_CAPABILITIES | +| `BusinessCenter` | BUSINESS_CENTER | +| `VideoConferencing` | VIDEO_CONFERENCING | +| `VipServices` | VIP_SERVICES | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueAmenityCateringDetail.md b/packages/csharp/docs/Models/Components/VenueAmenityCateringDetail.md new file mode 100644 index 000000000..683e61cf4 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueAmenityCateringDetail.md @@ -0,0 +1,20 @@ +# VenueAmenityCateringDetail + +Catering option or policy offered at a venue. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VenueAmenityCateringDetail.KitchenOnsite; +``` + + +## Values + +| Name | Value | +| ------------------------ | ------------------------ | +| `KitchenOnsite` | KITCHEN_ONSITE | +| `OnsiteCatering` | ONSITE_CATERING | +| `OutsideCaterersAllowed` | OUTSIDE_CATERERS_ALLOWED | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueAmenityEquipment.md b/packages/csharp/docs/Models/Components/VenueAmenityEquipment.md new file mode 100644 index 000000000..a5c8f9b0c --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueAmenityEquipment.md @@ -0,0 +1,23 @@ +# VenueAmenityEquipment + +Physical equipment or staging resource available for event use at a venue. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VenueAmenityEquipment.DanceFloors; +``` + + +## Values + +| Name | Value | +| ---------------------- | ---------------------- | +| `DanceFloors` | DANCE_FLOORS | +| `LoadingDockAvailable` | LOADING_DOCK_AVAILABLE | +| `Piano` | PIANO | +| `PortableHeaters` | PORTABLE_HEATERS | +| `PortableWalls` | PORTABLE_WALLS | +| `Staging` | STAGING | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueAmenityFacilityInfo.md b/packages/csharp/docs/Models/Components/VenueAmenityFacilityInfo.md new file mode 100644 index 000000000..1943b1133 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueAmenityFacilityInfo.md @@ -0,0 +1,31 @@ +# VenueAmenityFacilityInfo + +General facility feature or on-site service available at a venue. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VenueAmenityFacilityInfo.AllInclusive; +``` + + +## Values + +| Name | Value | +| ------------------------ | ------------------------ | +| `AllInclusive` | ALL_INCLUSIVE | +| `BusinessCenter` | BUSINESS_CENTER | +| `Casino` | CASINO | +| `ExtendedStay` | EXTENDED_STAY | +| `FreeAirportShuttle` | FREE_AIRPORT_SHUTTLE | +| `GiftShopOnSite` | GIFT_SHOP_ON_SITE | +| `Internet` | INTERNET | +| `OnsiteCatering` | ONSITE_CATERING | +| `OutsideCaterersAllowed` | OUTSIDE_CATERERS_ALLOWED | +| `PetsWelcome` | PETS_WELCOME | +| `RentalCarServices` | RENTAL_CAR_SERVICES | +| `RestaurantOnSite` | RESTAURANT_ON_SITE | +| `SecurityStaffOnsite` | SECURITY_STAFF_ONSITE | +| `WheelchairAccessible` | WHEELCHAIR_ACCESSIBLE | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueAmenityFacilitySpace.md b/packages/csharp/docs/Models/Components/VenueAmenityFacilitySpace.md new file mode 100644 index 000000000..d68be857a --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueAmenityFacilitySpace.md @@ -0,0 +1,25 @@ +# VenueAmenityFacilitySpace + +Facility space type available at a venue. + +Values: +- `OUTDOOR_SPACE` — Outdoor Space +- `PRIVATE_SPACE` — Private Space +- `SEMI_PRIVATE_SPACE` — Semi-Private Space + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VenueAmenityFacilitySpace.OutdoorSpace; +``` + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `OutdoorSpace` | OUTDOOR_SPACE | +| `PrivateSpace` | PRIVATE_SPACE | +| `SemiPrivateSpace` | SEMI_PRIVATE_SPACE | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueAmenityFacilitySpaceItem.md b/packages/csharp/docs/Models/Components/VenueAmenityFacilitySpaceItem.md new file mode 100644 index 000000000..6442964ba --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueAmenityFacilitySpaceItem.md @@ -0,0 +1,11 @@ +# VenueAmenityFacilitySpaceItem + +A facility space entry for a venue, with an optional area measurement expressed in the venue's configured unit of measurement. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `Amenity` | [VenueAmenityFacilitySpace](../../Models/Components/VenueAmenityFacilitySpace.md) | :heavy_check_mark: | Facility space type available at a venue.

Values:
- `OUTDOOR_SPACE` — Outdoor Space
- `PRIVATE_SPACE` — Private Space
- `SEMI_PRIVATE_SPACE` — Semi-Private Space | | +| `Value` | *long* | :heavy_minus_sign: | Area of the space in the venue's configured unit of measurement. | 5000 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueAmenityParking.md b/packages/csharp/docs/Models/Components/VenueAmenityParking.md new file mode 100644 index 000000000..e126d1ff1 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueAmenityParking.md @@ -0,0 +1,29 @@ +# VenueAmenityParking + +Parking type available at or near a venue. + +Values: +- `BUS_PARKING_AVAILABLE` — Bus Parking +- `COMPLIMENTARY_PARKING_PROVIDED` — Complimentary Parking +- `PAID_PARKING_AVAILABLE` — Paid Parking +- `STREET_PARKING` — Street Parking +- `VALET_PARKING_AVAILABLE` — Valet Parking + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VenueAmenityParking.BusParkingAvailable; +``` + + +## Values + +| Name | Value | +| ------------------------------ | ------------------------------ | +| `BusParkingAvailable` | BUS_PARKING_AVAILABLE | +| `ComplimentaryParkingProvided` | COMPLIMENTARY_PARKING_PROVIDED | +| `PaidParkingAvailable` | PAID_PARKING_AVAILABLE | +| `StreetParking` | STREET_PARKING | +| `ValetParkingAvailable` | VALET_PARKING_AVAILABLE | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueAmenityParkingItem.md b/packages/csharp/docs/Models/Components/VenueAmenityParkingItem.md new file mode 100644 index 000000000..134f8f241 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueAmenityParkingItem.md @@ -0,0 +1,11 @@ +# VenueAmenityParkingItem + +A parking amenity selection for a venue. An optional daily rate may be provided for paid parking types. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Amenity` | [VenueAmenityParking](../../Models/Components/VenueAmenityParking.md) | :heavy_check_mark: | Parking type available at or near a venue.

Values:
- `BUS_PARKING_AVAILABLE` — Bus Parking
- `COMPLIMENTARY_PARKING_PROVIDED` — Complimentary Parking
- `PAID_PARKING_AVAILABLE` — Paid Parking
- `STREET_PARKING` — Street Parking
- `VALET_PARKING_AVAILABLE` — Valet Parking | | +| `Cost` | *double* | :heavy_minus_sign: | Daily parking cost per vehicle, in the venue's local currency. Applicable only when `amenity` is `PAID_PARKING_AVAILABLE` or `VALET_PARKING_AVAILABLE`. | 25 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueAmenityProvisionPolicy.md b/packages/csharp/docs/Models/Components/VenueAmenityProvisionPolicy.md new file mode 100644 index 000000000..235c2757d --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueAmenityProvisionPolicy.md @@ -0,0 +1,20 @@ +# VenueAmenityProvisionPolicy + +Provision policy for a venue amenity or service. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VenueAmenityProvisionPolicy.Available; +``` + + +## Values + +| Name | Value | +| ---------------------- | ---------------------- | +| `Available` | AVAILABLE | +| `BringYourOwn` | BRING_YOUR_OWN | +| `PreferredVendorsOnly` | PREFERRED_VENDORS_ONLY | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueAmenityRecreationalActivity.md b/packages/csharp/docs/Models/Components/VenueAmenityRecreationalActivity.md new file mode 100644 index 000000000..6041d74be --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueAmenityRecreationalActivity.md @@ -0,0 +1,26 @@ +# VenueAmenityRecreationalActivity + +Recreational facility or leisure activity available at a venue. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VenueAmenityRecreationalActivity.GolfOnGrounds; +``` + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `GolfOnGrounds` | GOLF_ON_GROUNDS | +| `HealthClub` | HEALTH_CLUB | +| `IndoorPool` | INDOOR_POOL | +| `OutdoorPool` | OUTDOOR_POOL | +| `Skiing` | SKIING | +| `Spasalon` | SPASALON | +| `Tennis` | TENNIS | +| `WaterSports` | WATER_SPORTS | +| `Whirlpool` | WHIRLPOOL | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueAmenityRoomFeature.md b/packages/csharp/docs/Models/Components/VenueAmenityRoomFeature.md new file mode 100644 index 000000000..193fb4913 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueAmenityRoomFeature.md @@ -0,0 +1,29 @@ +# VenueAmenityRoomFeature + +In-room feature or guest service available at a venue. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VenueAmenityRoomFeature.ConciergeServices; +``` + + +## Values + +| Name | Value | +| -------------------- | -------------------- | +| `ConciergeServices` | CONCIERGE_SERVICES | +| `FreeLocalCalls` | FREE_LOCAL_CALLS | +| `FreeTollFreeCalls` | FREE_TOLL_FREE_CALLS | +| `GardenViews` | GARDEN_VIEWS | +| `Internet` | INTERNET | +| `Laundry` | LAUNDRY | +| `LuggageStorage` | LUGGAGE_STORAGE | +| `MountainViews` | MOUNTAIN_VIEWS | +| `OceanwaterViews` | OCEANWATER_VIEWS | +| `RoomService` | ROOM_SERVICE | +| `UrbanViews` | URBAN_VIEWS | +| `VoiceMailBox` | VOICE_MAIL_BOX | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/VenueAmenityTransportation.md b/packages/csharp/docs/Models/Components/VenueAmenityTransportation.md new file mode 100644 index 000000000..7332bec69 --- /dev/null +++ b/packages/csharp/docs/Models/Components/VenueAmenityTransportation.md @@ -0,0 +1,22 @@ +# VenueAmenityTransportation + +Transportation option by which a venue is accessible. + +## Example Usage + +```csharp +using Cvent.SDK.Models.Components; + +var value = VenueAmenityTransportation.Bus; +``` + + +## Values + +| Name | Value | +| --------- | --------- | +| `Bus` | BUS | +| `Shuttle` | SHUTTLE | +| `Subway` | SUBWAY | +| `Taxi` | TAXI | +| `Train` | TRAIN | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/CreateLeadCatcherRequest.md b/packages/csharp/docs/Models/Requests/CreateLeadCatcherRequest.md new file mode 100644 index 000000000..a5cbd62d7 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/CreateLeadCatcherRequest.md @@ -0,0 +1,9 @@ +# CreateLeadCatcherRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `VenueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `LeadCatcher` | [LeadCatcher](../../Models/Components/LeadCatcher.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/CreateLeadCatcherResponse.md b/packages/csharp/docs/Models/Requests/CreateLeadCatcherResponse.md new file mode 100644 index 000000000..24441dbdd --- /dev/null +++ b/packages/csharp/docs/Models/Requests/CreateLeadCatcherResponse.md @@ -0,0 +1,10 @@ +# CreateLeadCatcherResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `ExistingLeadCatcher` | [ExistingLeadCatcher](../../Models/Components/ExistingLeadCatcher.md) | :heavy_minus_sign: | Lead catcher created successfully. | +| `Headers` | Dictionary> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/DeleteLeadCatcherRequest.md b/packages/csharp/docs/Models/Requests/DeleteLeadCatcherRequest.md new file mode 100644 index 000000000..065ac2beb --- /dev/null +++ b/packages/csharp/docs/Models/Requests/DeleteLeadCatcherRequest.md @@ -0,0 +1,9 @@ +# DeleteLeadCatcherRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `VenueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `LeadCatcherId` | *string* | :heavy_check_mark: | Unique identifier for a lead catcher. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/DeleteLeadCatcherResponse.md b/packages/csharp/docs/Models/Requests/DeleteLeadCatcherResponse.md new file mode 100644 index 000000000..9ca5b186a --- /dev/null +++ b/packages/csharp/docs/Models/Requests/DeleteLeadCatcherResponse.md @@ -0,0 +1,8 @@ +# DeleteLeadCatcherResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetHousingEventHotelAvailabilityRequest.md b/packages/csharp/docs/Models/Requests/GetHousingEventHotelAvailabilityRequest.md index 849bf250c..ff24a4bdf 100644 --- a/packages/csharp/docs/Models/Requests/GetHousingEventHotelAvailabilityRequest.md +++ b/packages/csharp/docs/Models/Requests/GetHousingEventHotelAvailabilityRequest.md @@ -8,5 +8,5 @@ | `HousingEventId` | *long* | :heavy_check_mark: | ID for a Passkey housing event. | 35325345 | | `HotelId` | *long* | :heavy_check_mark: | The hotel's unique ID. | 454345 | | `Filter` | *string* | :heavy_minus_sign: | "A filter query string narrows search results and supports the combination of logical and comparison operators. The filter adheres to the pattern filter='field' comparisonType 'value'."

These are the comparison types that can be used in filter expressions:
* equal: eq
* less or equal: le
* greater or equal: ge
* greater than: gt
* less than: lt

The following fields are filterable:
* attendeeType.codes (eq)
* attendeeType.id (eq)
* roomType.id (eq)
* date (eq\|le\|ge\|lt\|gt)

Limits for the number of fields that can be passed in a filter: 36

The following operators are available:
* and
* or
| attendeeType.codes eq 'PEWATT0524317' and (date ge '2023-01-12' and date le '2023-01-15') | -| `Limit` | *long* | :heavy_minus_sign: | Limit to this number of search results. Maximum of 50, default of 10. | 10 | +| `Limit` | *long* | :heavy_minus_sign: | Limit to this number of search results. Maximum of 200, default of 10. | 10 | | `Token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetLeadCatcherOverviewRequest.md b/packages/csharp/docs/Models/Requests/GetLeadCatcherOverviewRequest.md new file mode 100644 index 000000000..8f6aa6fed --- /dev/null +++ b/packages/csharp/docs/Models/Requests/GetLeadCatcherOverviewRequest.md @@ -0,0 +1,9 @@ +# GetLeadCatcherOverviewRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `VenueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `LeadCatcherId` | *string* | :heavy_check_mark: | Unique identifier for a lead catcher. | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetLeadCatcherOverviewResponse.md b/packages/csharp/docs/Models/Requests/GetLeadCatcherOverviewResponse.md new file mode 100644 index 000000000..a29a8ef85 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/GetLeadCatcherOverviewResponse.md @@ -0,0 +1,9 @@ +# GetLeadCatcherOverviewResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `LeadCatcherOverview` | [LeadCatcherOverview](../../Models/Components/LeadCatcherOverview.md) | :heavy_minus_sign: | Successfully retrieved the lead catcher overview. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetVenueAmenitiesRequest.md b/packages/csharp/docs/Models/Requests/GetVenueAmenitiesRequest.md new file mode 100644 index 000000000..9b15bb8e2 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/GetVenueAmenitiesRequest.md @@ -0,0 +1,8 @@ +# GetVenueAmenitiesRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `VenueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/GetVenueAmenitiesResponse.md b/packages/csharp/docs/Models/Requests/GetVenueAmenitiesResponse.md new file mode 100644 index 000000000..6056538fe --- /dev/null +++ b/packages/csharp/docs/Models/Requests/GetVenueAmenitiesResponse.md @@ -0,0 +1,9 @@ +# GetVenueAmenitiesResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `ExistingVenueAmenities` | [ExistingVenueAmenities](../../Models/Components/ExistingVenueAmenities.md) | :heavy_minus_sign: | Successfully retrieved the venue amenities. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/ListAttendeesPostFilterRequest.md b/packages/csharp/docs/Models/Requests/ListAttendeesPostFilterRequest.md index 0250ef1c9..b3e676b27 100644 --- a/packages/csharp/docs/Models/Requests/ListAttendeesPostFilterRequest.md +++ b/packages/csharp/docs/Models/Requests/ListAttendeesPostFilterRequest.md @@ -12,4 +12,4 @@ | `Expand` | List<[Expand](../../Models/Components/Expand.md)> | :heavy_minus_sign: | This endpoint allows you to request additional information as an expanded response using the expand query parameter.
The expanded entity is retrieved and displayed inline for each specified expand value.

An object contains the ID of a related object in its response properties. You can expand these objects,
along with others, in line using the expand query parameter.

You can expand multiple objects at the same time by identifying multiple items in the expand array.

The respective scopes for each expansion are required.

The following fields are expandable:
* answers.question
* **Scope**: event/events:read
* **Reference**: List Event Questions
* registrationType
* **Scope**: event/registration-types:read
* **Reference**: List Registration Types
| [
"answers.question",
"registrationType"
] | | `Sort` | *string* | :heavy_minus_sign: | The `sort` query parameter sorts items in the list of results and organizes them according to your preference.
There are two orders:
* ascending: ASC
* descending: DESC

The following fields are sortable:
* contact.firstName
* contact.lastName
* contact.title
* contact.company
* registeredAt
* checkIn
| contact.company:DESC,contact.title:ASC | | `IncludeDeletedGuests` | *bool* | :heavy_minus_sign: | True indicates the request should include deleted guests in the response. By default, deleted guests are excluded.
The `deletedGuest` filter has no effect unless this parameter is `true`.
| | -| `Filter` | [Filter](../../Models/Components/Filter.md) | :heavy_minus_sign: | The request body accepts filters to refine the data returned. Refer to available filter details in [GET List Attendees](#operation/listAttendees).
| | \ No newline at end of file +| `Filter` | [Filter](../../Models/Components/Filter.md) | :heavy_minus_sign: | The request body accepts filters to refine the data returned. Refer to available filter details in [GET List Attendees](#operation/listAttendees).
| | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Components/TravelProgramQuestion1.md b/packages/csharp/docs/Models/Requests/ListLeadCatchersOverviewRequest.md similarity index 58% rename from packages/csharp/docs/Models/Components/TravelProgramQuestion1.md rename to packages/csharp/docs/Models/Requests/ListLeadCatchersOverviewRequest.md index 48bddbfc6..eae08f498 100644 --- a/packages/csharp/docs/Models/Components/TravelProgramQuestion1.md +++ b/packages/csharp/docs/Models/Requests/ListLeadCatchersOverviewRequest.md @@ -1,13 +1,10 @@ -# TravelProgramQuestion1 - -A question, defined by the account, for the supplier to answer as part of their proposal. +# ListLeadCatchersOverviewRequest ## Fields | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `QuestionId` | *string* | :heavy_minus_sign: | The unique ID of the custom question. | 76c461cb-77f6-40b3-acc8-db44452f11c4 | -| `Section` | [QuestionSection](../../Models/Components/QuestionSection.md) | :heavy_minus_sign: | Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. | program_client | -| `Required` | *bool* | :heavy_minus_sign: | Is it required for suppliers to answer this question in their proposal? | true | -| `Sequence` | *long* | :heavy_minus_sign: | The sequence number of the question within the proposal. | 1 | \ No newline at end of file +| `VenueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `Limit` | *long* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | +| `Token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/ListLeadCatchersOverviewResponse.md b/packages/csharp/docs/Models/Requests/ListLeadCatchersOverviewResponse.md new file mode 100644 index 000000000..0159e01a3 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/ListLeadCatchersOverviewResponse.md @@ -0,0 +1,9 @@ +# ListLeadCatchersOverviewResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `LeadCatchersOverviewResponse` | [LeadCatchersOverviewResponse](../../Models/Components/LeadCatchersOverviewResponse.md) | :heavy_minus_sign: | Successfully retrieved the overview of lead catchers. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/PatchLeadCatcherRequest.md b/packages/csharp/docs/Models/Requests/PatchLeadCatcherRequest.md new file mode 100644 index 000000000..c1d2a1f1b --- /dev/null +++ b/packages/csharp/docs/Models/Requests/PatchLeadCatcherRequest.md @@ -0,0 +1,10 @@ +# PatchLeadCatcherRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `VenueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `LeadCatcherId` | *string* | :heavy_check_mark: | Unique identifier for a lead catcher. | | +| `LeadCatcherPatch` | [LeadCatcherPatch](../../Models/Components/LeadCatcherPatch.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/PatchLeadCatcherResponse.md b/packages/csharp/docs/Models/Requests/PatchLeadCatcherResponse.md new file mode 100644 index 000000000..aec97ab1c --- /dev/null +++ b/packages/csharp/docs/Models/Requests/PatchLeadCatcherResponse.md @@ -0,0 +1,9 @@ +# PatchLeadCatcherResponse + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `LeadCatcherPatch` | [LeadCatcherPatch](../../Models/Components/LeadCatcherPatch.md) | :heavy_minus_sign: | Successfully updated the lead catcher. The response contains only the fields that were provided in the request payload. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/UpdateLeadCatcherRequest.md b/packages/csharp/docs/Models/Requests/UpdateLeadCatcherRequest.md new file mode 100644 index 000000000..cf52e1365 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/UpdateLeadCatcherRequest.md @@ -0,0 +1,10 @@ +# UpdateLeadCatcherRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `VenueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `LeadCatcherId` | *string* | :heavy_check_mark: | Unique identifier for a lead catcher. | | +| `ExistingLeadCatcher` | [ExistingLeadCatcherInput](../../Models/Components/ExistingLeadCatcherInput.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/UpdateLeadCatcherResponse.md b/packages/csharp/docs/Models/Requests/UpdateLeadCatcherResponse.md new file mode 100644 index 000000000..acde46749 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/UpdateLeadCatcherResponse.md @@ -0,0 +1,9 @@ +# UpdateLeadCatcherResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `ExistingLeadCatcher` | [ExistingLeadCatcher](../../Models/Components/ExistingLeadCatcher.md) | :heavy_minus_sign: | Successfully updated the lead catcher. | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/UpdateVenueAmenitiesRequest.md b/packages/csharp/docs/Models/Requests/UpdateVenueAmenitiesRequest.md new file mode 100644 index 000000000..907c2a11e --- /dev/null +++ b/packages/csharp/docs/Models/Requests/UpdateVenueAmenitiesRequest.md @@ -0,0 +1,9 @@ +# UpdateVenueAmenitiesRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `VenueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `ExistingVenueAmenities` | [ExistingVenueAmenitiesInput](../../Models/Components/ExistingVenueAmenitiesInput.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/csharp/docs/Models/Requests/UpdateVenueAmenitiesResponse.md b/packages/csharp/docs/Models/Requests/UpdateVenueAmenitiesResponse.md new file mode 100644 index 000000000..c02fa3f07 --- /dev/null +++ b/packages/csharp/docs/Models/Requests/UpdateVenueAmenitiesResponse.md @@ -0,0 +1,9 @@ +# UpdateVenueAmenitiesResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `HttpMeta` | [HTTPMetadata](../../Models/Components/HTTPMetadata.md) | :heavy_check_mark: | N/A | +| `ExistingVenueAmenities` | [ExistingVenueAmenities](../../Models/Components/ExistingVenueAmenities.md) | :heavy_minus_sign: | Successfully updated the venue amenities. | \ No newline at end of file diff --git a/packages/csharp/docs/sdks/attendees/README.md b/packages/csharp/docs/sdks/attendees/README.md index 0446a7097..2fb1ebe7a 100644 --- a/packages/csharp/docs/sdks/attendees/README.md +++ b/packages/csharp/docs/sdks/attendees/README.md @@ -231,7 +231,7 @@ while(res != null) ## ListAttendeesPostFilter -Gets a paginated list of attendees by sending a filter in the body of the request. This method will return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer filters. +Gets a paginated list of attendees by sending a filter in the body of the request. This method will return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer filters. More about OAuth2 authorization code support for administrators diff --git a/packages/csharp/docs/sdks/eventtravel/README.md b/packages/csharp/docs/sdks/eventtravel/README.md index e294973ba..33fc8d8c4 100644 --- a/packages/csharp/docs/sdks/eventtravel/README.md +++ b/packages/csharp/docs/sdks/eventtravel/README.md @@ -138,7 +138,7 @@ while(res != null) ## GetAlternateTravelAnswers -Get alternate travel answers submitted by attendees who opt out of air or hotel bookings for an event. +Get alternate travel answers submitted by attendees who opt out of air, hotel, or train bookings for an event. ### Example Usage diff --git a/packages/csharp/docs/sdks/housing/README.md b/packages/csharp/docs/sdks/housing/README.md index 646ac157b..a3102efea 100644 --- a/packages/csharp/docs/sdks/housing/README.md +++ b/packages/csharp/docs/sdks/housing/README.md @@ -17,6 +17,8 @@ If you need authentication credentials or have any questions regarding the RegLi * **RegLink.** A feature that links Passkey events to your registration events, enabling you to sync data between the two events. * **Callback.** [Passkey's callback system](https://developers.cvent.com/docs/passkey/REST/callbacks) allows for a push notification to be sent to your system when a reservation is created, modified or cancelled. +> Passkey Housing APIs only support the NA base URL. Calls to the EU base URL will return an error. + ### Available Operations diff --git a/packages/csharp/docs/sdks/venuecontent/README.md b/packages/csharp/docs/sdks/venuecontent/README.md index 76f364c80..23baba363 100644 --- a/packages/csharp/docs/sdks/venuecontent/README.md +++ b/packages/csharp/docs/sdks/venuecontent/README.md @@ -6,6 +6,8 @@ Manage images, amenities, and nearby attractions associated with a venue. ### Available Operations +* [GetVenueAmenities](#getvenueamenities) - Get Venue Amenities +* [UpdateVenueAmenities](#updatevenueamenities) - Update Venue Amenities * [ListVenueAttractions](#listvenueattractions) - List Venue Attractions * [CreateVenueAttraction](#createvenueattraction) - Create Venue Attraction * [GetVenueAttraction](#getvenueattraction) - Get Venue Attraction @@ -21,6 +23,127 @@ Manage images, amenities, and nearby attractions associated with a venue. * [AssociateVenueImage](#associatevenueimage) - Associate Venue Image * [DisassociateVenueImage](#disassociatevenueimage) - Remove Venue Image +## GetVenueAmenities + +Returns the current amenity selections for the specified venue. + +Not applicable to CVB/DMC or Restaurant venues. + + +### Example Usage + + +```csharp +using Cvent.SDK; +using Cvent.SDK.Models.Components; +using Cvent.SDK.Models.Requests; + +var sdk = new CventSDK(security: new Security() { + OAuth2ClientCredentials = new SchemeOAuth2ClientCredentials() { + ClientID = "", + ClientSecret = "", + TokenURL = "", + Scopes = "", + }, +}); + +GetVenueAmenitiesRequest req = new GetVenueAmenitiesRequest() { + VenueId = "6bb0e2db-861f-46e3-a923-eb4d959ffa00", +}; + +var res = await sdk.VenueContent.GetVenueAmenitiesAsync(req); + +// handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `request` | [GetVenueAmenitiesRequest](../../Models/Requests/GetVenueAmenitiesRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[GetVenueAmenitiesResponse](../../Models/Requests/GetVenueAmenitiesResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | + +## UpdateVenueAmenities + +Updates the amenity selections for the specified venue, replacing all existing selections with those provided in the request body. Sections absent from the request body or submitted as empty arrays will have their selections cleared. + +Not applicable to CVB/DMC or Restaurant venues. + + +### Example Usage + + +```csharp +using Cvent.SDK; +using Cvent.SDK.Models.Components; +using Cvent.SDK.Models.Requests; +using System.Collections.Generic; + +var sdk = new CventSDK(security: new Security() { + OAuth2ClientCredentials = new SchemeOAuth2ClientCredentials() { + ClientID = "", + ClientSecret = "", + TokenURL = "", + Scopes = "", + }, +}); + +UpdateVenueAmenitiesRequest req = new UpdateVenueAmenitiesRequest() { + VenueId = "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + ExistingVenueAmenities = new ExistingVenueAmenitiesInput() { + AvCapabilities = new List() { + new VenueAmenityAvCapabilityItem() { + Amenity = VenueAmenityAVCapability.OnsiteAvStaff, + Speed = 1000, + }, + }, + Parking = new List() { + new VenueAmenityParkingItem() { + Amenity = VenueAmenityParking.BusParkingAvailable, + Cost = 25D, + }, + }, + FacilitySpaceInfo = new List() { + new VenueAmenityFacilitySpaceItem() { + Amenity = VenueAmenityFacilitySpace.OutdoorSpace, + Value = 5000, + }, + }, + }, +}; + +var res = await sdk.VenueContent.UpdateVenueAmenitiesAsync(req); + +// handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `request` | [UpdateVenueAmenitiesRequest](../../Models/Requests/UpdateVenueAmenitiesRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[UpdateVenueAmenitiesResponse](../../Models/Requests/UpdateVenueAmenitiesResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | + ## ListVenueAttractions Returns a paginated list of attractions for the specified venue. diff --git a/packages/csharp/docs/sdks/venueleads/README.md b/packages/csharp/docs/sdks/venueleads/README.md new file mode 100644 index 000000000..fa05b315a --- /dev/null +++ b/packages/csharp/docs/sdks/venueleads/README.md @@ -0,0 +1,377 @@ +# VenueLeads + +## Overview + +Manage inbound leads submitted to venues through Cvent's sourcing channels. + +### Available Operations + +* [CreateLeadCatcher](#createleadcatcher) - Create Lead Catcher +* [ListLeadCatchersOverview](#listleadcatchersoverview) - List Lead Catchers Overview +* [UpdateLeadCatcher](#updateleadcatcher) - Update Lead Catcher +* [PatchLeadCatcher](#patchleadcatcher) - Patch Lead Catcher +* [DeleteLeadCatcher](#deleteleadcatcher) - Delete Lead Catcher +* [GetLeadCatcherOverview](#getleadcatcheroverview) - Get Lead Catcher Overview + +## CreateLeadCatcher + +Creates a new lead catcher contact for the specified venue. Lead catchers receive email notifications when RFPs are submitted to the venue. + +### Example Usage + + +```csharp +using Cvent.SDK; +using Cvent.SDK.Models.Components; +using Cvent.SDK.Models.Requests; + +var sdk = new CventSDK(security: new Security() { + OAuth2ClientCredentials = new SchemeOAuth2ClientCredentials() { + ClientID = "", + ClientSecret = "", + TokenURL = "", + Scopes = "", + }, +}); + +CreateLeadCatcherRequest req = new CreateLeadCatcherRequest() { + VenueId = "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + LeadCatcher = new LeadCatcher() { + FirstName = "Jane", + LastName = "Smith", + Title = "Director of Sales", + Email = "jane.smith@example.com", + Phone = "+1-555-555-0101", + Fax = "+1-555-555-0101", + Address = new LeadCatcherAddress() { + StreetAddress1 = "1234 Trap Road", + StreetAddress2 = "Suite 100", + City = "Vienna", + ZipPostalCode = "22182", + }, + Config = new LeadCatcherConfig() { + SupplierContactRole = "Sales Manager", + }, + AdditionalInfo = "Preferred contact for APAC venues.", + }, +}; + +var res = await sdk.VenueLeads.CreateLeadCatcherAsync(req); + +// handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `request` | [CreateLeadCatcherRequest](../../Models/Requests/CreateLeadCatcherRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[CreateLeadCatcherResponse](../../Models/Requests/CreateLeadCatcherResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | + +## ListLeadCatchersOverview + +Returns a paginated, lightweight overview of the lead catchers for the specified venue, +containing only `id`, `firstName`, and `lastName` for each contact. + +Use this endpoint to discover the `leadCatcherId` needed for PATCH, PUT, and DELETE. +The response does not include contact details such as email address or phone number. + + +### Example Usage + + +```csharp +using Cvent.SDK; +using Cvent.SDK.Models.Components; +using Cvent.SDK.Models.Requests; + +var sdk = new CventSDK(security: new Security() { + OAuth2ClientCredentials = new SchemeOAuth2ClientCredentials() { + ClientID = "", + ClientSecret = "", + TokenURL = "", + Scopes = "", + }, +}); + +ListLeadCatchersOverviewRequest req = new ListLeadCatchersOverviewRequest() { + VenueId = "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + Token = "0e28af57-511f-47ab-ae46-46cd1ca51a1a", +}; + +ListLeadCatchersOverviewResponse? res = await sdk.VenueLeads.ListLeadCatchersOverviewAsync(req); + +while(res != null) +{ + // handle items + + res = await res.Next!(); +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `request` | [ListLeadCatchersOverviewRequest](../../Models/Requests/ListLeadCatchersOverviewRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[ListLeadCatchersOverviewResponse](../../Models/Requests/ListLeadCatchersOverviewResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | + +## UpdateLeadCatcher + +Updates the given lead catcher for the specified venue, replacing the existing lead catcher data. + +### Example Usage + + +```csharp +using Cvent.SDK; +using Cvent.SDK.Models.Components; +using Cvent.SDK.Models.Requests; + +var sdk = new CventSDK(security: new Security() { + OAuth2ClientCredentials = new SchemeOAuth2ClientCredentials() { + ClientID = "", + ClientSecret = "", + TokenURL = "", + Scopes = "", + }, +}); + +UpdateLeadCatcherRequest req = new UpdateLeadCatcherRequest() { + VenueId = "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + LeadCatcherId = "6e7d0d64-13f7-4472-8308-fa7067dba173", + ExistingLeadCatcher = new ExistingLeadCatcherInput() { + FirstName = "Jane", + LastName = "Smith", + Title = "Director of Sales", + Email = "jane.smith@example.com", + Phone = "+1-555-555-0101", + Fax = "+1-555-555-0101", + Address = new LeadCatcherAddress() { + StreetAddress1 = "1234 Trap Road", + StreetAddress2 = "Suite 100", + City = "Vienna", + ZipPostalCode = "22182", + }, + Config = new LeadCatcherConfig() { + SupplierContactRole = "Sales Manager", + }, + AdditionalInfo = "Preferred contact for APAC venues.", + }, +}; + +var res = await sdk.VenueLeads.UpdateLeadCatcherAsync(req); + +// handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `request` | [UpdateLeadCatcherRequest](../../Models/Requests/UpdateLeadCatcherRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[UpdateLeadCatcherResponse](../../Models/Requests/UpdateLeadCatcherResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | + +## PatchLeadCatcher + +Partially updates the specified lead catcher using JSON Merge Patch, as defined in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + +- Only fields present in the request body are updated; omitted fields remain unchanged. +- Set a field to `null` to unset it. +- The response contains only the fields that were provided in the request payload. + + +### Example Usage + + +```csharp +using Cvent.SDK; +using Cvent.SDK.Models.Components; +using Cvent.SDK.Models.Requests; + +var sdk = new CventSDK(security: new Security() { + OAuth2ClientCredentials = new SchemeOAuth2ClientCredentials() { + ClientID = "", + ClientSecret = "", + TokenURL = "", + Scopes = "", + }, +}); + +PatchLeadCatcherRequest req = new PatchLeadCatcherRequest() { + VenueId = "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + LeadCatcherId = "f72c984a-4f55-4563-90e5-7e34a3be1552", + LeadCatcherPatch = new LeadCatcherPatch() { + FirstName = "Jane", + LastName = "Smith", + Title = "Director of Sales", + Email = "jane.smith@example.com", + Phone = "+1-555-0100", + Fax = "+1-555-0101", + Address = new LeadCatcherAddressPatch() { + StreetAddress1 = "1234 Trap Road", + StreetAddress2 = "Suite 100", + City = "Vienna", + ZipPostalCode = "22182", + }, + Locale = "en-US", + Config = new LeadCatcherConfigPatch() { + RfpEmailEnabled = true, + PdfLinkEnabled = true, + SupplierContactRole = "roleName", + }, + AdditionalInfo = "Preferred contact for APAC venues.", + }, +}; + +var res = await sdk.VenueLeads.PatchLeadCatcherAsync(req); + +// handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `request` | [PatchLeadCatcherRequest](../../Models/Requests/PatchLeadCatcherRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[PatchLeadCatcherResponse](../../Models/Requests/PatchLeadCatcherResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | + +## DeleteLeadCatcher + +Deletes the specified lead catcher for the venue. + +### Example Usage + + +```csharp +using Cvent.SDK; +using Cvent.SDK.Models.Components; +using Cvent.SDK.Models.Requests; + +var sdk = new CventSDK(security: new Security() { + OAuth2ClientCredentials = new SchemeOAuth2ClientCredentials() { + ClientID = "", + ClientSecret = "", + TokenURL = "", + Scopes = "", + }, +}); + +DeleteLeadCatcherRequest req = new DeleteLeadCatcherRequest() { + VenueId = "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + LeadCatcherId = "d7aa3fa0-4c8f-4353-9810-3984886b6a9d", +}; + +var res = await sdk.VenueLeads.DeleteLeadCatcherAsync(req); + +// handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `request` | [DeleteLeadCatcherRequest](../../Models/Requests/DeleteLeadCatcherRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[DeleteLeadCatcherResponse](../../Models/Requests/DeleteLeadCatcherResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | + +## GetLeadCatcherOverview + +Retrieves a lightweight overview of a specific lead catcher for the specified venue, +containing only `id`, `firstName`, and `lastName`. + +The response does not include contact details such as email address or phone number. + + +### Example Usage + + +```csharp +using Cvent.SDK; +using Cvent.SDK.Models.Components; +using Cvent.SDK.Models.Requests; + +var sdk = new CventSDK(security: new Security() { + OAuth2ClientCredentials = new SchemeOAuth2ClientCredentials() { + ClientID = "", + ClientSecret = "", + TokenURL = "", + Scopes = "", + }, +}); + +GetLeadCatcherOverviewRequest req = new GetLeadCatcherOverviewRequest() { + VenueId = "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + LeadCatcherId = "7de41b14-8083-46d4-91b6-5a3239d59277", +}; + +var res = await sdk.VenueLeads.GetLeadCatcherOverviewAsync(req); + +// handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `request` | [GetLeadCatcherOverviewRequest](../../Models/Requests/GetLeadCatcherOverviewRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[GetLeadCatcherOverviewResponse](../../Models/Requests/GetLeadCatcherOverviewResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | +| Cvent.SDK.Models.Errors.ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| Cvent.SDK.Models.Errors.APIException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Attendees.cs b/packages/csharp/src/Cvent/SDK/Attendees.cs index c3d422147..a801b4fe2 100644 --- a/packages/csharp/src/Cvent/SDK/Attendees.cs +++ b/packages/csharp/src/Cvent/SDK/Attendees.cs @@ -111,7 +111,7 @@ public Task ListAttendeesAsync( /// More about OAuth2 authorization code support for administrators /// /// - /// Gets a paginated list of attendees by sending a filter in the body of the request. This method will return the same data as GET List Attendees but allows for longer filters. + /// Gets a paginated list of attendees by sending a filter in the body of the request. This method will return the same data as GET List Attendees but allows for longer filters. /// /// A parameter. /// The retry configuration to use for this operation. @@ -904,7 +904,7 @@ public async Task ListAttendeesAsync( /// More about OAuth2 authorization code support for administrators /// /// - /// Gets a paginated list of attendees by sending a filter in the body of the request. This method will return the same data as GET List Attendees but allows for longer filters. + /// Gets a paginated list of attendees by sending a filter in the body of the request. This method will return the same data as GET List Attendees but allows for longer filters. /// /// A parameter. /// The retry configuration to use for this operation. diff --git a/packages/csharp/src/Cvent/SDK/Cvent.SDK.csproj b/packages/csharp/src/Cvent/SDK/Cvent.SDK.csproj index 635c693c1..8bfa0c020 100644 --- a/packages/csharp/src/Cvent/SDK/Cvent.SDK.csproj +++ b/packages/csharp/src/Cvent/SDK/Cvent.SDK.csproj @@ -3,7 +3,7 @@ true Cvent.SDK - 1.6.5 + 1.6.6 net8.0 Cvent Copyright (c) Cvent 2026 diff --git a/packages/csharp/src/Cvent/SDK/CventSDK.cs b/packages/csharp/src/Cvent/SDK/CventSDK.cs index 388b00354..0b7d74347 100644 --- a/packages/csharp/src/Cvent/SDK/CventSDK.cs +++ b/packages/csharp/src/Cvent/SDK/CventSDK.cs @@ -157,7 +157,9 @@ public interface ICventSDK /// * **Housing Event.** An Passkey event where invitees will be able to register and book rooms.
/// * **Reservation Request.** Represents a request to book rooms in the housing event.
/// * **RegLink.** A feature that links Passkey events to your registration events, enabling you to sync data between the two events.
- /// * **Callback.** Passkey's callback system allows for a push notification to be sent to your system when a reservation is created, modified or cancelled. + /// * **Callback.** Passkey's callback system allows for a push notification to be sent to your system when a reservation is created, modified or cancelled.
+ ///
+ /// > Passkey Housing APIs only support the NA base URL. Calls to the EU base URL will return an error. /// public IHousing Housing { get; } @@ -406,6 +408,11 @@ public interface ICventSDK /// public IVenueProfiles VenueProfiles { get; } + /// + /// Manage inbound leads submitted to venues through Cvent's sourcing channels. + /// + public IVenueLeads VenueLeads { get; } + /// /// Manage meeting rooms for a venue, including creating and updating room details, configuring capacities and amenities, and associating images. /// @@ -655,6 +662,10 @@ public class CventSDK : ICventSDK /// public IVenueProfiles VenueProfiles { get; private set; } /// + /// The VenueLeads sub-SDK. + /// + public IVenueLeads VenueLeads { get; private set; } + /// /// The VenueMeetingRooms sub-SDK. /// public IVenueMeetingRooms VenueMeetingRooms { get; private set; } @@ -786,6 +797,8 @@ public CventSDK(SDKConfig config) VenueProfiles = new VenueProfiles(SDKConfiguration); + VenueLeads = new VenueLeads(SDKConfiguration); + VenueMeetingRooms = new VenueMeetingRooms(SDKConfiguration); Video = new Video(SDKConfiguration); @@ -959,6 +972,8 @@ public CventSDK( VenueProfiles = new VenueProfiles(SDKConfiguration); + VenueLeads = new VenueLeads(SDKConfiguration); + VenueMeetingRooms = new VenueMeetingRooms(SDKConfiguration); Video = new Video(SDKConfiguration); diff --git a/packages/csharp/src/Cvent/SDK/EventTravel.cs b/packages/csharp/src/Cvent/SDK/EventTravel.cs index 5d92358a8..64eef968e 100644 --- a/packages/csharp/src/Cvent/SDK/EventTravel.cs +++ b/packages/csharp/src/Cvent/SDK/EventTravel.cs @@ -71,7 +71,7 @@ public Task GetAirRequestsAsync( /// Get Alternate Travel Answers. /// /// - /// Get alternate travel answers submitted by attendees who opt out of air or hotel bookings for an event. + /// Get alternate travel answers submitted by attendees who opt out of air, hotel, or train bookings for an event. /// /// A parameter. /// The retry configuration to use for this operation. @@ -545,7 +545,7 @@ public async Task GetAirRequestsAsync( /// Get Alternate Travel Answers. /// /// - /// Get alternate travel answers submitted by attendees who opt out of air or hotel bookings for an event. + /// Get alternate travel answers submitted by attendees who opt out of air, hotel, or train bookings for an event. /// /// A parameter. /// The retry configuration to use for this operation. diff --git a/packages/csharp/src/Cvent/SDK/Hooks/OAuth2Scopes.cs b/packages/csharp/src/Cvent/SDK/Hooks/OAuth2Scopes.cs index 36fd83589..24b161cf2 100644 --- a/packages/csharp/src/Cvent/SDK/Hooks/OAuth2Scopes.cs +++ b/packages/csharp/src/Cvent/SDK/Hooks/OAuth2Scopes.cs @@ -1015,6 +1015,16 @@ public enum OAuth2AuthorizationCodeOAuth2Scope /// [JsonProperty("survey/surveys:read")] SurveySurveysRead, + /// + /// Allows reading of venue amenity selections. + /// + [JsonProperty("venue/amenities:read")] VenueAmenitiesRead, + + /// + /// Allows the modification of venue amenity selections. + /// + [JsonProperty("venue/amenities:write")] VenueAmenitiesWrite, + /// /// Allows reading of venue availability settings. /// @@ -1040,6 +1050,21 @@ public enum OAuth2AuthorizationCodeOAuth2Scope /// [JsonProperty("venue/images:write")] VenueImagesWrite, + /// + /// Allows read access for overview of lead catchers. + /// + [JsonProperty("venue/lead-catchers-overview:read")] VenueLeadCatchersOverviewRead, + + /// + /// Allows the deletion of lead catchers. + /// + [JsonProperty("venue/lead-catchers:delete")] VenueLeadCatchersDelete, + + /// + /// Allows the creation and modification of lead catchers. + /// + [JsonProperty("venue/lead-catchers:write")] VenueLeadCatchersWrite, + /// /// Allows disassociating images from meeting rooms. /// @@ -2327,6 +2352,16 @@ public enum OAuth2ClientCredentialsOAuth2Scope /// [JsonProperty("survey/surveys:read")] SurveySurveysRead, + /// + /// Allows reading of venue amenity selections. + /// + [JsonProperty("venue/amenities:read")] VenueAmenitiesRead, + + /// + /// Allows the modification of venue amenity selections. + /// + [JsonProperty("venue/amenities:write")] VenueAmenitiesWrite, + /// /// Allows reading of venue availability settings. /// @@ -2352,6 +2387,21 @@ public enum OAuth2ClientCredentialsOAuth2Scope /// [JsonProperty("venue/images:write")] VenueImagesWrite, + /// + /// Allows read access for overview of lead catchers. + /// + [JsonProperty("venue/lead-catchers-overview:read")] VenueLeadCatchersOverviewRead, + + /// + /// Allows the deletion of lead catchers. + /// + [JsonProperty("venue/lead-catchers:delete")] VenueLeadCatchersDelete, + + /// + /// Allows the creation and modification of lead catchers. + /// + [JsonProperty("venue/lead-catchers:write")] VenueLeadCatchersWrite, + /// /// Allows disassociating images from meeting rooms. /// diff --git a/packages/csharp/src/Cvent/SDK/Housing.cs b/packages/csharp/src/Cvent/SDK/Housing.cs index a8ed68e49..79cc937fe 100644 --- a/packages/csharp/src/Cvent/SDK/Housing.cs +++ b/packages/csharp/src/Cvent/SDK/Housing.cs @@ -36,7 +36,9 @@ namespace Cvent.SDK /// * **Housing Event.** An Passkey event where invitees will be able to register and book rooms.
/// * **Reservation Request.** Represents a request to book rooms in the housing event.
/// * **RegLink.** A feature that links Passkey events to your registration events, enabling you to sync data between the two events.
- /// * **Callback.** Passkey's callback system allows for a push notification to be sent to your system when a reservation is created, modified or cancelled. + /// * **Callback.** Passkey's callback system allows for a push notification to be sent to your system when a reservation is created, modified or cancelled.
+ ///
+ /// > Passkey Housing APIs only support the NA base URL. Calls to the EU base URL will return an error. /// public interface IHousing { @@ -520,7 +522,9 @@ public Task UpdateReservationSyncAsync( /// * **Housing Event.** An Passkey event where invitees will be able to register and book rooms.
/// * **Reservation Request.** Represents a request to book rooms in the housing event.
/// * **RegLink.** A feature that links Passkey events to your registration events, enabling you to sync data between the two events.
- /// * **Callback.** Passkey's callback system allows for a push notification to be sent to your system when a reservation is created, modified or cancelled. + /// * **Callback.** Passkey's callback system allows for a push notification to be sent to your system when a reservation is created, modified or cancelled.
+ ///
+ /// > Passkey Housing APIs only support the NA base URL. Calls to the EU base URL will return an error. /// public class Housing : IHousing { diff --git a/packages/csharp/src/Cvent/SDK/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.cs index 66c10c637..248cc8a49 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Callbacks/CreateContactHookContactTransactionCallbackResponse.cs @@ -21,6 +21,6 @@ public class CreateContactHookContactTransactionCallbackResponse /// /// Your server returns this structure on a successful callback with the updated values for contact fields present in your system. /// - public ContactFields2? ContactFields { get; set; } + public ContactFields1? ContactFields1 { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AlternateTravelDetail.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AlternateTravelDetail.cs index 8a22c84b8..2b271aa52 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AlternateTravelDetail.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AlternateTravelDetail.cs @@ -15,7 +15,7 @@ namespace Cvent.SDK.Models.Components using System; /// - /// Details of an alternate travel answer submitted by an attendee who opted out of air or hotel bookings. + /// Details of an alternate travel answer submitted by an attendee who opted out of air, hotel, or train bookings. /// public class AlternateTravelDetail { @@ -62,7 +62,7 @@ public class AlternateTravelDetail public AlternateTravelDetailRequesterType? RequesterType { get; set; } /// - /// Type of travel alternate question. + /// Type of travel alternate question. Supported values: AirRequest = attendee requested air travel; HotelRequest = attendee requested hotel travel; AirActual = actual air travel booked; GroupFlight = group flight booking; TrainRequest = attendee requested train travel; AirAndTrainRequest = attendee did not want air or train travel and submitted an alternate response. /// [JsonProperty("travelType")] public TravelType? TravelType { get; set; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeUpdate.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeUpdate.cs index 2da63c3ea..c4d7bd52a 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeUpdate.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeUpdate.cs @@ -81,7 +81,24 @@ public class AttendeeUpdate public bool? SendEmail { get; set; } /// - /// Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event. <br>The following status transitions are supported by this API:<br> * No Response -> Visited <br> * No Response -> Accepted <br> * No Response -> Declined <br> * No Response -> Pending Approval <br> * Cancelled -> Accepted <br> * Cancelled -> Pending Approval <br> * Visited -> Accepted <br> * Visited -> Pending Approval <br> * Declined -> Accepted <br> * Declined -> Pending Approval <br> * Accepted -> Cancelled <br> * Pending Approval -> Accepted <br> * Pending Approval -> Cancelled <br> * Pending Approval -> Denied Approval <br> * Denied Approval -> Pending Approval <br> * Waitlisted -> Accepted. + /// Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
+ /// The following status transitions are supported by this API:
+ /// * No Response -> Visited
+ /// * No Response -> Accepted
+ /// * No Response -> Declined
+ /// * No Response -> Pending Approval
+ /// * Cancelled -> Accepted
+ /// * Cancelled -> Pending Approval
+ /// * Visited -> Accepted
+ /// * Visited -> Pending Approval
+ /// * Declined -> Accepted
+ /// * Declined -> Pending Approval
+ /// * Accepted -> Cancelled
+ /// * Pending Approval -> Accepted
+ /// * Pending Approval -> Cancelled
+ /// * Pending Approval -> Denied Approval
+ /// * Denied Approval -> Pending Approval
+ /// * Waitlisted -> Accepted. ///
[JsonProperty("status")] public AttendeeUpdateStatus? Status { get; set; } = Cvent.SDK.Models.Components.AttendeeUpdateStatus.NoResponse; diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeUpdateStatus.cs b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeUpdateStatus.cs index e56ee5853..a4216d9f8 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeUpdateStatus.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/AttendeeUpdateStatus.cs @@ -14,7 +14,24 @@ namespace Cvent.SDK.Models.Components using System; /// - /// Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event. <br>The following status transitions are supported by this API:<br> * No Response -> Visited <br> * No Response -> Accepted <br> * No Response -> Declined <br> * No Response -> Pending Approval <br> * Cancelled -> Accepted <br> * Cancelled -> Pending Approval <br> * Visited -> Accepted <br> * Visited -> Pending Approval <br> * Declined -> Accepted <br> * Declined -> Pending Approval <br> * Accepted -> Cancelled <br> * Pending Approval -> Accepted <br> * Pending Approval -> Cancelled <br> * Pending Approval -> Denied Approval <br> * Denied Approval -> Pending Approval <br> * Waitlisted -> Accepted. + /// Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
+ /// The following status transitions are supported by this API:
+ /// * No Response -> Visited
+ /// * No Response -> Accepted
+ /// * No Response -> Declined
+ /// * No Response -> Pending Approval
+ /// * Cancelled -> Accepted
+ /// * Cancelled -> Pending Approval
+ /// * Visited -> Accepted
+ /// * Visited -> Pending Approval
+ /// * Declined -> Accepted
+ /// * Declined -> Pending Approval
+ /// * Accepted -> Cancelled
+ /// * Pending Approval -> Accepted
+ /// * Pending Approval -> Cancelled
+ /// * Pending Approval -> Denied Approval
+ /// * Denied Approval -> Pending Approval
+ /// * Waitlisted -> Accepted. ///
public enum AttendeeUpdateStatus { diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactFields.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactFields.cs new file mode 100644 index 000000000..7244d7702 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactFields.cs @@ -0,0 +1,44 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Details of a contact. + /// + public class ContactFields + { + /// + /// Contact ID. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The first name of the contact. + /// + [JsonProperty("firstName")] + public string? FirstName { get; set; } + + /// + /// The last name of the contact. + /// + [JsonProperty("lastName")] + public string? LastName { get; set; } + + /// + /// The email address of the contact. + /// + [JsonProperty("email")] + public string? Email { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactFields1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ContactFields1.cs index 640cf4995..71d4cbc66 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactFields1.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ContactFields1.cs @@ -9,36 +9,20 @@ #nullable enable namespace Cvent.SDK.Models.Components { + using Cvent.SDK.Models.Components; using Cvent.SDK.Utils; using Newtonsoft.Json; + using System.Collections.Generic; /// - /// Details of a contact. + /// An array of standard contact fields supported by Cvent. /// public class ContactFields1 { /// - /// Contact ID. + /// Collection of standard contact fields. /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The first name of the contact. - /// - [JsonProperty("firstName")] - public string? FirstName { get; set; } - - /// - /// The last name of the contact. - /// - [JsonProperty("lastName")] - public string? LastName { get; set; } - - /// - /// The email address of the contact. - /// - [JsonProperty("email")] - public string? Email { get; set; } + [JsonProperty("data")] + public List Data { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/EventAttendeeSubstituted.cs b/packages/csharp/src/Cvent/SDK/Models/Components/EventAttendeeSubstituted.cs index f70f18506..b4b4535b4 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/EventAttendeeSubstituted.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/EventAttendeeSubstituted.cs @@ -28,12 +28,12 @@ public class EventAttendeeSubstituted /// Details of a contact. /// [JsonProperty("oldContact")] - public ContactFields1? OldContact { get; set; } + public ContactFields? OldContact { get; set; } /// /// Details of a contact. /// [JsonProperty("newContact")] - public ContactFields1? NewContact { get; set; } + public ContactFields? NewContact { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingLeadCatcher.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingLeadCatcher.cs new file mode 100644 index 000000000..41639be0f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingLeadCatcher.cs @@ -0,0 +1,197 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// An existing lead catcher contact. + /// + public class ExistingLeadCatcher + { + /// + /// The ISO 8601 zoned date time when this record was created. + /// + [JsonProperty("created")] + public DateTime? Created { get; set; } + + /// + /// The identifier of the user that created this record. + /// + [JsonProperty("createdBy")] + public string? CreatedBy { get; set; } + + /// + /// The ISO 8601 zoned date time when this record was updated. + /// + [JsonProperty("lastModified")] + public DateTime? LastModified { get; set; } + + /// + /// The identifier of the user that last updated this record. + /// + [JsonProperty("lastModifiedBy")] + public string? LastModifiedBy { get; set; } + + /// + /// First name of the lead catcher contact. + /// + [JsonProperty("firstName")] + public string FirstName { get; set; } = default!; + + /// + /// Last name of the lead catcher contact. + /// + [JsonProperty("lastName")] + public string LastName { get; set; } = default!; + + /// + /// Job title of the lead catcher contact. + /// + [JsonProperty("title")] + public string? Title { get; set; } + + /// + /// Email address of the lead catcher contact. RFP notifications are sent to this address. + /// + [JsonProperty("email")] + public string Email { get; set; } = default!; + + /// + /// Phone number of the lead catcher contact. + /// + [JsonProperty("phone")] + public string Phone { get; set; } = default!; + + /// + /// Fax number of the lead catcher contact. + /// + [JsonProperty("fax")] + public string? Fax { get; set; } + + /// + /// Address information for a lead catcher contact. + /// + [JsonProperty("address")] + public LeadCatcherAddress? Address { get; set; } + + /// + /// Language locale of a Lead Catcher contact.
+ ///
+ /// Values:
+ /// - `zh-CHS` — Chinese (Simplified) Legacy
+ /// - `zh-TW` — Chinese (Traditional, Taiwan)
+ /// - `de-DE` — German (Germany)
+ /// - `en-US` — English (United States)
+ /// - `fi-FI` — Finnish (Finland)
+ /// - `fr-FR` — French (France)
+ /// - `it-IT` — Italian (Italy)
+ /// - `ja-JP` — Japanese (Japan)
+ /// - `ko-KR` — Korean (Korea)
+ /// - `nl-NL` — Dutch (Netherlands)
+ /// - `pt-BR` — Portuguese (Brazil)
+ /// - `ru-RU` — Russian (Russia)
+ /// - `sv-SE` — Swedish (Sweden)
+ /// - `th-TH` — Thai (Thailand)
+ /// - `tr-TR` — Turkish (Turkey)
+ /// - `uk-UA` — Ukrainian (Ukraine)
+ /// - `zh-CN` — Chinese (Simplified, China)
+ /// - `de-CH` — German (Switzerland)
+ /// - `en-GB` — English (United Kingdom)
+ /// - `es-MX` — Spanish (Mexico)
+ /// - `fr-BE` — French (Belgium)
+ /// - `it-CH` — Italian (Switzerland)
+ /// - `nl-BE` — Dutch (Belgium)
+ /// - `pt-PT` — Portuguese (Portugal)
+ /// - `ru-MD` — Russian (Moldova)
+ /// - `sv-FI` — Swedish (Finland)
+ /// - `zh-HK` — Chinese (Traditional, Hong Kong SAR)
+ /// - `de-AT` — German (Austria)
+ /// - `en-AU` — English (Australia)
+ /// - `es-ES` — Spanish (Spain, International Sort)
+ /// - `fr-CA` — French (Canada)
+ /// - `zh-SG` — Chinese (Simplified, Singapore)
+ /// - `de-LU` — German (Luxembourg)
+ /// - `en-CA` — English (Canada)
+ /// - `es-GT` — Spanish (Guatemala)
+ /// - `fr-CH` — French (Switzerland)
+ /// - `zh-MO` — Chinese (Traditional, Macao SAR)
+ /// - `de-LI` — German (Liechtenstein)
+ /// - `en-NZ` — English (New Zealand)
+ /// - `es-CR` — Spanish (Costa Rica)
+ /// - `fr-LU` — French (Luxembourg)
+ /// - `en-IE` — English (Ireland)
+ /// - `es-PA` — Spanish (Panama)
+ /// - `fr-MC` — French (Monaco)
+ /// - `en-ZA` — English (South Africa)
+ /// - `es-DO` — Spanish (Dominican Republic)
+ /// - `fr-029` — French (Caribbean)
+ /// - `en-JM` — English (Jamaica)
+ /// - `es-VE` — Spanish (Venezuela)
+ /// - `fr-RE` — French (Réunion)
+ /// - `en-029` — English (Caribbean)
+ /// - `es-CO` — Spanish (Colombia)
+ /// - `fr-CD` — French Congo (DRC)
+ /// - `en-BZ` — English (Belize)
+ /// - `es-PE` — Spanish (Peru)
+ /// - `fr-SN` — French (Senegal)
+ /// - `en-TT` — English (Trinidad and Tobago)
+ /// - `es-AR` — Spanish (Argentina)
+ /// - `fr-CM` — French (Cameroon)
+ /// - `en-ZW` — English (Zimbabwe)
+ /// - `es-EC` — Spanish (Ecuador)
+ /// - `fr-CI` — French (Côte d'Ivoire)
+ /// - `en-PH` — English (Philippines)
+ /// - `es-CL` — Spanish (Chile)
+ /// - `fr-ML` — French (Mali)
+ /// - `en-ID` — English (Indonesia)
+ /// - `es-UY` — Spanish (Uruguay)
+ /// - `fr-MA` — French (Morocco)
+ /// - `en-HK` — English (Hong Kong SAR)
+ /// - `es-PY` — Spanish (Paraguay)
+ /// - `fr-HT` — French (Haiti)
+ /// - `en-IN` — English (India)
+ /// - `es-BO` — Spanish (Bolivia)
+ /// - `en-MY` — English (Malaysia)
+ /// - `es-SV` — Spanish (El Salvador)
+ /// - `en-SG` — English (Singapore)
+ /// - `es-HN` — Spanish (Honduras)
+ /// - `es-NI` — Spanish (Nicaragua)
+ /// - `es-PR` — Spanish (Puerto Rico)
+ /// - `es-US` — Spanish (United States)
+ /// - `es-419` — Spanish (Latin America)
+ /// - `es-CU` — Spanish (Cuba)
+ /// - `zh-CHT` — Chinese (Traditional) Legacy. + ///
+ [JsonProperty("locale")] + public LocaleLanguageVariant? Locale { get; set; } = Cvent.SDK.Models.Components.LocaleLanguageVariant.EnUS; + + /// + /// Notification and role configuration for a lead catcher contact. + /// + [JsonProperty("config")] + public LeadCatcherConfig? Config { get; set; } + + /// + /// Additional information about the lead catcher contact. + /// + [JsonProperty("additionalInfo")] + public string? AdditionalInfo { get; set; } + + /// + /// Lead catcher ID. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingLeadCatcherInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingLeadCatcherInput.cs new file mode 100644 index 000000000..ab56eedea --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingLeadCatcherInput.cs @@ -0,0 +1,166 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// An existing lead catcher contact. + /// + public class ExistingLeadCatcherInput + { + /// + /// First name of the lead catcher contact. + /// + [JsonProperty("firstName")] + public string FirstName { get; set; } = default!; + + /// + /// Last name of the lead catcher contact. + /// + [JsonProperty("lastName")] + public string LastName { get; set; } = default!; + + /// + /// Job title of the lead catcher contact. + /// + [JsonProperty("title")] + public string? Title { get; set; } + + /// + /// Email address of the lead catcher contact. RFP notifications are sent to this address. + /// + [JsonProperty("email")] + public string Email { get; set; } = default!; + + /// + /// Phone number of the lead catcher contact. + /// + [JsonProperty("phone")] + public string Phone { get; set; } = default!; + + /// + /// Fax number of the lead catcher contact. + /// + [JsonProperty("fax")] + public string? Fax { get; set; } + + /// + /// Address information for a lead catcher contact. + /// + [JsonProperty("address")] + public LeadCatcherAddress? Address { get; set; } + + /// + /// Language locale of a Lead Catcher contact.
+ ///
+ /// Values:
+ /// - `zh-CHS` — Chinese (Simplified) Legacy
+ /// - `zh-TW` — Chinese (Traditional, Taiwan)
+ /// - `de-DE` — German (Germany)
+ /// - `en-US` — English (United States)
+ /// - `fi-FI` — Finnish (Finland)
+ /// - `fr-FR` — French (France)
+ /// - `it-IT` — Italian (Italy)
+ /// - `ja-JP` — Japanese (Japan)
+ /// - `ko-KR` — Korean (Korea)
+ /// - `nl-NL` — Dutch (Netherlands)
+ /// - `pt-BR` — Portuguese (Brazil)
+ /// - `ru-RU` — Russian (Russia)
+ /// - `sv-SE` — Swedish (Sweden)
+ /// - `th-TH` — Thai (Thailand)
+ /// - `tr-TR` — Turkish (Turkey)
+ /// - `uk-UA` — Ukrainian (Ukraine)
+ /// - `zh-CN` — Chinese (Simplified, China)
+ /// - `de-CH` — German (Switzerland)
+ /// - `en-GB` — English (United Kingdom)
+ /// - `es-MX` — Spanish (Mexico)
+ /// - `fr-BE` — French (Belgium)
+ /// - `it-CH` — Italian (Switzerland)
+ /// - `nl-BE` — Dutch (Belgium)
+ /// - `pt-PT` — Portuguese (Portugal)
+ /// - `ru-MD` — Russian (Moldova)
+ /// - `sv-FI` — Swedish (Finland)
+ /// - `zh-HK` — Chinese (Traditional, Hong Kong SAR)
+ /// - `de-AT` — German (Austria)
+ /// - `en-AU` — English (Australia)
+ /// - `es-ES` — Spanish (Spain, International Sort)
+ /// - `fr-CA` — French (Canada)
+ /// - `zh-SG` — Chinese (Simplified, Singapore)
+ /// - `de-LU` — German (Luxembourg)
+ /// - `en-CA` — English (Canada)
+ /// - `es-GT` — Spanish (Guatemala)
+ /// - `fr-CH` — French (Switzerland)
+ /// - `zh-MO` — Chinese (Traditional, Macao SAR)
+ /// - `de-LI` — German (Liechtenstein)
+ /// - `en-NZ` — English (New Zealand)
+ /// - `es-CR` — Spanish (Costa Rica)
+ /// - `fr-LU` — French (Luxembourg)
+ /// - `en-IE` — English (Ireland)
+ /// - `es-PA` — Spanish (Panama)
+ /// - `fr-MC` — French (Monaco)
+ /// - `en-ZA` — English (South Africa)
+ /// - `es-DO` — Spanish (Dominican Republic)
+ /// - `fr-029` — French (Caribbean)
+ /// - `en-JM` — English (Jamaica)
+ /// - `es-VE` — Spanish (Venezuela)
+ /// - `fr-RE` — French (Réunion)
+ /// - `en-029` — English (Caribbean)
+ /// - `es-CO` — Spanish (Colombia)
+ /// - `fr-CD` — French Congo (DRC)
+ /// - `en-BZ` — English (Belize)
+ /// - `es-PE` — Spanish (Peru)
+ /// - `fr-SN` — French (Senegal)
+ /// - `en-TT` — English (Trinidad and Tobago)
+ /// - `es-AR` — Spanish (Argentina)
+ /// - `fr-CM` — French (Cameroon)
+ /// - `en-ZW` — English (Zimbabwe)
+ /// - `es-EC` — Spanish (Ecuador)
+ /// - `fr-CI` — French (Côte d'Ivoire)
+ /// - `en-PH` — English (Philippines)
+ /// - `es-CL` — Spanish (Chile)
+ /// - `fr-ML` — French (Mali)
+ /// - `en-ID` — English (Indonesia)
+ /// - `es-UY` — Spanish (Uruguay)
+ /// - `fr-MA` — French (Morocco)
+ /// - `en-HK` — English (Hong Kong SAR)
+ /// - `es-PY` — Spanish (Paraguay)
+ /// - `fr-HT` — French (Haiti)
+ /// - `en-IN` — English (India)
+ /// - `es-BO` — Spanish (Bolivia)
+ /// - `en-MY` — English (Malaysia)
+ /// - `es-SV` — Spanish (El Salvador)
+ /// - `en-SG` — English (Singapore)
+ /// - `es-HN` — Spanish (Honduras)
+ /// - `es-NI` — Spanish (Nicaragua)
+ /// - `es-PR` — Spanish (Puerto Rico)
+ /// - `es-US` — Spanish (United States)
+ /// - `es-419` — Spanish (Latin America)
+ /// - `es-CU` — Spanish (Cuba)
+ /// - `zh-CHT` — Chinese (Traditional) Legacy. + ///
+ [JsonProperty("locale")] + public LocaleLanguageVariant? Locale { get; set; } = Cvent.SDK.Models.Components.LocaleLanguageVariant.EnUS; + + /// + /// Notification and role configuration for a lead catcher contact. + /// + [JsonProperty("config")] + public LeadCatcherConfig? Config { get; set; } + + /// + /// Additional information about the lead catcher contact. + /// + [JsonProperty("additionalInfo")] + public string? AdditionalInfo { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueAmenities.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueAmenities.cs new file mode 100644 index 000000000..39991eade --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueAmenities.cs @@ -0,0 +1,229 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// The current amenity selections for a venue, including identifying properties. + /// + public class ExistingVenueAmenities + { + /// + /// Recreational facilities and leisure activities available at the venue.
+ ///
+ /// Values:
+ /// - `GOLF_ON_GROUNDS` — Golf on Grounds
+ /// - `HEALTH_CLUB` — Health Club
+ /// - `INDOOR_POOL` — Indoor Pool
+ /// - `OUTDOOR_POOL` — Outdoor Pool
+ /// - `SKIING` — Skiing
+ /// - `SPASALON` — Spa/Salon
+ /// - `TENNIS` — Tennis
+ /// - `WATER_SPORTS` — Water Sports
+ /// - `WHIRLPOOL` — Whirlpool. + ///
+ [JsonProperty("recreationalActivities")] + public List? RecreationalActivities { get; set; } + + /// + /// In-room features and guest services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `CONCIERGE_SERVICES` — Concierge Services
+ /// - `FREE_LOCAL_CALLS` — Free Local Calls
+ /// - `FREE_TOLL_FREE_CALLS` — Toll-Free Calls
+ /// - `GARDEN_VIEWS` — Garden Views
+ /// - `INTERNET` — Internet
+ /// - `LAUNDRY` — Laundry
+ /// - `LUGGAGE_STORAGE` — Luggage Storage
+ /// - `MOUNTAIN_VIEWS` — Mountain Views
+ /// - `OCEANWATER_VIEWS` — Ocean/Water Views
+ /// - `ROOM_SERVICE` — Room Service
+ /// - `URBAN_VIEWS` — Urban Views
+ /// - `VOICE_MAIL_BOX` — Voicemail Box. + ///
+ [JsonProperty("roomFeatures")] + public List? RoomFeatures { get; set; } + + /// + /// Audio-visual equipment and connectivity available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Each entry selects an AV capability and, where applicable, provides an internet speed. A `speed` value may only be supplied when `amenity` is `HIGH_SPEED_INTERNET`. + ///
+ [JsonProperty("avCapabilities")] + public List? AvCapabilities { get; set; } + + /// + /// Business and communications services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `AUDIOVIDEO_CAPABILITIES` — Audio/Video Capabilities
+ /// - `BUSINESS_CENTER` — Business Center
+ /// - `VIDEO_CONFERENCING` — Video Conferencing
+ /// - `VIP_SERVICES` — VIP Services. + ///
+ [JsonProperty("businessServices")] + public List? BusinessServices { get; set; } + + /// + /// Transportation options by which the venue is accessible. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `BUS` — Bus
+ /// - `SHUTTLE` — Shuttle
+ /// - `SUBWAY` — Subway
+ /// - `TAXI` — Taxi
+ /// - `TRAIN` — Train. + ///
+ [JsonProperty("transportation")] + public List? Transportation { get; set; } + + /// + /// Physical equipment and staging resources available for event use at the venue.
+ ///
+ /// Values:
+ /// - `DANCE_FLOORS` — Dance Floors
+ /// - `LOADING_DOCK_AVAILABLE` — Loading Dock
+ /// - `PIANO` — Piano
+ /// - `PORTABLE_HEATERS` — Portable Heaters
+ /// - `PORTABLE_WALLS` — Portable Walls
+ /// - `STAGING` — Staging. + ///
+ [JsonProperty("equipment")] + public List? Equipment { get; set; } + + /// + /// Parking options available at or near the venue. Each entry selects a parking type and, where applicable, provides the daily rate. A cost may only be supplied for `PAID_PARKING_AVAILABLE` and `VALET_PARKING_AVAILABLE`. + /// + [JsonProperty("parking")] + public List? Parking { get; set; } + + /// + /// General facility features and on-site services available at the venue. Applicable only to the following venue types: Boutique Hotel, Conference Center, Convention Center, Exposition Center, Hotel, Luxury Hotel, and Resort (all values below except `BUSINESS_CENTER` and `INTERNET`); Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue (only `BUSINESS_CENTER`, `CASINO`, `INTERNET`, `RESTAURANT_ON_SITE`, and `WHEELCHAIR_ACCESSIBLE`).
+ ///
+ /// Values:
+ /// - `ALL_INCLUSIVE` — All Inclusive
+ /// - `BUSINESS_CENTER` — Business Center
+ /// - `CASINO` — Casino
+ /// - `EXTENDED_STAY` — Extended Stay
+ /// - `FREE_AIRPORT_SHUTTLE` — Free Airport Shuttle
+ /// - `GIFT_SHOP_ON_SITE` — Onsite Gift Shop
+ /// - `INTERNET` — Internet
+ /// - `ONSITE_CATERING` — Onsite Catering
+ /// - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed
+ /// - `PETS_WELCOME` — Pet Friendly
+ /// - `RENTAL_CAR_SERVICES` — Rental Car Services
+ /// - `RESTAURANT_ON_SITE` — Onsite Restaurant
+ /// - `SECURITY_STAFF_ONSITE` — Onsite Security
+ /// - `WHEELCHAIR_ACCESSIBLE` — Wheelchair Accessible. + ///
+ [JsonProperty("facilityInfo")] + public List? FacilityInfo { get; set; } + + /// + /// Facility space measurements at the venue. Each entry selects a space type and optionally provides the available event space area, expressed in the venue's configured unit of measurement. + /// + [JsonProperty("facilitySpaceInfo")] + public List? FacilitySpaceInfo { get; set; } + + /// + /// Catering options and policies offered at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `KITCHEN_ONSITE` — Kitchen Onsite
+ /// - `ONSITE_CATERING` — Onsite Catering
+ /// - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed. + ///
+ [JsonProperty("cateringDetails")] + public List? CateringDetails { get; set; } + + /// + /// Alcohol-related policies at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `ALCOHOL_ALLOWED` — Alcohol Allowed
+ /// - `BRING_YOUR_OWN` — Bring Your Own
+ /// - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only. + ///
+ [JsonProperty("alcohol")] + public List? Alcohol { get; set; } + + /// + /// Audio-visual provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `AVAILABLE` — Available
+ /// - `BRING_YOUR_OWN` — Bring Your Own
+ /// - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only. + ///
+ [JsonProperty("audioVisual")] + public List? AudioVisual { get; set; } + + /// + /// Furniture provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `AVAILABLE` — Available
+ /// - `BRING_YOUR_OWN` — Bring Your Own
+ /// - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only. + ///
+ [JsonProperty("furniture")] + public List? Furniture { get; set; } + + /// + /// Linens and table settings provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `AVAILABLE` — Available
+ /// - `BRING_YOUR_OWN` — Bring Your Own
+ /// - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only. + ///
+ [JsonProperty("linensAndTableSettings")] + public List? LinensAndTableSettings { get; set; } + + /// + /// Lighting provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `AVAILABLE` — Available
+ /// - `BRING_YOUR_OWN` — Bring Your Own
+ /// - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only. + ///
+ [JsonProperty("lighting")] + public List? Lighting { get; set; } + + /// + /// Other décor provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `AVAILABLE` — Available
+ /// - `BRING_YOUR_OWN` — Bring Your Own
+ /// - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only. + ///
+ [JsonProperty("otherDecor")] + public List? OtherDecor { get; set; } + + /// + /// Venue ID. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// The name of the venue. + /// + [JsonProperty("name")] + public string Name { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueAmenitiesInput.cs b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueAmenitiesInput.cs new file mode 100644 index 000000000..46d6385fd --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/ExistingVenueAmenitiesInput.cs @@ -0,0 +1,217 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// The current amenity selections for a venue, including identifying properties. + /// + public class ExistingVenueAmenitiesInput + { + /// + /// Recreational facilities and leisure activities available at the venue.
+ ///
+ /// Values:
+ /// - `GOLF_ON_GROUNDS` — Golf on Grounds
+ /// - `HEALTH_CLUB` — Health Club
+ /// - `INDOOR_POOL` — Indoor Pool
+ /// - `OUTDOOR_POOL` — Outdoor Pool
+ /// - `SKIING` — Skiing
+ /// - `SPASALON` — Spa/Salon
+ /// - `TENNIS` — Tennis
+ /// - `WATER_SPORTS` — Water Sports
+ /// - `WHIRLPOOL` — Whirlpool. + ///
+ [JsonProperty("recreationalActivities")] + public List? RecreationalActivities { get; set; } + + /// + /// In-room features and guest services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `CONCIERGE_SERVICES` — Concierge Services
+ /// - `FREE_LOCAL_CALLS` — Free Local Calls
+ /// - `FREE_TOLL_FREE_CALLS` — Toll-Free Calls
+ /// - `GARDEN_VIEWS` — Garden Views
+ /// - `INTERNET` — Internet
+ /// - `LAUNDRY` — Laundry
+ /// - `LUGGAGE_STORAGE` — Luggage Storage
+ /// - `MOUNTAIN_VIEWS` — Mountain Views
+ /// - `OCEANWATER_VIEWS` — Ocean/Water Views
+ /// - `ROOM_SERVICE` — Room Service
+ /// - `URBAN_VIEWS` — Urban Views
+ /// - `VOICE_MAIL_BOX` — Voicemail Box. + ///
+ [JsonProperty("roomFeatures")] + public List? RoomFeatures { get; set; } + + /// + /// Audio-visual equipment and connectivity available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Each entry selects an AV capability and, where applicable, provides an internet speed. A `speed` value may only be supplied when `amenity` is `HIGH_SPEED_INTERNET`. + ///
+ [JsonProperty("avCapabilities")] + public List? AvCapabilities { get; set; } + + /// + /// Business and communications services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `AUDIOVIDEO_CAPABILITIES` — Audio/Video Capabilities
+ /// - `BUSINESS_CENTER` — Business Center
+ /// - `VIDEO_CONFERENCING` — Video Conferencing
+ /// - `VIP_SERVICES` — VIP Services. + ///
+ [JsonProperty("businessServices")] + public List? BusinessServices { get; set; } + + /// + /// Transportation options by which the venue is accessible. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `BUS` — Bus
+ /// - `SHUTTLE` — Shuttle
+ /// - `SUBWAY` — Subway
+ /// - `TAXI` — Taxi
+ /// - `TRAIN` — Train. + ///
+ [JsonProperty("transportation")] + public List? Transportation { get; set; } + + /// + /// Physical equipment and staging resources available for event use at the venue.
+ ///
+ /// Values:
+ /// - `DANCE_FLOORS` — Dance Floors
+ /// - `LOADING_DOCK_AVAILABLE` — Loading Dock
+ /// - `PIANO` — Piano
+ /// - `PORTABLE_HEATERS` — Portable Heaters
+ /// - `PORTABLE_WALLS` — Portable Walls
+ /// - `STAGING` — Staging. + ///
+ [JsonProperty("equipment")] + public List? Equipment { get; set; } + + /// + /// Parking options available at or near the venue. Each entry selects a parking type and, where applicable, provides the daily rate. A cost may only be supplied for `PAID_PARKING_AVAILABLE` and `VALET_PARKING_AVAILABLE`. + /// + [JsonProperty("parking")] + public List? Parking { get; set; } + + /// + /// General facility features and on-site services available at the venue. Applicable only to the following venue types: Boutique Hotel, Conference Center, Convention Center, Exposition Center, Hotel, Luxury Hotel, and Resort (all values below except `BUSINESS_CENTER` and `INTERNET`); Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue (only `BUSINESS_CENTER`, `CASINO`, `INTERNET`, `RESTAURANT_ON_SITE`, and `WHEELCHAIR_ACCESSIBLE`).
+ ///
+ /// Values:
+ /// - `ALL_INCLUSIVE` — All Inclusive
+ /// - `BUSINESS_CENTER` — Business Center
+ /// - `CASINO` — Casino
+ /// - `EXTENDED_STAY` — Extended Stay
+ /// - `FREE_AIRPORT_SHUTTLE` — Free Airport Shuttle
+ /// - `GIFT_SHOP_ON_SITE` — Onsite Gift Shop
+ /// - `INTERNET` — Internet
+ /// - `ONSITE_CATERING` — Onsite Catering
+ /// - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed
+ /// - `PETS_WELCOME` — Pet Friendly
+ /// - `RENTAL_CAR_SERVICES` — Rental Car Services
+ /// - `RESTAURANT_ON_SITE` — Onsite Restaurant
+ /// - `SECURITY_STAFF_ONSITE` — Onsite Security
+ /// - `WHEELCHAIR_ACCESSIBLE` — Wheelchair Accessible. + ///
+ [JsonProperty("facilityInfo")] + public List? FacilityInfo { get; set; } + + /// + /// Facility space measurements at the venue. Each entry selects a space type and optionally provides the available event space area, expressed in the venue's configured unit of measurement. + /// + [JsonProperty("facilitySpaceInfo")] + public List? FacilitySpaceInfo { get; set; } + + /// + /// Catering options and policies offered at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `KITCHEN_ONSITE` — Kitchen Onsite
+ /// - `ONSITE_CATERING` — Onsite Catering
+ /// - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed. + ///
+ [JsonProperty("cateringDetails")] + public List? CateringDetails { get; set; } + + /// + /// Alcohol-related policies at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `ALCOHOL_ALLOWED` — Alcohol Allowed
+ /// - `BRING_YOUR_OWN` — Bring Your Own
+ /// - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only. + ///
+ [JsonProperty("alcohol")] + public List? Alcohol { get; set; } + + /// + /// Audio-visual provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `AVAILABLE` — Available
+ /// - `BRING_YOUR_OWN` — Bring Your Own
+ /// - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only. + ///
+ [JsonProperty("audioVisual")] + public List? AudioVisual { get; set; } + + /// + /// Furniture provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `AVAILABLE` — Available
+ /// - `BRING_YOUR_OWN` — Bring Your Own
+ /// - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only. + ///
+ [JsonProperty("furniture")] + public List? Furniture { get; set; } + + /// + /// Linens and table settings provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `AVAILABLE` — Available
+ /// - `BRING_YOUR_OWN` — Bring Your Own
+ /// - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only. + ///
+ [JsonProperty("linensAndTableSettings")] + public List? LinensAndTableSettings { get; set; } + + /// + /// Lighting provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `AVAILABLE` — Available
+ /// - `BRING_YOUR_OWN` — Bring Your Own
+ /// - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only. + ///
+ [JsonProperty("lighting")] + public List? Lighting { get; set; } + + /// + /// Other décor provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.
+ ///
+ /// Values:
+ /// - `AVAILABLE` — Available
+ /// - `BRING_YOUR_OWN` — Bring Your Own
+ /// - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only. + ///
+ [JsonProperty("otherDecor")] + public List? OtherDecor { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomOccupancyPerRoomType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomOccupancyPerRoomType.cs index 2ec829f8a..517589444 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomOccupancyPerRoomType.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/GuestRoomOccupancyPerRoomType.cs @@ -28,6 +28,6 @@ public class GuestRoomOccupancyPerRoomType /// Guest room type. `ANY`: Room can be any type. `SINGLE`: Room with one bed. `DOUBLE`: Room with two beds. `SUITE`: Room is an entire suite. `STAFF`: Room is for staff. /// [JsonProperty("type")] - public GuestRoomType? Type { get; set; } + public GuestRoomType Type { get; set; } = default!; } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcher.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcher.cs new file mode 100644 index 000000000..d1cc7606c --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcher.cs @@ -0,0 +1,166 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// A contact attached to a venue offering who receives email notifications when RFPs are submitted to that venue. + /// + public class LeadCatcher + { + /// + /// First name of the lead catcher contact. + /// + [JsonProperty("firstName")] + public string FirstName { get; set; } = default!; + + /// + /// Last name of the lead catcher contact. + /// + [JsonProperty("lastName")] + public string LastName { get; set; } = default!; + + /// + /// Job title of the lead catcher contact. + /// + [JsonProperty("title")] + public string? Title { get; set; } + + /// + /// Email address of the lead catcher contact. RFP notifications are sent to this address. + /// + [JsonProperty("email")] + public string Email { get; set; } = default!; + + /// + /// Phone number of the lead catcher contact. + /// + [JsonProperty("phone")] + public string Phone { get; set; } = default!; + + /// + /// Fax number of the lead catcher contact. + /// + [JsonProperty("fax")] + public string? Fax { get; set; } + + /// + /// Address information for a lead catcher contact. + /// + [JsonProperty("address")] + public LeadCatcherAddress? Address { get; set; } + + /// + /// Language locale of a Lead Catcher contact.
+ ///
+ /// Values:
+ /// - `zh-CHS` — Chinese (Simplified) Legacy
+ /// - `zh-TW` — Chinese (Traditional, Taiwan)
+ /// - `de-DE` — German (Germany)
+ /// - `en-US` — English (United States)
+ /// - `fi-FI` — Finnish (Finland)
+ /// - `fr-FR` — French (France)
+ /// - `it-IT` — Italian (Italy)
+ /// - `ja-JP` — Japanese (Japan)
+ /// - `ko-KR` — Korean (Korea)
+ /// - `nl-NL` — Dutch (Netherlands)
+ /// - `pt-BR` — Portuguese (Brazil)
+ /// - `ru-RU` — Russian (Russia)
+ /// - `sv-SE` — Swedish (Sweden)
+ /// - `th-TH` — Thai (Thailand)
+ /// - `tr-TR` — Turkish (Turkey)
+ /// - `uk-UA` — Ukrainian (Ukraine)
+ /// - `zh-CN` — Chinese (Simplified, China)
+ /// - `de-CH` — German (Switzerland)
+ /// - `en-GB` — English (United Kingdom)
+ /// - `es-MX` — Spanish (Mexico)
+ /// - `fr-BE` — French (Belgium)
+ /// - `it-CH` — Italian (Switzerland)
+ /// - `nl-BE` — Dutch (Belgium)
+ /// - `pt-PT` — Portuguese (Portugal)
+ /// - `ru-MD` — Russian (Moldova)
+ /// - `sv-FI` — Swedish (Finland)
+ /// - `zh-HK` — Chinese (Traditional, Hong Kong SAR)
+ /// - `de-AT` — German (Austria)
+ /// - `en-AU` — English (Australia)
+ /// - `es-ES` — Spanish (Spain, International Sort)
+ /// - `fr-CA` — French (Canada)
+ /// - `zh-SG` — Chinese (Simplified, Singapore)
+ /// - `de-LU` — German (Luxembourg)
+ /// - `en-CA` — English (Canada)
+ /// - `es-GT` — Spanish (Guatemala)
+ /// - `fr-CH` — French (Switzerland)
+ /// - `zh-MO` — Chinese (Traditional, Macao SAR)
+ /// - `de-LI` — German (Liechtenstein)
+ /// - `en-NZ` — English (New Zealand)
+ /// - `es-CR` — Spanish (Costa Rica)
+ /// - `fr-LU` — French (Luxembourg)
+ /// - `en-IE` — English (Ireland)
+ /// - `es-PA` — Spanish (Panama)
+ /// - `fr-MC` — French (Monaco)
+ /// - `en-ZA` — English (South Africa)
+ /// - `es-DO` — Spanish (Dominican Republic)
+ /// - `fr-029` — French (Caribbean)
+ /// - `en-JM` — English (Jamaica)
+ /// - `es-VE` — Spanish (Venezuela)
+ /// - `fr-RE` — French (Réunion)
+ /// - `en-029` — English (Caribbean)
+ /// - `es-CO` — Spanish (Colombia)
+ /// - `fr-CD` — French Congo (DRC)
+ /// - `en-BZ` — English (Belize)
+ /// - `es-PE` — Spanish (Peru)
+ /// - `fr-SN` — French (Senegal)
+ /// - `en-TT` — English (Trinidad and Tobago)
+ /// - `es-AR` — Spanish (Argentina)
+ /// - `fr-CM` — French (Cameroon)
+ /// - `en-ZW` — English (Zimbabwe)
+ /// - `es-EC` — Spanish (Ecuador)
+ /// - `fr-CI` — French (Côte d'Ivoire)
+ /// - `en-PH` — English (Philippines)
+ /// - `es-CL` — Spanish (Chile)
+ /// - `fr-ML` — French (Mali)
+ /// - `en-ID` — English (Indonesia)
+ /// - `es-UY` — Spanish (Uruguay)
+ /// - `fr-MA` — French (Morocco)
+ /// - `en-HK` — English (Hong Kong SAR)
+ /// - `es-PY` — Spanish (Paraguay)
+ /// - `fr-HT` — French (Haiti)
+ /// - `en-IN` — English (India)
+ /// - `es-BO` — Spanish (Bolivia)
+ /// - `en-MY` — English (Malaysia)
+ /// - `es-SV` — Spanish (El Salvador)
+ /// - `en-SG` — English (Singapore)
+ /// - `es-HN` — Spanish (Honduras)
+ /// - `es-NI` — Spanish (Nicaragua)
+ /// - `es-PR` — Spanish (Puerto Rico)
+ /// - `es-US` — Spanish (United States)
+ /// - `es-419` — Spanish (Latin America)
+ /// - `es-CU` — Spanish (Cuba)
+ /// - `zh-CHT` — Chinese (Traditional) Legacy. + ///
+ [JsonProperty("locale")] + public LocaleLanguageVariant? Locale { get; set; } = Cvent.SDK.Models.Components.LocaleLanguageVariant.EnUS; + + /// + /// Notification and role configuration for a lead catcher contact. + /// + [JsonProperty("config")] + public LeadCatcherConfig? Config { get; set; } + + /// + /// Additional information about the lead catcher contact. + /// + [JsonProperty("additionalInfo")] + public string? AdditionalInfo { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherAddress.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherAddress.cs new file mode 100644 index 000000000..54ae0e4db --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherAddress.cs @@ -0,0 +1,57 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Address information for a lead catcher contact. + /// + public class LeadCatcherAddress + { + /// + /// Street address line 1. + /// + [JsonProperty("streetAddress1")] + public string? StreetAddress1 { get; set; } + + /// + /// Street address line 2. + /// + [JsonProperty("streetAddress2")] + public string? StreetAddress2 { get; set; } + + /// + /// City. + /// + [JsonProperty("city")] + public string? City { get; set; } + + /// + /// State or province code for the contact address (ISO 3166-2). + /// + [JsonProperty("stateProvince")] + public LeadCatcherAddressStateProvince? StateProvince { get; set; } + + /// + /// ZIP or postal code. + /// + [JsonProperty("zipPostalCode")] + public string? ZipPostalCode { get; set; } + + /// + /// Country code for the contact address (ISO 3166-1 alpha-2). + /// + [JsonProperty("country")] + public LeadCatcherAddressCountry? Country { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherAddressCountry.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherAddressCountry.cs new file mode 100644 index 000000000..e0cefe92d --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherAddressCountry.cs @@ -0,0 +1,312 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Country code for the contact address (ISO 3166-1 alpha-2). + /// + public enum LeadCatcherAddressCountry + { + [JsonProperty("BLANK")] Blank, + [JsonProperty("AD")] Ad, + [JsonProperty("AE")] Ae, + [JsonProperty("AF")] Af, + [JsonProperty("AG")] Ag, + [JsonProperty("AI")] Ai, + [JsonProperty("AL")] Al, + [JsonProperty("AM")] Am, + [JsonProperty("AN")] An, + [JsonProperty("AO")] Ao, + [JsonProperty("AQ")] Aq, + [JsonProperty("AR")] Ar, + [JsonProperty("AS")] As, + [JsonProperty("AT")] At, + [JsonProperty("AU")] Au, + [JsonProperty("AW")] Aw, + [JsonProperty("AX")] Ax, + [JsonProperty("AZ")] Az, + [JsonProperty("BA")] Ba, + [JsonProperty("BB")] Bb, + [JsonProperty("BD")] Bd, + [JsonProperty("BE")] Be, + [JsonProperty("BF")] Bf, + [JsonProperty("BG")] Bg, + [JsonProperty("BH")] Bh, + [JsonProperty("BI")] Bi, + [JsonProperty("BJ")] Bj, + [JsonProperty("BL")] Bl, + [JsonProperty("BM")] Bm, + [JsonProperty("BN")] Bn, + [JsonProperty("BO")] Bo, + [JsonProperty("BQ")] Bq, + [JsonProperty("BR")] Br, + [JsonProperty("BS")] Bs, + [JsonProperty("BT")] Bt, + [JsonProperty("BV")] Bv, + [JsonProperty("BW")] Bw, + [JsonProperty("BY")] By, + [JsonProperty("BZ")] Bz, + [JsonProperty("CA")] Ca, + [JsonProperty("CC")] Cc, + [JsonProperty("CD")] Cd, + [JsonProperty("CF")] Cf, + [JsonProperty("CG")] Cg, + [JsonProperty("CH")] Ch, + [JsonProperty("CI")] Ci, + [JsonProperty("CK")] Ck, + [JsonProperty("CL")] Cl, + [JsonProperty("CM")] Cm, + [JsonProperty("CN")] Cn, + [JsonProperty("CO")] Co, + [JsonProperty("CR")] Cr, + [JsonProperty("CU")] Cu, + [JsonProperty("CV")] Cv, + [JsonProperty("CW")] Cw, + [JsonProperty("CX")] Cx, + [JsonProperty("CY")] Cy, + [JsonProperty("CZ")] Cz, + [JsonProperty("DE")] De, + [JsonProperty("DJ")] Dj, + [JsonProperty("DK")] Dk, + [JsonProperty("DM")] Dm, + [JsonProperty("DO")] Do, + [JsonProperty("DZ")] Dz, + [JsonProperty("EC")] Ec, + [JsonProperty("EE")] Ee, + [JsonProperty("EG")] Eg, + [JsonProperty("EH")] Eh, + [JsonProperty("ER")] Er, + [JsonProperty("ES")] Es, + [JsonProperty("ET")] Et, + [JsonProperty("FI")] Fi, + [JsonProperty("FJ")] Fj, + [JsonProperty("FK")] Fk, + [JsonProperty("FM")] Fm, + [JsonProperty("FO")] Fo, + [JsonProperty("FR")] Fr, + [JsonProperty("GA")] Ga, + [JsonProperty("GB")] Gb, + [JsonProperty("GB_1")] Gb1, + [JsonProperty("GB_2")] Gb2, + [JsonProperty("GB_3")] Gb3, + [JsonProperty("GB_4")] Gb4, + [JsonProperty("GD")] Gd, + [JsonProperty("GE")] Ge, + [JsonProperty("GF")] Gf, + [JsonProperty("GG")] Gg, + [JsonProperty("GH")] Gh, + [JsonProperty("GI")] Gi, + [JsonProperty("GL")] Gl, + [JsonProperty("GM")] Gm, + [JsonProperty("GN")] Gn, + [JsonProperty("GP")] Gp, + [JsonProperty("GQ")] Gq, + [JsonProperty("GR")] Gr, + [JsonProperty("GS")] Gs, + [JsonProperty("GT")] Gt, + [JsonProperty("GU")] Gu, + [JsonProperty("GW")] Gw, + [JsonProperty("GY")] Gy, + [JsonProperty("HK")] Hk, + [JsonProperty("HM")] Hm, + [JsonProperty("HN")] Hn, + [JsonProperty("HR")] Hr, + [JsonProperty("HT")] Ht, + [JsonProperty("HU")] Hu, + [JsonProperty("ID")] Id, + [JsonProperty("IE")] Ie, + [JsonProperty("IL")] Il, + [JsonProperty("IM")] Im, + [JsonProperty("IN")] In, + [JsonProperty("IO")] Io, + [JsonProperty("IQ")] Iq, + [JsonProperty("IR")] Ir, + [JsonProperty("IS")] Is, + [JsonProperty("IT")] It, + [JsonProperty("JE")] Je, + [JsonProperty("JM")] Jm, + [JsonProperty("JO")] Jo, + [JsonProperty("JP")] Jp, + [JsonProperty("KE")] Ke, + [JsonProperty("KG")] Kg, + [JsonProperty("KH")] Kh, + [JsonProperty("KI")] Ki, + [JsonProperty("KM")] Km, + [JsonProperty("KN")] Kn, + [JsonProperty("KO")] Ko, + [JsonProperty("KP")] Kp, + [JsonProperty("KR")] Kr, + [JsonProperty("KW")] Kw, + [JsonProperty("KY")] Ky, + [JsonProperty("KZ")] Kz, + [JsonProperty("LA")] La, + [JsonProperty("LB")] Lb, + [JsonProperty("LC")] Lc, + [JsonProperty("LI")] Li, + [JsonProperty("LK")] Lk, + [JsonProperty("LR")] Lr, + [JsonProperty("LS")] Ls, + [JsonProperty("LT")] Lt, + [JsonProperty("LU")] Lu, + [JsonProperty("LV")] Lv, + [JsonProperty("LY")] Ly, + [JsonProperty("MA")] Ma, + [JsonProperty("MC")] Mc, + [JsonProperty("MD")] Md, + [JsonProperty("ME")] Me, + [JsonProperty("MF")] Mf, + [JsonProperty("MG")] Mg, + [JsonProperty("MH")] Mh, + [JsonProperty("MK")] Mk, + [JsonProperty("ML")] Ml, + [JsonProperty("MM")] Mm, + [JsonProperty("MN")] Mn, + [JsonProperty("MO")] Mo, + [JsonProperty("MP")] Mp, + [JsonProperty("MQ")] Mq, + [JsonProperty("MR")] Mr, + [JsonProperty("MS")] Ms, + [JsonProperty("MT")] Mt, + [JsonProperty("MU")] Mu, + [JsonProperty("MV")] Mv, + [JsonProperty("MW")] Mw, + [JsonProperty("MX")] Mx, + [JsonProperty("MY")] My, + [JsonProperty("MZ")] Mz, + [JsonProperty("NA")] Na, + [JsonProperty("NC")] Nc, + [JsonProperty("NE")] Ne, + [JsonProperty("NF")] Nf, + [JsonProperty("NG")] Ng, + [JsonProperty("NI")] Ni, + [JsonProperty("NL")] Nl, + [JsonProperty("NO")] No, + [JsonProperty("NP")] Np, + [JsonProperty("NR")] Nr, + [JsonProperty("NU")] Nu, + [JsonProperty("NZ")] Nz, + [JsonProperty("OM")] Om, + [JsonProperty("PA")] Pa, + [JsonProperty("PE")] Pe, + [JsonProperty("PF")] Pf, + [JsonProperty("PG")] Pg, + [JsonProperty("PH")] Ph, + [JsonProperty("PK")] Pk, + [JsonProperty("PL")] Pl, + [JsonProperty("PM")] Pm, + [JsonProperty("PN")] Pn, + [JsonProperty("PR")] Pr, + [JsonProperty("PS")] Ps, + [JsonProperty("PT")] Pt, + [JsonProperty("PW")] Pw, + [JsonProperty("PY")] Py, + [JsonProperty("QA")] Qa, + [JsonProperty("RE")] Re, + [JsonProperty("RO")] Ro, + [JsonProperty("RS")] Rs, + [JsonProperty("RU")] Ru, + [JsonProperty("RW")] Rw, + [JsonProperty("SA")] Sa, + [JsonProperty("SB")] Sb, + [JsonProperty("SC")] Sc, + [JsonProperty("SD")] Sd, + [JsonProperty("SE")] Se, + [JsonProperty("SG")] Sg, + [JsonProperty("SH")] Sh, + [JsonProperty("SI")] Si, + [JsonProperty("SJ")] Sj, + [JsonProperty("SK")] Sk, + [JsonProperty("SL")] Sl, + [JsonProperty("SM")] Sm, + [JsonProperty("SN")] Sn, + [JsonProperty("SO")] So, + [JsonProperty("SR")] Sr, + [JsonProperty("SS")] Ss, + [JsonProperty("ST")] St, + [JsonProperty("SV")] Sv, + [JsonProperty("SX")] Sx, + [JsonProperty("SY")] Sy, + [JsonProperty("SZ")] Sz, + [JsonProperty("TC")] Tc, + [JsonProperty("TD")] Td, + [JsonProperty("TF")] Tf, + [JsonProperty("TG")] Tg, + [JsonProperty("TH")] Th, + [JsonProperty("TJ")] Tj, + [JsonProperty("TK")] Tk, + [JsonProperty("TL")] Tl, + [JsonProperty("TM")] Tm, + [JsonProperty("TN")] Tn, + [JsonProperty("TO")] To, + [JsonProperty("TP")] Tp, + [JsonProperty("TR")] Tr, + [JsonProperty("TT")] Tt, + [JsonProperty("TV")] Tv, + [JsonProperty("TW")] Tw, + [JsonProperty("TZ")] Tz, + [JsonProperty("UA")] Ua, + [JsonProperty("UG")] Ug, + [JsonProperty("UM")] Um, + [JsonProperty("US")] Us, + [JsonProperty("UY")] Uy, + [JsonProperty("UZ")] Uz, + [JsonProperty("VA")] Va, + [JsonProperty("VC")] Vc, + [JsonProperty("VE")] Ve, + [JsonProperty("VG")] Vg, + [JsonProperty("VI")] Vi, + [JsonProperty("VN")] Vn, + [JsonProperty("VU")] Vu, + [JsonProperty("WF")] Wf, + [JsonProperty("WS")] Ws, + [JsonProperty("YE")] Ye, + [JsonProperty("YT")] Yt, + [JsonProperty("ZA")] Za, + [JsonProperty("ZM")] Zm, + [JsonProperty("ZW")] Zw, + } + + public static class LeadCatcherAddressCountryExtension + { + public static string Value(this LeadCatcherAddressCountry value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static LeadCatcherAddressCountry ToEnum(this string value) + { + foreach (var field in typeof(LeadCatcherAddressCountry).GetFields()) + { + var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); + if (attributes.Length == 0) + { + continue; + } + + var attribute = attributes[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); + + if (enumVal is LeadCatcherAddressCountry) + { + return (LeadCatcherAddressCountry)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum LeadCatcherAddressCountry"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherAddressPatch.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherAddressPatch.cs new file mode 100644 index 000000000..a182a8427 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherAddressPatch.cs @@ -0,0 +1,57 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Address information for the lead catcher contact. Only the address sub-fields supplied are updated; omitted sub-fields are left unchanged. + /// + public class LeadCatcherAddressPatch + { + /// + /// Street address line 1. + /// + [JsonProperty("streetAddress1")] + public string? StreetAddress1 { get; set; } = null; + + /// + /// Street address line 2. + /// + [JsonProperty("streetAddress2")] + public string? StreetAddress2 { get; set; } = null; + + /// + /// City. + /// + [JsonProperty("city")] + public string? City { get; set; } = null; + + /// + /// The state province code used for contact information. + /// + [JsonProperty("stateProvince")] + public LeadCatcherPatchStateProvince? StateProvince { get; set; } = null; + + /// + /// ZIP or postal code. + /// + [JsonProperty("zipPostalCode")] + public string? ZipPostalCode { get; set; } = null; + + /// + /// ISO 3166 two-letter (alpha-2) country code used for contact information. + /// + [JsonProperty("country")] + public LeadCatcherPatchCountry? Country { get; set; } = null; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherAddressStateProvince.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherAddressStateProvince.cs new file mode 100644 index 000000000..aebb64a27 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherAddressStateProvince.cs @@ -0,0 +1,877 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// State or province code for the contact address (ISO 3166-2). + /// + public enum LeadCatcherAddressStateProvince + { + [JsonProperty("BLANK")] Blank, + [JsonProperty("AA")] Aa, + [JsonProperty("AB")] Ab, + [JsonProperty("ABD")] Abd, + [JsonProperty("ABE")] Abe, + [JsonProperty("ACT_AUS")] ActAus, + [JsonProperty("AE")] Ae, + [JsonProperty("AGB")] Agb, + [JsonProperty("AGY")] Agy, + [JsonProperty("AK")] Ak, + [JsonProperty("AL")] Al, + [JsonProperty("ANS")] Ans, + [JsonProperty("ANT")] Ant, + [JsonProperty("AP")] Ap, + [JsonProperty("AR")] Ar, + [JsonProperty("ARD")] Ard, + [JsonProperty("ARM")] Arm, + [JsonProperty("AS")] As, + [JsonProperty("AT_1")] At1, + [JsonProperty("AT_2")] At2, + [JsonProperty("AT_3")] At3, + [JsonProperty("AT_4")] At4, + [JsonProperty("AT_5")] At5, + [JsonProperty("AT_6")] At6, + [JsonProperty("AT_7")] At7, + [JsonProperty("AT_8")] At8, + [JsonProperty("AT_9")] At9, + [JsonProperty("AZ")] Az, + [JsonProperty("BAN")] Ban, + [JsonProperty("BAS")] Bas, + [JsonProperty("BBD")] Bbd, + [JsonProperty("BC")] Bc, + [JsonProperty("BDF")] Bdf, + [JsonProperty("BE_BRU")] BeBru, + [JsonProperty("BEN")] Ben, + [JsonProperty("BE_VAN")] BeVan, + [JsonProperty("BE_VBR")] BeVbr, + [JsonProperty("BE_VLI")] BeVli, + [JsonProperty("BE_VOV")] BeVov, + [JsonProperty("BE_VWV")] BeVwv, + [JsonProperty("BE_WBR")] BeWbr, + [JsonProperty("BE_WHT")] BeWht, + [JsonProperty("BE_WLG")] BeWlg, + [JsonProperty("BE_WLX")] BeWlx, + [JsonProperty("BE_WNA")] BeWna, + [JsonProperty("BEX")] Bex, + [JsonProperty("BFS")] Bfs, + [JsonProperty("BGE")] Bge, + [JsonProperty("BGW")] Bgw, + [JsonProperty("BIR")] Bir, + [JsonProperty("BKM")] Bkm, + [JsonProperty("BLA")] Bla, + [JsonProperty("BLY")] Bly, + [JsonProperty("BMH")] Bmh, + [JsonProperty("BNB")] Bnb, + [JsonProperty("BNE")] Bne, + [JsonProperty("BNH")] Bnh, + [JsonProperty("BNS")] Bns, + [JsonProperty("BOL")] Bol, + [JsonProperty("BPL")] Bpl, + [JsonProperty("BR_AC")] BrAc, + [JsonProperty("BR_AL")] BrAl, + [JsonProperty("BR_AM")] BrAm, + [JsonProperty("BR_AP")] BrAp, + [JsonProperty("BR_BA")] BrBa, + [JsonProperty("BRC")] Brc, + [JsonProperty("BR_CE")] BrCe, + [JsonProperty("BRD")] Brd, + [JsonProperty("BR_DF")] BrDf, + [JsonProperty("BR_ES")] BrEs, + [JsonProperty("BR_GO")] BrGo, + [JsonProperty("BRK")] Brk, + [JsonProperty("BR_MA")] BrMa, + [JsonProperty("BR_MG")] BrMg, + [JsonProperty("BR_MS")] BrMs, + [JsonProperty("BR_MT")] BrMt, + [JsonProperty("BR_PA")] BrPa, + [JsonProperty("BR_PB")] BrPb, + [JsonProperty("BR_PE")] BrPe, + [JsonProperty("BR_PI")] BrPi, + [JsonProperty("BR_PR")] BrPr, + [JsonProperty("BR_RJ")] BrRj, + [JsonProperty("BR_RN")] BrRn, + [JsonProperty("BR_RO")] BrRo, + [JsonProperty("BR_RR")] BrRr, + [JsonProperty("BR_RS")] BrRs, + [JsonProperty("BR_SC")] BrSc, + [JsonProperty("BR_SE")] BrSe, + [JsonProperty("BR_SP")] BrSp, + [JsonProperty("BR_TO")] BrTo, + [JsonProperty("BRY")] Bry, + [JsonProperty("BST")] Bst, + [JsonProperty("BUR")] Bur, + [JsonProperty("CA")] Ca, + [JsonProperty("CAM")] Cam, + [JsonProperty("CAY")] Cay, + [JsonProperty("CGN")] Cgn, + [JsonProperty("CGV")] Cgv, + [JsonProperty("CH_AG")] ChAg, + [JsonProperty("CH_AI")] ChAi, + [JsonProperty("CH_AR")] ChAr, + [JsonProperty("CH_BE")] ChBe, + [JsonProperty("CH_BL")] ChBl, + [JsonProperty("CH_BS")] ChBs, + [JsonProperty("CH_FR")] ChFr, + [JsonProperty("CH_GE")] ChGe, + [JsonProperty("CH_GL")] ChGl, + [JsonProperty("CH_GR")] ChGr, + [JsonProperty("CHI")] Chi, + [JsonProperty("CH_JU")] ChJu, + [JsonProperty("CH_LU")] ChLu, + [JsonProperty("CH_NE")] ChNe, + [JsonProperty("CH_NW")] ChNw, + [JsonProperty("CH_OW")] ChOw, + [JsonProperty("CHS")] Chs, + [JsonProperty("CH_SG")] ChSg, + [JsonProperty("CH_SH")] ChSh, + [JsonProperty("CH_SO")] ChSo, + [JsonProperty("CH_SZ")] ChSz, + [JsonProperty("CH_TG")] ChTg, + [JsonProperty("CH_TI")] ChTi, + [JsonProperty("CH_UR")] ChUr, + [JsonProperty("CH_VD")] ChVd, + [JsonProperty("CH_VS")] ChVs, + [JsonProperty("CH_ZG")] ChZg, + [JsonProperty("CH_ZH")] ChZh, + [JsonProperty("CKF")] Ckf, + [JsonProperty("CKT")] Ckt, + [JsonProperty("CLD")] Cld, + [JsonProperty("CLK")] Clk, + [JsonProperty("CLR")] Clr, + [JsonProperty("CMA")] Cma, + [JsonProperty("CMD")] Cmd, + [JsonProperty("CMN")] Cmn, + [JsonProperty("CN_11")] Cn11, + [JsonProperty("CN_12")] Cn12, + [JsonProperty("CN_13")] Cn13, + [JsonProperty("CN_14")] Cn14, + [JsonProperty("CN_15")] Cn15, + [JsonProperty("CN_21")] Cn21, + [JsonProperty("CN_22")] Cn22, + [JsonProperty("CN_23")] Cn23, + [JsonProperty("CN_31")] Cn31, + [JsonProperty("CN_32")] Cn32, + [JsonProperty("CN_33")] Cn33, + [JsonProperty("CN_34")] Cn34, + [JsonProperty("CN_35")] Cn35, + [JsonProperty("CN_36")] Cn36, + [JsonProperty("CN_37")] Cn37, + [JsonProperty("CN_41")] Cn41, + [JsonProperty("CN_42")] Cn42, + [JsonProperty("CN_43")] Cn43, + [JsonProperty("CN_44")] Cn44, + [JsonProperty("CN_45")] Cn45, + [JsonProperty("CN_46")] Cn46, + [JsonProperty("CN_50")] Cn50, + [JsonProperty("CN_51")] Cn51, + [JsonProperty("CN_52")] Cn52, + [JsonProperty("CN_53")] Cn53, + [JsonProperty("CN_54")] Cn54, + [JsonProperty("CN_61")] Cn61, + [JsonProperty("CN_62")] Cn62, + [JsonProperty("CN_63")] Cn63, + [JsonProperty("CN_64")] Cn64, + [JsonProperty("CN_65")] Cn65, + [JsonProperty("CN_91")] Cn91, + [JsonProperty("CN_92")] Cn92, + [JsonProperty("CO")] Co, + [JsonProperty("CON")] Con, + [JsonProperty("COV")] Cov, + [JsonProperty("CRF")] Crf, + [JsonProperty("CRY")] Cry, + [JsonProperty("CSR")] Csr, + [JsonProperty("CT")] Ct, + [JsonProperty("CWD")] Cwd, + [JsonProperty("CWY")] Cwy, + [JsonProperty("DAL")] Dal, + [JsonProperty("DBY")] Dby, + [JsonProperty("DC")] Dc, + [JsonProperty("DE")] De, + [JsonProperty("DEN")] Den, + [JsonProperty("DER")] Der, + [JsonProperty("DEV")] Dev, + [JsonProperty("DGN")] Dgn, + [JsonProperty("DGY")] Dgy, + [JsonProperty("DK_015")] Dk015, + [JsonProperty("DK_020")] Dk020, + [JsonProperty("DK_025")] Dk025, + [JsonProperty("DK_030")] Dk030, + [JsonProperty("DK_035")] Dk035, + [JsonProperty("DK_040")] Dk040, + [JsonProperty("DK_042")] Dk042, + [JsonProperty("DK_050")] Dk050, + [JsonProperty("DK_055")] Dk055, + [JsonProperty("DK_060")] Dk060, + [JsonProperty("DK_065")] Dk065, + [JsonProperty("DK_070")] Dk070, + [JsonProperty("DK_076")] Dk076, + [JsonProperty("DK_080")] Dk080, + [JsonProperty("DK_101")] Dk101, + [JsonProperty("DK_147")] Dk147, + [JsonProperty("DK_81")] Dk81, + [JsonProperty("DK_82")] Dk82, + [JsonProperty("DK_83")] Dk83, + [JsonProperty("DK_84")] Dk84, + [JsonProperty("DK_85")] Dk85, + [JsonProperty("DNC")] Dnc, + [JsonProperty("DND")] Dnd, + [JsonProperty("DOR")] Dor, + [JsonProperty("DOW")] Dow, + [JsonProperty("DRY")] Dry, + [JsonProperty("DUD")] Dud, + [JsonProperty("DUR")] Dur, + [JsonProperty("EAL")] Eal, + [JsonProperty("EAY")] Eay, + [JsonProperty("EDH")] Edh, + [JsonProperty("EDU")] Edu, + [JsonProperty("ELN")] Eln, + [JsonProperty("ELS")] Els, + [JsonProperty("ENF")] Enf, + [JsonProperty("ERW")] Erw, + [JsonProperty("ERY")] Ery, + [JsonProperty("ESS")] Ess, + [JsonProperty("ESX")] Esx, + [JsonProperty("FAL")] Fal, + [JsonProperty("FER")] Fer, + [JsonProperty("FIF")] Fif, + [JsonProperty("FL")] Fl, + [JsonProperty("FLN")] Fln, + [JsonProperty("FM")] Fm, + [JsonProperty("GA")] Ga, + [JsonProperty("GAT")] Gat, + [JsonProperty("GB")] Gb, + [JsonProperty("GLG")] Glg, + [JsonProperty("GLN")] Gln, + [JsonProperty("GLS")] Gls, + [JsonProperty("GR_01")] Gr01, + [JsonProperty("GR_03")] Gr03, + [JsonProperty("GR_04")] Gr04, + [JsonProperty("GR_05")] Gr05, + [JsonProperty("GR_06")] Gr06, + [JsonProperty("GR_07")] Gr07, + [JsonProperty("GR_11")] Gr11, + [JsonProperty("GR_12")] Gr12, + [JsonProperty("GR_13")] Gr13, + [JsonProperty("GR_14")] Gr14, + [JsonProperty("GR_15")] Gr15, + [JsonProperty("GR_16")] Gr16, + [JsonProperty("GR_17")] Gr17, + [JsonProperty("GR_21")] Gr21, + [JsonProperty("GR_22")] Gr22, + [JsonProperty("GR_23")] Gr23, + [JsonProperty("GR_24")] Gr24, + [JsonProperty("GR_31")] Gr31, + [JsonProperty("GR_32")] Gr32, + [JsonProperty("GR_33")] Gr33, + [JsonProperty("GR_34")] Gr34, + [JsonProperty("GR_41")] Gr41, + [JsonProperty("GR_42")] Gr42, + [JsonProperty("GR_43")] Gr43, + [JsonProperty("GR_44")] Gr44, + [JsonProperty("GR_51")] Gr51, + [JsonProperty("GR_52")] Gr52, + [JsonProperty("GR_53")] Gr53, + [JsonProperty("GR_54")] Gr54, + [JsonProperty("GR_55")] Gr55, + [JsonProperty("GR_56")] Gr56, + [JsonProperty("GR_57")] Gr57, + [JsonProperty("GR_58")] Gr58, + [JsonProperty("GR_59")] Gr59, + [JsonProperty("GR_61")] Gr61, + [JsonProperty("GR_62")] Gr62, + [JsonProperty("GR_63")] Gr63, + [JsonProperty("GR_64")] Gr64, + [JsonProperty("GR_69")] Gr69, + [JsonProperty("GR_71")] Gr71, + [JsonProperty("GR_72")] Gr72, + [JsonProperty("GR_73")] Gr73, + [JsonProperty("GR_81")] Gr81, + [JsonProperty("GR_82")] Gr82, + [JsonProperty("GR_83")] Gr83, + [JsonProperty("GR_84")] Gr84, + [JsonProperty("GR_85")] Gr85, + [JsonProperty("GR_91")] Gr91, + [JsonProperty("GR_92")] Gr92, + [JsonProperty("GR_93")] Gr93, + [JsonProperty("GR_94")] Gr94, + [JsonProperty("GR_A_1")] GrA1, + [JsonProperty("GRE")] Gre, + [JsonProperty("GTM")] Gtm, + [JsonProperty("GU")] Gu, + [JsonProperty("GWN")] Gwn, + [JsonProperty("HAL")] Hal, + [JsonProperty("HAM")] Ham, + [JsonProperty("HAV")] Hav, + [JsonProperty("HCK")] Hck, + [JsonProperty("HEF")] Hef, + [JsonProperty("HI")] Hi, + [JsonProperty("HIL")] Hil, + [JsonProperty("HLD")] Hld, + [JsonProperty("HMF")] Hmf, + [JsonProperty("HNS")] Hns, + [JsonProperty("HPL")] Hpl, + [JsonProperty("HRT")] Hrt, + [JsonProperty("HRW")] Hrw, + [JsonProperty("HRY")] Hry, + [JsonProperty("IA")] Ia, + [JsonProperty("ID")] Id, + [JsonProperty("IE_C")] IeC, + [JsonProperty("IE_CE")] IeCe, + [JsonProperty("IE_CN")] IeCn, + [JsonProperty("IE_CW")] IeCw, + [JsonProperty("IE_D")] IeD, + [JsonProperty("IE_DL")] IeDl, + [JsonProperty("IE_G")] IeG, + [JsonProperty("IE_KE")] IeKe, + [JsonProperty("IE_KK")] IeKk, + [JsonProperty("IE_KY")] IeKy, + [JsonProperty("IE_LD")] IeLd, + [JsonProperty("IE_LH")] IeLh, + [JsonProperty("IE_LK")] IeLk, + [JsonProperty("IE_LM")] IeLm, + [JsonProperty("IE_LS")] IeLs, + [JsonProperty("IE_MH")] IeMh, + [JsonProperty("IE_MN")] IeMn, + [JsonProperty("IE_MO")] IeMo, + [JsonProperty("IE_OY")] IeOy, + [JsonProperty("IE_RN")] IeRn, + [JsonProperty("IE_SO")] IeSo, + [JsonProperty("IE_TA")] IeTa, + [JsonProperty("IE_WD")] IeWd, + [JsonProperty("IE_WH")] IeWh, + [JsonProperty("IE_WW")] IeWw, + [JsonProperty("IE_WX")] IeWx, + [JsonProperty("IL")] Il, + [JsonProperty("IN")] In, + [JsonProperty("IN_AN")] InAn, + [JsonProperty("IN_AP")] InAp, + [JsonProperty("IN_AR")] InAr, + [JsonProperty("IN_AS")] InAs, + [JsonProperty("IN_BR")] InBr, + [JsonProperty("IN_CH")] InCh, + [JsonProperty("IN_CT")] InCt, + [JsonProperty("IN_DD")] InDd, + [JsonProperty("IN_DL")] InDl, + [JsonProperty("IN_DN")] InDn, + [JsonProperty("IN_GA")] InGa, + [JsonProperty("IN_GJ")] InGj, + [JsonProperty("IN_HP")] InHp, + [JsonProperty("IN_HR")] InHr, + [JsonProperty("IN_JH")] InJh, + [JsonProperty("IN_JK")] InJk, + [JsonProperty("IN_KA")] InKa, + [JsonProperty("IN_KL")] InKl, + [JsonProperty("IN_LD")] InLd, + [JsonProperty("IN_MH")] InMh, + [JsonProperty("IN_ML")] InMl, + [JsonProperty("IN_MN")] InMn, + [JsonProperty("IN_MP")] InMp, + [JsonProperty("IN_MZ")] InMz, + [JsonProperty("IN_NL")] InNl, + [JsonProperty("IN_OR")] InOr, + [JsonProperty("IN_PB")] InPb, + [JsonProperty("IN_PY")] InPy, + [JsonProperty("IN_RJ")] InRj, + [JsonProperty("IN_SK")] InSk, + [JsonProperty("IN_TG")] InTg, + [JsonProperty("IN_TN")] InTn, + [JsonProperty("IN_TR")] InTr, + [JsonProperty("IN_UL")] InUl, + [JsonProperty("IN_UP")] InUp, + [JsonProperty("IN_WB")] InWb, + [JsonProperty("IOA")] Ioa, + [JsonProperty("IOI")] Ioi, + [JsonProperty("IOL")] Iol, + [JsonProperty("IOM")] Iom, + [JsonProperty("IOS")] Ios, + [JsonProperty("IOW")] Iow, + [JsonProperty("IOY")] Ioy, + [JsonProperty("ISL")] Isl, + [JsonProperty("IT_21")] It21, + [JsonProperty("IT_23")] It23, + [JsonProperty("IT_25")] It25, + [JsonProperty("IT_32")] It32, + [JsonProperty("IT_34")] It34, + [JsonProperty("IT_36")] It36, + [JsonProperty("IT_42")] It42, + [JsonProperty("IT_45")] It45, + [JsonProperty("IT_52")] It52, + [JsonProperty("IT_55")] It55, + [JsonProperty("IT_57")] It57, + [JsonProperty("IT_62")] It62, + [JsonProperty("IT_65")] It65, + [JsonProperty("IT_67")] It67, + [JsonProperty("IT_72")] It72, + [JsonProperty("IT_75")] It75, + [JsonProperty("IT_77")] It77, + [JsonProperty("IT_78")] It78, + [JsonProperty("IT_82")] It82, + [JsonProperty("IT_88")] It88, + [JsonProperty("IT_AG")] ItAg, + [JsonProperty("IT_AL")] ItAl, + [JsonProperty("IT_AN")] ItAn, + [JsonProperty("IT_AO")] ItAo, + [JsonProperty("IT_AP")] ItAp, + [JsonProperty("IT_AQ")] ItAq, + [JsonProperty("IT_AR")] ItAr, + [JsonProperty("IT_AT")] ItAt, + [JsonProperty("IT_AV")] ItAv, + [JsonProperty("IT_BA")] ItBa, + [JsonProperty("IT_BG")] ItBg, + [JsonProperty("IT_BI")] ItBi, + [JsonProperty("IT_BL")] ItBl, + [JsonProperty("IT_BN")] ItBn, + [JsonProperty("IT_BO")] ItBo, + [JsonProperty("IT_BR")] ItBr, + [JsonProperty("IT_BS")] ItBs, + [JsonProperty("IT_BT")] ItBt, + [JsonProperty("IT_BZ")] ItBz, + [JsonProperty("IT_CA")] ItCa, + [JsonProperty("IT_CB")] ItCb, + [JsonProperty("IT_CE")] ItCe, + [JsonProperty("IT_CH")] ItCh, + [JsonProperty("IT_CI")] ItCi, + [JsonProperty("IT_CL")] ItCl, + [JsonProperty("IT_CN")] ItCn, + [JsonProperty("IT_CO")] ItCo, + [JsonProperty("IT_CR")] ItCr, + [JsonProperty("IT_CS")] ItCs, + [JsonProperty("IT_CT")] ItCt, + [JsonProperty("IT_CZ")] ItCz, + [JsonProperty("IT_EN")] ItEn, + [JsonProperty("IT_FC")] ItFc, + [JsonProperty("IT_FE")] ItFe, + [JsonProperty("IT_FG")] ItFg, + [JsonProperty("IT_FI")] ItFi, + [JsonProperty("IT_FM")] ItFm, + [JsonProperty("IT_FR")] ItFr, + [JsonProperty("IT_GE")] ItGe, + [JsonProperty("IT_GO")] ItGo, + [JsonProperty("IT_GR")] ItGr, + [JsonProperty("IT_IM")] ItIm, + [JsonProperty("IT_IS")] ItIs, + [JsonProperty("IT_KR")] ItKr, + [JsonProperty("IT_LC")] ItLc, + [JsonProperty("IT_LE")] ItLe, + [JsonProperty("IT_LI")] ItLi, + [JsonProperty("IT_LO")] ItLo, + [JsonProperty("IT_LT")] ItLt, + [JsonProperty("IT_LU")] ItLu, + [JsonProperty("IT_MB")] ItMb, + [JsonProperty("IT_MC")] ItMc, + [JsonProperty("IT_ME")] ItMe, + [JsonProperty("IT_MI")] ItMi, + [JsonProperty("IT_MN")] ItMn, + [JsonProperty("IT_MO")] ItMo, + [JsonProperty("IT_MS")] ItMs, + [JsonProperty("IT_MT")] ItMt, + [JsonProperty("IT_NA")] ItNa, + [JsonProperty("IT_NO")] ItNo, + [JsonProperty("IT_NU")] ItNu, + [JsonProperty("IT_OG")] ItOg, + [JsonProperty("IT_OR")] ItOr, + [JsonProperty("IT_OT")] ItOt, + [JsonProperty("IT_PA")] ItPa, + [JsonProperty("IT_PC")] ItPc, + [JsonProperty("IT_PD")] ItPd, + [JsonProperty("IT_PE")] ItPe, + [JsonProperty("IT_PG")] ItPg, + [JsonProperty("IT_PI")] ItPi, + [JsonProperty("IT_PN")] ItPn, + [JsonProperty("IT_PO")] ItPo, + [JsonProperty("IT_PR")] ItPr, + [JsonProperty("IT_PT")] ItPt, + [JsonProperty("IT_PU")] ItPu, + [JsonProperty("IT_PV")] ItPv, + [JsonProperty("IT_PZ")] ItPz, + [JsonProperty("IT_RA")] ItRa, + [JsonProperty("IT_RC")] ItRc, + [JsonProperty("IT_RE")] ItRe, + [JsonProperty("IT_RG")] ItRg, + [JsonProperty("IT_RI")] ItRi, + [JsonProperty("IT_RM")] ItRm, + [JsonProperty("IT_RN")] ItRn, + [JsonProperty("IT_RO")] ItRo, + [JsonProperty("IT_SA")] ItSa, + [JsonProperty("IT_SI")] ItSi, + [JsonProperty("IT_SO")] ItSo, + [JsonProperty("IT_SP")] ItSp, + [JsonProperty("IT_SR")] ItSr, + [JsonProperty("IT_SS")] ItSs, + [JsonProperty("IT_SV")] ItSv, + [JsonProperty("IT_TA")] ItTa, + [JsonProperty("IT_TE")] ItTe, + [JsonProperty("IT_TN")] ItTn, + [JsonProperty("IT_TO")] ItTo, + [JsonProperty("IT_TP")] ItTp, + [JsonProperty("IT_TR")] ItTr, + [JsonProperty("IT_TS")] ItTs, + [JsonProperty("IT_TV")] ItTv, + [JsonProperty("IT_UD")] ItUd, + [JsonProperty("IT_VA")] ItVa, + [JsonProperty("IT_VB")] ItVb, + [JsonProperty("IT_VC")] ItVc, + [JsonProperty("IT_VE")] ItVe, + [JsonProperty("IT_VI")] ItVi, + [JsonProperty("IT_VR")] ItVr, + [JsonProperty("IT_VS")] ItVs, + [JsonProperty("IT_VT")] ItVt, + [JsonProperty("IT_VV")] ItVv, + [JsonProperty("IVK")] Ivk, + [JsonProperty("JP_01")] Jp01, + [JsonProperty("JP_02")] Jp02, + [JsonProperty("JP_03")] Jp03, + [JsonProperty("JP_04")] Jp04, + [JsonProperty("JP_05")] Jp05, + [JsonProperty("JP_06")] Jp06, + [JsonProperty("JP_07")] Jp07, + [JsonProperty("JP_08")] Jp08, + [JsonProperty("JP_09")] Jp09, + [JsonProperty("JP_10")] Jp10, + [JsonProperty("JP_11")] Jp11, + [JsonProperty("JP_12")] Jp12, + [JsonProperty("JP_13")] Jp13, + [JsonProperty("JP_14")] Jp14, + [JsonProperty("JP_15")] Jp15, + [JsonProperty("JP_16")] Jp16, + [JsonProperty("JP_17")] Jp17, + [JsonProperty("JP_18")] Jp18, + [JsonProperty("JP_19")] Jp19, + [JsonProperty("JP_20")] Jp20, + [JsonProperty("JP_21")] Jp21, + [JsonProperty("JP_22")] Jp22, + [JsonProperty("JP_23")] Jp23, + [JsonProperty("JP_24")] Jp24, + [JsonProperty("JP_25")] Jp25, + [JsonProperty("JP_26")] Jp26, + [JsonProperty("JP_27")] Jp27, + [JsonProperty("JP_28")] Jp28, + [JsonProperty("JP_29")] Jp29, + [JsonProperty("JP_30")] Jp30, + [JsonProperty("JP_31")] Jp31, + [JsonProperty("JP_32")] Jp32, + [JsonProperty("JP_33")] Jp33, + [JsonProperty("JP_34")] Jp34, + [JsonProperty("JP_35")] Jp35, + [JsonProperty("JP_36")] Jp36, + [JsonProperty("JP_37")] Jp37, + [JsonProperty("JP_38")] Jp38, + [JsonProperty("JP_39")] Jp39, + [JsonProperty("JP_40")] Jp40, + [JsonProperty("JP_41")] Jp41, + [JsonProperty("JP_42")] Jp42, + [JsonProperty("JP_43")] Jp43, + [JsonProperty("JP_44")] Jp44, + [JsonProperty("JP_45")] Jp45, + [JsonProperty("JP_46")] Jp46, + [JsonProperty("JP_47")] Jp47, + [JsonProperty("KEC")] Kec, + [JsonProperty("KEN")] Ken, + [JsonProperty("KHL")] Khl, + [JsonProperty("KIR")] Kir, + [JsonProperty("KS")] Ks, + [JsonProperty("KTT")] Ktt, + [JsonProperty("KWL")] Kwl, + [JsonProperty("KY")] Ky, + [JsonProperty("LA")] La, + [JsonProperty("LAN")] Lan, + [JsonProperty("LBH")] Lbh, + [JsonProperty("LCE")] Lce, + [JsonProperty("LDS")] Lds, + [JsonProperty("LEC")] Lec, + [JsonProperty("LEW")] Lew, + [JsonProperty("LIN")] Lin, + [JsonProperty("LIV")] Liv, + [JsonProperty("LMV")] Lmv, + [JsonProperty("LND")] Lnd, + [JsonProperty("LRN")] Lrn, + [JsonProperty("LSB")] Lsb, + [JsonProperty("LU_D")] LuD, + [JsonProperty("LU_G")] LuG, + [JsonProperty("LU_L")] LuL, + [JsonProperty("LUT")] Lut, + [JsonProperty("MA")] Ma, + [JsonProperty("MAN")] Man, + [JsonProperty("MB")] Mb, + [JsonProperty("MD")] Md, + [JsonProperty("MDB")] Mdb, + [JsonProperty("MDS")] Mds, + [JsonProperty("MDW")] Mdw, + [JsonProperty("ME")] Me, + [JsonProperty("MFT")] Mft, + [JsonProperty("MGM")] Mgm, + [JsonProperty("MH")] Mh, + [JsonProperty("MI")] Mi, + [JsonProperty("MIK")] Mik, + [JsonProperty("MLN")] Mln, + [JsonProperty("MN")] Mn, + [JsonProperty("MO")] Mo, + [JsonProperty("MON")] Mon, + [JsonProperty("MP")] Mp, + [JsonProperty("MRT")] Mrt, + [JsonProperty("MRY")] Mry, + [JsonProperty("MS")] Ms, + [JsonProperty("MSY")] Msy, + [JsonProperty("MT")] Mt, + [JsonProperty("MTY")] Mty, + [JsonProperty("MX_AGU")] MxAgu, + [JsonProperty("MX_BCN")] MxBcn, + [JsonProperty("MX_BCS")] MxBcs, + [JsonProperty("MX_CAM")] MxCam, + [JsonProperty("MX_CHH")] MxChh, + [JsonProperty("MX_CHP")] MxChp, + [JsonProperty("MX_COA")] MxCoa, + [JsonProperty("MX_COL")] MxCol, + [JsonProperty("MX_DIF")] MxDif, + [JsonProperty("MX_DUR")] MxDur, + [JsonProperty("MX_GRO")] MxGro, + [JsonProperty("MX_GUA")] MxGua, + [JsonProperty("MX_HID")] MxHid, + [JsonProperty("MX_JAL")] MxJal, + [JsonProperty("MX_MEX")] MxMex, + [JsonProperty("MX_MIC")] MxMic, + [JsonProperty("MX_MOR")] MxMor, + [JsonProperty("MX_NAY")] MxNay, + [JsonProperty("MX_NLE")] MxNle, + [JsonProperty("MX_OAX")] MxOax, + [JsonProperty("MX_PUE")] MxPue, + [JsonProperty("MX_QUE")] MxQue, + [JsonProperty("MX_ROO")] MxRoo, + [JsonProperty("MX_SIN")] MxSin, + [JsonProperty("MX_SLP")] MxSlp, + [JsonProperty("MX_SON")] MxSon, + [JsonProperty("MX_TAB")] MxTab, + [JsonProperty("MX_TAM")] MxTam, + [JsonProperty("MX_TLA")] MxTla, + [JsonProperty("MX_VER")] MxVer, + [JsonProperty("MX_YUC")] MxYuc, + [JsonProperty("MX_ZAC")] MxZac, + [JsonProperty("MYL")] Myl, + [JsonProperty("NAY")] Nay, + [JsonProperty("NB")] Nb, + [JsonProperty("NBL")] Nbl, + [JsonProperty("NC")] Nc, + [JsonProperty("ND")] Nd, + [JsonProperty("NDN")] Ndn, + [JsonProperty("NE")] Ne, + [JsonProperty("NEL")] Nel, + [JsonProperty("NET")] Net, + [JsonProperty("NFK")] Nfk, + [JsonProperty("NGM")] Ngm, + [JsonProperty("NH")] Nh, + [JsonProperty("NJ")] Nj, + [JsonProperty("NL")] Nl, + [JsonProperty("NL_DR")] NlDr, + [JsonProperty("NL_FL")] NlFl, + [JsonProperty("NL_FR")] NlFr, + [JsonProperty("NL_GE")] NlGe, + [JsonProperty("NL_GR")] NlGr, + [JsonProperty("NLK")] Nlk, + [JsonProperty("NL_LI")] NlLi, + [JsonProperty("NLN")] Nln, + [JsonProperty("NL_NB")] NlNb, + [JsonProperty("NL_NH")] NlNh, + [JsonProperty("NL_OV")] NlOv, + [JsonProperty("NL_UT")] NlUt, + [JsonProperty("NL_ZE")] NlZe, + [JsonProperty("NL_ZH")] NlZh, + [JsonProperty("NM")] Nm, + [JsonProperty("NO_01")] No01, + [JsonProperty("NO_02")] No02, + [JsonProperty("NO_03")] No03, + [JsonProperty("NO_04")] No04, + [JsonProperty("NO_05")] No05, + [JsonProperty("NO_06")] No06, + [JsonProperty("NO_07")] No07, + [JsonProperty("NO_08")] No08, + [JsonProperty("NO_09")] No09, + [JsonProperty("NO_10")] No10, + [JsonProperty("NO_11")] No11, + [JsonProperty("NO_12")] No12, + [JsonProperty("NO_14")] No14, + [JsonProperty("NO_15")] No15, + [JsonProperty("NO_16")] No16, + [JsonProperty("NO_17")] No17, + [JsonProperty("NO_18")] No18, + [JsonProperty("NO_19")] No19, + [JsonProperty("NO_20")] No20, + [JsonProperty("NO_21")] No21, + [JsonProperty("NO_22")] No22, + [JsonProperty("NRY")] Nry, + [JsonProperty("NS")] Ns, + [JsonProperty("NSM")] Nsm, + [JsonProperty("NSW_AUS")] NswAus, + [JsonProperty("NT")] Nt, + [JsonProperty("NT_AUS")] NtAus, + [JsonProperty("NTA")] Nta, + [JsonProperty("NTH")] Nth, + [JsonProperty("NTL")] Ntl, + [JsonProperty("NTT")] Ntt, + [JsonProperty("NTY")] Nty, + [JsonProperty("NU")] Nu, + [JsonProperty("NV")] Nv, + [JsonProperty("NWM")] Nwm, + [JsonProperty("NWP")] Nwp, + [JsonProperty("NY")] Ny, + [JsonProperty("NYK")] Nyk, + [JsonProperty("NYM")] Nym, + [JsonProperty("OH")] Oh, + [JsonProperty("OK")] Ok, + [JsonProperty("OLD")] Old, + [JsonProperty("OMH")] Omh, + [JsonProperty("ON")] On, + [JsonProperty("OR")] Or, + [JsonProperty("ORK")] Ork, + [JsonProperty("OXF")] Oxf, + [JsonProperty("PA")] Pa, + [JsonProperty("PE")] Pe, + [JsonProperty("PEM")] Pem, + [JsonProperty("PKN")] Pkn, + [JsonProperty("PLY")] Ply, + [JsonProperty("POL")] Pol, + [JsonProperty("POR")] Por, + [JsonProperty("POW")] Pow, + [JsonProperty("PR")] Pr, + [JsonProperty("PTE")] Pte, + [JsonProperty("PW")] Pw, + [JsonProperty("QC")] Qc, + [JsonProperty("QLD_AUS")] QldAus, + [JsonProperty("RCC")] Rcc, + [JsonProperty("RCH")] Rch, + [JsonProperty("RCT")] Rct, + [JsonProperty("RDB")] Rdb, + [JsonProperty("RDG")] Rdg, + [JsonProperty("RFW")] Rfw, + [JsonProperty("RI")] Ri, + [JsonProperty("RIC")] Ric, + [JsonProperty("ROT")] Rot, + [JsonProperty("RUT")] Rut, + [JsonProperty("SA_AUS")] SaAus, + [JsonProperty("SAW")] Saw, + [JsonProperty("SAY")] Say, + [JsonProperty("SC")] Sc, + [JsonProperty("SCB")] Scb, + [JsonProperty("SD")] Sd, + [JsonProperty("SFK")] Sfk, + [JsonProperty("SFT")] Sft, + [JsonProperty("SGC")] Sgc, + [JsonProperty("SGM")] Sgm, + [JsonProperty("SHF")] Shf, + [JsonProperty("SHN")] Shn, + [JsonProperty("SHR")] Shr, + [JsonProperty("SK")] Sk, + [JsonProperty("SKP")] Skp, + [JsonProperty("SLF")] Slf, + [JsonProperty("SLG")] Slg, + [JsonProperty("SLK")] Slk, + [JsonProperty("SOL")] Sol, + [JsonProperty("SOM")] Som, + [JsonProperty("SOS")] Sos, + [JsonProperty("SRY")] Sry, + [JsonProperty("STB")] Stb, + [JsonProperty("STE")] Ste, + [JsonProperty("STG")] Stg, + [JsonProperty("STH")] Sth, + [JsonProperty("STN")] Stn, + [JsonProperty("STS")] Sts, + [JsonProperty("STT")] Stt, + [JsonProperty("STY")] Sty, + [JsonProperty("SWA")] Swa, + [JsonProperty("SWD")] Swd, + [JsonProperty("SWK")] Swk, + [JsonProperty("SYK")] Syk, + [JsonProperty("TAM")] Tam, + [JsonProperty("TAS_AUS")] TasAus, + [JsonProperty("TFW")] Tfw, + [JsonProperty("THR")] Thr, + [JsonProperty("TN")] Tn, + [JsonProperty("TOB")] Tob, + [JsonProperty("TOF")] Tof, + [JsonProperty("TRF")] Trf, + [JsonProperty("TWH")] Twh, + [JsonProperty("TWR")] Twr, + [JsonProperty("TX")] Tx, + [JsonProperty("TYR")] Tyr, + [JsonProperty("UT")] Ut, + [JsonProperty("VA")] Va, + [JsonProperty("VGL")] Vgl, + [JsonProperty("VI")] Vi, + [JsonProperty("VIC_AUS")] VicAus, + [JsonProperty("VT")] Vt, + [JsonProperty("WA")] Wa, + [JsonProperty("WA_AUS")] WaAus, + [JsonProperty("WAR")] War, + [JsonProperty("WBK")] Wbk, + [JsonProperty("WDU")] Wdu, + [JsonProperty("WFT")] Wft, + [JsonProperty("WGM")] Wgm, + [JsonProperty("WGN")] Wgn, + [JsonProperty("WI")] Wi, + [JsonProperty("WIL")] Wil, + [JsonProperty("WIS")] Wis, + [JsonProperty("WKF")] Wkf, + [JsonProperty("WLL")] Wll, + [JsonProperty("WLN")] Wln, + [JsonProperty("WLV")] Wlv, + [JsonProperty("WMD")] Wmd, + [JsonProperty("WND")] Wnd, + [JsonProperty("WNM")] Wnm, + [JsonProperty("WOK")] Wok, + [JsonProperty("WOR")] Wor, + [JsonProperty("WRL")] Wrl, + [JsonProperty("WRT")] Wrt, + [JsonProperty("WRX")] Wrx, + [JsonProperty("WSM")] Wsm, + [JsonProperty("WSX")] Wsx, + [JsonProperty("WV")] Wv, + [JsonProperty("WY")] Wy, + [JsonProperty("WYK")] Wyk, + [JsonProperty("YOR")] Yor, + [JsonProperty("YT")] Yt, + [JsonProperty("ZET")] Zet, + } + + public static class LeadCatcherAddressStateProvinceExtension + { + public static string Value(this LeadCatcherAddressStateProvince value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static LeadCatcherAddressStateProvince ToEnum(this string value) + { + foreach (var field in typeof(LeadCatcherAddressStateProvince).GetFields()) + { + var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); + if (attributes.Length == 0) + { + continue; + } + + var attribute = attributes[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); + + if (enumVal is LeadCatcherAddressStateProvince) + { + return (LeadCatcherAddressStateProvince)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum LeadCatcherAddressStateProvince"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherConfig.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherConfig.cs new file mode 100644 index 000000000..a443971e8 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherConfig.cs @@ -0,0 +1,38 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Notification and role configuration for a lead catcher contact. + /// + public class LeadCatcherConfig + { + /// + /// True indicates this contact receives email notifications when an RFP is submitted. + /// + [JsonProperty("rfpEmailEnabled")] + public bool? RfpEmailEnabled { get; set; } = true; + + /// + /// True indicates the RFP notification email includes a PDF link. Only meaningful when `rfpEmailEnabled` is `true`. + /// + [JsonProperty("pdfLinkEnabled")] + public bool? PdfLinkEnabled { get; set; } = true; + + /// + /// Name of the supplier contact role assigned to this contact. + /// + [JsonProperty("supplierContactRole")] + public string? SupplierContactRole { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherConfigPatch.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherConfigPatch.cs new file mode 100644 index 000000000..19c242b24 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherConfigPatch.cs @@ -0,0 +1,38 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Notification and role configuration for the lead catcher contact. Only the config sub-fields supplied are updated; omitted sub-fields are left unchanged. + /// + public class LeadCatcherConfigPatch + { + /// + /// True indicates this contact receives email notifications when an RFP is submitted. + /// + [JsonProperty("rfpEmailEnabled")] + public bool? RfpEmailEnabled { get; set; } = null; + + /// + /// True indicates the RFP notification email includes a PDF link. Only meaningful when `rfpEmailEnabled` is `true`. + /// + [JsonProperty("pdfLinkEnabled")] + public bool? PdfLinkEnabled { get; set; } = null; + + /// + /// Name of the supplier contact role assigned to this contact. + /// + [JsonProperty("supplierContactRole")] + public string? SupplierContactRole { get; set; } = null; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherOverview.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherOverview.cs new file mode 100644 index 000000000..8fd64139a --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherOverview.cs @@ -0,0 +1,38 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// A lightweight, non-PII overview of a lead catcher contact. + /// + public class LeadCatcherOverview + { + /// + /// Lead catcher ID. + /// + [JsonProperty("id")] + public string Id { get; set; } = default!; + + /// + /// First name of the lead catcher contact. + /// + [JsonProperty("firstName")] + public string FirstName { get; set; } = default!; + + /// + /// Last name of the lead catcher contact. + /// + [JsonProperty("lastName")] + public string LastName { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherPatch.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherPatch.cs new file mode 100644 index 000000000..d01ba00b9 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherPatch.cs @@ -0,0 +1,81 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// Partial update payload for a lead catcher contact. + /// + public class LeadCatcherPatch + { + /// + /// First name of the lead catcher contact. + /// + [JsonProperty("firstName")] + public string? FirstName { get; set; } = null; + + /// + /// Last name of the lead catcher contact. + /// + [JsonProperty("lastName")] + public string? LastName { get; set; } = null; + + /// + /// Job title of the lead catcher contact. + /// + [JsonProperty("title")] + public string? Title { get; set; } = null; + + /// + /// Email address of the lead catcher contact. RFP notifications are sent to this address. + /// + [JsonProperty("email")] + public string? Email { get; set; } = null; + + /// + /// Phone number of the lead catcher contact. + /// + [JsonProperty("phone")] + public string? Phone { get; set; } = null; + + /// + /// Fax number of the lead catcher contact. + /// + [JsonProperty("fax")] + public string? Fax { get; set; } = null; + + /// + /// Address information for the lead catcher contact. Only the address sub-fields supplied are updated; omitted sub-fields are left unchanged. + /// + [JsonProperty("address")] + public LeadCatcherAddressPatch? Address { get; set; } = null; + + /// + /// Locale used for planner communications sent to this contact. + /// + [JsonProperty("locale")] + public string? Locale { get; set; } = null; + + /// + /// Notification and role configuration for the lead catcher contact. Only the config sub-fields supplied are updated; omitted sub-fields are left unchanged. + /// + [JsonProperty("config")] + public LeadCatcherConfigPatch? Config { get; set; } = null; + + /// + /// Additional information about the lead catcher contact. + /// + [JsonProperty("additionalInfo")] + public string? AdditionalInfo { get; set; } = null; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherPatchCountry.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherPatchCountry.cs new file mode 100644 index 000000000..9b9991862 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherPatchCountry.cs @@ -0,0 +1,312 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// ISO 3166 two-letter (alpha-2) country code used for contact information. + /// + public enum LeadCatcherPatchCountry + { + [JsonProperty("BLANK")] Blank, + [JsonProperty("AD")] Ad, + [JsonProperty("AE")] Ae, + [JsonProperty("AF")] Af, + [JsonProperty("AG")] Ag, + [JsonProperty("AI")] Ai, + [JsonProperty("AL")] Al, + [JsonProperty("AM")] Am, + [JsonProperty("AN")] An, + [JsonProperty("AO")] Ao, + [JsonProperty("AQ")] Aq, + [JsonProperty("AR")] Ar, + [JsonProperty("AS")] As, + [JsonProperty("AT")] At, + [JsonProperty("AU")] Au, + [JsonProperty("AW")] Aw, + [JsonProperty("AX")] Ax, + [JsonProperty("AZ")] Az, + [JsonProperty("BA")] Ba, + [JsonProperty("BB")] Bb, + [JsonProperty("BD")] Bd, + [JsonProperty("BE")] Be, + [JsonProperty("BF")] Bf, + [JsonProperty("BG")] Bg, + [JsonProperty("BH")] Bh, + [JsonProperty("BI")] Bi, + [JsonProperty("BJ")] Bj, + [JsonProperty("BL")] Bl, + [JsonProperty("BM")] Bm, + [JsonProperty("BN")] Bn, + [JsonProperty("BO")] Bo, + [JsonProperty("BQ")] Bq, + [JsonProperty("BR")] Br, + [JsonProperty("BS")] Bs, + [JsonProperty("BT")] Bt, + [JsonProperty("BV")] Bv, + [JsonProperty("BW")] Bw, + [JsonProperty("BY")] By, + [JsonProperty("BZ")] Bz, + [JsonProperty("CA")] Ca, + [JsonProperty("CC")] Cc, + [JsonProperty("CD")] Cd, + [JsonProperty("CF")] Cf, + [JsonProperty("CG")] Cg, + [JsonProperty("CH")] Ch, + [JsonProperty("CI")] Ci, + [JsonProperty("CK")] Ck, + [JsonProperty("CL")] Cl, + [JsonProperty("CM")] Cm, + [JsonProperty("CN")] Cn, + [JsonProperty("CO")] Co, + [JsonProperty("CR")] Cr, + [JsonProperty("CU")] Cu, + [JsonProperty("CV")] Cv, + [JsonProperty("CW")] Cw, + [JsonProperty("CX")] Cx, + [JsonProperty("CY")] Cy, + [JsonProperty("CZ")] Cz, + [JsonProperty("DE")] De, + [JsonProperty("DJ")] Dj, + [JsonProperty("DK")] Dk, + [JsonProperty("DM")] Dm, + [JsonProperty("DO")] Do, + [JsonProperty("DZ")] Dz, + [JsonProperty("EC")] Ec, + [JsonProperty("EE")] Ee, + [JsonProperty("EG")] Eg, + [JsonProperty("EH")] Eh, + [JsonProperty("ER")] Er, + [JsonProperty("ES")] Es, + [JsonProperty("ET")] Et, + [JsonProperty("FI")] Fi, + [JsonProperty("FJ")] Fj, + [JsonProperty("FK")] Fk, + [JsonProperty("FM")] Fm, + [JsonProperty("FO")] Fo, + [JsonProperty("FR")] Fr, + [JsonProperty("GA")] Ga, + [JsonProperty("GB")] Gb, + [JsonProperty("GB_1")] Gb1, + [JsonProperty("GB_2")] Gb2, + [JsonProperty("GB_3")] Gb3, + [JsonProperty("GB_4")] Gb4, + [JsonProperty("GD")] Gd, + [JsonProperty("GE")] Ge, + [JsonProperty("GF")] Gf, + [JsonProperty("GG")] Gg, + [JsonProperty("GH")] Gh, + [JsonProperty("GI")] Gi, + [JsonProperty("GL")] Gl, + [JsonProperty("GM")] Gm, + [JsonProperty("GN")] Gn, + [JsonProperty("GP")] Gp, + [JsonProperty("GQ")] Gq, + [JsonProperty("GR")] Gr, + [JsonProperty("GS")] Gs, + [JsonProperty("GT")] Gt, + [JsonProperty("GU")] Gu, + [JsonProperty("GW")] Gw, + [JsonProperty("GY")] Gy, + [JsonProperty("HK")] Hk, + [JsonProperty("HM")] Hm, + [JsonProperty("HN")] Hn, + [JsonProperty("HR")] Hr, + [JsonProperty("HT")] Ht, + [JsonProperty("HU")] Hu, + [JsonProperty("ID")] Id, + [JsonProperty("IE")] Ie, + [JsonProperty("IL")] Il, + [JsonProperty("IM")] Im, + [JsonProperty("IN")] In, + [JsonProperty("IO")] Io, + [JsonProperty("IQ")] Iq, + [JsonProperty("IR")] Ir, + [JsonProperty("IS")] Is, + [JsonProperty("IT")] It, + [JsonProperty("JE")] Je, + [JsonProperty("JM")] Jm, + [JsonProperty("JO")] Jo, + [JsonProperty("JP")] Jp, + [JsonProperty("KE")] Ke, + [JsonProperty("KG")] Kg, + [JsonProperty("KH")] Kh, + [JsonProperty("KI")] Ki, + [JsonProperty("KM")] Km, + [JsonProperty("KN")] Kn, + [JsonProperty("KO")] Ko, + [JsonProperty("KP")] Kp, + [JsonProperty("KR")] Kr, + [JsonProperty("KW")] Kw, + [JsonProperty("KY")] Ky, + [JsonProperty("KZ")] Kz, + [JsonProperty("LA")] La, + [JsonProperty("LB")] Lb, + [JsonProperty("LC")] Lc, + [JsonProperty("LI")] Li, + [JsonProperty("LK")] Lk, + [JsonProperty("LR")] Lr, + [JsonProperty("LS")] Ls, + [JsonProperty("LT")] Lt, + [JsonProperty("LU")] Lu, + [JsonProperty("LV")] Lv, + [JsonProperty("LY")] Ly, + [JsonProperty("MA")] Ma, + [JsonProperty("MC")] Mc, + [JsonProperty("MD")] Md, + [JsonProperty("ME")] Me, + [JsonProperty("MF")] Mf, + [JsonProperty("MG")] Mg, + [JsonProperty("MH")] Mh, + [JsonProperty("MK")] Mk, + [JsonProperty("ML")] Ml, + [JsonProperty("MM")] Mm, + [JsonProperty("MN")] Mn, + [JsonProperty("MO")] Mo, + [JsonProperty("MP")] Mp, + [JsonProperty("MQ")] Mq, + [JsonProperty("MR")] Mr, + [JsonProperty("MS")] Ms, + [JsonProperty("MT")] Mt, + [JsonProperty("MU")] Mu, + [JsonProperty("MV")] Mv, + [JsonProperty("MW")] Mw, + [JsonProperty("MX")] Mx, + [JsonProperty("MY")] My, + [JsonProperty("MZ")] Mz, + [JsonProperty("NA")] Na, + [JsonProperty("NC")] Nc, + [JsonProperty("NE")] Ne, + [JsonProperty("NF")] Nf, + [JsonProperty("NG")] Ng, + [JsonProperty("NI")] Ni, + [JsonProperty("NL")] Nl, + [JsonProperty("NO")] No, + [JsonProperty("NP")] Np, + [JsonProperty("NR")] Nr, + [JsonProperty("NU")] Nu, + [JsonProperty("NZ")] Nz, + [JsonProperty("OM")] Om, + [JsonProperty("PA")] Pa, + [JsonProperty("PE")] Pe, + [JsonProperty("PF")] Pf, + [JsonProperty("PG")] Pg, + [JsonProperty("PH")] Ph, + [JsonProperty("PK")] Pk, + [JsonProperty("PL")] Pl, + [JsonProperty("PM")] Pm, + [JsonProperty("PN")] Pn, + [JsonProperty("PR")] Pr, + [JsonProperty("PS")] Ps, + [JsonProperty("PT")] Pt, + [JsonProperty("PW")] Pw, + [JsonProperty("PY")] Py, + [JsonProperty("QA")] Qa, + [JsonProperty("RE")] Re, + [JsonProperty("RO")] Ro, + [JsonProperty("RS")] Rs, + [JsonProperty("RU")] Ru, + [JsonProperty("RW")] Rw, + [JsonProperty("SA")] Sa, + [JsonProperty("SB")] Sb, + [JsonProperty("SC")] Sc, + [JsonProperty("SD")] Sd, + [JsonProperty("SE")] Se, + [JsonProperty("SG")] Sg, + [JsonProperty("SH")] Sh, + [JsonProperty("SI")] Si, + [JsonProperty("SJ")] Sj, + [JsonProperty("SK")] Sk, + [JsonProperty("SL")] Sl, + [JsonProperty("SM")] Sm, + [JsonProperty("SN")] Sn, + [JsonProperty("SO")] So, + [JsonProperty("SR")] Sr, + [JsonProperty("SS")] Ss, + [JsonProperty("ST")] St, + [JsonProperty("SV")] Sv, + [JsonProperty("SX")] Sx, + [JsonProperty("SY")] Sy, + [JsonProperty("SZ")] Sz, + [JsonProperty("TC")] Tc, + [JsonProperty("TD")] Td, + [JsonProperty("TF")] Tf, + [JsonProperty("TG")] Tg, + [JsonProperty("TH")] Th, + [JsonProperty("TJ")] Tj, + [JsonProperty("TK")] Tk, + [JsonProperty("TL")] Tl, + [JsonProperty("TM")] Tm, + [JsonProperty("TN")] Tn, + [JsonProperty("TO")] To, + [JsonProperty("TP")] Tp, + [JsonProperty("TR")] Tr, + [JsonProperty("TT")] Tt, + [JsonProperty("TV")] Tv, + [JsonProperty("TW")] Tw, + [JsonProperty("TZ")] Tz, + [JsonProperty("UA")] Ua, + [JsonProperty("UG")] Ug, + [JsonProperty("UM")] Um, + [JsonProperty("US")] Us, + [JsonProperty("UY")] Uy, + [JsonProperty("UZ")] Uz, + [JsonProperty("VA")] Va, + [JsonProperty("VC")] Vc, + [JsonProperty("VE")] Ve, + [JsonProperty("VG")] Vg, + [JsonProperty("VI")] Vi, + [JsonProperty("VN")] Vn, + [JsonProperty("VU")] Vu, + [JsonProperty("WF")] Wf, + [JsonProperty("WS")] Ws, + [JsonProperty("YE")] Ye, + [JsonProperty("YT")] Yt, + [JsonProperty("ZA")] Za, + [JsonProperty("ZM")] Zm, + [JsonProperty("ZW")] Zw, + } + + public static class LeadCatcherPatchCountryExtension + { + public static string Value(this LeadCatcherPatchCountry value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static LeadCatcherPatchCountry ToEnum(this string value) + { + foreach (var field in typeof(LeadCatcherPatchCountry).GetFields()) + { + var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); + if (attributes.Length == 0) + { + continue; + } + + var attribute = attributes[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); + + if (enumVal is LeadCatcherPatchCountry) + { + return (LeadCatcherPatchCountry)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum LeadCatcherPatchCountry"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherPatchStateProvince.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherPatchStateProvince.cs new file mode 100644 index 000000000..569d38396 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatcherPatchStateProvince.cs @@ -0,0 +1,877 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// The state province code used for contact information. + /// + public enum LeadCatcherPatchStateProvince + { + [JsonProperty("BLANK")] Blank, + [JsonProperty("AA")] Aa, + [JsonProperty("AB")] Ab, + [JsonProperty("ABD")] Abd, + [JsonProperty("ABE")] Abe, + [JsonProperty("ACT_AUS")] ActAus, + [JsonProperty("AE")] Ae, + [JsonProperty("AGB")] Agb, + [JsonProperty("AGY")] Agy, + [JsonProperty("AK")] Ak, + [JsonProperty("AL")] Al, + [JsonProperty("ANS")] Ans, + [JsonProperty("ANT")] Ant, + [JsonProperty("AP")] Ap, + [JsonProperty("AR")] Ar, + [JsonProperty("ARD")] Ard, + [JsonProperty("ARM")] Arm, + [JsonProperty("AS")] As, + [JsonProperty("AT_1")] At1, + [JsonProperty("AT_2")] At2, + [JsonProperty("AT_3")] At3, + [JsonProperty("AT_4")] At4, + [JsonProperty("AT_5")] At5, + [JsonProperty("AT_6")] At6, + [JsonProperty("AT_7")] At7, + [JsonProperty("AT_8")] At8, + [JsonProperty("AT_9")] At9, + [JsonProperty("AZ")] Az, + [JsonProperty("BAN")] Ban, + [JsonProperty("BAS")] Bas, + [JsonProperty("BBD")] Bbd, + [JsonProperty("BC")] Bc, + [JsonProperty("BDF")] Bdf, + [JsonProperty("BE_BRU")] BeBru, + [JsonProperty("BEN")] Ben, + [JsonProperty("BE_VAN")] BeVan, + [JsonProperty("BE_VBR")] BeVbr, + [JsonProperty("BE_VLI")] BeVli, + [JsonProperty("BE_VOV")] BeVov, + [JsonProperty("BE_VWV")] BeVwv, + [JsonProperty("BE_WBR")] BeWbr, + [JsonProperty("BE_WHT")] BeWht, + [JsonProperty("BE_WLG")] BeWlg, + [JsonProperty("BE_WLX")] BeWlx, + [JsonProperty("BE_WNA")] BeWna, + [JsonProperty("BEX")] Bex, + [JsonProperty("BFS")] Bfs, + [JsonProperty("BGE")] Bge, + [JsonProperty("BGW")] Bgw, + [JsonProperty("BIR")] Bir, + [JsonProperty("BKM")] Bkm, + [JsonProperty("BLA")] Bla, + [JsonProperty("BLY")] Bly, + [JsonProperty("BMH")] Bmh, + [JsonProperty("BNB")] Bnb, + [JsonProperty("BNE")] Bne, + [JsonProperty("BNH")] Bnh, + [JsonProperty("BNS")] Bns, + [JsonProperty("BOL")] Bol, + [JsonProperty("BPL")] Bpl, + [JsonProperty("BR_AC")] BrAc, + [JsonProperty("BR_AL")] BrAl, + [JsonProperty("BR_AM")] BrAm, + [JsonProperty("BR_AP")] BrAp, + [JsonProperty("BR_BA")] BrBa, + [JsonProperty("BRC")] Brc, + [JsonProperty("BR_CE")] BrCe, + [JsonProperty("BRD")] Brd, + [JsonProperty("BR_DF")] BrDf, + [JsonProperty("BR_ES")] BrEs, + [JsonProperty("BR_GO")] BrGo, + [JsonProperty("BRK")] Brk, + [JsonProperty("BR_MA")] BrMa, + [JsonProperty("BR_MG")] BrMg, + [JsonProperty("BR_MS")] BrMs, + [JsonProperty("BR_MT")] BrMt, + [JsonProperty("BR_PA")] BrPa, + [JsonProperty("BR_PB")] BrPb, + [JsonProperty("BR_PE")] BrPe, + [JsonProperty("BR_PI")] BrPi, + [JsonProperty("BR_PR")] BrPr, + [JsonProperty("BR_RJ")] BrRj, + [JsonProperty("BR_RN")] BrRn, + [JsonProperty("BR_RO")] BrRo, + [JsonProperty("BR_RR")] BrRr, + [JsonProperty("BR_RS")] BrRs, + [JsonProperty("BR_SC")] BrSc, + [JsonProperty("BR_SE")] BrSe, + [JsonProperty("BR_SP")] BrSp, + [JsonProperty("BR_TO")] BrTo, + [JsonProperty("BRY")] Bry, + [JsonProperty("BST")] Bst, + [JsonProperty("BUR")] Bur, + [JsonProperty("CA")] Ca, + [JsonProperty("CAM")] Cam, + [JsonProperty("CAY")] Cay, + [JsonProperty("CGN")] Cgn, + [JsonProperty("CGV")] Cgv, + [JsonProperty("CH_AG")] ChAg, + [JsonProperty("CH_AI")] ChAi, + [JsonProperty("CH_AR")] ChAr, + [JsonProperty("CH_BE")] ChBe, + [JsonProperty("CH_BL")] ChBl, + [JsonProperty("CH_BS")] ChBs, + [JsonProperty("CH_FR")] ChFr, + [JsonProperty("CH_GE")] ChGe, + [JsonProperty("CH_GL")] ChGl, + [JsonProperty("CH_GR")] ChGr, + [JsonProperty("CHI")] Chi, + [JsonProperty("CH_JU")] ChJu, + [JsonProperty("CH_LU")] ChLu, + [JsonProperty("CH_NE")] ChNe, + [JsonProperty("CH_NW")] ChNw, + [JsonProperty("CH_OW")] ChOw, + [JsonProperty("CHS")] Chs, + [JsonProperty("CH_SG")] ChSg, + [JsonProperty("CH_SH")] ChSh, + [JsonProperty("CH_SO")] ChSo, + [JsonProperty("CH_SZ")] ChSz, + [JsonProperty("CH_TG")] ChTg, + [JsonProperty("CH_TI")] ChTi, + [JsonProperty("CH_UR")] ChUr, + [JsonProperty("CH_VD")] ChVd, + [JsonProperty("CH_VS")] ChVs, + [JsonProperty("CH_ZG")] ChZg, + [JsonProperty("CH_ZH")] ChZh, + [JsonProperty("CKF")] Ckf, + [JsonProperty("CKT")] Ckt, + [JsonProperty("CLD")] Cld, + [JsonProperty("CLK")] Clk, + [JsonProperty("CLR")] Clr, + [JsonProperty("CMA")] Cma, + [JsonProperty("CMD")] Cmd, + [JsonProperty("CMN")] Cmn, + [JsonProperty("CN_11")] Cn11, + [JsonProperty("CN_12")] Cn12, + [JsonProperty("CN_13")] Cn13, + [JsonProperty("CN_14")] Cn14, + [JsonProperty("CN_15")] Cn15, + [JsonProperty("CN_21")] Cn21, + [JsonProperty("CN_22")] Cn22, + [JsonProperty("CN_23")] Cn23, + [JsonProperty("CN_31")] Cn31, + [JsonProperty("CN_32")] Cn32, + [JsonProperty("CN_33")] Cn33, + [JsonProperty("CN_34")] Cn34, + [JsonProperty("CN_35")] Cn35, + [JsonProperty("CN_36")] Cn36, + [JsonProperty("CN_37")] Cn37, + [JsonProperty("CN_41")] Cn41, + [JsonProperty("CN_42")] Cn42, + [JsonProperty("CN_43")] Cn43, + [JsonProperty("CN_44")] Cn44, + [JsonProperty("CN_45")] Cn45, + [JsonProperty("CN_46")] Cn46, + [JsonProperty("CN_50")] Cn50, + [JsonProperty("CN_51")] Cn51, + [JsonProperty("CN_52")] Cn52, + [JsonProperty("CN_53")] Cn53, + [JsonProperty("CN_54")] Cn54, + [JsonProperty("CN_61")] Cn61, + [JsonProperty("CN_62")] Cn62, + [JsonProperty("CN_63")] Cn63, + [JsonProperty("CN_64")] Cn64, + [JsonProperty("CN_65")] Cn65, + [JsonProperty("CN_91")] Cn91, + [JsonProperty("CN_92")] Cn92, + [JsonProperty("CO")] Co, + [JsonProperty("CON")] Con, + [JsonProperty("COV")] Cov, + [JsonProperty("CRF")] Crf, + [JsonProperty("CRY")] Cry, + [JsonProperty("CSR")] Csr, + [JsonProperty("CT")] Ct, + [JsonProperty("CWD")] Cwd, + [JsonProperty("CWY")] Cwy, + [JsonProperty("DAL")] Dal, + [JsonProperty("DBY")] Dby, + [JsonProperty("DC")] Dc, + [JsonProperty("DE")] De, + [JsonProperty("DEN")] Den, + [JsonProperty("DER")] Der, + [JsonProperty("DEV")] Dev, + [JsonProperty("DGN")] Dgn, + [JsonProperty("DGY")] Dgy, + [JsonProperty("DK_015")] Dk015, + [JsonProperty("DK_020")] Dk020, + [JsonProperty("DK_025")] Dk025, + [JsonProperty("DK_030")] Dk030, + [JsonProperty("DK_035")] Dk035, + [JsonProperty("DK_040")] Dk040, + [JsonProperty("DK_042")] Dk042, + [JsonProperty("DK_050")] Dk050, + [JsonProperty("DK_055")] Dk055, + [JsonProperty("DK_060")] Dk060, + [JsonProperty("DK_065")] Dk065, + [JsonProperty("DK_070")] Dk070, + [JsonProperty("DK_076")] Dk076, + [JsonProperty("DK_080")] Dk080, + [JsonProperty("DK_101")] Dk101, + [JsonProperty("DK_147")] Dk147, + [JsonProperty("DK_81")] Dk81, + [JsonProperty("DK_82")] Dk82, + [JsonProperty("DK_83")] Dk83, + [JsonProperty("DK_84")] Dk84, + [JsonProperty("DK_85")] Dk85, + [JsonProperty("DNC")] Dnc, + [JsonProperty("DND")] Dnd, + [JsonProperty("DOR")] Dor, + [JsonProperty("DOW")] Dow, + [JsonProperty("DRY")] Dry, + [JsonProperty("DUD")] Dud, + [JsonProperty("DUR")] Dur, + [JsonProperty("EAL")] Eal, + [JsonProperty("EAY")] Eay, + [JsonProperty("EDH")] Edh, + [JsonProperty("EDU")] Edu, + [JsonProperty("ELN")] Eln, + [JsonProperty("ELS")] Els, + [JsonProperty("ENF")] Enf, + [JsonProperty("ERW")] Erw, + [JsonProperty("ERY")] Ery, + [JsonProperty("ESS")] Ess, + [JsonProperty("ESX")] Esx, + [JsonProperty("FAL")] Fal, + [JsonProperty("FER")] Fer, + [JsonProperty("FIF")] Fif, + [JsonProperty("FL")] Fl, + [JsonProperty("FLN")] Fln, + [JsonProperty("FM")] Fm, + [JsonProperty("GA")] Ga, + [JsonProperty("GAT")] Gat, + [JsonProperty("GB")] Gb, + [JsonProperty("GLG")] Glg, + [JsonProperty("GLN")] Gln, + [JsonProperty("GLS")] Gls, + [JsonProperty("GR_01")] Gr01, + [JsonProperty("GR_03")] Gr03, + [JsonProperty("GR_04")] Gr04, + [JsonProperty("GR_05")] Gr05, + [JsonProperty("GR_06")] Gr06, + [JsonProperty("GR_07")] Gr07, + [JsonProperty("GR_11")] Gr11, + [JsonProperty("GR_12")] Gr12, + [JsonProperty("GR_13")] Gr13, + [JsonProperty("GR_14")] Gr14, + [JsonProperty("GR_15")] Gr15, + [JsonProperty("GR_16")] Gr16, + [JsonProperty("GR_17")] Gr17, + [JsonProperty("GR_21")] Gr21, + [JsonProperty("GR_22")] Gr22, + [JsonProperty("GR_23")] Gr23, + [JsonProperty("GR_24")] Gr24, + [JsonProperty("GR_31")] Gr31, + [JsonProperty("GR_32")] Gr32, + [JsonProperty("GR_33")] Gr33, + [JsonProperty("GR_34")] Gr34, + [JsonProperty("GR_41")] Gr41, + [JsonProperty("GR_42")] Gr42, + [JsonProperty("GR_43")] Gr43, + [JsonProperty("GR_44")] Gr44, + [JsonProperty("GR_51")] Gr51, + [JsonProperty("GR_52")] Gr52, + [JsonProperty("GR_53")] Gr53, + [JsonProperty("GR_54")] Gr54, + [JsonProperty("GR_55")] Gr55, + [JsonProperty("GR_56")] Gr56, + [JsonProperty("GR_57")] Gr57, + [JsonProperty("GR_58")] Gr58, + [JsonProperty("GR_59")] Gr59, + [JsonProperty("GR_61")] Gr61, + [JsonProperty("GR_62")] Gr62, + [JsonProperty("GR_63")] Gr63, + [JsonProperty("GR_64")] Gr64, + [JsonProperty("GR_69")] Gr69, + [JsonProperty("GR_71")] Gr71, + [JsonProperty("GR_72")] Gr72, + [JsonProperty("GR_73")] Gr73, + [JsonProperty("GR_81")] Gr81, + [JsonProperty("GR_82")] Gr82, + [JsonProperty("GR_83")] Gr83, + [JsonProperty("GR_84")] Gr84, + [JsonProperty("GR_85")] Gr85, + [JsonProperty("GR_91")] Gr91, + [JsonProperty("GR_92")] Gr92, + [JsonProperty("GR_93")] Gr93, + [JsonProperty("GR_94")] Gr94, + [JsonProperty("GR_A_1")] GrA1, + [JsonProperty("GRE")] Gre, + [JsonProperty("GTM")] Gtm, + [JsonProperty("GU")] Gu, + [JsonProperty("GWN")] Gwn, + [JsonProperty("HAL")] Hal, + [JsonProperty("HAM")] Ham, + [JsonProperty("HAV")] Hav, + [JsonProperty("HCK")] Hck, + [JsonProperty("HEF")] Hef, + [JsonProperty("HI")] Hi, + [JsonProperty("HIL")] Hil, + [JsonProperty("HLD")] Hld, + [JsonProperty("HMF")] Hmf, + [JsonProperty("HNS")] Hns, + [JsonProperty("HPL")] Hpl, + [JsonProperty("HRT")] Hrt, + [JsonProperty("HRW")] Hrw, + [JsonProperty("HRY")] Hry, + [JsonProperty("IA")] Ia, + [JsonProperty("ID")] Id, + [JsonProperty("IE_C")] IeC, + [JsonProperty("IE_CE")] IeCe, + [JsonProperty("IE_CN")] IeCn, + [JsonProperty("IE_CW")] IeCw, + [JsonProperty("IE_D")] IeD, + [JsonProperty("IE_DL")] IeDl, + [JsonProperty("IE_G")] IeG, + [JsonProperty("IE_KE")] IeKe, + [JsonProperty("IE_KK")] IeKk, + [JsonProperty("IE_KY")] IeKy, + [JsonProperty("IE_LD")] IeLd, + [JsonProperty("IE_LH")] IeLh, + [JsonProperty("IE_LK")] IeLk, + [JsonProperty("IE_LM")] IeLm, + [JsonProperty("IE_LS")] IeLs, + [JsonProperty("IE_MH")] IeMh, + [JsonProperty("IE_MN")] IeMn, + [JsonProperty("IE_MO")] IeMo, + [JsonProperty("IE_OY")] IeOy, + [JsonProperty("IE_RN")] IeRn, + [JsonProperty("IE_SO")] IeSo, + [JsonProperty("IE_TA")] IeTa, + [JsonProperty("IE_WD")] IeWd, + [JsonProperty("IE_WH")] IeWh, + [JsonProperty("IE_WW")] IeWw, + [JsonProperty("IE_WX")] IeWx, + [JsonProperty("IL")] Il, + [JsonProperty("IN")] In, + [JsonProperty("IN_AN")] InAn, + [JsonProperty("IN_AP")] InAp, + [JsonProperty("IN_AR")] InAr, + [JsonProperty("IN_AS")] InAs, + [JsonProperty("IN_BR")] InBr, + [JsonProperty("IN_CH")] InCh, + [JsonProperty("IN_CT")] InCt, + [JsonProperty("IN_DD")] InDd, + [JsonProperty("IN_DL")] InDl, + [JsonProperty("IN_DN")] InDn, + [JsonProperty("IN_GA")] InGa, + [JsonProperty("IN_GJ")] InGj, + [JsonProperty("IN_HP")] InHp, + [JsonProperty("IN_HR")] InHr, + [JsonProperty("IN_JH")] InJh, + [JsonProperty("IN_JK")] InJk, + [JsonProperty("IN_KA")] InKa, + [JsonProperty("IN_KL")] InKl, + [JsonProperty("IN_LD")] InLd, + [JsonProperty("IN_MH")] InMh, + [JsonProperty("IN_ML")] InMl, + [JsonProperty("IN_MN")] InMn, + [JsonProperty("IN_MP")] InMp, + [JsonProperty("IN_MZ")] InMz, + [JsonProperty("IN_NL")] InNl, + [JsonProperty("IN_OR")] InOr, + [JsonProperty("IN_PB")] InPb, + [JsonProperty("IN_PY")] InPy, + [JsonProperty("IN_RJ")] InRj, + [JsonProperty("IN_SK")] InSk, + [JsonProperty("IN_TG")] InTg, + [JsonProperty("IN_TN")] InTn, + [JsonProperty("IN_TR")] InTr, + [JsonProperty("IN_UL")] InUl, + [JsonProperty("IN_UP")] InUp, + [JsonProperty("IN_WB")] InWb, + [JsonProperty("IOA")] Ioa, + [JsonProperty("IOI")] Ioi, + [JsonProperty("IOL")] Iol, + [JsonProperty("IOM")] Iom, + [JsonProperty("IOS")] Ios, + [JsonProperty("IOW")] Iow, + [JsonProperty("IOY")] Ioy, + [JsonProperty("ISL")] Isl, + [JsonProperty("IT_21")] It21, + [JsonProperty("IT_23")] It23, + [JsonProperty("IT_25")] It25, + [JsonProperty("IT_32")] It32, + [JsonProperty("IT_34")] It34, + [JsonProperty("IT_36")] It36, + [JsonProperty("IT_42")] It42, + [JsonProperty("IT_45")] It45, + [JsonProperty("IT_52")] It52, + [JsonProperty("IT_55")] It55, + [JsonProperty("IT_57")] It57, + [JsonProperty("IT_62")] It62, + [JsonProperty("IT_65")] It65, + [JsonProperty("IT_67")] It67, + [JsonProperty("IT_72")] It72, + [JsonProperty("IT_75")] It75, + [JsonProperty("IT_77")] It77, + [JsonProperty("IT_78")] It78, + [JsonProperty("IT_82")] It82, + [JsonProperty("IT_88")] It88, + [JsonProperty("IT_AG")] ItAg, + [JsonProperty("IT_AL")] ItAl, + [JsonProperty("IT_AN")] ItAn, + [JsonProperty("IT_AO")] ItAo, + [JsonProperty("IT_AP")] ItAp, + [JsonProperty("IT_AQ")] ItAq, + [JsonProperty("IT_AR")] ItAr, + [JsonProperty("IT_AT")] ItAt, + [JsonProperty("IT_AV")] ItAv, + [JsonProperty("IT_BA")] ItBa, + [JsonProperty("IT_BG")] ItBg, + [JsonProperty("IT_BI")] ItBi, + [JsonProperty("IT_BL")] ItBl, + [JsonProperty("IT_BN")] ItBn, + [JsonProperty("IT_BO")] ItBo, + [JsonProperty("IT_BR")] ItBr, + [JsonProperty("IT_BS")] ItBs, + [JsonProperty("IT_BT")] ItBt, + [JsonProperty("IT_BZ")] ItBz, + [JsonProperty("IT_CA")] ItCa, + [JsonProperty("IT_CB")] ItCb, + [JsonProperty("IT_CE")] ItCe, + [JsonProperty("IT_CH")] ItCh, + [JsonProperty("IT_CI")] ItCi, + [JsonProperty("IT_CL")] ItCl, + [JsonProperty("IT_CN")] ItCn, + [JsonProperty("IT_CO")] ItCo, + [JsonProperty("IT_CR")] ItCr, + [JsonProperty("IT_CS")] ItCs, + [JsonProperty("IT_CT")] ItCt, + [JsonProperty("IT_CZ")] ItCz, + [JsonProperty("IT_EN")] ItEn, + [JsonProperty("IT_FC")] ItFc, + [JsonProperty("IT_FE")] ItFe, + [JsonProperty("IT_FG")] ItFg, + [JsonProperty("IT_FI")] ItFi, + [JsonProperty("IT_FM")] ItFm, + [JsonProperty("IT_FR")] ItFr, + [JsonProperty("IT_GE")] ItGe, + [JsonProperty("IT_GO")] ItGo, + [JsonProperty("IT_GR")] ItGr, + [JsonProperty("IT_IM")] ItIm, + [JsonProperty("IT_IS")] ItIs, + [JsonProperty("IT_KR")] ItKr, + [JsonProperty("IT_LC")] ItLc, + [JsonProperty("IT_LE")] ItLe, + [JsonProperty("IT_LI")] ItLi, + [JsonProperty("IT_LO")] ItLo, + [JsonProperty("IT_LT")] ItLt, + [JsonProperty("IT_LU")] ItLu, + [JsonProperty("IT_MB")] ItMb, + [JsonProperty("IT_MC")] ItMc, + [JsonProperty("IT_ME")] ItMe, + [JsonProperty("IT_MI")] ItMi, + [JsonProperty("IT_MN")] ItMn, + [JsonProperty("IT_MO")] ItMo, + [JsonProperty("IT_MS")] ItMs, + [JsonProperty("IT_MT")] ItMt, + [JsonProperty("IT_NA")] ItNa, + [JsonProperty("IT_NO")] ItNo, + [JsonProperty("IT_NU")] ItNu, + [JsonProperty("IT_OG")] ItOg, + [JsonProperty("IT_OR")] ItOr, + [JsonProperty("IT_OT")] ItOt, + [JsonProperty("IT_PA")] ItPa, + [JsonProperty("IT_PC")] ItPc, + [JsonProperty("IT_PD")] ItPd, + [JsonProperty("IT_PE")] ItPe, + [JsonProperty("IT_PG")] ItPg, + [JsonProperty("IT_PI")] ItPi, + [JsonProperty("IT_PN")] ItPn, + [JsonProperty("IT_PO")] ItPo, + [JsonProperty("IT_PR")] ItPr, + [JsonProperty("IT_PT")] ItPt, + [JsonProperty("IT_PU")] ItPu, + [JsonProperty("IT_PV")] ItPv, + [JsonProperty("IT_PZ")] ItPz, + [JsonProperty("IT_RA")] ItRa, + [JsonProperty("IT_RC")] ItRc, + [JsonProperty("IT_RE")] ItRe, + [JsonProperty("IT_RG")] ItRg, + [JsonProperty("IT_RI")] ItRi, + [JsonProperty("IT_RM")] ItRm, + [JsonProperty("IT_RN")] ItRn, + [JsonProperty("IT_RO")] ItRo, + [JsonProperty("IT_SA")] ItSa, + [JsonProperty("IT_SI")] ItSi, + [JsonProperty("IT_SO")] ItSo, + [JsonProperty("IT_SP")] ItSp, + [JsonProperty("IT_SR")] ItSr, + [JsonProperty("IT_SS")] ItSs, + [JsonProperty("IT_SV")] ItSv, + [JsonProperty("IT_TA")] ItTa, + [JsonProperty("IT_TE")] ItTe, + [JsonProperty("IT_TN")] ItTn, + [JsonProperty("IT_TO")] ItTo, + [JsonProperty("IT_TP")] ItTp, + [JsonProperty("IT_TR")] ItTr, + [JsonProperty("IT_TS")] ItTs, + [JsonProperty("IT_TV")] ItTv, + [JsonProperty("IT_UD")] ItUd, + [JsonProperty("IT_VA")] ItVa, + [JsonProperty("IT_VB")] ItVb, + [JsonProperty("IT_VC")] ItVc, + [JsonProperty("IT_VE")] ItVe, + [JsonProperty("IT_VI")] ItVi, + [JsonProperty("IT_VR")] ItVr, + [JsonProperty("IT_VS")] ItVs, + [JsonProperty("IT_VT")] ItVt, + [JsonProperty("IT_VV")] ItVv, + [JsonProperty("IVK")] Ivk, + [JsonProperty("JP_01")] Jp01, + [JsonProperty("JP_02")] Jp02, + [JsonProperty("JP_03")] Jp03, + [JsonProperty("JP_04")] Jp04, + [JsonProperty("JP_05")] Jp05, + [JsonProperty("JP_06")] Jp06, + [JsonProperty("JP_07")] Jp07, + [JsonProperty("JP_08")] Jp08, + [JsonProperty("JP_09")] Jp09, + [JsonProperty("JP_10")] Jp10, + [JsonProperty("JP_11")] Jp11, + [JsonProperty("JP_12")] Jp12, + [JsonProperty("JP_13")] Jp13, + [JsonProperty("JP_14")] Jp14, + [JsonProperty("JP_15")] Jp15, + [JsonProperty("JP_16")] Jp16, + [JsonProperty("JP_17")] Jp17, + [JsonProperty("JP_18")] Jp18, + [JsonProperty("JP_19")] Jp19, + [JsonProperty("JP_20")] Jp20, + [JsonProperty("JP_21")] Jp21, + [JsonProperty("JP_22")] Jp22, + [JsonProperty("JP_23")] Jp23, + [JsonProperty("JP_24")] Jp24, + [JsonProperty("JP_25")] Jp25, + [JsonProperty("JP_26")] Jp26, + [JsonProperty("JP_27")] Jp27, + [JsonProperty("JP_28")] Jp28, + [JsonProperty("JP_29")] Jp29, + [JsonProperty("JP_30")] Jp30, + [JsonProperty("JP_31")] Jp31, + [JsonProperty("JP_32")] Jp32, + [JsonProperty("JP_33")] Jp33, + [JsonProperty("JP_34")] Jp34, + [JsonProperty("JP_35")] Jp35, + [JsonProperty("JP_36")] Jp36, + [JsonProperty("JP_37")] Jp37, + [JsonProperty("JP_38")] Jp38, + [JsonProperty("JP_39")] Jp39, + [JsonProperty("JP_40")] Jp40, + [JsonProperty("JP_41")] Jp41, + [JsonProperty("JP_42")] Jp42, + [JsonProperty("JP_43")] Jp43, + [JsonProperty("JP_44")] Jp44, + [JsonProperty("JP_45")] Jp45, + [JsonProperty("JP_46")] Jp46, + [JsonProperty("JP_47")] Jp47, + [JsonProperty("KEC")] Kec, + [JsonProperty("KEN")] Ken, + [JsonProperty("KHL")] Khl, + [JsonProperty("KIR")] Kir, + [JsonProperty("KS")] Ks, + [JsonProperty("KTT")] Ktt, + [JsonProperty("KWL")] Kwl, + [JsonProperty("KY")] Ky, + [JsonProperty("LA")] La, + [JsonProperty("LAN")] Lan, + [JsonProperty("LBH")] Lbh, + [JsonProperty("LCE")] Lce, + [JsonProperty("LDS")] Lds, + [JsonProperty("LEC")] Lec, + [JsonProperty("LEW")] Lew, + [JsonProperty("LIN")] Lin, + [JsonProperty("LIV")] Liv, + [JsonProperty("LMV")] Lmv, + [JsonProperty("LND")] Lnd, + [JsonProperty("LRN")] Lrn, + [JsonProperty("LSB")] Lsb, + [JsonProperty("LU_D")] LuD, + [JsonProperty("LU_G")] LuG, + [JsonProperty("LU_L")] LuL, + [JsonProperty("LUT")] Lut, + [JsonProperty("MA")] Ma, + [JsonProperty("MAN")] Man, + [JsonProperty("MB")] Mb, + [JsonProperty("MD")] Md, + [JsonProperty("MDB")] Mdb, + [JsonProperty("MDS")] Mds, + [JsonProperty("MDW")] Mdw, + [JsonProperty("ME")] Me, + [JsonProperty("MFT")] Mft, + [JsonProperty("MGM")] Mgm, + [JsonProperty("MH")] Mh, + [JsonProperty("MI")] Mi, + [JsonProperty("MIK")] Mik, + [JsonProperty("MLN")] Mln, + [JsonProperty("MN")] Mn, + [JsonProperty("MO")] Mo, + [JsonProperty("MON")] Mon, + [JsonProperty("MP")] Mp, + [JsonProperty("MRT")] Mrt, + [JsonProperty("MRY")] Mry, + [JsonProperty("MS")] Ms, + [JsonProperty("MSY")] Msy, + [JsonProperty("MT")] Mt, + [JsonProperty("MTY")] Mty, + [JsonProperty("MX_AGU")] MxAgu, + [JsonProperty("MX_BCN")] MxBcn, + [JsonProperty("MX_BCS")] MxBcs, + [JsonProperty("MX_CAM")] MxCam, + [JsonProperty("MX_CHH")] MxChh, + [JsonProperty("MX_CHP")] MxChp, + [JsonProperty("MX_COA")] MxCoa, + [JsonProperty("MX_COL")] MxCol, + [JsonProperty("MX_DIF")] MxDif, + [JsonProperty("MX_DUR")] MxDur, + [JsonProperty("MX_GRO")] MxGro, + [JsonProperty("MX_GUA")] MxGua, + [JsonProperty("MX_HID")] MxHid, + [JsonProperty("MX_JAL")] MxJal, + [JsonProperty("MX_MEX")] MxMex, + [JsonProperty("MX_MIC")] MxMic, + [JsonProperty("MX_MOR")] MxMor, + [JsonProperty("MX_NAY")] MxNay, + [JsonProperty("MX_NLE")] MxNle, + [JsonProperty("MX_OAX")] MxOax, + [JsonProperty("MX_PUE")] MxPue, + [JsonProperty("MX_QUE")] MxQue, + [JsonProperty("MX_ROO")] MxRoo, + [JsonProperty("MX_SIN")] MxSin, + [JsonProperty("MX_SLP")] MxSlp, + [JsonProperty("MX_SON")] MxSon, + [JsonProperty("MX_TAB")] MxTab, + [JsonProperty("MX_TAM")] MxTam, + [JsonProperty("MX_TLA")] MxTla, + [JsonProperty("MX_VER")] MxVer, + [JsonProperty("MX_YUC")] MxYuc, + [JsonProperty("MX_ZAC")] MxZac, + [JsonProperty("MYL")] Myl, + [JsonProperty("NAY")] Nay, + [JsonProperty("NB")] Nb, + [JsonProperty("NBL")] Nbl, + [JsonProperty("NC")] Nc, + [JsonProperty("ND")] Nd, + [JsonProperty("NDN")] Ndn, + [JsonProperty("NE")] Ne, + [JsonProperty("NEL")] Nel, + [JsonProperty("NET")] Net, + [JsonProperty("NFK")] Nfk, + [JsonProperty("NGM")] Ngm, + [JsonProperty("NH")] Nh, + [JsonProperty("NJ")] Nj, + [JsonProperty("NL")] Nl, + [JsonProperty("NL_DR")] NlDr, + [JsonProperty("NL_FL")] NlFl, + [JsonProperty("NL_FR")] NlFr, + [JsonProperty("NL_GE")] NlGe, + [JsonProperty("NL_GR")] NlGr, + [JsonProperty("NLK")] Nlk, + [JsonProperty("NL_LI")] NlLi, + [JsonProperty("NLN")] Nln, + [JsonProperty("NL_NB")] NlNb, + [JsonProperty("NL_NH")] NlNh, + [JsonProperty("NL_OV")] NlOv, + [JsonProperty("NL_UT")] NlUt, + [JsonProperty("NL_ZE")] NlZe, + [JsonProperty("NL_ZH")] NlZh, + [JsonProperty("NM")] Nm, + [JsonProperty("NO_01")] No01, + [JsonProperty("NO_02")] No02, + [JsonProperty("NO_03")] No03, + [JsonProperty("NO_04")] No04, + [JsonProperty("NO_05")] No05, + [JsonProperty("NO_06")] No06, + [JsonProperty("NO_07")] No07, + [JsonProperty("NO_08")] No08, + [JsonProperty("NO_09")] No09, + [JsonProperty("NO_10")] No10, + [JsonProperty("NO_11")] No11, + [JsonProperty("NO_12")] No12, + [JsonProperty("NO_14")] No14, + [JsonProperty("NO_15")] No15, + [JsonProperty("NO_16")] No16, + [JsonProperty("NO_17")] No17, + [JsonProperty("NO_18")] No18, + [JsonProperty("NO_19")] No19, + [JsonProperty("NO_20")] No20, + [JsonProperty("NO_21")] No21, + [JsonProperty("NO_22")] No22, + [JsonProperty("NRY")] Nry, + [JsonProperty("NS")] Ns, + [JsonProperty("NSM")] Nsm, + [JsonProperty("NSW_AUS")] NswAus, + [JsonProperty("NT")] Nt, + [JsonProperty("NT_AUS")] NtAus, + [JsonProperty("NTA")] Nta, + [JsonProperty("NTH")] Nth, + [JsonProperty("NTL")] Ntl, + [JsonProperty("NTT")] Ntt, + [JsonProperty("NTY")] Nty, + [JsonProperty("NU")] Nu, + [JsonProperty("NV")] Nv, + [JsonProperty("NWM")] Nwm, + [JsonProperty("NWP")] Nwp, + [JsonProperty("NY")] Ny, + [JsonProperty("NYK")] Nyk, + [JsonProperty("NYM")] Nym, + [JsonProperty("OH")] Oh, + [JsonProperty("OK")] Ok, + [JsonProperty("OLD")] Old, + [JsonProperty("OMH")] Omh, + [JsonProperty("ON")] On, + [JsonProperty("OR")] Or, + [JsonProperty("ORK")] Ork, + [JsonProperty("OXF")] Oxf, + [JsonProperty("PA")] Pa, + [JsonProperty("PE")] Pe, + [JsonProperty("PEM")] Pem, + [JsonProperty("PKN")] Pkn, + [JsonProperty("PLY")] Ply, + [JsonProperty("POL")] Pol, + [JsonProperty("POR")] Por, + [JsonProperty("POW")] Pow, + [JsonProperty("PR")] Pr, + [JsonProperty("PTE")] Pte, + [JsonProperty("PW")] Pw, + [JsonProperty("QC")] Qc, + [JsonProperty("QLD_AUS")] QldAus, + [JsonProperty("RCC")] Rcc, + [JsonProperty("RCH")] Rch, + [JsonProperty("RCT")] Rct, + [JsonProperty("RDB")] Rdb, + [JsonProperty("RDG")] Rdg, + [JsonProperty("RFW")] Rfw, + [JsonProperty("RI")] Ri, + [JsonProperty("RIC")] Ric, + [JsonProperty("ROT")] Rot, + [JsonProperty("RUT")] Rut, + [JsonProperty("SA_AUS")] SaAus, + [JsonProperty("SAW")] Saw, + [JsonProperty("SAY")] Say, + [JsonProperty("SC")] Sc, + [JsonProperty("SCB")] Scb, + [JsonProperty("SD")] Sd, + [JsonProperty("SFK")] Sfk, + [JsonProperty("SFT")] Sft, + [JsonProperty("SGC")] Sgc, + [JsonProperty("SGM")] Sgm, + [JsonProperty("SHF")] Shf, + [JsonProperty("SHN")] Shn, + [JsonProperty("SHR")] Shr, + [JsonProperty("SK")] Sk, + [JsonProperty("SKP")] Skp, + [JsonProperty("SLF")] Slf, + [JsonProperty("SLG")] Slg, + [JsonProperty("SLK")] Slk, + [JsonProperty("SOL")] Sol, + [JsonProperty("SOM")] Som, + [JsonProperty("SOS")] Sos, + [JsonProperty("SRY")] Sry, + [JsonProperty("STB")] Stb, + [JsonProperty("STE")] Ste, + [JsonProperty("STG")] Stg, + [JsonProperty("STH")] Sth, + [JsonProperty("STN")] Stn, + [JsonProperty("STS")] Sts, + [JsonProperty("STT")] Stt, + [JsonProperty("STY")] Sty, + [JsonProperty("SWA")] Swa, + [JsonProperty("SWD")] Swd, + [JsonProperty("SWK")] Swk, + [JsonProperty("SYK")] Syk, + [JsonProperty("TAM")] Tam, + [JsonProperty("TAS_AUS")] TasAus, + [JsonProperty("TFW")] Tfw, + [JsonProperty("THR")] Thr, + [JsonProperty("TN")] Tn, + [JsonProperty("TOB")] Tob, + [JsonProperty("TOF")] Tof, + [JsonProperty("TRF")] Trf, + [JsonProperty("TWH")] Twh, + [JsonProperty("TWR")] Twr, + [JsonProperty("TX")] Tx, + [JsonProperty("TYR")] Tyr, + [JsonProperty("UT")] Ut, + [JsonProperty("VA")] Va, + [JsonProperty("VGL")] Vgl, + [JsonProperty("VI")] Vi, + [JsonProperty("VIC_AUS")] VicAus, + [JsonProperty("VT")] Vt, + [JsonProperty("WA")] Wa, + [JsonProperty("WA_AUS")] WaAus, + [JsonProperty("WAR")] War, + [JsonProperty("WBK")] Wbk, + [JsonProperty("WDU")] Wdu, + [JsonProperty("WFT")] Wft, + [JsonProperty("WGM")] Wgm, + [JsonProperty("WGN")] Wgn, + [JsonProperty("WI")] Wi, + [JsonProperty("WIL")] Wil, + [JsonProperty("WIS")] Wis, + [JsonProperty("WKF")] Wkf, + [JsonProperty("WLL")] Wll, + [JsonProperty("WLN")] Wln, + [JsonProperty("WLV")] Wlv, + [JsonProperty("WMD")] Wmd, + [JsonProperty("WND")] Wnd, + [JsonProperty("WNM")] Wnm, + [JsonProperty("WOK")] Wok, + [JsonProperty("WOR")] Wor, + [JsonProperty("WRL")] Wrl, + [JsonProperty("WRT")] Wrt, + [JsonProperty("WRX")] Wrx, + [JsonProperty("WSM")] Wsm, + [JsonProperty("WSX")] Wsx, + [JsonProperty("WV")] Wv, + [JsonProperty("WY")] Wy, + [JsonProperty("WYK")] Wyk, + [JsonProperty("YOR")] Yor, + [JsonProperty("YT")] Yt, + [JsonProperty("ZET")] Zet, + } + + public static class LeadCatcherPatchStateProvinceExtension + { + public static string Value(this LeadCatcherPatchStateProvince value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static LeadCatcherPatchStateProvince ToEnum(this string value) + { + foreach (var field in typeof(LeadCatcherPatchStateProvince).GetFields()) + { + var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); + if (attributes.Length == 0) + { + continue; + } + + var attribute = attributes[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); + + if (enumVal is LeadCatcherPatchStateProvince) + { + return (LeadCatcherPatchStateProvince)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum LeadCatcherPatchStateProvince"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatchersOverviewResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatchersOverviewResponse.cs new file mode 100644 index 000000000..b53fac70d --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LeadCatchersOverviewResponse.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + /// + /// Paginated overview of lead catchers for a venue. + /// + public class LeadCatchersOverviewResponse + { + /// + /// Represents pagination information for a collection of resources. + /// + [JsonProperty("paging")] + public Paging Paging { get; set; } = default!; + + /// + /// Each item is a lightweight, non-PII overview of a lead catcher for the venue, containing only the `id`, `firstName`, and `lastName`. + /// + [JsonProperty("data")] + public List Data { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/LocaleLanguageVariant.cs b/packages/csharp/src/Cvent/SDK/Models/Components/LocaleLanguageVariant.cs new file mode 100644 index 000000000..5faa24f06 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/LocaleLanguageVariant.cs @@ -0,0 +1,223 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Language locale of a Lead Catcher contact.
+ ///
+ /// Values:
+ /// - `zh-CHS` — Chinese (Simplified) Legacy
+ /// - `zh-TW` — Chinese (Traditional, Taiwan)
+ /// - `de-DE` — German (Germany)
+ /// - `en-US` — English (United States)
+ /// - `fi-FI` — Finnish (Finland)
+ /// - `fr-FR` — French (France)
+ /// - `it-IT` — Italian (Italy)
+ /// - `ja-JP` — Japanese (Japan)
+ /// - `ko-KR` — Korean (Korea)
+ /// - `nl-NL` — Dutch (Netherlands)
+ /// - `pt-BR` — Portuguese (Brazil)
+ /// - `ru-RU` — Russian (Russia)
+ /// - `sv-SE` — Swedish (Sweden)
+ /// - `th-TH` — Thai (Thailand)
+ /// - `tr-TR` — Turkish (Turkey)
+ /// - `uk-UA` — Ukrainian (Ukraine)
+ /// - `zh-CN` — Chinese (Simplified, China)
+ /// - `de-CH` — German (Switzerland)
+ /// - `en-GB` — English (United Kingdom)
+ /// - `es-MX` — Spanish (Mexico)
+ /// - `fr-BE` — French (Belgium)
+ /// - `it-CH` — Italian (Switzerland)
+ /// - `nl-BE` — Dutch (Belgium)
+ /// - `pt-PT` — Portuguese (Portugal)
+ /// - `ru-MD` — Russian (Moldova)
+ /// - `sv-FI` — Swedish (Finland)
+ /// - `zh-HK` — Chinese (Traditional, Hong Kong SAR)
+ /// - `de-AT` — German (Austria)
+ /// - `en-AU` — English (Australia)
+ /// - `es-ES` — Spanish (Spain, International Sort)
+ /// - `fr-CA` — French (Canada)
+ /// - `zh-SG` — Chinese (Simplified, Singapore)
+ /// - `de-LU` — German (Luxembourg)
+ /// - `en-CA` — English (Canada)
+ /// - `es-GT` — Spanish (Guatemala)
+ /// - `fr-CH` — French (Switzerland)
+ /// - `zh-MO` — Chinese (Traditional, Macao SAR)
+ /// - `de-LI` — German (Liechtenstein)
+ /// - `en-NZ` — English (New Zealand)
+ /// - `es-CR` — Spanish (Costa Rica)
+ /// - `fr-LU` — French (Luxembourg)
+ /// - `en-IE` — English (Ireland)
+ /// - `es-PA` — Spanish (Panama)
+ /// - `fr-MC` — French (Monaco)
+ /// - `en-ZA` — English (South Africa)
+ /// - `es-DO` — Spanish (Dominican Republic)
+ /// - `fr-029` — French (Caribbean)
+ /// - `en-JM` — English (Jamaica)
+ /// - `es-VE` — Spanish (Venezuela)
+ /// - `fr-RE` — French (Réunion)
+ /// - `en-029` — English (Caribbean)
+ /// - `es-CO` — Spanish (Colombia)
+ /// - `fr-CD` — French Congo (DRC)
+ /// - `en-BZ` — English (Belize)
+ /// - `es-PE` — Spanish (Peru)
+ /// - `fr-SN` — French (Senegal)
+ /// - `en-TT` — English (Trinidad and Tobago)
+ /// - `es-AR` — Spanish (Argentina)
+ /// - `fr-CM` — French (Cameroon)
+ /// - `en-ZW` — English (Zimbabwe)
+ /// - `es-EC` — Spanish (Ecuador)
+ /// - `fr-CI` — French (Côte d'Ivoire)
+ /// - `en-PH` — English (Philippines)
+ /// - `es-CL` — Spanish (Chile)
+ /// - `fr-ML` — French (Mali)
+ /// - `en-ID` — English (Indonesia)
+ /// - `es-UY` — Spanish (Uruguay)
+ /// - `fr-MA` — French (Morocco)
+ /// - `en-HK` — English (Hong Kong SAR)
+ /// - `es-PY` — Spanish (Paraguay)
+ /// - `fr-HT` — French (Haiti)
+ /// - `en-IN` — English (India)
+ /// - `es-BO` — Spanish (Bolivia)
+ /// - `en-MY` — English (Malaysia)
+ /// - `es-SV` — Spanish (El Salvador)
+ /// - `en-SG` — English (Singapore)
+ /// - `es-HN` — Spanish (Honduras)
+ /// - `es-NI` — Spanish (Nicaragua)
+ /// - `es-PR` — Spanish (Puerto Rico)
+ /// - `es-US` — Spanish (United States)
+ /// - `es-419` — Spanish (Latin America)
+ /// - `es-CU` — Spanish (Cuba)
+ /// - `zh-CHT` — Chinese (Traditional) Legacy. + ///
+ public enum LocaleLanguageVariant + { + [JsonProperty("zh-CHS")] ZhCHS, + [JsonProperty("zh-TW")] ZhTW, + [JsonProperty("de-DE")] Dede, + [JsonProperty("en-US")] EnUS, + [JsonProperty("fi-FI")] Fifi, + [JsonProperty("fr-FR")] Frfr, + [JsonProperty("it-IT")] Itit, + [JsonProperty("ja-JP")] JaJP, + [JsonProperty("ko-KR")] KoKR, + [JsonProperty("nl-NL")] Nlnl, + [JsonProperty("pt-BR")] PtBR, + [JsonProperty("ru-RU")] Ruru, + [JsonProperty("sv-SE")] SvSE, + [JsonProperty("th-TH")] Thth, + [JsonProperty("tr-TR")] Trtr, + [JsonProperty("uk-UA")] UkUA, + [JsonProperty("zh-CN")] ZhCN, + [JsonProperty("de-CH")] DeCH, + [JsonProperty("en-GB")] EnGB, + [JsonProperty("es-MX")] EsMX, + [JsonProperty("fr-BE")] FrBE, + [JsonProperty("it-CH")] ItCH, + [JsonProperty("nl-BE")] NlBE, + [JsonProperty("pt-PT")] Ptpt, + [JsonProperty("ru-MD")] RuMD, + [JsonProperty("sv-FI")] SvFI, + [JsonProperty("zh-HK")] ZhHK, + [JsonProperty("de-AT")] DeAT, + [JsonProperty("en-AU")] EnAU, + [JsonProperty("es-ES")] Eses, + [JsonProperty("fr-CA")] FrCA, + [JsonProperty("zh-SG")] ZhSG, + [JsonProperty("de-LU")] DeLU, + [JsonProperty("en-CA")] EnCA, + [JsonProperty("es-GT")] EsGT, + [JsonProperty("fr-CH")] FrCH, + [JsonProperty("zh-MO")] ZhMO, + [JsonProperty("de-LI")] DeLI, + [JsonProperty("en-NZ")] EnNZ, + [JsonProperty("es-CR")] EsCR, + [JsonProperty("fr-LU")] FrLU, + [JsonProperty("en-IE")] EnIE, + [JsonProperty("es-PA")] EsPA, + [JsonProperty("fr-MC")] FrMC, + [JsonProperty("en-ZA")] EnZA, + [JsonProperty("es-DO")] EsDO, + [JsonProperty("fr-029")] Fr029, + [JsonProperty("en-JM")] EnJM, + [JsonProperty("es-VE")] EsVE, + [JsonProperty("fr-RE")] FrRE, + [JsonProperty("en-029")] En029, + [JsonProperty("es-CO")] EsCO, + [JsonProperty("fr-CD")] FrCD, + [JsonProperty("en-BZ")] EnBZ, + [JsonProperty("es-PE")] EsPE, + [JsonProperty("fr-SN")] FrSN, + [JsonProperty("en-TT")] EnTT, + [JsonProperty("es-AR")] EsAR, + [JsonProperty("fr-CM")] FrCM, + [JsonProperty("en-ZW")] EnZW, + [JsonProperty("es-EC")] EsEC, + [JsonProperty("fr-CI")] FrCI, + [JsonProperty("en-PH")] EnPH, + [JsonProperty("es-CL")] EsCL, + [JsonProperty("fr-ML")] FrML, + [JsonProperty("en-ID")] EnID, + [JsonProperty("es-UY")] EsUY, + [JsonProperty("fr-MA")] FrMA, + [JsonProperty("en-HK")] EnHK, + [JsonProperty("es-PY")] EsPY, + [JsonProperty("fr-HT")] FrHT, + [JsonProperty("en-IN")] EnIN, + [JsonProperty("es-BO")] EsBO, + [JsonProperty("en-MY")] EnMY, + [JsonProperty("es-SV")] EsSV, + [JsonProperty("en-SG")] EnSG, + [JsonProperty("es-HN")] EsHN, + [JsonProperty("es-NI")] EsNI, + [JsonProperty("es-PR")] EsPR, + [JsonProperty("es-US")] EsUS, + [JsonProperty("es-419")] Es419, + [JsonProperty("es-CU")] EsCU, + [JsonProperty("zh-CHT")] ZhCHT, + } + + public static class LocaleLanguageVariantExtension + { + public static string Value(this LocaleLanguageVariant value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static LocaleLanguageVariant ToEnum(this string value) + { + foreach (var field in typeof(LocaleLanguageVariant).GetFields()) + { + var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); + if (attributes.Length == 0) + { + continue; + } + + var attribute = attributes[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); + + if (enumVal is LocaleLanguageVariant) + { + return (LocaleLanguageVariant)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum LocaleLanguageVariant"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionWithProgramId.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionWithProgramId.cs new file mode 100644 index 000000000..b3f28cc2f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionWithProgramId.cs @@ -0,0 +1,95 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + using System.Collections.Generic; + + /// + /// A question, defined by the program, for the supplier to answer as part of their proposal. + /// + public class QuestionWithProgramId + { + /// + /// The ISO 8601 zoned date time when this record was created. + /// + [JsonProperty("created")] + public DateTime? Created { get; set; } + + /// + /// The identifier of the user that created this record. + /// + [JsonProperty("createdBy")] + public string? CreatedBy { get; set; } + + /// + /// The ISO 8601 zoned date time when this record was updated. + /// + [JsonProperty("lastModified")] + public DateTime? LastModified { get; set; } + + /// + /// The identifier of the user that last updated this record. + /// + [JsonProperty("lastModifiedBy")] + public string? LastModifiedBy { get; set; } + + /// + /// Travel program that the question belongs to. + /// + [JsonProperty("travelProgram")] + public QuestionWithProgramIdTravelProgram? TravelProgram { get; set; } + + /// + /// The unique ID of the question. + /// + [JsonProperty("id")] + public string? Id { get; set; } + + /// + /// The text of the question. + /// + [JsonProperty("text")] + public string? Text { get; set; } + + /// + /// Is this question required by default? + /// + [JsonProperty("required")] + public bool? Required { get; set; } + + /// + /// Code representing the type of response supported. Single represents a simple single value response, and choice means the user will be given a set of options for selection. + /// + [JsonProperty("responseType")] + public QuestionResponseType? ResponseType { get; set; } + + /// + /// Code representing the expected data type of the question response. + /// + [JsonProperty("responseDataType")] + public QuestionResponseDataType? ResponseDataType { get; set; } + + /// + /// Code representing the format the text of the response will be in. + /// + [JsonProperty("responseFormat")] + public QuestionResponseFormat? ResponseFormat { get; set; } + + /// + /// A list of options for the question. This only applies when responseType is 'choice' + /// + [JsonProperty("responseChoices")] + public List? ResponseChoices { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestionTravelProgram.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionWithProgramIdTravelProgram.cs similarity index 93% rename from packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestionTravelProgram.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/QuestionWithProgramIdTravelProgram.cs index d6f3813b3..e70fb6484 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestionTravelProgram.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionWithProgramIdTravelProgram.cs @@ -15,7 +15,7 @@ namespace Cvent.SDK.Models.Components /// /// Travel program that the question belongs to. /// - public class TravelProgramQuestionTravelProgram + public class QuestionWithProgramIdTravelProgram { /// /// The unique ID of the travel program. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionsPaginatedResponse1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionsPaginatedResponse1.cs index 9df8a44d8..bdb74059c 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/QuestionsPaginatedResponse1.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/QuestionsPaginatedResponse1.cs @@ -29,6 +29,6 @@ public class QuestionsPaginatedResponse1 /// Collection of Questions. /// [JsonProperty("data")] - public List? Data { get; set; } + public List? Data { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/Rfp2.cs b/packages/csharp/src/Cvent/SDK/Models/Components/Rfp2.cs index d026163e7..64a651e4b 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/Rfp2.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/Rfp2.cs @@ -241,7 +241,7 @@ public class Rfp2 public bool? FeeTransparencyEnabled { get; set; } = false; /// - /// DEPRECATED: Use venueIntegrationPreference instead. Venue integrations the planner prefers when sourcing venues. An empty array or absent field indicates no preference has been recorded. + /// DEPRECATED: Use `venueIntegrationPreference` instead. Venue integrations the planner prefers when sourcing venues. An empty array or absent field indicates no preference has been recorded. /// [Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")] [JsonProperty("preferredVenueIntegrations")] @@ -271,11 +271,8 @@ public class Rfp2 [JsonProperty("status")] public RfpStatus1? Status { get; set; } - /// - /// RFP types based on event requirements. - /// [JsonProperty("type")] - public RfpType1? Type { get; set; } + public RfpType? Type { get; set; } /// /// Details of the user who approved the RFP. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpQuestion.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpQuestion.cs index c14c2dff2..f458848a2 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpQuestion.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpQuestion.cs @@ -240,13 +240,13 @@ public class RfpQuestion /// List of supplier types that can view the question on the RFP. /// [JsonProperty("supplierTypes")] - public List? SupplierTypes { get; set; } + public List SupplierTypes { get; set; } = default!; /// /// Indicates the types of RFP that can be assigned this custom question. `MEETING_ROOM`: Meeting room type RFPs can be assigned this custom question. `GUEST_ROOM`: Guest room type RFPs can be assigned this custom question. `ALL_RFPS`: All RFPs can be assigned this custom question. /// [JsonProperty("classificationType")] - public QuestionClassificationType? ClassificationType { get; set; } + public QuestionClassificationType ClassificationType { get; set; } = default!; /// /// Determines the display order for questions on the RFP. Questions with smaller values appear first. diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/RfpType1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/RfpType.cs similarity index 83% rename from packages/csharp/src/Cvent/SDK/Models/Components/RfpType1.cs rename to packages/csharp/src/Cvent/SDK/Models/Components/RfpType.cs index 3d767e66f..f5528cfc7 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/RfpType1.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/RfpType.cs @@ -16,7 +16,7 @@ namespace Cvent.SDK.Models.Components /// /// RFP types based on event requirements. /// - public enum RfpType1 + public enum RfpType { [JsonProperty("MEETING_SPACE_AND_GUEST_ROOMS")] MeetingSpaceAndGuestRooms, [JsonProperty("MEETING_SPACE_ONLY")] MeetingSpaceOnly, @@ -25,16 +25,16 @@ public enum RfpType1 [JsonProperty("SERVICE_PROVIDER")] ServiceProvider, } - public static class RfpType1Extension + public static class RfpTypeExtension { - public static string Value(this RfpType1 value) + public static string Value(this RfpType value) { return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); } - public static RfpType1 ToEnum(this string value) + public static RfpType ToEnum(this string value) { - foreach (var field in typeof(RfpType1).GetFields()) + foreach (var field in typeof(RfpType).GetFields()) { var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); if (attributes.Length == 0) @@ -47,14 +47,14 @@ public static RfpType1 ToEnum(this string value) { var enumVal = field.GetValue(null); - if (enumVal is RfpType1) + if (enumVal is RfpType) { - return (RfpType1)enumVal; + return (RfpType)enumVal; } } } - throw new Exception($"Unknown value {value} for enum RfpType1"); + throw new Exception($"Unknown value {value} for enum RfpType"); } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgram.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgram.cs index ef7c07653..cbe6c1852 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgram.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgram.cs @@ -120,6 +120,6 @@ public class TravelProgram /// A list of program specific questions for the supplier to answer as part of their proposal. /// [JsonProperty("questions")] - public List? Questions { get; set; } + public List? Questions { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestion.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestion.cs index ffb39a846..ce2f68298 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestion.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestion.cs @@ -12,84 +12,34 @@ namespace Cvent.SDK.Models.Components using Cvent.SDK.Models.Components; using Cvent.SDK.Utils; using Newtonsoft.Json; - using System; - using System.Collections.Generic; /// - /// A question, defined by the program, for the supplier to answer as part of their proposal. + /// A question, defined by the account, for the supplier to answer as part of their proposal. /// public class TravelProgramQuestion { /// - /// The ISO 8601 zoned date time when this record was created. + /// The unique ID of the custom question. /// - [JsonProperty("created")] - public DateTime? Created { get; set; } + [JsonProperty("questionId")] + public string? QuestionId { get; set; } /// - /// The identifier of the user that created this record. + /// Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. /// - [JsonProperty("createdBy")] - public string? CreatedBy { get; set; } + [JsonProperty("section")] + public QuestionSection? Section { get; set; } /// - /// The ISO 8601 zoned date time when this record was updated. - /// - [JsonProperty("lastModified")] - public DateTime? LastModified { get; set; } - - /// - /// The identifier of the user that last updated this record. - /// - [JsonProperty("lastModifiedBy")] - public string? LastModifiedBy { get; set; } - - /// - /// Travel program that the question belongs to. - /// - [JsonProperty("travelProgram")] - public TravelProgramQuestionTravelProgram? TravelProgram { get; set; } - - /// - /// The unique ID of the question. - /// - [JsonProperty("id")] - public string? Id { get; set; } - - /// - /// The text of the question. - /// - [JsonProperty("text")] - public string? Text { get; set; } - - /// - /// Is this question required by default? + /// Is it required for suppliers to answer this question in their proposal? /// [JsonProperty("required")] public bool? Required { get; set; } /// - /// Code representing the type of response supported. Single represents a simple single value response, and choice means the user will be given a set of options for selection. - /// - [JsonProperty("responseType")] - public QuestionResponseType? ResponseType { get; set; } - - /// - /// Code representing the expected data type of the question response. - /// - [JsonProperty("responseDataType")] - public QuestionResponseDataType? ResponseDataType { get; set; } - - /// - /// Code representing the format the text of the response will be in. - /// - [JsonProperty("responseFormat")] - public QuestionResponseFormat? ResponseFormat { get; set; } - - /// - /// A list of options for the question. This only applies when responseType is 'choice' + /// The sequence number of the question within the proposal. /// - [JsonProperty("responseChoices")] - public List? ResponseChoices { get; set; } + [JsonProperty("sequence")] + public long? Sequence { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestion1.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestion1.cs deleted file mode 100644 index 676f92fe4..000000000 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelProgramQuestion1.cs +++ /dev/null @@ -1,45 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Cvent.SDK.Models.Components -{ - using Cvent.SDK.Models.Components; - using Cvent.SDK.Utils; - using Newtonsoft.Json; - - /// - /// A question, defined by the account, for the supplier to answer as part of their proposal. - /// - public class TravelProgramQuestion1 - { - /// - /// The unique ID of the custom question. - /// - [JsonProperty("questionId")] - public string? QuestionId { get; set; } - - /// - /// Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. - /// - [JsonProperty("section")] - public QuestionSection? Section { get; set; } - - /// - /// Is it required for suppliers to answer this question in their proposal? - /// - [JsonProperty("required")] - public bool? Required { get; set; } - - /// - /// The sequence number of the question within the proposal. - /// - [JsonProperty("sequence")] - public long? Sequence { get; set; } - } -} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/TravelType.cs b/packages/csharp/src/Cvent/SDK/Models/Components/TravelType.cs index d6e871258..5d8034bae 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/TravelType.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Components/TravelType.cs @@ -14,7 +14,7 @@ namespace Cvent.SDK.Models.Components using System; /// - /// Type of travel alternate question. + /// Type of travel alternate question. Supported values: AirRequest = attendee requested air travel; HotelRequest = attendee requested hotel travel; AirActual = actual air travel booked; GroupFlight = group flight booking; TrainRequest = attendee requested train travel; AirAndTrainRequest = attendee did not want air or train travel and submitted an alternate response. /// public enum TravelType { @@ -22,6 +22,8 @@ public enum TravelType [JsonProperty("HotelRequest")] HotelRequest, [JsonProperty("AirActual")] AirActual, [JsonProperty("GroupFlight")] GroupFlight, + [JsonProperty("TrainRequest")] TrainRequest, + [JsonProperty("AirAndTrainRequest")] AirAndTrainRequest, } public static class TravelTypeExtension diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityAVCapability.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityAVCapability.cs new file mode 100644 index 000000000..c043cd0a2 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityAVCapability.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Audio-visual capability available at a venue.
+ ///
+ /// Values:
+ /// - `AV_EQUIPMENT` — AV Equipment
+ /// - `HIGH_SPEED_INTERNET` — High Speed Internet
+ /// - `ONSITE_AV_STAFF` — Onsite AV Staff. + ///
+ public enum VenueAmenityAVCapability + { + [JsonProperty("AV_EQUIPMENT")] AvEquipment, + [JsonProperty("HIGH_SPEED_INTERNET")] HighSpeedInternet, + [JsonProperty("ONSITE_AV_STAFF")] OnsiteAvStaff, + } + + public static class VenueAmenityAVCapabilityExtension + { + public static string Value(this VenueAmenityAVCapability value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VenueAmenityAVCapability ToEnum(this string value) + { + foreach (var field in typeof(VenueAmenityAVCapability).GetFields()) + { + var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); + if (attributes.Length == 0) + { + continue; + } + + var attribute = attributes[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); + + if (enumVal is VenueAmenityAVCapability) + { + return (VenueAmenityAVCapability)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VenueAmenityAVCapability"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityAlcohol.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityAlcohol.cs new file mode 100644 index 000000000..e2b6d6b81 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityAlcohol.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Alcohol-related policy at a venue. + /// + public enum VenueAmenityAlcohol + { + [JsonProperty("ALCOHOL_ALLOWED")] AlcoholAllowed, + [JsonProperty("BRING_YOUR_OWN")] BringYourOwn, + [JsonProperty("PREFERRED_VENDORS_ONLY")] PreferredVendorsOnly, + } + + public static class VenueAmenityAlcoholExtension + { + public static string Value(this VenueAmenityAlcohol value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VenueAmenityAlcohol ToEnum(this string value) + { + foreach (var field in typeof(VenueAmenityAlcohol).GetFields()) + { + var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); + if (attributes.Length == 0) + { + continue; + } + + var attribute = attributes[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); + + if (enumVal is VenueAmenityAlcohol) + { + return (VenueAmenityAlcohol)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VenueAmenityAlcohol"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityAvCapabilityItem.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityAvCapabilityItem.cs new file mode 100644 index 000000000..348b9c65e --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityAvCapabilityItem.cs @@ -0,0 +1,38 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// An AV capability selection for a venue. An internet speed may be provided when the selected amenity is `HIGH_SPEED_INTERNET`. + /// + public class VenueAmenityAvCapabilityItem + { + /// + /// Audio-visual capability available at a venue.
+ ///
+ /// Values:
+ /// - `AV_EQUIPMENT` — AV Equipment
+ /// - `HIGH_SPEED_INTERNET` — High Speed Internet
+ /// - `ONSITE_AV_STAFF` — Onsite AV Staff. + ///
+ [JsonProperty("amenity")] + public VenueAmenityAVCapability Amenity { get; set; } = default!; + + /// + /// Internet connection speed in Mbps. Applicable only when `amenity` is `HIGH_SPEED_INTERNET`. + /// + [JsonProperty("speed")] + public long? Speed { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityBusinessService.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityBusinessService.cs new file mode 100644 index 000000000..1e40babc6 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityBusinessService.cs @@ -0,0 +1,59 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Business or communications service available at a venue. + /// + public enum VenueAmenityBusinessService + { + [JsonProperty("AUDIOVIDEO_CAPABILITIES")] AudiovideoCapabilities, + [JsonProperty("BUSINESS_CENTER")] BusinessCenter, + [JsonProperty("VIDEO_CONFERENCING")] VideoConferencing, + [JsonProperty("VIP_SERVICES")] VipServices, + } + + public static class VenueAmenityBusinessServiceExtension + { + public static string Value(this VenueAmenityBusinessService value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VenueAmenityBusinessService ToEnum(this string value) + { + foreach (var field in typeof(VenueAmenityBusinessService).GetFields()) + { + var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); + if (attributes.Length == 0) + { + continue; + } + + var attribute = attributes[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); + + if (enumVal is VenueAmenityBusinessService) + { + return (VenueAmenityBusinessService)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VenueAmenityBusinessService"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityCateringDetail.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityCateringDetail.cs new file mode 100644 index 000000000..dcef4b38b --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityCateringDetail.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Catering option or policy offered at a venue. + /// + public enum VenueAmenityCateringDetail + { + [JsonProperty("KITCHEN_ONSITE")] KitchenOnsite, + [JsonProperty("ONSITE_CATERING")] OnsiteCatering, + [JsonProperty("OUTSIDE_CATERERS_ALLOWED")] OutsideCaterersAllowed, + } + + public static class VenueAmenityCateringDetailExtension + { + public static string Value(this VenueAmenityCateringDetail value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VenueAmenityCateringDetail ToEnum(this string value) + { + foreach (var field in typeof(VenueAmenityCateringDetail).GetFields()) + { + var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); + if (attributes.Length == 0) + { + continue; + } + + var attribute = attributes[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); + + if (enumVal is VenueAmenityCateringDetail) + { + return (VenueAmenityCateringDetail)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VenueAmenityCateringDetail"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityEquipment.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityEquipment.cs new file mode 100644 index 000000000..ece675fe0 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityEquipment.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Physical equipment or staging resource available for event use at a venue. + /// + public enum VenueAmenityEquipment + { + [JsonProperty("DANCE_FLOORS")] DanceFloors, + [JsonProperty("LOADING_DOCK_AVAILABLE")] LoadingDockAvailable, + [JsonProperty("PIANO")] Piano, + [JsonProperty("PORTABLE_HEATERS")] PortableHeaters, + [JsonProperty("PORTABLE_WALLS")] PortableWalls, + [JsonProperty("STAGING")] Staging, + } + + public static class VenueAmenityEquipmentExtension + { + public static string Value(this VenueAmenityEquipment value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VenueAmenityEquipment ToEnum(this string value) + { + foreach (var field in typeof(VenueAmenityEquipment).GetFields()) + { + var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); + if (attributes.Length == 0) + { + continue; + } + + var attribute = attributes[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); + + if (enumVal is VenueAmenityEquipment) + { + return (VenueAmenityEquipment)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VenueAmenityEquipment"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityFacilityInfo.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityFacilityInfo.cs new file mode 100644 index 000000000..1eb5e80d8 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityFacilityInfo.cs @@ -0,0 +1,69 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// General facility feature or on-site service available at a venue. + /// + public enum VenueAmenityFacilityInfo + { + [JsonProperty("ALL_INCLUSIVE")] AllInclusive, + [JsonProperty("BUSINESS_CENTER")] BusinessCenter, + [JsonProperty("CASINO")] Casino, + [JsonProperty("EXTENDED_STAY")] ExtendedStay, + [JsonProperty("FREE_AIRPORT_SHUTTLE")] FreeAirportShuttle, + [JsonProperty("GIFT_SHOP_ON_SITE")] GiftShopOnSite, + [JsonProperty("INTERNET")] Internet, + [JsonProperty("ONSITE_CATERING")] OnsiteCatering, + [JsonProperty("OUTSIDE_CATERERS_ALLOWED")] OutsideCaterersAllowed, + [JsonProperty("PETS_WELCOME")] PetsWelcome, + [JsonProperty("RENTAL_CAR_SERVICES")] RentalCarServices, + [JsonProperty("RESTAURANT_ON_SITE")] RestaurantOnSite, + [JsonProperty("SECURITY_STAFF_ONSITE")] SecurityStaffOnsite, + [JsonProperty("WHEELCHAIR_ACCESSIBLE")] WheelchairAccessible, + } + + public static class VenueAmenityFacilityInfoExtension + { + public static string Value(this VenueAmenityFacilityInfo value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VenueAmenityFacilityInfo ToEnum(this string value) + { + foreach (var field in typeof(VenueAmenityFacilityInfo).GetFields()) + { + var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); + if (attributes.Length == 0) + { + continue; + } + + var attribute = attributes[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); + + if (enumVal is VenueAmenityFacilityInfo) + { + return (VenueAmenityFacilityInfo)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VenueAmenityFacilityInfo"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityFacilitySpace.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityFacilitySpace.cs new file mode 100644 index 000000000..e3b44de09 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityFacilitySpace.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Facility space type available at a venue.
+ ///
+ /// Values:
+ /// - `OUTDOOR_SPACE` — Outdoor Space
+ /// - `PRIVATE_SPACE` — Private Space
+ /// - `SEMI_PRIVATE_SPACE` — Semi-Private Space. + ///
+ public enum VenueAmenityFacilitySpace + { + [JsonProperty("OUTDOOR_SPACE")] OutdoorSpace, + [JsonProperty("PRIVATE_SPACE")] PrivateSpace, + [JsonProperty("SEMI_PRIVATE_SPACE")] SemiPrivateSpace, + } + + public static class VenueAmenityFacilitySpaceExtension + { + public static string Value(this VenueAmenityFacilitySpace value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VenueAmenityFacilitySpace ToEnum(this string value) + { + foreach (var field in typeof(VenueAmenityFacilitySpace).GetFields()) + { + var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); + if (attributes.Length == 0) + { + continue; + } + + var attribute = attributes[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); + + if (enumVal is VenueAmenityFacilitySpace) + { + return (VenueAmenityFacilitySpace)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VenueAmenityFacilitySpace"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityFacilitySpaceItem.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityFacilitySpaceItem.cs new file mode 100644 index 000000000..cacfb4c97 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityFacilitySpaceItem.cs @@ -0,0 +1,38 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// A facility space entry for a venue, with an optional area measurement expressed in the venue's configured unit of measurement. + /// + public class VenueAmenityFacilitySpaceItem + { + /// + /// Facility space type available at a venue.
+ ///
+ /// Values:
+ /// - `OUTDOOR_SPACE` — Outdoor Space
+ /// - `PRIVATE_SPACE` — Private Space
+ /// - `SEMI_PRIVATE_SPACE` — Semi-Private Space. + ///
+ [JsonProperty("amenity")] + public VenueAmenityFacilitySpace Amenity { get; set; } = default!; + + /// + /// Area of the space in the venue's configured unit of measurement. + /// + [JsonProperty("value")] + public long? Value { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityParking.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityParking.cs new file mode 100644 index 000000000..d4559521f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityParking.cs @@ -0,0 +1,67 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Parking type available at or near a venue.
+ ///
+ /// Values:
+ /// - `BUS_PARKING_AVAILABLE` — Bus Parking
+ /// - `COMPLIMENTARY_PARKING_PROVIDED` — Complimentary Parking
+ /// - `PAID_PARKING_AVAILABLE` — Paid Parking
+ /// - `STREET_PARKING` — Street Parking
+ /// - `VALET_PARKING_AVAILABLE` — Valet Parking. + ///
+ public enum VenueAmenityParking + { + [JsonProperty("BUS_PARKING_AVAILABLE")] BusParkingAvailable, + [JsonProperty("COMPLIMENTARY_PARKING_PROVIDED")] ComplimentaryParkingProvided, + [JsonProperty("PAID_PARKING_AVAILABLE")] PaidParkingAvailable, + [JsonProperty("STREET_PARKING")] StreetParking, + [JsonProperty("VALET_PARKING_AVAILABLE")] ValetParkingAvailable, + } + + public static class VenueAmenityParkingExtension + { + public static string Value(this VenueAmenityParking value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VenueAmenityParking ToEnum(this string value) + { + foreach (var field in typeof(VenueAmenityParking).GetFields()) + { + var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); + if (attributes.Length == 0) + { + continue; + } + + var attribute = attributes[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); + + if (enumVal is VenueAmenityParking) + { + return (VenueAmenityParking)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VenueAmenityParking"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityParkingItem.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityParkingItem.cs new file mode 100644 index 000000000..d128760c5 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityParkingItem.cs @@ -0,0 +1,40 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + /// + /// A parking amenity selection for a venue. An optional daily rate may be provided for paid parking types. + /// + public class VenueAmenityParkingItem + { + /// + /// Parking type available at or near a venue.
+ ///
+ /// Values:
+ /// - `BUS_PARKING_AVAILABLE` — Bus Parking
+ /// - `COMPLIMENTARY_PARKING_PROVIDED` — Complimentary Parking
+ /// - `PAID_PARKING_AVAILABLE` — Paid Parking
+ /// - `STREET_PARKING` — Street Parking
+ /// - `VALET_PARKING_AVAILABLE` — Valet Parking. + ///
+ [JsonProperty("amenity")] + public VenueAmenityParking Amenity { get; set; } = default!; + + /// + /// Daily parking cost per vehicle, in the venue's local currency. Applicable only when `amenity` is `PAID_PARKING_AVAILABLE` or `VALET_PARKING_AVAILABLE`. + /// + [JsonProperty("cost")] + public double? Cost { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityProvisionPolicy.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityProvisionPolicy.cs new file mode 100644 index 000000000..bdabfa6f5 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityProvisionPolicy.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Provision policy for a venue amenity or service. + /// + public enum VenueAmenityProvisionPolicy + { + [JsonProperty("AVAILABLE")] Available, + [JsonProperty("BRING_YOUR_OWN")] BringYourOwn, + [JsonProperty("PREFERRED_VENDORS_ONLY")] PreferredVendorsOnly, + } + + public static class VenueAmenityProvisionPolicyExtension + { + public static string Value(this VenueAmenityProvisionPolicy value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VenueAmenityProvisionPolicy ToEnum(this string value) + { + foreach (var field in typeof(VenueAmenityProvisionPolicy).GetFields()) + { + var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); + if (attributes.Length == 0) + { + continue; + } + + var attribute = attributes[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); + + if (enumVal is VenueAmenityProvisionPolicy) + { + return (VenueAmenityProvisionPolicy)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VenueAmenityProvisionPolicy"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityRecreationalActivity.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityRecreationalActivity.cs new file mode 100644 index 000000000..2f5b55586 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityRecreationalActivity.cs @@ -0,0 +1,64 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Recreational facility or leisure activity available at a venue. + /// + public enum VenueAmenityRecreationalActivity + { + [JsonProperty("GOLF_ON_GROUNDS")] GolfOnGrounds, + [JsonProperty("HEALTH_CLUB")] HealthClub, + [JsonProperty("INDOOR_POOL")] IndoorPool, + [JsonProperty("OUTDOOR_POOL")] OutdoorPool, + [JsonProperty("SKIING")] Skiing, + [JsonProperty("SPASALON")] Spasalon, + [JsonProperty("TENNIS")] Tennis, + [JsonProperty("WATER_SPORTS")] WaterSports, + [JsonProperty("WHIRLPOOL")] Whirlpool, + } + + public static class VenueAmenityRecreationalActivityExtension + { + public static string Value(this VenueAmenityRecreationalActivity value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VenueAmenityRecreationalActivity ToEnum(this string value) + { + foreach (var field in typeof(VenueAmenityRecreationalActivity).GetFields()) + { + var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); + if (attributes.Length == 0) + { + continue; + } + + var attribute = attributes[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); + + if (enumVal is VenueAmenityRecreationalActivity) + { + return (VenueAmenityRecreationalActivity)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VenueAmenityRecreationalActivity"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityRoomFeature.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityRoomFeature.cs new file mode 100644 index 000000000..5b24f03ff --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityRoomFeature.cs @@ -0,0 +1,67 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// In-room feature or guest service available at a venue. + /// + public enum VenueAmenityRoomFeature + { + [JsonProperty("CONCIERGE_SERVICES")] ConciergeServices, + [JsonProperty("FREE_LOCAL_CALLS")] FreeLocalCalls, + [JsonProperty("FREE_TOLL_FREE_CALLS")] FreeTollFreeCalls, + [JsonProperty("GARDEN_VIEWS")] GardenViews, + [JsonProperty("INTERNET")] Internet, + [JsonProperty("LAUNDRY")] Laundry, + [JsonProperty("LUGGAGE_STORAGE")] LuggageStorage, + [JsonProperty("MOUNTAIN_VIEWS")] MountainViews, + [JsonProperty("OCEANWATER_VIEWS")] OceanwaterViews, + [JsonProperty("ROOM_SERVICE")] RoomService, + [JsonProperty("URBAN_VIEWS")] UrbanViews, + [JsonProperty("VOICE_MAIL_BOX")] VoiceMailBox, + } + + public static class VenueAmenityRoomFeatureExtension + { + public static string Value(this VenueAmenityRoomFeature value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VenueAmenityRoomFeature ToEnum(this string value) + { + foreach (var field in typeof(VenueAmenityRoomFeature).GetFields()) + { + var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); + if (attributes.Length == 0) + { + continue; + } + + var attribute = attributes[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); + + if (enumVal is VenueAmenityRoomFeature) + { + return (VenueAmenityRoomFeature)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VenueAmenityRoomFeature"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityTransportation.cs b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityTransportation.cs new file mode 100644 index 000000000..762f03b65 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Components/VenueAmenityTransportation.cs @@ -0,0 +1,60 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Components +{ + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + + /// + /// Transportation option by which a venue is accessible. + /// + public enum VenueAmenityTransportation + { + [JsonProperty("BUS")] Bus, + [JsonProperty("SHUTTLE")] Shuttle, + [JsonProperty("SUBWAY")] Subway, + [JsonProperty("TAXI")] Taxi, + [JsonProperty("TRAIN")] Train, + } + + public static class VenueAmenityTransportationExtension + { + public static string Value(this VenueAmenityTransportation value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString()) [0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static VenueAmenityTransportation ToEnum(this string value) + { + foreach (var field in typeof(VenueAmenityTransportation).GetFields()) + { + var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); + if (attributes.Length == 0) + { + continue; + } + + var attribute = attributes[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); + + if (enumVal is VenueAmenityTransportation) + { + return (VenueAmenityTransportation)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum VenueAmenityTransportation"); + } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/CreateLeadCatcherRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/CreateLeadCatcherRequest.cs new file mode 100644 index 000000000..f804d7831 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/CreateLeadCatcherRequest.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + + public class CreateLeadCatcherRequest + { + /// + /// Unique Cvent based identifier for a Venue. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId")] + public string VenueId { get; set; } = default!; + + [SpeakeasyMetadata("request:mediaType=application/json")] + public LeadCatcher LeadCatcher { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/CreateLeadCatcherResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/CreateLeadCatcherResponse.cs new file mode 100644 index 000000000..59bc1922a --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/CreateLeadCatcherResponse.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + + public class CreateLeadCatcherResponse + { + [JsonProperty("-")] + public HTTPMetadata HttpMeta { get; set; } = default!; + + /// + /// Lead catcher created successfully. + /// + public ExistingLeadCatcher? ExistingLeadCatcher { get; set; } + + public Dictionary> Headers { get; set; } = new Dictionary>(); + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/DeleteLeadCatcherRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/DeleteLeadCatcherRequest.cs new file mode 100644 index 000000000..653d2e055 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/DeleteLeadCatcherRequest.cs @@ -0,0 +1,28 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Utils; + + public class DeleteLeadCatcherRequest + { + /// + /// Unique Cvent based identifier for a Venue. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId")] + public string VenueId { get; set; } = default!; + + /// + /// Unique identifier for a lead catcher. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=leadCatcherId")] + public string LeadCatcherId { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/DeleteLeadCatcherResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/DeleteLeadCatcherResponse.cs new file mode 100644 index 000000000..c1248edde --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/DeleteLeadCatcherResponse.cs @@ -0,0 +1,21 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + public class DeleteLeadCatcherResponse + { + [JsonProperty("-")] + public HTTPMetadata HttpMeta { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetHousingEventHotelAvailabilityRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetHousingEventHotelAvailabilityRequest.cs index f32e0e4f4..97fc4a33c 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/GetHousingEventHotelAvailabilityRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetHousingEventHotelAvailabilityRequest.cs @@ -51,7 +51,7 @@ public class GetHousingEventHotelAvailabilityRequest public string? Filter { get; set; } /// - /// Limit to this number of search results. Maximum of 50, default of 10. + /// Limit to this number of search results. Maximum of 200, default of 10. /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=limit")] public long? Limit { get; set; } = 10; diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetLeadCatcherOverviewRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetLeadCatcherOverviewRequest.cs new file mode 100644 index 000000000..052cd6d3c --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetLeadCatcherOverviewRequest.cs @@ -0,0 +1,28 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Utils; + + public class GetLeadCatcherOverviewRequest + { + /// + /// Unique Cvent based identifier for a Venue. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId")] + public string VenueId { get; set; } = default!; + + /// + /// Unique identifier for a lead catcher. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=leadCatcherId")] + public string LeadCatcherId { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Components/ContactFields2.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetLeadCatcherOverviewResponse.cs similarity index 61% rename from packages/csharp/src/Cvent/SDK/Models/Components/ContactFields2.cs rename to packages/csharp/src/Cvent/SDK/Models/Requests/GetLeadCatcherOverviewResponse.cs index 2995595a6..1a9f02327 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Components/ContactFields2.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetLeadCatcherOverviewResponse.cs @@ -7,22 +7,20 @@ // //------------------------------------------------------------------------------ #nullable enable -namespace Cvent.SDK.Models.Components +namespace Cvent.SDK.Models.Requests { using Cvent.SDK.Models.Components; using Cvent.SDK.Utils; using Newtonsoft.Json; - using System.Collections.Generic; - /// - /// An array of standard contact fields supported by Cvent. - /// - public class ContactFields2 + public class GetLeadCatcherOverviewResponse { + [JsonProperty("-")] + public HTTPMetadata HttpMeta { get; set; } = default!; + /// - /// Collection of standard contact fields. + /// Successfully retrieved the lead catcher overview. /// - [JsonProperty("data")] - public List Data { get; set; } = default!; + public LeadCatcherOverview? LeadCatcherOverview { get; set; } } } \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetVenueAmenitiesRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetVenueAmenitiesRequest.cs new file mode 100644 index 000000000..42d764e65 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetVenueAmenitiesRequest.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Utils; + + public class GetVenueAmenitiesRequest + { + /// + /// Unique Cvent based identifier for a Venue. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId")] + public string VenueId { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/GetVenueAmenitiesResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/GetVenueAmenitiesResponse.cs new file mode 100644 index 000000000..41dd4a0f4 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/GetVenueAmenitiesResponse.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + public class GetVenueAmenitiesResponse + { + [JsonProperty("-")] + public HTTPMetadata HttpMeta { get; set; } = default!; + + /// + /// Successfully retrieved the venue amenities. + /// + public ExistingVenueAmenities? ExistingVenueAmenities { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/ListAttendeesPostFilterRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/ListAttendeesPostFilterRequest.cs index 119383b23..be3bfeb62 100644 --- a/packages/csharp/src/Cvent/SDK/Models/Requests/ListAttendeesPostFilterRequest.cs +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/ListAttendeesPostFilterRequest.cs @@ -88,7 +88,7 @@ public class ListAttendeesPostFilterRequest public bool? IncludeDeletedGuests { get; set; } = false; /// - /// The request body accepts filters to refine the data returned. Refer to available filter details in GET List Attendees. + /// The request body accepts filters to refine the data returned. Refer to available filter details in GET List Attendees. /// [SpeakeasyMetadata("request:mediaType=application/json")] public Filter? Filter { get; set; } diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/ListLeadCatchersOverviewRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/ListLeadCatchersOverviewRequest.cs new file mode 100644 index 000000000..6f536e927 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/ListLeadCatchersOverviewRequest.cs @@ -0,0 +1,35 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Utils; + + public class ListLeadCatchersOverviewRequest + { + /// + /// Unique Cvent based identifier for a Venue. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId")] + public string VenueId { get; set; } = default!; + + /// + /// The maximum number of records to return per page. + /// + [SpeakeasyMetadata("queryParam:style=form,explode=true,name=limit")] + public long? Limit { get; set; } = 100; + + /// + /// The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
+ /// This will override any other pageable parameters provided. + ///
+ [SpeakeasyMetadata("queryParam:style=form,explode=true,name=token")] + public string? Token { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/ListLeadCatchersOverviewResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/ListLeadCatchersOverviewResponse.cs new file mode 100644 index 000000000..dc0eb3088 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/ListLeadCatchersOverviewResponse.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + using System; + using System.Threading.Tasks; + + public class ListLeadCatchersOverviewResponse + { + public Func>? Next { get; set; } + [JsonProperty("-")] + public HTTPMetadata HttpMeta { get; set; } = default!; + + /// + /// Successfully retrieved the overview of lead catchers. + /// + public LeadCatchersOverviewResponse? LeadCatchersOverviewResponse { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/PatchLeadCatcherRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/PatchLeadCatcherRequest.cs new file mode 100644 index 000000000..4a36aa30f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/PatchLeadCatcherRequest.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + + public class PatchLeadCatcherRequest + { + /// + /// Unique Cvent based identifier for a Venue. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId")] + public string VenueId { get; set; } = default!; + + /// + /// Unique identifier for a lead catcher. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=leadCatcherId")] + public string LeadCatcherId { get; set; } = default!; + + [SpeakeasyMetadata("request:mediaType=application/merge-patch+json")] + public LeadCatcherPatch LeadCatcherPatch { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/PatchLeadCatcherResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/PatchLeadCatcherResponse.cs new file mode 100644 index 000000000..b9ca28aaf --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/PatchLeadCatcherResponse.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + public class PatchLeadCatcherResponse + { + [JsonProperty("-")] + public HTTPMetadata HttpMeta { get; set; } = default!; + + /// + /// Successfully updated the lead catcher. The response contains only the fields that were provided in the request payload. + /// + public LeadCatcherPatch? LeadCatcherPatch { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateLeadCatcherRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateLeadCatcherRequest.cs new file mode 100644 index 000000000..c6a04ef9f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateLeadCatcherRequest.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + + public class UpdateLeadCatcherRequest + { + /// + /// Unique Cvent based identifier for a Venue. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId")] + public string VenueId { get; set; } = default!; + + /// + /// Unique identifier for a lead catcher. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=leadCatcherId")] + public string LeadCatcherId { get; set; } = default!; + + [SpeakeasyMetadata("request:mediaType=application/json")] + public ExistingLeadCatcherInput ExistingLeadCatcher { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateLeadCatcherResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateLeadCatcherResponse.cs new file mode 100644 index 000000000..f07a9154f --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateLeadCatcherResponse.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + public class UpdateLeadCatcherResponse + { + [JsonProperty("-")] + public HTTPMetadata HttpMeta { get; set; } = default!; + + /// + /// Successfully updated the lead catcher. + /// + public ExistingLeadCatcher? ExistingLeadCatcher { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateVenueAmenitiesRequest.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateVenueAmenitiesRequest.cs new file mode 100644 index 000000000..af79bcdaa --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateVenueAmenitiesRequest.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + + public class UpdateVenueAmenitiesRequest + { + /// + /// Unique Cvent based identifier for a Venue. + /// + [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId")] + public string VenueId { get; set; } = default!; + + [SpeakeasyMetadata("request:mediaType=application/json")] + public ExistingVenueAmenitiesInput ExistingVenueAmenities { get; set; } = default!; + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateVenueAmenitiesResponse.cs b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateVenueAmenitiesResponse.cs new file mode 100644 index 000000000..775f45954 --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/Models/Requests/UpdateVenueAmenitiesResponse.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK.Models.Requests +{ + using Cvent.SDK.Models.Components; + using Cvent.SDK.Utils; + using Newtonsoft.Json; + + public class UpdateVenueAmenitiesResponse + { + [JsonProperty("-")] + public HTTPMetadata HttpMeta { get; set; } = default!; + + /// + /// Successfully updated the venue amenities. + /// + public ExistingVenueAmenities? ExistingVenueAmenities { get; set; } + } +} \ No newline at end of file diff --git a/packages/csharp/src/Cvent/SDK/SDKConfig.cs b/packages/csharp/src/Cvent/SDK/SDKConfig.cs index 2122e75ec..618f5eb66 100644 --- a/packages/csharp/src/Cvent/SDK/SDKConfig.cs +++ b/packages/csharp/src/Cvent/SDK/SDKConfig.cs @@ -46,7 +46,7 @@ public SDKConfig(ICventSDKHttpClient? client = null) Client = client ?? new CventSDKHttpClient(); ServerUrl = ""; ServerIndex = 0; - UserAgent = "speakeasy-sdk/csharp 1.6.5 2.859.2 ea Cvent.SDK"; + UserAgent = "speakeasy-sdk/csharp 1.6.6 2.859.2 ea Cvent.SDK"; SecuritySource = null; Hooks = new SDKHooks(); RetryConfig = null; diff --git a/packages/csharp/src/Cvent/SDK/Utils/Constants.cs b/packages/csharp/src/Cvent/SDK/Utils/Constants.cs index 02c2cae1a..926d60282 100644 --- a/packages/csharp/src/Cvent/SDK/Utils/Constants.cs +++ b/packages/csharp/src/Cvent/SDK/Utils/Constants.cs @@ -22,7 +22,7 @@ public static class Constants /// /// The version of the SDK. /// - public const string SdkVersion = "1.6.5"; + public const string SdkVersion = "1.6.6"; /// /// The version of the SDK generator used to create this SDK. diff --git a/packages/csharp/src/Cvent/SDK/VenueContent.cs b/packages/csharp/src/Cvent/SDK/VenueContent.cs index e777f2b44..e97ad1b1a 100644 --- a/packages/csharp/src/Cvent/SDK/VenueContent.cs +++ b/packages/csharp/src/Cvent/SDK/VenueContent.cs @@ -29,6 +29,48 @@ namespace Cvent.SDK /// public interface IVenueContent { + /// + /// Get Venue Amenities. + /// + /// + /// Returns the current amenity selections for the specified venue.
+ ///
+ /// Not applicable to CVB/DMC or Restaurant venues. + ///
+ /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public Task GetVenueAmenitiesAsync( + GetVenueAmenitiesRequest request, + RetryConfig? retryConfig = null + ); + + /// + /// Update Venue Amenities. + /// + /// + /// Updates the amenity selections for the specified venue, replacing all existing selections with those provided in the request body. Sections absent from the request body or submitted as empty arrays will have their selections cleared.
+ ///
+ /// Not applicable to CVB/DMC or Restaurant venues. + ///
+ /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public Task UpdateVenueAmenitiesAsync( + UpdateVenueAmenitiesRequest request, + RetryConfig? retryConfig = null + ); + /// /// List Venue Attractions. /// @@ -316,6 +358,348 @@ public VenueContent(SDKConfig config) SDKConfiguration = config; } + /// + /// Get Venue Amenities. + /// + /// + /// Returns the current amenity selections for the specified venue.
+ ///
+ /// Not applicable to CVB/DMC or Restaurant venues. + ///
+ /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public async Task GetVenueAmenitiesAsync( + GetVenueAmenitiesRequest request, + RetryConfig? retryConfig = null + ) + { + if (request == null) throw new ArgumentNullException(nameof(request)); + + string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); + var urlString = URLBuilder.Build(baseUrl, "/venues/{venueId}/amenities", request, null); + + var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString); + httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent); + + if (!httpRequest.Headers.Contains("Accept")) + { + httpRequest.Headers.Add("Accept", "application/json"); + } + + if (SDKConfiguration.SecuritySource != null) + { + httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); + } + + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "getVenueAmenities", new List { "venue/amenities:read" }, SDKConfiguration.SecuritySource); + + httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); + if (retryConfig == null) + { + if (this.SDKConfiguration.RetryConfig != null) + { + retryConfig = this.SDKConfiguration.RetryConfig; + } + else + { + var backoff = new BackoffStrategy( + initialIntervalMs: 2000L, + maxIntervalMs: 16000L, + maxElapsedTimeMs: 40000L, + exponent: 2 + ); + retryConfig = new RetryConfig( + strategy: RetryConfig.RetryStrategy.BACKOFF, + backoff: backoff, + retryConnectionErrors: true + ); + } + } + + List statusCodes = new List { + "502", + "503", + "504", + }; + + Func> retrySend = async () => + { + var _httpRequest = await SDKConfiguration.Client.CloneAsync(httpRequest); + return await SDKConfiguration.Client.SendAsync(_httpRequest); + }; + var retries = new Cvent.SDK.Utils.Retries.Retries(retrySend, retryConfig, statusCodes); + + HttpResponseMessage httpResponse; + try + { + httpResponse = await retries.Run(); + int _statusCode = (int)httpResponse.StatusCode; + + if (_statusCode >= 400 && _statusCode < 500 || _statusCode >= 500 && _statusCode < 600) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), httpResponse, null); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + } + } + catch (Exception _hookError) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + else + { + throw; + } + } + + httpResponse = await this.SDKConfiguration.Hooks.AfterSuccessAsync(new AfterSuccessContext(hookCtx), httpResponse); + + var contentType = httpResponse.Content.Headers.ContentType?.MediaType; + int responseStatusCode = (int)httpResponse.StatusCode; + if (responseStatusCode == 200) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + ExistingVenueAmenities obj; + try + { + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into ExistingVenueAmenities.", httpRequest, httpResponse, httpResponseBody, ex); + } + + var response = new GetVenueAmenitiesResponse() { + HttpMeta = new Models.Components.HTTPMetadata() { + Response = httpResponse, + Request = httpRequest + } + }; + response.ExistingVenueAmenities = obj; + return response; + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse12Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse12Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse12(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 400 && responseStatusCode < 500) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + throw new Models.Errors.APIException("Unknown status code received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + /// + /// Update Venue Amenities. + /// + /// + /// Updates the amenity selections for the specified venue, replacing all existing selections with those provided in the request body. Sections absent from the request body or submitted as empty arrays will have their selections cleared.
+ ///
+ /// Not applicable to CVB/DMC or Restaurant venues. + ///
+ /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public async Task UpdateVenueAmenitiesAsync( + UpdateVenueAmenitiesRequest request, + RetryConfig? retryConfig = null + ) + { + if (request == null) throw new ArgumentNullException(nameof(request)); + + string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); + var urlString = URLBuilder.Build(baseUrl, "/venues/{venueId}/amenities", request, null); + + var httpRequest = new HttpRequestMessage(HttpMethod.Put, urlString); + httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent); + + if (!httpRequest.Headers.Contains("Accept")) + { + httpRequest.Headers.Add("Accept", "application/json"); + } + + var serializedBody = RequestBodySerializer.Serialize(request, "ExistingVenueAmenities", "json", false, false); + if (serializedBody != null) + { + httpRequest.Content = serializedBody; + } + + if (SDKConfiguration.SecuritySource != null) + { + httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); + } + + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "updateVenueAmenities", new List { "venue/amenities:write" }, SDKConfiguration.SecuritySource); + + httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); + if (retryConfig == null) + { + if (this.SDKConfiguration.RetryConfig != null) + { + retryConfig = this.SDKConfiguration.RetryConfig; + } + else + { + var backoff = new BackoffStrategy( + initialIntervalMs: 2000L, + maxIntervalMs: 16000L, + maxElapsedTimeMs: 40000L, + exponent: 2 + ); + retryConfig = new RetryConfig( + strategy: RetryConfig.RetryStrategy.BACKOFF, + backoff: backoff, + retryConnectionErrors: true + ); + } + } + + List statusCodes = new List { + "502", + "503", + "504", + }; + + Func> retrySend = async () => + { + var _httpRequest = await SDKConfiguration.Client.CloneAsync(httpRequest); + return await SDKConfiguration.Client.SendAsync(_httpRequest); + }; + var retries = new Cvent.SDK.Utils.Retries.Retries(retrySend, retryConfig, statusCodes); + + HttpResponseMessage httpResponse; + try + { + httpResponse = await retries.Run(); + int _statusCode = (int)httpResponse.StatusCode; + + if (_statusCode >= 400 && _statusCode < 500 || _statusCode >= 500 && _statusCode < 600) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), httpResponse, null); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + } + } + catch (Exception _hookError) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + else + { + throw; + } + } + + httpResponse = await this.SDKConfiguration.Hooks.AfterSuccessAsync(new AfterSuccessContext(hookCtx), httpResponse); + + var contentType = httpResponse.Content.Headers.ContentType?.MediaType; + int responseStatusCode = (int)httpResponse.StatusCode; + if (responseStatusCode == 200) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + ExistingVenueAmenities obj; + try + { + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into ExistingVenueAmenities.", httpRequest, httpResponse, httpResponseBody, ex); + } + + var response = new UpdateVenueAmenitiesResponse() { + HttpMeta = new Models.Components.HTTPMetadata() { + Response = httpResponse, + Request = httpRequest + } + }; + response.ExistingVenueAmenities = obj; + return response; + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse12Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse12Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse12(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 400 && responseStatusCode < 500) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + throw new Models.Errors.APIException("Unknown status code received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + /// /// List Venue Attractions. /// diff --git a/packages/csharp/src/Cvent/SDK/VenueLeads.cs b/packages/csharp/src/Cvent/SDK/VenueLeads.cs new file mode 100644 index 000000000..be7aca2fc --- /dev/null +++ b/packages/csharp/src/Cvent/SDK/VenueLeads.cs @@ -0,0 +1,1211 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace Cvent.SDK +{ + using Cvent.SDK.Hooks; + using Cvent.SDK.Models.Components; + using Cvent.SDK.Models.Errors; + using Cvent.SDK.Models.Requests; + using Cvent.SDK.Utils; + using Cvent.SDK.Utils.Retries; + using Newtonsoft.Json; + using Newtonsoft.Json.Linq; + using System; + using System.Collections.Generic; + using System.Linq; + using System.Net.Http; + using System.Net.Http.Headers; + using System.Threading.Tasks; + + /// + /// Manage inbound leads submitted to venues through Cvent's sourcing channels. + /// + public interface IVenueLeads + { + /// + /// Create Lead Catcher. + /// + /// + /// Creates a new lead catcher contact for the specified venue. Lead catchers receive email notifications when RFPs are submitted to the venue. + /// + /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public Task CreateLeadCatcherAsync( + CreateLeadCatcherRequest request, + RetryConfig? retryConfig = null + ); + + /// + /// List Lead Catchers Overview. + /// + /// + /// Returns a paginated, lightweight overview of the lead catchers for the specified venue,
+ /// containing only `id`, `firstName`, and `lastName` for each contact.
+ ///
+ /// Use this endpoint to discover the `leadCatcherId` needed for PATCH, PUT, and DELETE.
+ /// The response does not include contact details such as email address or phone number. + ///
+ /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public Task ListLeadCatchersOverviewAsync( + ListLeadCatchersOverviewRequest request, + RetryConfig? retryConfig = null + ); + + /// + /// Update Lead Catcher. + /// + /// + /// Updates the given lead catcher for the specified venue, replacing the existing lead catcher data. + /// + /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public Task UpdateLeadCatcherAsync( + UpdateLeadCatcherRequest request, + RetryConfig? retryConfig = null + ); + + /// + /// Patch Lead Catcher. + /// + /// + /// Partially updates the specified lead catcher using JSON Merge Patch, as defined in RFC 7396.
+ ///
+ /// - Only fields present in the request body are updated; omitted fields remain unchanged.
+ /// - Set a field to `null` to unset it.
+ /// - The response contains only the fields that were provided in the request payload. + ///
+ /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public Task PatchLeadCatcherAsync( + PatchLeadCatcherRequest request, + RetryConfig? retryConfig = null + ); + + /// + /// Delete Lead Catcher. + /// + /// + /// Deletes the specified lead catcher for the venue. + /// + /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public Task DeleteLeadCatcherAsync( + DeleteLeadCatcherRequest request, + RetryConfig? retryConfig = null + ); + + /// + /// Get Lead Catcher Overview. + /// + /// + /// Retrieves a lightweight overview of a specific lead catcher for the specified venue,
+ /// containing only `id`, `firstName`, and `lastName`.
+ ///
+ /// The response does not include contact details such as email address or phone number. + ///
+ /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public Task GetLeadCatcherOverviewAsync( + GetLeadCatcherOverviewRequest request, + RetryConfig? retryConfig = null + ); + } + + /// + /// Manage inbound leads submitted to venues through Cvent's sourcing channels. + /// + public class VenueLeads : IVenueLeads + { + /// + /// SDK Configuration. + /// + /// + public SDKConfig SDKConfiguration { get; private set; } + + public VenueLeads(SDKConfig config) + { + SDKConfiguration = config; + } + + /// + /// Create Lead Catcher. + /// + /// + /// Creates a new lead catcher contact for the specified venue. Lead catchers receive email notifications when RFPs are submitted to the venue. + /// + /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public async Task CreateLeadCatcherAsync( + CreateLeadCatcherRequest request, + RetryConfig? retryConfig = null + ) + { + if (request == null) throw new ArgumentNullException(nameof(request)); + + string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); + var urlString = URLBuilder.Build(baseUrl, "/venues/{venueId}/lead-catchers", request, null); + + var httpRequest = new HttpRequestMessage(HttpMethod.Post, urlString); + httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent); + + if (!httpRequest.Headers.Contains("Accept")) + { + httpRequest.Headers.Add("Accept", "application/json"); + } + + var serializedBody = RequestBodySerializer.Serialize(request, "LeadCatcher", "json", false, false); + if (serializedBody != null) + { + httpRequest.Content = serializedBody; + } + + if (SDKConfiguration.SecuritySource != null) + { + httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); + } + + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "createLeadCatcher", new List { "venue/lead-catchers:write" }, SDKConfiguration.SecuritySource); + + httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); + if (retryConfig == null) + { + if (this.SDKConfiguration.RetryConfig != null) + { + retryConfig = this.SDKConfiguration.RetryConfig; + } + else + { + var backoff = new BackoffStrategy( + initialIntervalMs: 2000L, + maxIntervalMs: 16000L, + maxElapsedTimeMs: 40000L, + exponent: 2 + ); + retryConfig = new RetryConfig( + strategy: RetryConfig.RetryStrategy.BACKOFF, + backoff: backoff, + retryConnectionErrors: true + ); + } + } + + List statusCodes = new List { + "502", + "503", + "504", + }; + + Func> retrySend = async () => + { + var _httpRequest = await SDKConfiguration.Client.CloneAsync(httpRequest); + return await SDKConfiguration.Client.SendAsync(_httpRequest); + }; + var retries = new Cvent.SDK.Utils.Retries.Retries(retrySend, retryConfig, statusCodes); + + HttpResponseMessage httpResponse; + try + { + httpResponse = await retries.Run(); + int _statusCode = (int)httpResponse.StatusCode; + + if (_statusCode >= 400 && _statusCode < 500 || _statusCode >= 500 && _statusCode < 600) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), httpResponse, null); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + } + } + catch (Exception _hookError) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + else + { + throw; + } + } + + httpResponse = await this.SDKConfiguration.Hooks.AfterSuccessAsync(new AfterSuccessContext(hookCtx), httpResponse); + + var contentType = httpResponse.Content.Headers.ContentType?.MediaType; + int responseStatusCode = (int)httpResponse.StatusCode; + if (responseStatusCode == 201) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + ExistingLeadCatcher obj; + try + { + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into ExistingLeadCatcher.", httpRequest, httpResponse, httpResponseBody, ex); + } + + var response = new CreateLeadCatcherResponse() { + HttpMeta = new Models.Components.HTTPMetadata() { + Response = httpResponse, + Request = httpRequest + }, + Headers = Utilities.CollectHeaders(httpResponse.Headers) + }; + response.ExistingLeadCatcher = obj; + return response; + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse12Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse12Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse12(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 400 && responseStatusCode < 500) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + throw new Models.Errors.APIException("Unknown status code received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + /// + /// List Lead Catchers Overview. + /// + /// + /// Returns a paginated, lightweight overview of the lead catchers for the specified venue,
+ /// containing only `id`, `firstName`, and `lastName` for each contact.
+ ///
+ /// Use this endpoint to discover the `leadCatcherId` needed for PATCH, PUT, and DELETE.
+ /// The response does not include contact details such as email address or phone number. + ///
+ /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public async Task ListLeadCatchersOverviewAsync( + ListLeadCatchersOverviewRequest request, + RetryConfig? retryConfig = null + ) + { + if (request == null) throw new ArgumentNullException(nameof(request)); + + string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); + var urlString = URLBuilder.Build(baseUrl, "/venues/{venueId}/lead-catchers/overview", request, null); + + var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString); + httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent); + + if (!httpRequest.Headers.Contains("Accept")) + { + httpRequest.Headers.Add("Accept", "application/json"); + } + + if (SDKConfiguration.SecuritySource != null) + { + httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); + } + + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "listLeadCatchersOverview", new List { "venue/lead-catchers-overview:read" }, SDKConfiguration.SecuritySource); + + httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); + if (retryConfig == null) + { + if (this.SDKConfiguration.RetryConfig != null) + { + retryConfig = this.SDKConfiguration.RetryConfig; + } + else + { + var backoff = new BackoffStrategy( + initialIntervalMs: 2000L, + maxIntervalMs: 16000L, + maxElapsedTimeMs: 40000L, + exponent: 2 + ); + retryConfig = new RetryConfig( + strategy: RetryConfig.RetryStrategy.BACKOFF, + backoff: backoff, + retryConnectionErrors: true + ); + } + } + + List statusCodes = new List { + "502", + "503", + "504", + }; + + Func> retrySend = async () => + { + var _httpRequest = await SDKConfiguration.Client.CloneAsync(httpRequest); + return await SDKConfiguration.Client.SendAsync(_httpRequest); + }; + var retries = new Cvent.SDK.Utils.Retries.Retries(retrySend, retryConfig, statusCodes); + + HttpResponseMessage httpResponse; + try + { + httpResponse = await retries.Run(); + int _statusCode = (int)httpResponse.StatusCode; + + if (_statusCode >= 400 && _statusCode < 500 || _statusCode >= 500 && _statusCode < 600) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), httpResponse, null); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + } + } + catch (Exception _hookError) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + else + { + throw; + } + } + + httpResponse = await this.SDKConfiguration.Hooks.AfterSuccessAsync(new AfterSuccessContext(hookCtx), httpResponse); + + Func> nextFunc = async delegate() + { + var body = JObject.Parse(await httpResponse.Content.ReadAsStringAsync()); + var nextCursorToken = body.SelectToken("$.paging.nextToken"); + + if (nextCursorToken == null) + { + return null; + } + + var nextCursor = nextCursorToken.Value(); + if (string.IsNullOrWhiteSpace(nextCursor)) + { + return null; + } + + var newRequest = new ListLeadCatchersOverviewRequest { + VenueId = request.VenueId, + Limit = request.Limit, + Token = nextCursor + }; + + return await ListLeadCatchersOverviewAsync( + request: newRequest, + retryConfig: retryConfig + ); + }; + + var contentType = httpResponse.Content.Headers.ContentType?.MediaType; + int responseStatusCode = (int)httpResponse.StatusCode; + if (responseStatusCode == 200) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + LeadCatchersOverviewResponse obj; + try + { + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into LeadCatchersOverviewResponse.", httpRequest, httpResponse, httpResponseBody, ex); + } + + var response = new ListLeadCatchersOverviewResponse() { + HttpMeta = new Models.Components.HTTPMetadata() { + Response = httpResponse, + Request = httpRequest + }, + Next = nextFunc + }; + response.LeadCatchersOverviewResponse = obj; + return response; + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse12Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse12Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse12(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 400 && responseStatusCode < 500) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + throw new Models.Errors.APIException("Unknown status code received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + /// + /// Update Lead Catcher. + /// + /// + /// Updates the given lead catcher for the specified venue, replacing the existing lead catcher data. + /// + /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public async Task UpdateLeadCatcherAsync( + UpdateLeadCatcherRequest request, + RetryConfig? retryConfig = null + ) + { + if (request == null) throw new ArgumentNullException(nameof(request)); + + string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); + var urlString = URLBuilder.Build(baseUrl, "/venues/{venueId}/lead-catchers/{leadCatcherId}", request, null); + + var httpRequest = new HttpRequestMessage(HttpMethod.Put, urlString); + httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent); + + if (!httpRequest.Headers.Contains("Accept")) + { + httpRequest.Headers.Add("Accept", "application/json"); + } + + var serializedBody = RequestBodySerializer.Serialize(request, "ExistingLeadCatcher", "json", false, false); + if (serializedBody != null) + { + httpRequest.Content = serializedBody; + } + + if (SDKConfiguration.SecuritySource != null) + { + httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); + } + + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "updateLeadCatcher", new List { "venue/lead-catchers:write" }, SDKConfiguration.SecuritySource); + + httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); + if (retryConfig == null) + { + if (this.SDKConfiguration.RetryConfig != null) + { + retryConfig = this.SDKConfiguration.RetryConfig; + } + else + { + var backoff = new BackoffStrategy( + initialIntervalMs: 2000L, + maxIntervalMs: 16000L, + maxElapsedTimeMs: 40000L, + exponent: 2 + ); + retryConfig = new RetryConfig( + strategy: RetryConfig.RetryStrategy.BACKOFF, + backoff: backoff, + retryConnectionErrors: true + ); + } + } + + List statusCodes = new List { + "502", + "503", + "504", + }; + + Func> retrySend = async () => + { + var _httpRequest = await SDKConfiguration.Client.CloneAsync(httpRequest); + return await SDKConfiguration.Client.SendAsync(_httpRequest); + }; + var retries = new Cvent.SDK.Utils.Retries.Retries(retrySend, retryConfig, statusCodes); + + HttpResponseMessage httpResponse; + try + { + httpResponse = await retries.Run(); + int _statusCode = (int)httpResponse.StatusCode; + + if (_statusCode >= 400 && _statusCode < 500 || _statusCode >= 500 && _statusCode < 600) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), httpResponse, null); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + } + } + catch (Exception _hookError) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + else + { + throw; + } + } + + httpResponse = await this.SDKConfiguration.Hooks.AfterSuccessAsync(new AfterSuccessContext(hookCtx), httpResponse); + + var contentType = httpResponse.Content.Headers.ContentType?.MediaType; + int responseStatusCode = (int)httpResponse.StatusCode; + if (responseStatusCode == 200) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + ExistingLeadCatcher obj; + try + { + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into ExistingLeadCatcher.", httpRequest, httpResponse, httpResponseBody, ex); + } + + var response = new UpdateLeadCatcherResponse() { + HttpMeta = new Models.Components.HTTPMetadata() { + Response = httpResponse, + Request = httpRequest + } + }; + response.ExistingLeadCatcher = obj; + return response; + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse12Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse12Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse12(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 400 && responseStatusCode < 500) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + throw new Models.Errors.APIException("Unknown status code received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + /// + /// Patch Lead Catcher. + /// + /// + /// Partially updates the specified lead catcher using JSON Merge Patch, as defined in RFC 7396.
+ ///
+ /// - Only fields present in the request body are updated; omitted fields remain unchanged.
+ /// - Set a field to `null` to unset it.
+ /// - The response contains only the fields that were provided in the request payload. + ///
+ /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public async Task PatchLeadCatcherAsync( + PatchLeadCatcherRequest request, + RetryConfig? retryConfig = null + ) + { + if (request == null) throw new ArgumentNullException(nameof(request)); + + string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); + var urlString = URLBuilder.Build(baseUrl, "/venues/{venueId}/lead-catchers/{leadCatcherId}", request, null); + + var httpRequest = new HttpRequestMessage(HttpMethod.Patch, urlString); + httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent); + + if (!httpRequest.Headers.Contains("Accept")) + { + httpRequest.Headers.Add("Accept", "application/json"); + } + + var serializedBody = RequestBodySerializer.Serialize(request, "LeadCatcherPatch", "json", false, false); + if (serializedBody != null) + { + httpRequest.Content = serializedBody; + } + + if (SDKConfiguration.SecuritySource != null) + { + httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); + } + + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "patchLeadCatcher", new List { "venue/lead-catchers:write" }, SDKConfiguration.SecuritySource); + + httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); + if (retryConfig == null) + { + if (this.SDKConfiguration.RetryConfig != null) + { + retryConfig = this.SDKConfiguration.RetryConfig; + } + else + { + var backoff = new BackoffStrategy( + initialIntervalMs: 2000L, + maxIntervalMs: 16000L, + maxElapsedTimeMs: 40000L, + exponent: 2 + ); + retryConfig = new RetryConfig( + strategy: RetryConfig.RetryStrategy.BACKOFF, + backoff: backoff, + retryConnectionErrors: true + ); + } + } + + List statusCodes = new List { + "502", + "503", + "504", + }; + + Func> retrySend = async () => + { + var _httpRequest = await SDKConfiguration.Client.CloneAsync(httpRequest); + return await SDKConfiguration.Client.SendAsync(_httpRequest); + }; + var retries = new Cvent.SDK.Utils.Retries.Retries(retrySend, retryConfig, statusCodes); + + HttpResponseMessage httpResponse; + try + { + httpResponse = await retries.Run(); + int _statusCode = (int)httpResponse.StatusCode; + + if (_statusCode >= 400 && _statusCode < 500 || _statusCode >= 500 && _statusCode < 600) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), httpResponse, null); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + } + } + catch (Exception _hookError) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + else + { + throw; + } + } + + httpResponse = await this.SDKConfiguration.Hooks.AfterSuccessAsync(new AfterSuccessContext(hookCtx), httpResponse); + + var contentType = httpResponse.Content.Headers.ContentType?.MediaType; + int responseStatusCode = (int)httpResponse.StatusCode; + if (responseStatusCode == 200) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + LeadCatcherPatch obj; + try + { + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into LeadCatcherPatch.", httpRequest, httpResponse, httpResponseBody, ex); + } + + var response = new PatchLeadCatcherResponse() { + HttpMeta = new Models.Components.HTTPMetadata() { + Response = httpResponse, + Request = httpRequest + } + }; + response.LeadCatcherPatch = obj; + return response; + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse12Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse12Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse12(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 400 && responseStatusCode < 500) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + throw new Models.Errors.APIException("Unknown status code received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + /// + /// Delete Lead Catcher. + /// + /// + /// Deletes the specified lead catcher for the venue. + /// + /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public async Task DeleteLeadCatcherAsync( + DeleteLeadCatcherRequest request, + RetryConfig? retryConfig = null + ) + { + if (request == null) throw new ArgumentNullException(nameof(request)); + + string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); + var urlString = URLBuilder.Build(baseUrl, "/venues/{venueId}/lead-catchers/{leadCatcherId}", request, null); + + var httpRequest = new HttpRequestMessage(HttpMethod.Delete, urlString); + httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent); + + if (!httpRequest.Headers.Contains("Accept")) + { + httpRequest.Headers.Add("Accept", "application/json"); + } + + if (SDKConfiguration.SecuritySource != null) + { + httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); + } + + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "deleteLeadCatcher", new List { "venue/lead-catchers:delete" }, SDKConfiguration.SecuritySource); + + httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); + if (retryConfig == null) + { + if (this.SDKConfiguration.RetryConfig != null) + { + retryConfig = this.SDKConfiguration.RetryConfig; + } + else + { + var backoff = new BackoffStrategy( + initialIntervalMs: 2000L, + maxIntervalMs: 16000L, + maxElapsedTimeMs: 40000L, + exponent: 2 + ); + retryConfig = new RetryConfig( + strategy: RetryConfig.RetryStrategy.BACKOFF, + backoff: backoff, + retryConnectionErrors: true + ); + } + } + + List statusCodes = new List { + "502", + "503", + "504", + }; + + Func> retrySend = async () => + { + var _httpRequest = await SDKConfiguration.Client.CloneAsync(httpRequest); + return await SDKConfiguration.Client.SendAsync(_httpRequest); + }; + var retries = new Cvent.SDK.Utils.Retries.Retries(retrySend, retryConfig, statusCodes); + + HttpResponseMessage httpResponse; + try + { + httpResponse = await retries.Run(); + int _statusCode = (int)httpResponse.StatusCode; + + if (_statusCode >= 400 && _statusCode < 500 || _statusCode >= 500 && _statusCode < 600) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), httpResponse, null); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + } + } + catch (Exception _hookError) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + else + { + throw; + } + } + + httpResponse = await this.SDKConfiguration.Hooks.AfterSuccessAsync(new AfterSuccessContext(hookCtx), httpResponse); + + var contentType = httpResponse.Content.Headers.ContentType?.MediaType; + int responseStatusCode = (int)httpResponse.StatusCode; + if (responseStatusCode == 204) + { + return new DeleteLeadCatcherResponse() { + HttpMeta = new Models.Components.HTTPMetadata() { + Response = httpResponse, + Request = httpRequest + } + }; + } + else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse12Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse12Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse12(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 400 && responseStatusCode < 500) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + throw new Models.Errors.APIException("Unknown status code received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + /// + /// Get Lead Catcher Overview. + /// + /// + /// Retrieves a lightweight overview of a specific lead catcher for the specified venue,
+ /// containing only `id`, `firstName`, and `lastName`.
+ ///
+ /// The response does not include contact details such as email address or phone number. + ///
+ /// A parameter. + /// The retry configuration to use for this operation. + /// An awaitable task that returns a response envelope when completed. + /// The required parameter is null. + /// The HTTP request failed due to network issues. + /// The response body could not be deserialized. + /// Bad request. Thrown when the API returns a 400, 401, 403, 404 or 429 response. + /// Default API Exception. Thrown when the API returns a 4XX or 5XX response. + public async Task GetLeadCatcherOverviewAsync( + GetLeadCatcherOverviewRequest request, + RetryConfig? retryConfig = null + ) + { + if (request == null) throw new ArgumentNullException(nameof(request)); + + string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); + var urlString = URLBuilder.Build(baseUrl, "/venues/{venueId}/lead-catchers/{leadCatcherId}/overview", request, null); + + var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString); + httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent); + + if (!httpRequest.Headers.Contains("Accept")) + { + httpRequest.Headers.Add("Accept", "application/json"); + } + + if (SDKConfiguration.SecuritySource != null) + { + httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); + } + + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "getLeadCatcherOverview", new List { "venue/lead-catchers-overview:read" }, SDKConfiguration.SecuritySource); + + httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); + if (retryConfig == null) + { + if (this.SDKConfiguration.RetryConfig != null) + { + retryConfig = this.SDKConfiguration.RetryConfig; + } + else + { + var backoff = new BackoffStrategy( + initialIntervalMs: 2000L, + maxIntervalMs: 16000L, + maxElapsedTimeMs: 40000L, + exponent: 2 + ); + retryConfig = new RetryConfig( + strategy: RetryConfig.RetryStrategy.BACKOFF, + backoff: backoff, + retryConnectionErrors: true + ); + } + } + + List statusCodes = new List { + "502", + "503", + "504", + }; + + Func> retrySend = async () => + { + var _httpRequest = await SDKConfiguration.Client.CloneAsync(httpRequest); + return await SDKConfiguration.Client.SendAsync(_httpRequest); + }; + var retries = new Cvent.SDK.Utils.Retries.Retries(retrySend, retryConfig, statusCodes); + + HttpResponseMessage httpResponse; + try + { + httpResponse = await retries.Run(); + int _statusCode = (int)httpResponse.StatusCode; + + if (_statusCode >= 400 && _statusCode < 500 || _statusCode >= 500 && _statusCode < 600) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), httpResponse, null); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + } + } + catch (Exception _hookError) + { + var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError); + if (_httpResponse != null) + { + httpResponse = _httpResponse; + } + else + { + throw; + } + } + + httpResponse = await this.SDKConfiguration.Hooks.AfterSuccessAsync(new AfterSuccessContext(hookCtx), httpResponse); + + var contentType = httpResponse.Content.Headers.ContentType?.MediaType; + int responseStatusCode = (int)httpResponse.StatusCode; + if (responseStatusCode == 200) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + LeadCatcherOverview obj; + try + { + obj = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into LeadCatcherOverview.", httpRequest, httpResponse, httpResponseBody, ex); + } + + var response = new GetLeadCatcherOverviewResponse() { + HttpMeta = new Models.Components.HTTPMetadata() { + Response = httpResponse, + Request = httpRequest + } + }; + response.LeadCatcherOverview = obj; + return response; + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (new List { 400, 401, 403, 404, 429 }.Contains(responseStatusCode)) + { + if (Utilities.IsContentTypeMatch("application/json", contentType)) + { + var httpResponseBody = await httpResponse.Content.ReadAsStringAsync(); + Models.Errors.ErrorResponse12Payload payload; + try + { + payload = ResponseBodyDeserializer.DeserializeNotNull(httpResponseBody, NullValueHandling.Ignore); + } + catch (Exception ex) + { + throw new ResponseValidationException("Failed to deserialize response body into Models.Errors.ErrorResponse12Payload.", httpRequest, httpResponse, httpResponseBody, ex); + } + + throw new Models.Errors.ErrorResponse12(payload, httpRequest, httpResponse, httpResponseBody); + } + + throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 400 && responseStatusCode < 500) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + else if (responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + + throw new Models.Errors.APIException("Unknown status code received", httpRequest, httpResponse, await httpResponse.Content.ReadAsStringAsync()); + } + } +} \ No newline at end of file diff --git a/packages/java/.speakeasy/gen.lock b/packages/java/.speakeasy/gen.lock index 23815a318..4717c6212 100644 --- a/packages/java/.speakeasy/gen.lock +++ b/packages/java/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 795b0bc6-b124-44d6-a714-d4fdbc56212b management: - docChecksum: 1fd9ebcd59841afef8d06776d975d698 + docChecksum: 983d33abba527021aab132eb1ac91964 docVersion: ea speakeasyVersion: 1.752.0 generationVersion: 2.859.2 - releaseVersion: 1.6.5 - configChecksum: 13c49748b11983b6e3f2a36dbb7526ab + releaseVersion: 1.6.6 + configChecksum: bcc176bcfdd4825226c21c404a5c05ae published: true persistentEdits: generation_id: 6ad3309a-d2a1-4e74-a3ae-065e16d1999e @@ -48,7 +48,7 @@ trackedFiles: pristine_git_object: 3c184430a0dc1eb082258669b43407069bb80acc docs/models/callbacks/CreateContactHookContactTransactionCallbackResponse.md: id: 86a67b0330fd - last_write_checksum: sha1:de343692dc7215ce1d9072068b7eebe184dd5171 + last_write_checksum: sha1:2e275f3e6c6a1d1d63e9d1e5f809e622606b86f3 pristine_git_object: 1153e1927834a2ad63c4d8b05aae2000005bbc5a ? docs/models/components/AGeneralLedgerCodeUsedToCategorizeFinancialDataWhichHelpsBusinessesAnalyzeAndReportOnTheirFinancialActivity.md : last_write_checksum: sha1:73094dcd78ec6dd6f7ca1ecb5d161d4d0ecce0fb @@ -263,7 +263,7 @@ trackedFiles: docs/models/components/AlternateQuestion.md: last_write_checksum: sha1:2b90d13aec59ba99cae358afaac2fd009d2ee54c docs/models/components/AlternateTravelDetail.md: - last_write_checksum: sha1:07f980a382233131a6adc1b18923fdb16c37decb + last_write_checksum: sha1:15661d42da0b0992a84d777b828034f129f48ebb docs/models/components/AlternateTravelDetailRequesterType.md: last_write_checksum: sha1:d59bd8e4748b2845bbdb8ac9f78d560a1d6b4761 docs/models/components/AlternateTravelPaginatedResponse.md: @@ -614,7 +614,7 @@ trackedFiles: last_write_checksum: sha1:03db47f71fc8fdb6dcb327641505299bdb006a2d docs/models/components/AttendeeUpdate.md: id: c068d0e3e7d9 - last_write_checksum: sha1:4cdf5e8ea6aa50609e99e7bf156650f1012d066d + last_write_checksum: sha1:35054e0e35ea21b1803a1aae56adfde2eb80cdb7 pristine_git_object: 49a77cb3abde0eba287e615c65ac0ec8c299b4ba docs/models/components/AttendeeUpdateAdministrator.md: id: a6879cbc9e1c @@ -641,7 +641,7 @@ trackedFiles: last_write_checksum: sha1:a0bc4a7d0f234144a8c063d9de3b1b415ac57813 pristine_git_object: bf996c5960627c19abad4b04c1f0360ae76bf250 docs/models/components/AttendeeUpdateStatus.md: - last_write_checksum: sha1:b4ea5aedfc0dc1010ac3c216c3132f0e317d26b8 + last_write_checksum: sha1:af23e7eaaf4bb102a5a7b4eb371bc915cbfb224d docs/models/components/AttendeeVisibility.md: last_write_checksum: sha1:c40d82f40f9a01e65b5f2d17c6206bfa481db4bb docs/models/components/AttendeeWebLinks.md: @@ -1220,10 +1220,10 @@ trackedFiles: last_write_checksum: sha1:9f930d8b19c3b0264649543802d935e388889456 docs/models/components/ContactFieldType.md: last_write_checksum: sha1:4fe1024d4d1bf817207a74661291aefa3bd7ba9c + docs/models/components/ContactFields.md: + last_write_checksum: sha1:53282d09e5b34384f3b41310d9e7da581aa71463 docs/models/components/ContactFields1.md: - last_write_checksum: sha1:4aebc3649362ef458fcd3e5f1498bcce73e3c97b - docs/models/components/ContactFields2.md: - last_write_checksum: sha1:7836506fa2349629a8ab24701b96d1bcf907c7cb + last_write_checksum: sha1:def70d65eb6bfff587a246e7b0db5a21bfbaa0fe docs/models/components/ContactFile.md: id: 5daad8d23ed6 last_write_checksum: sha1:34c421432bddbdcf8cc356437d085937b6236b7c @@ -1708,7 +1708,7 @@ trackedFiles: pristine_git_object: 00f69e6c04b89e72d3f6204b2c4ccb59139f962a docs/models/components/EventAttendeeSubstituted.md: id: 467f6db55647 - last_write_checksum: sha1:cb6b9cb82773762c2610c62b4b71ee6b601948b2 + last_write_checksum: sha1:724b1c006d8f52ec2be09580b5413889797b3071 pristine_git_object: 94ed095885194a2a66e283e2f82f14e2a31248a4 docs/models/components/EventAttendeeSubstitutedEvent.md: last_write_checksum: sha1:4696bef5a781addc4ea438fad227fb75efe01572 @@ -2188,6 +2188,10 @@ trackedFiles: id: 048645617f7b last_write_checksum: sha1:c68787ed67991db4a4b3e9adcc393ca325758fe0 pristine_git_object: 6f8eb6fecec29c8d93930af6ce145a21e2af1fbc + docs/models/components/ExistingLeadCatcher.md: + last_write_checksum: sha1:2806a52609dddd1261b4deb11acdc3a17a058ca3 + docs/models/components/ExistingLeadCatcherInput.md: + last_write_checksum: sha1:06a3badfe648595e55183dca29e993f65a800850 docs/models/components/ExistingMeetingRoom.md: last_write_checksum: sha1:97ad8739f64cde397a0a47f75a793d9f961bb96d docs/models/components/ExistingMeetingRoomDimensions.md: @@ -2266,6 +2270,10 @@ trackedFiles: id: 4c227c7b4073 last_write_checksum: sha1:09e2d2c78077885e0be5bb2c864a09853d3fe476 pristine_git_object: d190a1376d1a9f4516b9893669f84a06288bd926 + docs/models/components/ExistingVenueAmenities.md: + last_write_checksum: sha1:3bc0e46d145e43076687e323e24c3619233d8d6e + docs/models/components/ExistingVenueAmenitiesInput.md: + last_write_checksum: sha1:474e4302af5bf61c99e1b0dfaf27462005f97fe1 docs/models/components/ExistingVenueAttraction.md: last_write_checksum: sha1:a759b1dd0bf8e083c6d4ec0bd6d8d4f52cc4489a docs/models/components/ExistingVenueAvailabilitySettings.md: @@ -2503,7 +2511,7 @@ trackedFiles: docs/models/components/GuestRoomOccupancy.md: last_write_checksum: sha1:810b439ea2bf4c0fad3122f85a474f6c61228231 docs/models/components/GuestRoomOccupancyPerRoomType.md: - last_write_checksum: sha1:8e170e6f101df00486354a224f299f31fe8d1968 + last_write_checksum: sha1:ff3fa71d58e9a57f3a98dee9838d329afa609463 docs/models/components/GuestRoomType.md: last_write_checksum: sha1:a91149eab6fff4c6c6b778d4bdcfbdbf62029656 docs/models/components/HlsInputWithClips.md: @@ -2688,6 +2696,30 @@ trackedFiles: last_write_checksum: sha1:be7915135de031ad99ab3f6572623549fc6ab7f7 docs/models/components/Lead2.md: last_write_checksum: sha1:2f0955a9a0e98e97c5ddc550514dfeab7ef6a5de + docs/models/components/LeadCatcher.md: + last_write_checksum: sha1:2d5c608b655747d4d12c2edf2ba6b7945dceac41 + docs/models/components/LeadCatcherAddress.md: + last_write_checksum: sha1:46f2227ef47e8d398b0e0248190f28c3faaa8c28 + docs/models/components/LeadCatcherAddressCountry.md: + last_write_checksum: sha1:8d979f9fa5b69bb2e1ded8894e3d27c6c9d02ba5 + docs/models/components/LeadCatcherAddressPatch.md: + last_write_checksum: sha1:6bbeef695fba7605e97c27bac84a6d95dc0f33eb + docs/models/components/LeadCatcherAddressStateProvince.md: + last_write_checksum: sha1:dba71beffa3522eb2be33206863c8c7d548f6f45 + docs/models/components/LeadCatcherConfig.md: + last_write_checksum: sha1:0c01817f3d76a4d38c4d129315febd36e71ea792 + docs/models/components/LeadCatcherConfigPatch.md: + last_write_checksum: sha1:1c435b6ed1bb4c5fd39d9e3fd7054093e29b839d + docs/models/components/LeadCatcherOverview.md: + last_write_checksum: sha1:17af183b5db116519b220659da915d1e04edacdc + docs/models/components/LeadCatcherPatch.md: + last_write_checksum: sha1:bc8b4c4572dac32697bedc3fd1e619c52a4ed78a + docs/models/components/LeadCatcherPatchCountry.md: + last_write_checksum: sha1:39bdbbf8d9770ebcf2ca131a2d8f1dd26d8ad451 + docs/models/components/LeadCatcherPatchStateProvince.md: + last_write_checksum: sha1:4296f6f11d6ee7fd11d09ee2c8b373d393901d74 + docs/models/components/LeadCatchersOverviewResponse.md: + last_write_checksum: sha1:a11ad04ef3225904bcb0291720723054e922bfb9 docs/models/components/LeadInboundCreated.md: id: 175878a88e9f last_write_checksum: sha1:35a483cdcbbcd155eb164e706dcc8ba0ca58cd23 @@ -2752,6 +2784,8 @@ trackedFiles: last_write_checksum: sha1:6dcf7e529876a9c84c40e3468e0d882160fff992 docs/models/components/LiveStreamStatus.md: last_write_checksum: sha1:38169b8d502ec8bce2a0f0f905b18ab96639f5aa + docs/models/components/LocaleLanguageVariant.md: + last_write_checksum: sha1:32909b286caa8b995bcba4bcd01c585fbca8af39 docs/models/components/Location1.md: last_write_checksum: sha1:5f4e3d94abaf12a14dbed4f34b8c9218dcc99acd docs/models/components/Location1Input.md: @@ -3340,13 +3374,17 @@ trackedFiles: last_write_checksum: sha1:4bff7ea5b67a00b00a2f47bb8a265ddfba534045 docs/models/components/QuestionTypeJson.md: last_write_checksum: sha1:534dbcc02a8a10e048f9e75072bfde11f1a31fe6 + docs/models/components/QuestionWithProgramId.md: + last_write_checksum: sha1:9ee56898b87af8ba0bf799d1360096e35826f1f4 + docs/models/components/QuestionWithProgramIdTravelProgram.md: + last_write_checksum: sha1:f7ba5b46c35225d23e8f58b1f1872a2753ca6aa7 docs/models/components/QuestionsPaginatedResponse.md: id: 100d16fb36c0 last_write_checksum: sha1:f5f0ba4e8785fdd5648363c2df2587140887d8d2 pristine_git_object: aec6f581339bf0b4b09c055dedec226ccaadf599 docs/models/components/QuestionsPaginatedResponse1.md: id: 0bcad2d6eb9b - last_write_checksum: sha1:66658b2b3582fc7eaebbbb50d6062f3bfc347468 + last_write_checksum: sha1:747dfb226e2a7b1ca94fdf1c85cff6679b66c966 pristine_git_object: 2b43e0b5cf8ee30688b95da9997087de755d6d54 docs/models/components/Rate.md: id: 86399c41611a @@ -3567,7 +3605,7 @@ trackedFiles: docs/models/components/Rfp1.md: last_write_checksum: sha1:4c0baaaad49ea9c767b0276539ded177e84609ba docs/models/components/Rfp2.md: - last_write_checksum: sha1:61660164d92f82e16bdb39680f81ccc8b62d358b + last_write_checksum: sha1:afb4e33b94db93323aeb0827e9716cdea0ee5db1 docs/models/components/RfpAgendaItem.md: last_write_checksum: sha1:26ba09ce5549716a4821e86a08527e05bd5a0a1b docs/models/components/RfpAgendaItemSchedule.md: @@ -3599,7 +3637,7 @@ trackedFiles: docs/models/components/RfpPastEvents.md: last_write_checksum: sha1:63af947d05b51955320a9f4895d5357606bebedb docs/models/components/RfpQuestion.md: - last_write_checksum: sha1:baf9035cd00c7b51a489feceba783d29af2200ac + last_write_checksum: sha1:56d2ea6c33eead8606943f4864ed07e62210c16e docs/models/components/RfpRecipientLogEntry.md: last_write_checksum: sha1:d8936632838afcfc12625aefecfff5f2492ab193 docs/models/components/RfpRecipientLogEntryMessage.md: @@ -3618,8 +3656,8 @@ trackedFiles: last_write_checksum: sha1:15348ef241df079f0c4f3976482a87930a829260 docs/models/components/RfpSupplierStatus.md: last_write_checksum: sha1:0fe1d3eee0400da589f8c6ce6074a98f498841ae - docs/models/components/RfpType1.md: - last_write_checksum: sha1:e3fa03d4a534b963d489dacdc4f4b4d0e291c3f1 + docs/models/components/RfpType.md: + last_write_checksum: sha1:f3222534906275f559ce32186cddfaae9431e43c docs/models/components/RoomAttendeeType.md: last_write_checksum: sha1:71916f0d6d257f0467cfb7ef11ac0c19448d1525 docs/models/components/RoomBedType1.md: @@ -4366,7 +4404,7 @@ trackedFiles: pristine_git_object: e41e031f58aaa620128cd04ed305baadae5a889d docs/models/components/TravelProgram.md: id: acffaed7143a - last_write_checksum: sha1:1ceec9df7d5d001970e1f809da6f7ed374788c4d + last_write_checksum: sha1:d9b367cb5292b0efa860a517fc38bf5fe4a94f7e pristine_git_object: 2aab5d4dba0b08da2afe7fa0951477889fb7de6e docs/models/components/TravelProgramFormatType.md: last_write_checksum: sha1:091ee6881c05a94ffd11589afd176ef21a164d53 @@ -4375,11 +4413,7 @@ trackedFiles: last_write_checksum: sha1:82f6732d23b243037e527710d1c8991b0bd910b3 pristine_git_object: b15e32f9ac2a5e7a1ec8033c410b56bf8139d7e3 docs/models/components/TravelProgramQuestion.md: - last_write_checksum: sha1:c2b52a4da09bd3d17ff0ed27c68097b4899290b4 - docs/models/components/TravelProgramQuestion1.md: - last_write_checksum: sha1:d32f9f573c1ea6b164ed05135761458688b6520a - docs/models/components/TravelProgramQuestionTravelProgram.md: - last_write_checksum: sha1:233b2248c4fe9e9f523b7703fcba5ef55814b256 + last_write_checksum: sha1:70e5000a2aedd7321057915350ff0bef0eabff6d docs/models/components/TravelProgramStatus.md: last_write_checksum: sha1:52258367b451115bfd1724f8c00dec4271373c3b docs/models/components/TravelProgramStayType.md: @@ -4445,7 +4479,7 @@ trackedFiles: docs/models/components/TravelRequestStatus.md: last_write_checksum: sha1:fc5ba2b5872faaf1706227762fe72ea5628b63a2 docs/models/components/TravelType.md: - last_write_checksum: sha1:1af5fe66235b4764463a5dd247666be599c93348 + last_write_checksum: sha1:9f4c09225a2bae9d74065aabac077f2eb0dc01aa docs/models/components/TypeAllOf.md: last_write_checksum: sha1:a74ecc880b17573347c4a99dbc6f22962249dede docs/models/components/TypeInput.md: @@ -4532,6 +4566,36 @@ trackedFiles: id: cdd69e146983 last_write_checksum: sha1:a94031d7c05f1c24c4b452fe9f08989e56a1e7a9 pristine_git_object: e80f41f65752e28de11bca183acd4b9d1fa97e0b + docs/models/components/VenueAmenityAVCapability.md: + last_write_checksum: sha1:d2e7a341c5f99f54a3b50ae2cf1be02ddcfa04ff + docs/models/components/VenueAmenityAlcohol.md: + last_write_checksum: sha1:2da0bf5c711d8682136319c97c7b939bd2ce7743 + docs/models/components/VenueAmenityAvCapabilityItem.md: + last_write_checksum: sha1:8c678ea8d3d06233371bfa84cb65e2eb8bdb596e + docs/models/components/VenueAmenityBusinessService.md: + last_write_checksum: sha1:acf063b89e35fc5d8e6f8751a5a2b65034da679c + docs/models/components/VenueAmenityCateringDetail.md: + last_write_checksum: sha1:45105ff39907dc38682504e89747fc5aca0895ac + docs/models/components/VenueAmenityEquipment.md: + last_write_checksum: sha1:98f84f072be8c8131503345641aeb95a502423d3 + docs/models/components/VenueAmenityFacilityInfo.md: + last_write_checksum: sha1:8d2d03c40940e10449297308f866a9ff10496a27 + docs/models/components/VenueAmenityFacilitySpace.md: + last_write_checksum: sha1:5fa25d420c6a42cd505dfa7a2bdc2b9f1c0b2fd9 + docs/models/components/VenueAmenityFacilitySpaceItem.md: + last_write_checksum: sha1:51964c1e07267185d1e838edf3bd28691ab67356 + docs/models/components/VenueAmenityParking.md: + last_write_checksum: sha1:309b294bc75a04db6b10dce7ac443cab0c7c214b + docs/models/components/VenueAmenityParkingItem.md: + last_write_checksum: sha1:99d2396e0000c090e8ea3182c46b648faed2ca7f + docs/models/components/VenueAmenityProvisionPolicy.md: + last_write_checksum: sha1:b95a0af7b95d698cdbdd61633844d52ee0d4150d + docs/models/components/VenueAmenityRecreationalActivity.md: + last_write_checksum: sha1:90d0d661ae01897957c38b1cfc33ece0f6f60e3e + docs/models/components/VenueAmenityRoomFeature.md: + last_write_checksum: sha1:7a915211129740a532a4c348b04517d501de2e62 + docs/models/components/VenueAmenityTransportation.md: + last_write_checksum: sha1:862e0c22bd14a7599ad15017433a998c69923641 docs/models/components/VenueAttraction.md: last_write_checksum: sha1:f1decf7e675cc491a83db8e714e6ffb4a0c1ce4f docs/models/components/VenueAttractionType.md: @@ -5108,6 +5172,10 @@ trackedFiles: id: e7f8b813bb84 last_write_checksum: sha1:535c982cb8dfc956dcaab8f6a64137b3afcf2536 pristine_git_object: 2d9473d706966d4aa6abfdc2f725e62e6d5c0436 + docs/models/operations/CreateLeadCatcherRequest.md: + last_write_checksum: sha1:993dceac9f57b5e635ff90fd196690a67594165e + docs/models/operations/CreateLeadCatcherResponse.md: + last_write_checksum: sha1:af493d2f6ab9b0ee6b97e5b8e3a7a8365a8f975d docs/models/operations/CreateMeetingRequestRequest.md: id: 9eb9049f75ad last_write_checksum: sha1:918dba5202bc7e7c6f388c67408d1c5cd0236130 @@ -5376,6 +5444,10 @@ trackedFiles: id: 8be0631c2963 last_write_checksum: sha1:3db6135dbdca9de48b5684c2743faf7edcaec4a5 pristine_git_object: 9ec697e0ecc4d20757fe95cc718324d19b310499 + docs/models/operations/DeleteLeadCatcherRequest.md: + last_write_checksum: sha1:cb1ea669a35aa78f0d56aeb324eef015e0d1ef8e + docs/models/operations/DeleteLeadCatcherResponse.md: + last_write_checksum: sha1:59825bb4e361cd4c7b9b8af140cad96a2f3f7814 docs/models/operations/DeletePaymentRequest.md: id: ff40e1bb5c30 last_write_checksum: sha1:cb2dc52ac6781604461c986b156bfee15f1baf95 @@ -6178,7 +6250,7 @@ trackedFiles: pristine_git_object: 07c41a9f4e3c2fee48757b7cd756a375fe59ca37 docs/models/operations/GetHousingEventHotelAvailabilityRequest.md: id: d72d82a681e8 - last_write_checksum: sha1:4b94bc4ea1e45f72767dc75ae7d57efb98265595 + last_write_checksum: sha1:5d8eb02a73265e7954a2269e748168e654591b7d pristine_git_object: d1f181330b81efc7a0aa62f999cdbd30590d3ba2 docs/models/operations/GetHousingEventHotelAvailabilityResponse.md: id: 26f273c0695c @@ -6272,6 +6344,10 @@ trackedFiles: id: 14233ad963ad last_write_checksum: sha1:89500e5020208e6ce7d2488eb0d1e73f4845e9c5 pristine_git_object: 410aae8951936194ce97a8cfc52b0c518cb41082 + docs/models/operations/GetLeadCatcherOverviewRequest.md: + last_write_checksum: sha1:230374f4b5c129bd41cf7eb1f0393ee74b5fc669 + docs/models/operations/GetLeadCatcherOverviewResponse.md: + last_write_checksum: sha1:4303f5bf1c83fbfbcf829ebbfdb50224c2fca1ee docs/models/operations/GetLeadQualificationAnswersRequest.md: id: 2e250b06055d last_write_checksum: sha1:dffdeb2929cddcad401e03a5cf59e31d99b7e9bf @@ -6772,6 +6848,10 @@ trackedFiles: id: 73c5093259ee last_write_checksum: sha1:eead479ff94d4e98d723f9f966949e5659c4c2d4 pristine_git_object: 4535e7cd63696b4c2191ad3f28f0d5cba2bfe6f1 + docs/models/operations/GetVenueAmenitiesRequest.md: + last_write_checksum: sha1:d013445df055e3fe97d7353bb79f28d27f47463a + docs/models/operations/GetVenueAmenitiesResponse.md: + last_write_checksum: sha1:c19f36fd9ddfd203f1b49d1effd123433374c99f docs/models/operations/GetVenueAttractionRequest.md: last_write_checksum: sha1:2cf7b68c7236ff289b8bea89f536b79f355df3c0 docs/models/operations/GetVenueAttractionResponse.md: @@ -6922,7 +7002,7 @@ trackedFiles: pristine_git_object: 3dc05a439c99e277d9531c9d0bc5b2475cebd153 docs/models/operations/ListAttendeesPostFilterRequest.md: id: 8696b0965ec5 - last_write_checksum: sha1:4e9e904b329fcf76a5c49b47220fe8693b8fa69e + last_write_checksum: sha1:e8a36eea0b8943695f79f09428b1d9f01f00e286 pristine_git_object: fcda6832e39d9a8411ecd541ce51d40d5c1c3381 docs/models/operations/ListAttendeesPostFilterResponse.md: id: f71d754774d0 @@ -7188,6 +7268,10 @@ trackedFiles: id: 231498e9654e last_write_checksum: sha1:df28f5b216e6460480e0fa1a125f051898ebcf35 pristine_git_object: d83a30029cf343d671c74f4b69d462649f1cff5e + docs/models/operations/ListLeadCatchersOverviewRequest.md: + last_write_checksum: sha1:ee5fab6ab7867ae32fc63cd17f7a6ef028871bcb + docs/models/operations/ListLeadCatchersOverviewResponse.md: + last_write_checksum: sha1:5ef3c6d64a6098878afae71e5b80d5ce48926842 docs/models/operations/ListLocationsRequest.md: id: a4a3943c8968 last_write_checksum: sha1:f53291dd7b5ede6c75e02553fbfb17a28d71b9f6 @@ -7660,6 +7744,10 @@ trackedFiles: id: 3584066a7531 last_write_checksum: sha1:5877d6d07b88316a69e18c7f01f4ea2883839f2a pristine_git_object: 79de3fbc2905699c48bb3b90eabca96e1e38a1aa + docs/models/operations/PatchLeadCatcherRequest.md: + last_write_checksum: sha1:567ee0ac2dec9139f6bb0f98b910912c19d2c6f2 + docs/models/operations/PatchLeadCatcherResponse.md: + last_write_checksum: sha1:9a46fe3fa34caf77f8145fefbfd83a332a5d0d60 docs/models/operations/PatchMeetingRoomRequest.md: last_write_checksum: sha1:c5dab269c13e3e685afa8884f60770436dfefe0e docs/models/operations/PatchMeetingRoomResponse.md: @@ -8120,6 +8208,10 @@ trackedFiles: id: a1e640c9df5a last_write_checksum: sha1:62e64b86eccd105b26f7e21b2c56b5894beb4269 pristine_git_object: c81cc1e1e691500cb19dbd716b65b48b502ab34a + docs/models/operations/UpdateLeadCatcherRequest.md: + last_write_checksum: sha1:f57f99996ae0e747b2bfd7e3eff43448f50a9eef + docs/models/operations/UpdateLeadCatcherResponse.md: + last_write_checksum: sha1:511c1f5288e4720562af30e7c5cea555f8f0d217 docs/models/operations/UpdateMeetingRequestRequest.md: id: ba1846b789d5 last_write_checksum: sha1:35e85b23fdd8e3cbcb27a67696acb599b29ca05d @@ -8252,6 +8344,10 @@ trackedFiles: id: 54a64b6a8f40 last_write_checksum: sha1:bbe2c40368dd78491cd35bfa61a5040a98d40a0c pristine_git_object: 003025c20251b8e7ba650af0c1c1989d3d50cec2 + docs/models/operations/UpdateVenueAmenitiesRequest.md: + last_write_checksum: sha1:012ed7d649b12de88cfb58c27a957c236c2f0239 + docs/models/operations/UpdateVenueAmenitiesResponse.md: + last_write_checksum: sha1:5d3ed5b9a5a25d7616b8c0f2e495b33750c72f55 docs/models/operations/UpdateVenueAttractionRequest.md: last_write_checksum: sha1:897ee963f403b5f4cfaaf414779203a8680c4093 docs/models/operations/UpdateVenueAttractionResponse.md: @@ -8322,7 +8418,7 @@ trackedFiles: pristine_git_object: 704005d199d199defd2dbf54d34ee99a49527bce docs/sdks/attendees/README.md: id: 99bffbf21091 - last_write_checksum: sha1:70269810da5de63d1ab96f680589429d674ae6ee + last_write_checksum: sha1:531b49eee48084f82ae18b6aa83a1d78d937b19f pristine_git_object: 51133187a510f849cafd047132648b314d92466c docs/sdks/audiencesegments/README.md: id: a2ccf2d6ee02 @@ -8398,7 +8494,7 @@ trackedFiles: pristine_git_object: a6f80ee31943c75ef4e9ad93d49f689509712ecb docs/sdks/eventtravel/README.md: id: d7533cadf8e6 - last_write_checksum: sha1:067d5fe8788cc75239ca425392af456911ad1f5e + last_write_checksum: sha1:0c8afbcde15425a2f0ceb2520d40d2b69ceaa246 pristine_git_object: eede402a85e1da20c1034fe85358d6075234a769 docs/sdks/exhibitor/README.md: id: cb0578099210 @@ -8422,7 +8518,7 @@ trackedFiles: pristine_git_object: 64614977cacbd8d9340bd37af4b21d6e245bfc14 docs/sdks/housing/README.md: id: 23d65d817ab8 - last_write_checksum: sha1:17605bbb6dfd6822ff244edd844e26056e99695a + last_write_checksum: sha1:a6725496f8c01e739f06aa619d3a867a64c4d899 pristine_git_object: 4211bb0d355200b83a1e58a261371acf7a12452d docs/sdks/housinghotels/README.md: id: d04ff5412c59 @@ -8503,7 +8599,9 @@ trackedFiles: docs/sdks/venueavailability/README.md: last_write_checksum: sha1:3d4cb53827800b34f2265953bf7c821270c65673 docs/sdks/venuecontent/README.md: - last_write_checksum: sha1:4e26de1d1608729990e206fc3664f2e13bc6950e + last_write_checksum: sha1:330685e5181b7f77f0a1d77f8595403147244a97 + docs/sdks/venueleads/README.md: + last_write_checksum: sha1:969815a18f89ce2469c3fc89b0405e80215a2651 docs/sdks/venuemeetingrooms/README.md: last_write_checksum: sha1:87e99c3b1740e8a98ec1a3a1fc22f7838c50cc7e docs/sdks/venueprofiles/README.md: @@ -8522,7 +8620,7 @@ trackedFiles: pristine_git_object: cda742065b0bb30407900c4d39885b8db164b9b4 gradle.properties: id: 2afbb999f001 - last_write_checksum: sha1:76c6307c00a5545cad6f462e0cc10e5776d938f3 + last_write_checksum: sha1:69de1cdc41205374f3bbd22f97342cda362ba037 pristine_git_object: 6da141a8453a679109d12dba513b6d08b9e37fd5 gradle/wrapper/gradle-wrapper.jar: id: ec27dae6e852 @@ -8570,7 +8668,7 @@ trackedFiles: pristine_git_object: 991e12fe47e43e8b4cbce15548f62dd4d12bd17d src/main/java/com/cvent/AsyncAttendees.java: id: 3f3b3c8aa99e - last_write_checksum: sha1:641cf1c69c7f56195b0c45ab0bbcc5c08055826f + last_write_checksum: sha1:7a3fd690854b23f05f1d963b3fea96caea8fc216 pristine_git_object: b48101dcb3d415a353dbb1d152850df0ab239aae src/main/java/com/cvent/AsyncAudienceSegments.java: id: 18b5e976826b @@ -8618,7 +8716,7 @@ trackedFiles: pristine_git_object: d2750f4c1dd063e160ac8b42105e3350a77b9192 src/main/java/com/cvent/AsyncCventSDK.java: id: 3d41ccbb3604 - last_write_checksum: sha1:ed24a1a8f05efb4f46b61244a0d02867463acaf7 + last_write_checksum: sha1:5e001efbe8b9404208c0ddeedde16914920129e0 pristine_git_object: 91ab4b576419398d5dfa7189f6dbf60c8f32176b src/main/java/com/cvent/AsyncDiscounts.java: id: 0e60d514801e @@ -8642,7 +8740,7 @@ trackedFiles: pristine_git_object: 7c1d735d8a9a61c556bd594e1e4cbbee43525915 src/main/java/com/cvent/AsyncEventTravel.java: id: 9ecc3d90bdf3 - last_write_checksum: sha1:b553a18396bd088ea03c661a7c3d7bdb3ba64977 + last_write_checksum: sha1:f2871e6e522511c41b76026d7731d18757ce7076 pristine_git_object: 16d95816508b654f63c788cf9d926f65d4f51595 src/main/java/com/cvent/AsyncEvents.java: id: f0df984cd544 @@ -8674,7 +8772,7 @@ trackedFiles: pristine_git_object: 1463c39f94bb7111b27f69bddd24a287e68fd95b src/main/java/com/cvent/AsyncHousing.java: id: 4fee93962efc - last_write_checksum: sha1:a63845f20989d2970e742802c48d0f0c0fff7117 + last_write_checksum: sha1:e3e6e7323c724b73d1640c117900abbcd0609ef6 pristine_git_object: 3075e9758212e8459bb2a1ac2b50ff23841f2238 src/main/java/com/cvent/AsyncHousingHotels.java: id: be2259657666 @@ -8755,7 +8853,9 @@ trackedFiles: src/main/java/com/cvent/AsyncVenueAvailability.java: last_write_checksum: sha1:f99a3af5bebb908f69ac41f76605c1e830a58e8a src/main/java/com/cvent/AsyncVenueContent.java: - last_write_checksum: sha1:d7d6600e900f82706f37ee985871ed52327e473b + last_write_checksum: sha1:b69878e2294fb3fc267e0196bf5489ca1dde9375 + src/main/java/com/cvent/AsyncVenueLeads.java: + last_write_checksum: sha1:8b786ce1d1215e183b2fffb3d03e3f58ecc6a145 src/main/java/com/cvent/AsyncVenueMeetingRooms.java: last_write_checksum: sha1:5a9f7a3b1fd1b70b1157f01e838dcc0c3261d380 src/main/java/com/cvent/AsyncVenueProfiles.java: @@ -8782,7 +8882,7 @@ trackedFiles: pristine_git_object: e20b670d734140a4edb347dfddc3dce07925a392 src/main/java/com/cvent/Attendees.java: id: 25510ead034d - last_write_checksum: sha1:55b0d7004a72e9dd319f80450be8bf46bdd8361c + last_write_checksum: sha1:76c18dc1bb4c6579f9bbe92269bec83bc461453a pristine_git_object: 8e4a9c28a4dd1818b6a978745018e004c9dac578 src/main/java/com/cvent/AudienceSegments.java: id: c9106cf1524e @@ -8830,7 +8930,7 @@ trackedFiles: pristine_git_object: fba7bb77908632105cf2fcbe226b002da7001b0e src/main/java/com/cvent/CventSDK.java: id: 4a420697fa3d - last_write_checksum: sha1:f2cd1bb679bab11206ee4920c2ed64ef4e839640 + last_write_checksum: sha1:dc6cda3775d718131a64a72a62aa94f5909adf29 pristine_git_object: 80c41313e2060978bc5d97ac0b629a1ec05252db src/main/java/com/cvent/Discounts.java: id: b320961e983a @@ -8854,7 +8954,7 @@ trackedFiles: pristine_git_object: fa3591f1bbb31f1a5f6d1b6c3dd1b5b37caf4885 src/main/java/com/cvent/EventTravel.java: id: 0591ef6f5e35 - last_write_checksum: sha1:a4b265b7dc76126e8ba428c4bbfd8961c16b3ca3 + last_write_checksum: sha1:ed332a970a331ce3cd13356de7f96cea291e979d pristine_git_object: 9c4626406e5a8b2354048223d94a1bc35af42648 src/main/java/com/cvent/Events.java: id: a10ccc6cdc25 @@ -8886,7 +8986,7 @@ trackedFiles: pristine_git_object: f72e8694025a9793746917b7073f5de375f41d4a src/main/java/com/cvent/Housing.java: id: c0c7f22683c7 - last_write_checksum: sha1:556a3c0e9b9ce51375400cb5a8a0d13c1bc0b74f + last_write_checksum: sha1:030446d81c470b86b54955b70f67d693e0b6b7f6 pristine_git_object: 5d5698d83c5f70e796f015731adcbffefff197a6 src/main/java/com/cvent/HousingHotels.java: id: 2c2bb7ca65ec @@ -8920,7 +9020,7 @@ trackedFiles: last_write_checksum: sha1:0396671d6b0de814aaa27700f35eed30523c66ed src/main/java/com/cvent/SDKConfiguration.java: id: cdb9837839f5 - last_write_checksum: sha1:978a92830e650d414756fa99244a034134ba5db3 + last_write_checksum: sha1:ca8d0f00a395ab1d303013ee4bc8e4dfde58469a pristine_git_object: 4b98b23f51bc18bad5890089f44055b6187ed9f0 src/main/java/com/cvent/Seating.java: id: 70583b24bb9b @@ -8975,7 +9075,9 @@ trackedFiles: src/main/java/com/cvent/VenueAvailability.java: last_write_checksum: sha1:c8a3baed0cefa7fb9122cd1b092ba2fbbac6c1ce src/main/java/com/cvent/VenueContent.java: - last_write_checksum: sha1:facdb2e125bc1fc4f293b2e6f8e5768169fd5985 + last_write_checksum: sha1:0c4923650603b3ee171737f6b4c4509a822c1fe5 + src/main/java/com/cvent/VenueLeads.java: + last_write_checksum: sha1:2d7388c6d10003db96e3462fb76ee335b00b0d0d src/main/java/com/cvent/VenueMeetingRooms.java: last_write_checksum: sha1:34cf5ebd5f4879ea4dce3ad8578491e1fddc819c src/main/java/com/cvent/VenueProfiles.java: @@ -8994,15 +9096,15 @@ trackedFiles: pristine_git_object: babc77d8af94b46530cb1522e0d790ed3821cbbf src/main/java/com/cvent/hooks/OAuth2Scopes.java: id: 796ee1ea9f11 - last_write_checksum: sha1:505d56d57851a11de0290e5e3b9604973a2086e6 + last_write_checksum: sha1:fb5eec0d7b6928bd1978d819e8b16970480d3c6d pristine_git_object: 5e0d00a270318551de3675f94ccb2e418a47126e src/main/java/com/cvent/models/callbacks/CreateContactHookContactTransactionCallbackResponse.java: id: 36b27dee8ec2 - last_write_checksum: sha1:a48630ef95636910f1c26f664cca6000b23d230b + last_write_checksum: sha1:1353cd27e69f30026cc54bfc4fb181af55e3da1c pristine_git_object: d848cac63cdfcdd7208072510a7b949b96f4c71c src/main/java/com/cvent/models/callbacks/async/CreateContactHookContactTransactionCallbackResponse.java: id: a961e927a52c - last_write_checksum: sha1:6d5e10689fc77571257bb5be7693eede96e38408 + last_write_checksum: sha1:6faba6707f0a96c3576df09e45b1861c117dbf2d pristine_git_object: 73bf3562f321a018a189a312c359eda3e94cd549 ? src/main/java/com/cvent/models/components/AGeneralLedgerCodeUsedToCategorizeFinancialDataWhichHelpsBusinessesAnalyzeAndReportOnTheirFinancialActivity.java : last_write_checksum: sha1:6b9ddcc266c39f69b39cd92362998a0683e71e05 @@ -9217,7 +9319,7 @@ trackedFiles: src/main/java/com/cvent/models/components/AlternateQuestion.java: last_write_checksum: sha1:65278f95c9fd038b0bc6972744cf720401469175 src/main/java/com/cvent/models/components/AlternateTravelDetail.java: - last_write_checksum: sha1:701ac4993adf507cfce7f3eec68eb2a6a630db74 + last_write_checksum: sha1:09ecbc3e0babfeac2658f0ab98dffa78c9714822 src/main/java/com/cvent/models/components/AlternateTravelDetailRequesterType.java: last_write_checksum: sha1:7dd410a904979b0b6d94d4ad94e9624419fd886e src/main/java/com/cvent/models/components/AlternateTravelPaginatedResponse.java: @@ -9568,7 +9670,7 @@ trackedFiles: last_write_checksum: sha1:6f51d45c9a221a385866423913cd8184fd6918f6 src/main/java/com/cvent/models/components/AttendeeUpdate.java: id: 0e9106bb28fb - last_write_checksum: sha1:107d7fd48f1109aa85e8da51b075073c0b4cded4 + last_write_checksum: sha1:62aafd2ca8982ea379768d179cae530ba5e2ac8f pristine_git_object: 70ced5eb915d4078a81a5ee4b5fcb5f7d6c88a90 src/main/java/com/cvent/models/components/AttendeeUpdateAdministrator.java: id: 99e7b68c8120 @@ -9595,7 +9697,7 @@ trackedFiles: last_write_checksum: sha1:9a13f595032bf0b55e2c73217b89023af62fc555 pristine_git_object: ca668f4fa69daf8ee2ff708d29c3d23ac4c2e4a7 src/main/java/com/cvent/models/components/AttendeeUpdateStatus.java: - last_write_checksum: sha1:4a8e1efafcd676ec9839bda4d2ae7f8a0c096af6 + last_write_checksum: sha1:90cdfa486522fca88723f96318b0a3178458a125 src/main/java/com/cvent/models/components/AttendeeVisibility.java: last_write_checksum: sha1:278e8215a16fc01e4f8d81356e3bfa857f58e66c src/main/java/com/cvent/models/components/AttendeeWebLinks.java: @@ -10174,10 +10276,10 @@ trackedFiles: last_write_checksum: sha1:35bda10f47ddcee4728a02577af19f7df22aa354 src/main/java/com/cvent/models/components/ContactFieldType.java: last_write_checksum: sha1:d9c388ac14e5a15097eeaf81124dc8f952ecd38e + src/main/java/com/cvent/models/components/ContactFields.java: + last_write_checksum: sha1:60bae243363b4168bfbce538149c955c08fc994e src/main/java/com/cvent/models/components/ContactFields1.java: - last_write_checksum: sha1:04984db5d470b343597c9d4a97e8c4c073d6f2ba - src/main/java/com/cvent/models/components/ContactFields2.java: - last_write_checksum: sha1:2ca2a5e8cff07d8ccaff2c008f0e789db4b023e8 + last_write_checksum: sha1:88009702676352a75134f3d1336414d76fd9d207 src/main/java/com/cvent/models/components/ContactFile.java: id: ede1c7688ac4 last_write_checksum: sha1:162452c6fe861505bd1781e2486968b476233d9c @@ -10670,7 +10772,7 @@ trackedFiles: pristine_git_object: 1e3966efaa9055adf8314e8df7860df81758c0cd src/main/java/com/cvent/models/components/EventAttendeeSubstituted.java: id: 2600affa50d5 - last_write_checksum: sha1:d2b7142f30b5a96658a4713471939b7029967626 + last_write_checksum: sha1:1c29e89d01d8b9f91e91876b0989e3f9ff145f97 pristine_git_object: 7dc94b1e80c7cc29492e7ffb72a1b5024255a198 src/main/java/com/cvent/models/components/EventAttendeeSubstitutedEvent.java: last_write_checksum: sha1:54a954dfd3242f340703def7a3f578658cef6a76 @@ -11154,6 +11256,10 @@ trackedFiles: id: 53ba93218b9b last_write_checksum: sha1:7b25543022d0c7ed425c44737831457eee6bcaae pristine_git_object: ecb98c89ec98dfa49d658d364c87c505c79fc9f1 + src/main/java/com/cvent/models/components/ExistingLeadCatcher.java: + last_write_checksum: sha1:c60cfedd07f405a5c535a7557910912792e5edc9 + src/main/java/com/cvent/models/components/ExistingLeadCatcherInput.java: + last_write_checksum: sha1:d2c685d5010476a081d33c8d1f2729c8f39a58c9 src/main/java/com/cvent/models/components/ExistingMeetingRoom.java: last_write_checksum: sha1:32f47c7bd731781540fb9ce267b403f5e4a77eaf src/main/java/com/cvent/models/components/ExistingMeetingRoomDimensions.java: @@ -11232,6 +11338,10 @@ trackedFiles: id: 5a6175928799 last_write_checksum: sha1:d79d8f3704d140c916c1d1575d9bd68d9c30952d pristine_git_object: f43f941c0e0407da8dbce28b2d46f1cd7dadb70f + src/main/java/com/cvent/models/components/ExistingVenueAmenities.java: + last_write_checksum: sha1:f64d976ef953a7fd4f66b3bfc4aef34e42ce93c4 + src/main/java/com/cvent/models/components/ExistingVenueAmenitiesInput.java: + last_write_checksum: sha1:8d8761ae6190f9c80d85abaa910786686c0531b3 src/main/java/com/cvent/models/components/ExistingVenueAttraction.java: last_write_checksum: sha1:dde6c828f64a53ec6f71d608ae405a80e250b1d8 src/main/java/com/cvent/models/components/ExistingVenueAvailabilitySettings.java: @@ -11469,7 +11579,7 @@ trackedFiles: src/main/java/com/cvent/models/components/GuestRoomOccupancy.java: last_write_checksum: sha1:e7b6f049d1f7178d4ce7f272cfb68f091efc97bc src/main/java/com/cvent/models/components/GuestRoomOccupancyPerRoomType.java: - last_write_checksum: sha1:969b10e02a52a61a16f8881ad6828008ee1021c0 + last_write_checksum: sha1:fbe126439a8edd9ecdc8972b251c78f992ac4932 src/main/java/com/cvent/models/components/GuestRoomType.java: last_write_checksum: sha1:d5f3a9f7f2021feb7fe78695b34512a75d409ecf src/main/java/com/cvent/models/components/HlsInputWithClips.java: @@ -11654,6 +11764,30 @@ trackedFiles: last_write_checksum: sha1:e07bf68005a209c2ee5e3bc432e8f99fa6a16833 src/main/java/com/cvent/models/components/Lead2.java: last_write_checksum: sha1:e9bec2f454bffd321c8d4e27531924389769b2c1 + src/main/java/com/cvent/models/components/LeadCatcher.java: + last_write_checksum: sha1:f245debbcd1b15fb35da246f9b486a18c38c76e3 + src/main/java/com/cvent/models/components/LeadCatcherAddress.java: + last_write_checksum: sha1:a0a53e87b71b7d67bf0beb0e0bcab28b6088d1e1 + src/main/java/com/cvent/models/components/LeadCatcherAddressCountry.java: + last_write_checksum: sha1:4cbea54464949c86d8ac6149cb3bf3f85973d86c + src/main/java/com/cvent/models/components/LeadCatcherAddressPatch.java: + last_write_checksum: sha1:df7963480649f1d48c2b1e4e6a49f844b648ea50 + src/main/java/com/cvent/models/components/LeadCatcherAddressStateProvince.java: + last_write_checksum: sha1:52141c5d5b75317ab2dc1e068fab4d09e6b56e04 + src/main/java/com/cvent/models/components/LeadCatcherConfig.java: + last_write_checksum: sha1:75d5683a5b14038ba1db327e6c3a9b2e3cd20b56 + src/main/java/com/cvent/models/components/LeadCatcherConfigPatch.java: + last_write_checksum: sha1:a27bff202023ad81d6c2c4cc127de4b97645e40a + src/main/java/com/cvent/models/components/LeadCatcherOverview.java: + last_write_checksum: sha1:aacb0ee5eb617ca0c3b67e7b59d6689904bfab6d + src/main/java/com/cvent/models/components/LeadCatcherPatch.java: + last_write_checksum: sha1:f623494142328e7be22c81981c2d6e74a4ead27f + src/main/java/com/cvent/models/components/LeadCatcherPatchCountry.java: + last_write_checksum: sha1:9f76a515912abac39a9a7d0071b6108b7da8c6a2 + src/main/java/com/cvent/models/components/LeadCatcherPatchStateProvince.java: + last_write_checksum: sha1:bfa896b807a5e9c6c426b715f16c03b6a3758db7 + src/main/java/com/cvent/models/components/LeadCatchersOverviewResponse.java: + last_write_checksum: sha1:ac1f08c998b34c3bcd9a8d4058bca3370dd9daf6 src/main/java/com/cvent/models/components/LeadInboundCreated.java: id: ca872581fd0c last_write_checksum: sha1:78416b05a414afd0cdaf1ec70d293878ce64b23e @@ -11718,6 +11852,8 @@ trackedFiles: last_write_checksum: sha1:a6564c6a3800e6f41c35dcd3cf05c89eb9db374f src/main/java/com/cvent/models/components/LiveStreamStatus.java: last_write_checksum: sha1:9002ab2a3c6da056970249f05bb75f24192d8c8b + src/main/java/com/cvent/models/components/LocaleLanguageVariant.java: + last_write_checksum: sha1:4277e62c107d1975fe56a4d7df86c950bd1b921c src/main/java/com/cvent/models/components/Location1.java: last_write_checksum: sha1:6ccaac94756a4cdf1bb1723694e09e833952b7ee src/main/java/com/cvent/models/components/Location1Input.java: @@ -12308,13 +12444,17 @@ trackedFiles: last_write_checksum: sha1:e4ae9badc6f2b4fe4fd02228615998d5bff5ae15 src/main/java/com/cvent/models/components/QuestionTypeJson.java: last_write_checksum: sha1:2299fa3fdde02eae804f88d73d2fdda6a9628865 + src/main/java/com/cvent/models/components/QuestionWithProgramId.java: + last_write_checksum: sha1:bee87b8615fb6c6eb3f2f88858b8ab84f5dca4b4 + src/main/java/com/cvent/models/components/QuestionWithProgramIdTravelProgram.java: + last_write_checksum: sha1:a90982367adb8d38ab3b3cb7ecc605f653058543 src/main/java/com/cvent/models/components/QuestionsPaginatedResponse.java: id: bf440f2c87c0 last_write_checksum: sha1:7ac2892c2bd3fdcd7e468f1327f25f8ac1da0cd8 pristine_git_object: 187d0c26fea51c54c8d5e8758144766cecf3fa2c src/main/java/com/cvent/models/components/QuestionsPaginatedResponse1.java: id: 6600e640367d - last_write_checksum: sha1:fde540d20a9e1fc8019858499d7b0dcb1b076527 + last_write_checksum: sha1:10a33ae5e67ea92b25aba7d2bdea1e5de55b5efa pristine_git_object: b527a49a6c46ee4b774452c85e9fd5d5be094681 src/main/java/com/cvent/models/components/Rate.java: id: d62fc76cb48b @@ -12535,7 +12675,7 @@ trackedFiles: src/main/java/com/cvent/models/components/Rfp1.java: last_write_checksum: sha1:6988698e3aaca6336ef1c568cd15ed7cc715ef49 src/main/java/com/cvent/models/components/Rfp2.java: - last_write_checksum: sha1:ea49d21974951013d5589a15b30dd8b73e257c79 + last_write_checksum: sha1:9d5c2040ea7a8a8331f6895e35629ece9a09141e src/main/java/com/cvent/models/components/RfpAgendaItem.java: last_write_checksum: sha1:5bd12361628a73a64cef8d493803e66c377302a5 src/main/java/com/cvent/models/components/RfpAgendaItemSchedule.java: @@ -12567,7 +12707,7 @@ trackedFiles: src/main/java/com/cvent/models/components/RfpPastEvents.java: last_write_checksum: sha1:908efb5cf4a51610e205010e37671dbcd4c5411b src/main/java/com/cvent/models/components/RfpQuestion.java: - last_write_checksum: sha1:6e1ff228dd77091d217595e367900c9f45137581 + last_write_checksum: sha1:dffe385ef094b67ff2d2edc4afba895d628e780f src/main/java/com/cvent/models/components/RfpRecipientLogEntry.java: last_write_checksum: sha1:465fdebcae5f69ecd1f98eb0b7a292b9c6e98e18 src/main/java/com/cvent/models/components/RfpRecipientLogEntryMessage.java: @@ -12586,8 +12726,8 @@ trackedFiles: last_write_checksum: sha1:277d5b5fb7a242406e2c14bc9346504ebf4ad4df src/main/java/com/cvent/models/components/RfpSupplierStatus.java: last_write_checksum: sha1:e15f8eb0ca88a5fd8112c725089a4bfa5a9fc61c - src/main/java/com/cvent/models/components/RfpType1.java: - last_write_checksum: sha1:86b871de5d05cba4f6aa735274f15daf0593912a + src/main/java/com/cvent/models/components/RfpType.java: + last_write_checksum: sha1:bb917f3631f9dc568361cffbd604725e6b455e6d src/main/java/com/cvent/models/components/RoomAttendeeType.java: last_write_checksum: sha1:973544106591c179789361d7a5df9155958718df src/main/java/com/cvent/models/components/RoomBedType1.java: @@ -13338,7 +13478,7 @@ trackedFiles: pristine_git_object: 8bcad17c40fc05532396fcad78c1fda4c08cfcad src/main/java/com/cvent/models/components/TravelProgram.java: id: fde28c3988da - last_write_checksum: sha1:2c84962a9edfc1fc21b27bda86904916ced8177a + last_write_checksum: sha1:2270eba092293381e1e851240ea8e59bb72c8e55 pristine_git_object: bcd4a3775817132efcc1c6867f3c3caf0bc79e71 src/main/java/com/cvent/models/components/TravelProgramFormatType.java: last_write_checksum: sha1:748e9b4fb597178066edac8ec05e9df1915498b1 @@ -13347,11 +13487,7 @@ trackedFiles: last_write_checksum: sha1:035c8d22ec7ddb367700dbcc0023c138f3d57458 pristine_git_object: a2d1f0fc026ea9356b8787f49c2dc4b06f3f5666 src/main/java/com/cvent/models/components/TravelProgramQuestion.java: - last_write_checksum: sha1:e599e170ab530a7a3a1e5a18d5e52702d8d7520f - src/main/java/com/cvent/models/components/TravelProgramQuestion1.java: - last_write_checksum: sha1:526246f61e5422fbd6b8ed4ba52707d61e118563 - src/main/java/com/cvent/models/components/TravelProgramQuestionTravelProgram.java: - last_write_checksum: sha1:d348d4a91db14603f4438014c99d0fde33adffd0 + last_write_checksum: sha1:8b1ea45741e71f9cc3e051958346bafafd9fec16 src/main/java/com/cvent/models/components/TravelProgramStatus.java: last_write_checksum: sha1:9760a04942c6affe56d8d382aa6fbd5e905a2668 src/main/java/com/cvent/models/components/TravelProgramStayType.java: @@ -13417,7 +13553,7 @@ trackedFiles: src/main/java/com/cvent/models/components/TravelRequestStatus.java: last_write_checksum: sha1:0110dda8cfecbe5e8b8052145a20ff2a6638895c src/main/java/com/cvent/models/components/TravelType.java: - last_write_checksum: sha1:8506e2f774802e73b3f2ab494761ef50bcd11a4d + last_write_checksum: sha1:9b546c4f651b49596b0bc7569dae8d082267af76 src/main/java/com/cvent/models/components/TypeAllOf.java: last_write_checksum: sha1:99cd2215fe6c2f2913fe4ddc82c27b85a21f1b98 src/main/java/com/cvent/models/components/TypeInput.java: @@ -13522,6 +13658,36 @@ trackedFiles: id: 10a18ba119bb last_write_checksum: sha1:191d2e7e14e2780effba039596a01d6363c5f43d pristine_git_object: 4727ccf107053c0937cfe08079056e65f02c9d9e + src/main/java/com/cvent/models/components/VenueAmenityAVCapability.java: + last_write_checksum: sha1:f30eb6678759c2d0bdaf03c22cd1faf570c6d67f + src/main/java/com/cvent/models/components/VenueAmenityAlcohol.java: + last_write_checksum: sha1:5ba1de7ff5ba95a3805024c2ca7e7cd5016911cd + src/main/java/com/cvent/models/components/VenueAmenityAvCapabilityItem.java: + last_write_checksum: sha1:661035ac1e8ee6a6860acba8a1db7bea243d1ce2 + src/main/java/com/cvent/models/components/VenueAmenityBusinessService.java: + last_write_checksum: sha1:2be9a2fa85d8b28cff280ca364fa2335b4f372a3 + src/main/java/com/cvent/models/components/VenueAmenityCateringDetail.java: + last_write_checksum: sha1:1ee7ffb6deafc2fe4553f843f7be99979ef1c58e + src/main/java/com/cvent/models/components/VenueAmenityEquipment.java: + last_write_checksum: sha1:95fdc6d6fe566f22428b3bb51104732d233e7f3e + src/main/java/com/cvent/models/components/VenueAmenityFacilityInfo.java: + last_write_checksum: sha1:2b352108e4e985fc6ade4aee7524df42930d59a4 + src/main/java/com/cvent/models/components/VenueAmenityFacilitySpace.java: + last_write_checksum: sha1:ab74b3a5dba138a00266ad4823fbcf3862e7f3df + src/main/java/com/cvent/models/components/VenueAmenityFacilitySpaceItem.java: + last_write_checksum: sha1:d8199caa873eef88f4973884b5fe4619de930aad + src/main/java/com/cvent/models/components/VenueAmenityParking.java: + last_write_checksum: sha1:c652e3b8d54361f37ff18f648ae14e185b2b5a68 + src/main/java/com/cvent/models/components/VenueAmenityParkingItem.java: + last_write_checksum: sha1:96fa1d322f15ea0ffc302337ad0030944e568982 + src/main/java/com/cvent/models/components/VenueAmenityProvisionPolicy.java: + last_write_checksum: sha1:7b744887592f90acb201eda7897c345989f0ca41 + src/main/java/com/cvent/models/components/VenueAmenityRecreationalActivity.java: + last_write_checksum: sha1:77824a8de3d1d3c3e2e7e13bfece99b04dd2f560 + src/main/java/com/cvent/models/components/VenueAmenityRoomFeature.java: + last_write_checksum: sha1:f161733b05c8319c9844080a56dbcaef6e4042df + src/main/java/com/cvent/models/components/VenueAmenityTransportation.java: + last_write_checksum: sha1:71f76a6ad2d1ce5f621620c4f1dc04d4bef6bce7 src/main/java/com/cvent/models/components/VenueAttraction.java: last_write_checksum: sha1:5d596690aef7c72c618dae3a6f1318f10e2f532d src/main/java/com/cvent/models/components/VenueAttractionType.java: @@ -13960,6 +14126,8 @@ trackedFiles: id: a6efa3b1ab3e last_write_checksum: sha1:97cb33d9134d7263f18f07514f4e7b84b2fd8024 pristine_git_object: 86d8d253eacfe61c8cc261d82a6a541b725e8796 + src/main/java/com/cvent/models/operations//async/CreateLeadCatcherRequestBuilder.java: + last_write_checksum: sha1:076fafc0443deed68ae83f77144ac3c4f446635c src/main/java/com/cvent/models/operations//async/CreateMeetingRequestRequestBuilder.java: id: 19e73ab37d2b last_write_checksum: sha1:eb7ccd305992f0565256229708ea0dc9f3e1639c @@ -14112,6 +14280,8 @@ trackedFiles: id: 65f5bdfeac05 last_write_checksum: sha1:921787c0051beecbeb4fec428639d6f1f7ad6008 pristine_git_object: 9a3b68f5fb564b972757652e126a7546792afe58 + src/main/java/com/cvent/models/operations//async/DeleteLeadCatcherRequestBuilder.java: + last_write_checksum: sha1:e661d5965fc049f5be13e1c3e941fda67140c262 src/main/java/com/cvent/models/operations//async/DeletePaymentRequestBuilder.java: id: a2b66eafcbae last_write_checksum: sha1:53ce2ba3a36f6f2da8aa3da6ccfe3f0ca2714cfe @@ -14562,6 +14732,8 @@ trackedFiles: id: db68fb3c2230 last_write_checksum: sha1:9c62119c65d1874a0e29f229944c47021e768872 pristine_git_object: 106dd390d7304b634ed760c8d6b1abb45161b5e4 + src/main/java/com/cvent/models/operations//async/GetLeadCatcherOverviewRequestBuilder.java: + last_write_checksum: sha1:0ec67e7f5488745778269e015fe9cbf5aac7c3ab src/main/java/com/cvent/models/operations//async/GetLeadQualificationAnswersRequestBuilder.java: id: 7e85cc512f28 last_write_checksum: sha1:d43286d0d3af49ffbe49f40a1e2859114b3e4fca @@ -14820,6 +14992,8 @@ trackedFiles: id: 0380b2f7117a last_write_checksum: sha1:eab2e54f96eeb3e367824f792617b01aaefcd56e pristine_git_object: eca46358b04b072db40f6f1630db89117374a400 + src/main/java/com/cvent/models/operations//async/GetVenueAmenitiesRequestBuilder.java: + last_write_checksum: sha1:62f5a31d4b6a59f77c3878a5f83cf5fe7552206e src/main/java/com/cvent/models/operations//async/GetVenueAttractionRequestBuilder.java: last_write_checksum: sha1:dc8e571c615ffdae35ae385e706828d9ea5613ce src/main/java/com/cvent/models/operations//async/GetVenueAvailabilitySettingsRequestBuilder.java: @@ -15028,6 +15202,8 @@ trackedFiles: id: 3158ef4f2995 last_write_checksum: sha1:5a1ce64319cc8cc189cf2cb77685f3a051679ddb pristine_git_object: 5fddcf5c368e3e3be4cc1347efab73a75e360046 + src/main/java/com/cvent/models/operations//async/ListLeadCatchersOverviewRequestBuilder.java: + last_write_checksum: sha1:63d7554a8d95f4d77915e562b86c791112ba93fc src/main/java/com/cvent/models/operations//async/ListLocationsRequestBuilder.java: id: 10b3c9d22efb last_write_checksum: sha1:896634b2435b7c0c1f13f0448fa3e9170af6c7c0 @@ -15266,6 +15442,8 @@ trackedFiles: id: ccfb0c5a52a9 last_write_checksum: sha1:f84b5c28e72ba2b1612a1659b9e655ffeee33b4a pristine_git_object: dac334b050b9be9010a4ee6c4536fd27885b9066 + src/main/java/com/cvent/models/operations//async/PatchLeadCatcherRequestBuilder.java: + last_write_checksum: sha1:c5b756c1c91167f18d65711adb66df69f8a82957 src/main/java/com/cvent/models/operations//async/PatchMeetingRoomRequestBuilder.java: last_write_checksum: sha1:a1c4527effea4ba06a4a216ec55a55ce3c666e34 src/main/java/com/cvent/models/operations//async/PatchVenueDetailsRequestBuilder.java: @@ -15502,6 +15680,8 @@ trackedFiles: id: 397764ffb681 last_write_checksum: sha1:b57757037f9ef86a857f3fc7d471044a07b3d6ab pristine_git_object: 671a45f9e02a38b61c4dd4c9bf73a621c7760d12 + src/main/java/com/cvent/models/operations//async/UpdateLeadCatcherRequestBuilder.java: + last_write_checksum: sha1:b519d6acd4a8d4e3fab152063a9d28e20a675c2e src/main/java/com/cvent/models/operations//async/UpdateMeetingRequestRequestBuilder.java: id: b73824da329b last_write_checksum: sha1:8bf4ece97532ec0cf08296e5571d870d1dddce3a @@ -15568,6 +15748,8 @@ trackedFiles: id: 9685f26a473c last_write_checksum: sha1:68a09f617f977a3f044860948ebb0441f17aad4b pristine_git_object: f2910f9292d1fca2f9d8ffe5c1179f71076b6b0e + src/main/java/com/cvent/models/operations//async/UpdateVenueAmenitiesRequestBuilder.java: + last_write_checksum: sha1:2822e0f63fdf8423855dd6a9b3bad27c6d9147ec src/main/java/com/cvent/models/operations//async/UpdateVenueAttractionRequestBuilder.java: last_write_checksum: sha1:c10d76b72d188ebf2a3e3774fb252717b8839db8 src/main/java/com/cvent/models/operations//async/UpdateVenueAvailabilitySettingsRequestBuilder.java: @@ -16164,6 +16346,12 @@ trackedFiles: id: ba3ed78f30f9 last_write_checksum: sha1:73a32d4b060fecbc7801e588216ab1d9e969b464 pristine_git_object: 04c3cc03ebbb15f85c5ebcae01c79ca84276fbfc + src/main/java/com/cvent/models/operations/CreateLeadCatcherRequest.java: + last_write_checksum: sha1:d151e16fa8a5015b784fd97422aa43a4d5e24d31 + src/main/java/com/cvent/models/operations/CreateLeadCatcherRequestBuilder.java: + last_write_checksum: sha1:2885b70284ac87e01b3fe4d906d99cc71010f907 + src/main/java/com/cvent/models/operations/CreateLeadCatcherResponse.java: + last_write_checksum: sha1:a3430647693dc4b9fe2a495546b7d6bef510511d src/main/java/com/cvent/models/operations/CreateMeetingRequestRequest.java: id: 634ccc782cac last_write_checksum: sha1:4ab5cfba212f17367896f27c54edc7304a6ac59e @@ -16584,6 +16772,12 @@ trackedFiles: id: 9f5b4b4003c9 last_write_checksum: sha1:6970a4bfa4b391484ccc7a4d89eec0988b3be8ca pristine_git_object: f994e457d076c905afd2caafc25da615b9c2a26a + src/main/java/com/cvent/models/operations/DeleteLeadCatcherRequest.java: + last_write_checksum: sha1:28768fe245ba68043d93be9604e4b1339bf2a0c2 + src/main/java/com/cvent/models/operations/DeleteLeadCatcherRequestBuilder.java: + last_write_checksum: sha1:6a52d424cf31d5701af974f128394befc357f1e7 + src/main/java/com/cvent/models/operations/DeleteLeadCatcherResponse.java: + last_write_checksum: sha1:6ccae580b8919e288bcb17a629f55a80d202df52 src/main/java/com/cvent/models/operations/DeletePaymentRequest.java: id: d28d4b8b304c last_write_checksum: sha1:f3df39b98c730341cda807362b8d55faea2a4846 @@ -17788,7 +17982,7 @@ trackedFiles: pristine_git_object: 5bc41cb72f87d2ee364084f02a5729a492ee2f97 src/main/java/com/cvent/models/operations/GetHousingEventHotelAvailabilityRequest.java: id: 9c1922ebfc6a - last_write_checksum: sha1:d01ceeee2eb77cc9cb3e5c4920ecb54ace99d2b0 + last_write_checksum: sha1:2756061c2c7e23fa2f11d499786d4bbe0d674d37 pristine_git_object: 5638cc609032bdd2aed136554cb37e2e5b8f15f5 src/main/java/com/cvent/models/operations/GetHousingEventHotelAvailabilityRequestBuilder.java: id: 8491490ed19b @@ -17930,6 +18124,12 @@ trackedFiles: id: 8ceb6e3a81a4 last_write_checksum: sha1:b4f4fa20b33fdb2cd61de85a3d631584dafe1394 pristine_git_object: 4a2a78b01486cb6356ea6ee3a31a631f63810ec5 + src/main/java/com/cvent/models/operations/GetLeadCatcherOverviewRequest.java: + last_write_checksum: sha1:1ad8ffaba2d1b163d197bcf05e6eed66b46cfe0a + src/main/java/com/cvent/models/operations/GetLeadCatcherOverviewRequestBuilder.java: + last_write_checksum: sha1:759c01dd056506fbd36604266b12f6e83ea92a67 + src/main/java/com/cvent/models/operations/GetLeadCatcherOverviewResponse.java: + last_write_checksum: sha1:89449952345b9509fb743fdce44a1c422a11c5a3 src/main/java/com/cvent/models/operations/GetLeadQualificationAnswersRequest.java: id: 237e8867a420 last_write_checksum: sha1:1204ee809870a32a085aecf43b12d9419f83aeb8 @@ -18688,6 +18888,12 @@ trackedFiles: id: 3d39aef9a1f1 last_write_checksum: sha1:0878416239ff398b1fe56be50a7c3b43e78fc34a pristine_git_object: 41aad1e31abb6db13852df58b502274ca408c95f + src/main/java/com/cvent/models/operations/GetVenueAmenitiesRequest.java: + last_write_checksum: sha1:7e6dd2e4179740b179b3bc9f8009510f0c17b819 + src/main/java/com/cvent/models/operations/GetVenueAmenitiesRequestBuilder.java: + last_write_checksum: sha1:985450fdbda06daf2ac852af3e3939d1e367a499 + src/main/java/com/cvent/models/operations/GetVenueAmenitiesResponse.java: + last_write_checksum: sha1:ccc51e07487acf643c2219c16947fdae959e04f7 src/main/java/com/cvent/models/operations/GetVenueAttractionRequest.java: last_write_checksum: sha1:d084bd6cf5f94f14e98a0aedadf95f14a2e0d9a9 src/main/java/com/cvent/models/operations/GetVenueAttractionRequestBuilder.java: @@ -19312,6 +19518,12 @@ trackedFiles: id: 977cb53848b5 last_write_checksum: sha1:a05793e17460bab35f0cc2fc03aad2fb8e1808ca pristine_git_object: 9a489ebdb164310f7127e0d3e0c9d21e3b2fc2d3 + src/main/java/com/cvent/models/operations/ListLeadCatchersOverviewRequest.java: + last_write_checksum: sha1:9a30f889e5447a8ee6bae77568be893f93719636 + src/main/java/com/cvent/models/operations/ListLeadCatchersOverviewRequestBuilder.java: + last_write_checksum: sha1:add35ca4b084aaf9de7dc940ea85007dd7237f24 + src/main/java/com/cvent/models/operations/ListLeadCatchersOverviewResponse.java: + last_write_checksum: sha1:d711f6d00f5824f92c3b82ce074dadb48aee9cc3 src/main/java/com/cvent/models/operations/ListLocationsRequest.java: id: 5d1cf2d5d2c5 last_write_checksum: sha1:f8dd8ca314ed6b48bb1bb3a576a2784e874e0970 @@ -20022,6 +20234,12 @@ trackedFiles: id: d259cc58ae8a last_write_checksum: sha1:129cdd970b24559b6314417eb23bf155d8d69569 pristine_git_object: 6545baa543dc1415fb9b87cea71a9008d41e95a8 + src/main/java/com/cvent/models/operations/PatchLeadCatcherRequest.java: + last_write_checksum: sha1:8dd5976171d0d18ce8aa35ccc71a25782dd1f232 + src/main/java/com/cvent/models/operations/PatchLeadCatcherRequestBuilder.java: + last_write_checksum: sha1:6053ff3d5d226c181b4c299f18dce1ed57100f02 + src/main/java/com/cvent/models/operations/PatchLeadCatcherResponse.java: + last_write_checksum: sha1:213efc4b45593fee8bf148710ab71299ebaddc58 src/main/java/com/cvent/models/operations/PatchMeetingRoomRequest.java: last_write_checksum: sha1:e876727adc71a660e18f88916115bb1d98d82f15 src/main/java/com/cvent/models/operations/PatchMeetingRoomRequestBuilder.java: @@ -20718,6 +20936,12 @@ trackedFiles: id: 81f0e92d941b last_write_checksum: sha1:caa744bf5512479351d12b8a3cf288ac49f185bc pristine_git_object: 5f8291fc457437b2a38d335152a1d916b524e144 + src/main/java/com/cvent/models/operations/UpdateLeadCatcherRequest.java: + last_write_checksum: sha1:40bc0cbb039cb46d38fcea047d6afa6eba0faac9 + src/main/java/com/cvent/models/operations/UpdateLeadCatcherRequestBuilder.java: + last_write_checksum: sha1:bf4dcb094f2c77fa69cc5a3bda22753c58a8b7bc + src/main/java/com/cvent/models/operations/UpdateLeadCatcherResponse.java: + last_write_checksum: sha1:9ae07e1bb86cb00786c5ec944990cd78c89861c8 src/main/java/com/cvent/models/operations/UpdateMeetingRequestRequest.java: id: cf55d6a85173 last_write_checksum: sha1:1258f414a812a6e94f2570961849b402b7ddb054 @@ -20916,6 +21140,12 @@ trackedFiles: id: 9a41629b2910 last_write_checksum: sha1:3b9af281b4622caf3c29e6823470605337cec0ac pristine_git_object: c452b2a53406741d90a24261b086e84970a01349 + src/main/java/com/cvent/models/operations/UpdateVenueAmenitiesRequest.java: + last_write_checksum: sha1:d8f9068601045320a17d296f0ce0e907dacaeb5e + src/main/java/com/cvent/models/operations/UpdateVenueAmenitiesRequestBuilder.java: + last_write_checksum: sha1:d0829207729c0f44a09dc427c6bd82a8d98fd485 + src/main/java/com/cvent/models/operations/UpdateVenueAmenitiesResponse.java: + last_write_checksum: sha1:8700f37a2614095e2a0a758cd14b1772ee68f00f src/main/java/com/cvent/models/operations/UpdateVenueAttractionRequest.java: last_write_checksum: sha1:e8855f01df751ae55c95bfba77370513c3f5037a src/main/java/com/cvent/models/operations/UpdateVenueAttractionRequestBuilder.java: @@ -21204,6 +21434,8 @@ trackedFiles: id: 1de1ccc3c0db last_write_checksum: sha1:074891c6725d7f870ac0d73a1426a7a6a84ed6d8 pristine_git_object: cee843d2d6489fc762c160eb1153d364c009d0ae + src/main/java/com/cvent/models/operations/async/CreateLeadCatcherResponse.java: + last_write_checksum: sha1:a3a381a018db2844cb0b5ecc29969e6225c4e0f0 src/main/java/com/cvent/models/operations/async/CreateMeetingRequestResponse.java: id: b2dd6d9e300c last_write_checksum: sha1:542440a65d3203f7751d5c78a5de0fe5490de127 @@ -21356,6 +21588,8 @@ trackedFiles: id: d2ba12fdb53b last_write_checksum: sha1:094a4766ec378075f32ec79d23a89fe2a27c2cf0 pristine_git_object: f244036c1caa35d36b6b514db3f0ca919ab962c6 + src/main/java/com/cvent/models/operations/async/DeleteLeadCatcherResponse.java: + last_write_checksum: sha1:43ef5dcc6fb35195fdb2669642eaaa0f70ec7edf src/main/java/com/cvent/models/operations/async/DeletePaymentResponse.java: id: 86f5cf938967 last_write_checksum: sha1:07790b7ef551616eee4a0332b20ff939848e53c5 @@ -21806,6 +22040,8 @@ trackedFiles: id: 9a177ae161eb last_write_checksum: sha1:51d252bed07010fc0a0d7947ce90e92e3df3df9c pristine_git_object: 816d3592d3c46c093df273d497249ee926fe9c63 + src/main/java/com/cvent/models/operations/async/GetLeadCatcherOverviewResponse.java: + last_write_checksum: sha1:b0e1650ae8fa64f867339f29a1590d081aa5050e src/main/java/com/cvent/models/operations/async/GetLeadQualificationAnswersResponse.java: id: 9f544462e338 last_write_checksum: sha1:cc846ecbb9df5bb60b592f7051e87e853726dca9 @@ -22064,6 +22300,8 @@ trackedFiles: id: e70f6b9e6490 last_write_checksum: sha1:3980cc4cf2424b5ce687b09db59618e873f9ed2b pristine_git_object: da9dee01303bef44034f30ce2c3ee38ae52e7121 + src/main/java/com/cvent/models/operations/async/GetVenueAmenitiesResponse.java: + last_write_checksum: sha1:f5b728b8ad4afdd140805eec8d419e1bbcd16b47 src/main/java/com/cvent/models/operations/async/GetVenueAttractionResponse.java: last_write_checksum: sha1:e01a30d267fe6caeaa963164b5550934ade1eee5 src/main/java/com/cvent/models/operations/async/GetVenueAvailabilitySettingsResponse.java: @@ -22272,6 +22510,8 @@ trackedFiles: id: 8c8180c69406 last_write_checksum: sha1:dff30cfc0dfb94e5007e7232fe78553bed42d3ec pristine_git_object: ff7ab55dfe47904b0422d528f310d67d7cb7b4b9 + src/main/java/com/cvent/models/operations/async/ListLeadCatchersOverviewResponse.java: + last_write_checksum: sha1:7a0b1cf3e89c0dba6dc670fe0fa6ddb466c34f16 src/main/java/com/cvent/models/operations/async/ListLocationsResponse.java: id: 20095caf485b last_write_checksum: sha1:9ba5aba4ec1e06aa564a6bb9769b1d91c4867084 @@ -22510,6 +22750,8 @@ trackedFiles: id: abd67c0dd8bd last_write_checksum: sha1:024e675be695760cfb075b8659221d31fda3c0fe pristine_git_object: e034808c426c0a8ab7647b7fc5191c2e9326b098 + src/main/java/com/cvent/models/operations/async/PatchLeadCatcherResponse.java: + last_write_checksum: sha1:ec9e4786d3e12cdc0d66c18f48a474d93dd2592b src/main/java/com/cvent/models/operations/async/PatchMeetingRoomResponse.java: last_write_checksum: sha1:b5e02a90e3ad4507c19c03d83b952a9953fbcaf8 src/main/java/com/cvent/models/operations/async/PatchVenueDetailsResponse.java: @@ -22746,6 +22988,8 @@ trackedFiles: id: de0cb8d04d75 last_write_checksum: sha1:258a8ea3405e398f144dbb4e347a32332938a0ff pristine_git_object: 62f5ce10d6fab05609fba689856728078651dd1e + src/main/java/com/cvent/models/operations/async/UpdateLeadCatcherResponse.java: + last_write_checksum: sha1:b7db8c71b2872ef1accb8282418f9a2c8a360ef8 src/main/java/com/cvent/models/operations/async/UpdateMeetingRequestResponse.java: id: 823609a71e96 last_write_checksum: sha1:3c5bad1d0afd2b5cdf033aec81b79ed2aecf227f @@ -22812,6 +23056,8 @@ trackedFiles: id: e1b6e988e581 last_write_checksum: sha1:33a48a0bfa8757d6398d3bb62a2f7bc8dd2c2a64 pristine_git_object: 86039089680de2a76bf8887c99fc42132adbf1fc + src/main/java/com/cvent/models/operations/async/UpdateVenueAmenitiesResponse.java: + last_write_checksum: sha1:6ba4aa9d7b34a0788445c8a1b13ef53fe5887ac4 src/main/java/com/cvent/models/operations/async/UpdateVenueAttractionResponse.java: last_write_checksum: sha1:5fecd91a5b163f01c38c1bb3161ce474998aed4f src/main/java/com/cvent/models/operations/async/UpdateVenueAvailabilitySettingsResponse.java: @@ -23048,6 +23294,8 @@ trackedFiles: id: e1827cbcf62f last_write_checksum: sha1:7a3feec56cc023a6b3b3048e15e18e9799de7af7 pristine_git_object: 29611f8dc48d465cc053699e9403e68f3a230aaf + src/main/java/com/cvent/operations/CreateLeadCatcher.java: + last_write_checksum: sha1:914247cdabc33d10ca7169ea4b61311f0d9411bc src/main/java/com/cvent/operations/CreateMeetingRequest.java: id: 198f5547bc45 last_write_checksum: sha1:0a6c70d70c374517e9cefcecc2023eedbddcf77e @@ -23200,6 +23448,8 @@ trackedFiles: id: 9e9d1ae274db last_write_checksum: sha1:ad7dde1a47d226c159fcac756778161c379ceabd pristine_git_object: 09327af29f03040f24cdfe8da8c06accdef58824 + src/main/java/com/cvent/operations/DeleteLeadCatcher.java: + last_write_checksum: sha1:f1586d91df2e561c91a380c97c63752c607053e7 src/main/java/com/cvent/operations/DeletePayment.java: id: ce813e36ba52 last_write_checksum: sha1:edc3157e546a57a43eedd48888c5b0b644f67cb8 @@ -23650,6 +23900,8 @@ trackedFiles: id: e20198d556ad last_write_checksum: sha1:d311a6e3555f3bf4d3b9f87182160812c47a7de9 pristine_git_object: 7c78d01546b925ca3ba580227794c5925e2fa97c + src/main/java/com/cvent/operations/GetLeadCatcherOverview.java: + last_write_checksum: sha1:917832a898db658401d0f50ba3317ad9d09ecfd0 src/main/java/com/cvent/operations/GetLeadQualificationAnswers.java: id: 8b3e154dad55 last_write_checksum: sha1:4f1d6024e70a1f85b225a949ead17b4063485451 @@ -23908,6 +24160,8 @@ trackedFiles: id: 642c9ddeba82 last_write_checksum: sha1:819eba848d414dcd8737fa0f6fcf7f89976ce318 pristine_git_object: f94d9973b34828b8f374a36636562d1b61bf87da + src/main/java/com/cvent/operations/GetVenueAmenities.java: + last_write_checksum: sha1:47b1a7f0662fc6636dcfdd1c10cbe32f541b0fe6 src/main/java/com/cvent/operations/GetVenueAttraction.java: last_write_checksum: sha1:a56b1b2d288de62a13f1c792286bce552d758e07 src/main/java/com/cvent/operations/GetVenueAvailabilitySettings.java: @@ -24116,6 +24370,8 @@ trackedFiles: id: 0be09ca2617f last_write_checksum: sha1:599b613782c0c40ffa44cf9034d031c6d1ad7911 pristine_git_object: 152f9d7dafefda26ac3d4b9f77d009a3f492b82f + src/main/java/com/cvent/operations/ListLeadCatchersOverview.java: + last_write_checksum: sha1:a81742fd41159eec662a71cc0028bd1e0286aecb src/main/java/com/cvent/operations/ListLocations.java: id: 49d28ca80e2b last_write_checksum: sha1:eae98f69360c06c82cb8b0b95f50db28c8bcb7b6 @@ -24358,6 +24614,8 @@ trackedFiles: id: fb82af4da6b3 last_write_checksum: sha1:66f9908bf0822fd0a7943f5d9cdebc6f9749cc53 pristine_git_object: 06a35bcd4caadf5288015c782b28ef2e51583bc4 + src/main/java/com/cvent/operations/PatchLeadCatcher.java: + last_write_checksum: sha1:7aee19b35f77a334f7a771010c9751da85d1f132 src/main/java/com/cvent/operations/PatchMeetingRoom.java: last_write_checksum: sha1:7ff0ee101912852c32326f2d0e3a3bf5ddf3e346 src/main/java/com/cvent/operations/PatchVenueDetails.java: @@ -24594,6 +24852,8 @@ trackedFiles: id: f4bd66b3c7e3 last_write_checksum: sha1:e33c1ecf1a87523101c9c10a3e4f8614f4d3a1c8 pristine_git_object: e449882cde7274841e04c6ce079d8451b3ceb4d9 + src/main/java/com/cvent/operations/UpdateLeadCatcher.java: + last_write_checksum: sha1:c07bd90c135219c7b5761b0bbd87afc06b21c6e8 src/main/java/com/cvent/operations/UpdateMeetingRequest.java: id: "866923326826" last_write_checksum: sha1:445b2f0a25b81469e18ad7d89269c466f1dc2977 @@ -24660,6 +24920,8 @@ trackedFiles: id: e4341afd373a last_write_checksum: sha1:5b1119fbfbd305462c281528c750d9882103171a pristine_git_object: aee46a839ea9098a2e95de42e7ea8481c18872cd + src/main/java/com/cvent/operations/UpdateVenueAmenities.java: + last_write_checksum: sha1:dc7edd878c8d735b640d783516b10b78664a4713 src/main/java/com/cvent/operations/UpdateVenueAttraction.java: last_write_checksum: sha1:69727b4e499ca5fbadcff950cef982a7613b15be src/main/java/com/cvent/operations/UpdateVenueAvailabilitySettings.java: @@ -30339,7 +30601,7 @@ examples: token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a" responses: "200": - application/json: {"paging": {"previousToken": "1a2b3c4d5e6f7g8h9i10j11k", "nextToken": "1a2b3c4d5e6f7g8h9i10j11k", "currentToken": "1a2b3c4d5e6f7g8h9i10j11k", "limit": 100, "totalCount": 2, "_links": {"next": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "self": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "prev": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}}, "data": [{"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "htmlText": "Question Html", "code": "4l6x", "type": "SingleChoice", "choices": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "label": "Choice A"}], "categories": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "required": true}], "subCategories": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?"}], "notApplicableAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "otherAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "comments": "Comments Text", "required": true, "fields": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "choices": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "label": "Choice A"}], "notApplicableAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "otherAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "required": true}], "maxScore": 20, "totalSum": 45, "minSelection": 1, "maxSelection": 3, "minDate": "2020-01-01", "maxDate": "2020-12-31", "showDateSelector": true, "showCurrentDate": true, "dateAnswerFormat": "DateTime", "unitLabel": "miles", "minLength": 5, "maxLength": 100, "customAnswerFormat": {"id": 104}, "supplierTypes": ["CVB", "HOTEL"], "order": 1, "standardQuestion": {"id": "50dc08af-24a9-4d01-84be-3d43133dc945"}, "aiQuestionGenerationSource": "MCP-Visual Studio Code/1.107.1"}]} + application/json: {"paging": {"previousToken": "1a2b3c4d5e6f7g8h9i10j11k", "nextToken": "1a2b3c4d5e6f7g8h9i10j11k", "currentToken": "1a2b3c4d5e6f7g8h9i10j11k", "limit": 100, "totalCount": 2, "_links": {"next": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "self": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "prev": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}}, "data": [{"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "htmlText": "Question Html", "code": "4l6x", "type": "SingleChoice", "choices": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "label": "Choice A"}], "categories": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "required": true}], "subCategories": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?"}], "notApplicableAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "otherAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "comments": "Comments Text", "required": true, "fields": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "choices": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "label": "Choice A"}], "notApplicableAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "otherAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "required": true}], "maxScore": 20, "totalSum": 45, "minSelection": 1, "maxSelection": 3, "minDate": "2020-01-01", "maxDate": "2020-12-31", "showDateSelector": true, "showCurrentDate": true, "dateAnswerFormat": "DateTime", "unitLabel": "miles", "minLength": 5, "maxLength": 100, "customAnswerFormat": {"id": 104}, "supplierTypes": ["CVB", "HOTEL"], "classificationType": "MEETING_ROOM", "order": 1, "standardQuestion": {"id": "50dc08af-24a9-4d01-84be-3d43133dc945"}, "aiQuestionGenerationSource": "MCP-Visual Studio Code/1.107.1"}]} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} listRfpPastEvents: @@ -31144,6 +31406,99 @@ examples: application/json: {"id": "501fbc6a-cfd4-468f-a2f7-14e521d33c71", "platformUserId": "00ad83olslLwIeKcW1m8", "username": "jsmith@example.com", "federatedSsoLoginName": "jsmith@example.com", "contact": {"honorificPrefix": "Mr.", "firstName": "Jack", "middleName": "John", "lastName": "Tripper", "title": "Senior Software Engineer", "organization": "Cvent", "email": "jack.tripper@example.com", "homePhone": "+17035551234", "homeFax": "+17035551234", "mobilePhone": "+17035551234", "workPhone": "+17035551234", "workFax": "+17035551234", "pager": "+17035551234", "address": {"address1": "1765 Greensboro Station Pl", "address2": "7th Floor", "address3": "", "city": "McLean", "countryCode": "US", "regionCode": "VA", "postalCode": "22102"}}, "locale": "en-US", "timezone": "America/New_York", "active": false, "usernameVerified": true, "emailVerified": "VERIFIED", "lockedOut": false, "termsOfUseAccepted": true, "failedLoginCount": 1, "markDocumentsAsInternal": false, "visibilityAccess": [], "audit": {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "lockedOutDate": "2017-01-02T02:00:00Z", "termsOfUseAcceptedDate": "2017-01-02T02:00:00Z", "lastLoginDate": "2017-01-02T02:00:00Z", "passwordLastModifiedDate": "2017-01-02T02:00:00Z"}, "customFields": [{"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "name": "What is your favorite color?", "type": "Choice - Multiple Answers", "values": ["Choice C", "Choice A"], "order": 1}], "role": {"id": "946505f6-6b29-421a-bda2-0815fcdea73c"}} "401": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + getVenueAmenities: + speakeasy-default-get-venue-amenities: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + responses: + "200": + application/json: {"avCapabilities": [{"amenity": "ONSITE_AV_STAFF", "speed": 1000}], "parking": [{"amenity": "COMPLIMENTARY_PARKING_PROVIDED", "cost": 25}], "facilitySpaceInfo": [{"amenity": "OUTDOOR_SPACE", "value": 5000}], "id": "6bb0e2db-861f-46e3-a923-eb4d959ffa00", "name": "Harbor View Convention Center"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + updateVenueAmenities: + speakeasy-default-update-venue-amenities: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + requestBody: + application/json: {"avCapabilities": [{"amenity": "ONSITE_AV_STAFF", "speed": 1000}], "parking": [{"amenity": "BUS_PARKING_AVAILABLE", "cost": 25}], "facilitySpaceInfo": [{"amenity": "OUTDOOR_SPACE", "value": 5000}]} + responses: + "200": + application/json: {"avCapabilities": [{"amenity": "ONSITE_AV_STAFF", "speed": 1000}], "parking": [{"amenity": "BUS_PARKING_AVAILABLE", "cost": 25}], "facilitySpaceInfo": [{"amenity": "OUTDOOR_SPACE", "value": 5000}], "id": "6bb0e2db-861f-46e3-a923-eb4d959ffa00", "name": "Harbor View Convention Center"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + createLeadCatcher: + speakeasy-default-create-lead-catcher: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + requestBody: + application/json: {"firstName": "Jane", "lastName": "Smith", "title": "Director of Sales", "email": "jane.smith@example.com", "phone": "+1-555-555-0101", "fax": "+1-555-555-0101", "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182"}, "locale": "en-US", "config": {"rfpEmailEnabled": true, "pdfLinkEnabled": true, "supplierContactRole": "Sales Manager"}, "additionalInfo": "Preferred contact for APAC venues."} + responses: + "201": + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "firstName": "Jane", "lastName": "Smith", "title": "Director of Sales", "email": "jane.smith@example.com", "phone": "+1-555-555-0101", "fax": "+1-555-555-0101", "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182"}, "locale": "en-US", "config": {"rfpEmailEnabled": true, "pdfLinkEnabled": true, "supplierContactRole": "Sales Manager"}, "additionalInfo": "Preferred contact for APAC venues.", "id": "7e5c2c23-b2bb-461a-adc9-025184988519"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + listLeadCatchersOverview: + speakeasy-default-list-lead-catchers-overview: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + query: + limit: 100 + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a" + responses: + "200": + application/json: {"paging": {"previousToken": "1a2b3c4d5e6f7g8h9i10j11k", "nextToken": "1a2b3c4d5e6f7g8h9i10j11k", "currentToken": "1a2b3c4d5e6f7g8h9i10j11k", "limit": 100, "totalCount": 2, "_links": {"next": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "self": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "prev": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}}, "data": [{"id": "7e5c2c23-b2bb-461a-adc9-025184988519", "firstName": "Jane", "lastName": "Smith"}]} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + updateLeadCatcher: + speakeasy-default-update-lead-catcher: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + leadCatcherId: "6e7d0d64-13f7-4472-8308-fa7067dba173" + requestBody: + application/json: {"firstName": "Jane", "lastName": "Smith", "title": "Director of Sales", "email": "jane.smith@example.com", "phone": "+1-555-555-0101", "fax": "+1-555-555-0101", "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182"}, "locale": "en-US", "config": {"rfpEmailEnabled": true, "pdfLinkEnabled": true, "supplierContactRole": "Sales Manager"}, "additionalInfo": "Preferred contact for APAC venues."} + responses: + "200": + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "firstName": "Jane", "lastName": "Smith", "title": "Director of Sales", "email": "jane.smith@example.com", "phone": "+1-555-555-0101", "fax": "+1-555-555-0101", "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182"}, "locale": "en-US", "config": {"rfpEmailEnabled": true, "pdfLinkEnabled": true, "supplierContactRole": "Sales Manager"}, "additionalInfo": "Preferred contact for APAC venues.", "id": "7e5c2c23-b2bb-461a-adc9-025184988519"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + patchLeadCatcher: + speakeasy-default-patch-lead-catcher: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + leadCatcherId: "f72c984a-4f55-4563-90e5-7e34a3be1552" + requestBody: + application/merge-patch+json: {"firstName": "Jane", "lastName": "Smith", "title": "Director of Sales", "email": "jane.smith@example.com", "phone": "+1-555-0100", "fax": "+1-555-0101", "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182"}, "locale": "en-US", "config": {"rfpEmailEnabled": true, "pdfLinkEnabled": true, "supplierContactRole": "roleName"}, "additionalInfo": "Preferred contact for APAC venues."} + responses: + "200": + application/json: {"firstName": "Jane", "lastName": "Smith", "title": "Director of Sales", "email": "jane.smith@example.com", "phone": "+1-555-0100", "fax": "+1-555-0101", "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182"}, "locale": "en-US", "config": {"rfpEmailEnabled": true, "pdfLinkEnabled": true, "supplierContactRole": "roleName"}, "additionalInfo": "Preferred contact for APAC venues."} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + deleteLeadCatcher: + speakeasy-default-delete-lead-catcher: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + leadCatcherId: "d7aa3fa0-4c8f-4353-9810-3984886b6a9d" + responses: + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + getLeadCatcherOverview: + speakeasy-default-get-lead-catcher-overview: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + leadCatcherId: "7de41b14-8083-46d4-91b6-5a3239d59277" + responses: + "200": + application/json: {"id": "7e5c2c23-b2bb-461a-adc9-025184988519", "firstName": "Jane", "lastName": "Smith"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} examplesVersion: 1.0.2 generatedTests: getAccountUserGroups: "2025-12-09T16:04:38-06:00" @@ -31585,3 +31940,10 @@ generatedTests: listAccountUsers-combined: "2026-10-15T14:36:51-04:00" listAccountUsers: "2026-10-15T14:36:51-04:00" getAccountUser: "2026-10-15T14:36:51-04:00" + getVenueAmenities: "2026-10-23T14:14:15-04:00" + updateVenueAmenities: "2026-10-23T14:14:15-04:00" + createLeadCatcher: "2026-10-23T14:14:15-04:00" + listLeadCatchersOverview: "2026-10-23T14:14:15-04:00" + updateLeadCatcher: "2026-10-23T14:14:15-04:00" + patchLeadCatcher: "2026-10-23T14:14:15-04:00" + getLeadCatcherOverview: "2026-10-23T14:14:15-04:00" diff --git a/packages/java/.speakeasy/gen.yaml b/packages/java/.speakeasy/gen.yaml index 265ab6cfe..3c4509cfa 100644 --- a/packages/java/.speakeasy/gen.yaml +++ b/packages/java/.speakeasy/gen.yaml @@ -34,7 +34,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: false java: - version: 1.6.5 + version: 1.6.6 additionalDependencies: [] additionalPlugins: [] artifactID: sdk diff --git a/packages/java/.speakeasy/tests.arazzo.yaml b/packages/java/.speakeasy/tests.arazzo.yaml index 251e7133b..043b677de 100644 --- a/packages/java/.speakeasy/tests.arazzo.yaml +++ b/packages/java/.speakeasy/tests.arazzo.yaml @@ -10571,7 +10571,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - {"paging":{"previousToken":"1a2b3c4d5e6f7g8h9i10j11k","nextToken":"1a2b3c4d5e6f7g8h9i10j11k","currentToken":"1a2b3c4d5e6f7g8h9i10j11k","limit":100,"totalCount":2,"_links":{"next":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"self":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"prev":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}},"data":[{"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","htmlText":"Question Html","code":"4l6x","type":"SingleChoice","choices":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","label":"Choice A"}],"categories":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","required":true}],"subCategories":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?"}],"notApplicableAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"otherAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"comments":"Comments Text","required":true,"fields":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","choices":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","label":"Choice A"}],"notApplicableAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"otherAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"required":true}],"maxScore":20,"totalSum":45,"minSelection":1,"maxSelection":3,"minDate":"2020-01-01","maxDate":"2020-12-31","showDateSelector":true,"showCurrentDate":true,"dateAnswerFormat":"DateTime","unitLabel":"miles","minLength":5,"maxLength":100,"customAnswerFormat":{"id":104},"supplierTypes":["CVB","HOTEL"],"order":1,"standardQuestion":{"id":"50dc08af-24a9-4d01-84be-3d43133dc945"},"aiQuestionGenerationSource":"MCP-Visual Studio Code/1.107.1"}]} + {"paging":{"previousToken":"1a2b3c4d5e6f7g8h9i10j11k","nextToken":"1a2b3c4d5e6f7g8h9i10j11k","currentToken":"1a2b3c4d5e6f7g8h9i10j11k","limit":100,"totalCount":2,"_links":{"next":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"self":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"prev":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}},"data":[{"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","htmlText":"Question Html","code":"4l6x","type":"SingleChoice","choices":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","label":"Choice A"}],"categories":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","required":true}],"subCategories":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?"}],"notApplicableAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"otherAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"comments":"Comments Text","required":true,"fields":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","choices":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","label":"Choice A"}],"notApplicableAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"otherAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"required":true}],"maxScore":20,"totalSum":45,"minSelection":1,"maxSelection":3,"minDate":"2020-01-01","maxDate":"2020-12-31","showDateSelector":true,"showCurrentDate":true,"dateAnswerFormat":"DateTime","unitLabel":"miles","minLength":5,"maxLength":100,"customAnswerFormat":{"id":104},"supplierTypes":["CVB","HOTEL"],"classificationType":"MEETING_ROOM","order":1,"standardQuestion":{"id":"50dc08af-24a9-4d01-84be-3d43133dc945"},"aiQuestionGenerationSource":"MCP-Visual Studio Code/1.107.1"}]} type: simple x-speakeasy-test-group: RFP Requirements x-speakeasy-test-rebuild: true @@ -12205,3 +12205,209 @@ workflows: type: simple x-speakeasy-test-group: Users x-speakeasy-test-rebuild: true + - workflowId: getVenueAmenities + steps: + - stepId: test + operationId: getVenueAmenities + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"avCapabilities":[{"amenity":"ONSITE_AV_STAFF","speed":1000}],"parking":[{"amenity":"COMPLIMENTARY_PARKING_PROVIDED","cost":25}],"facilitySpaceInfo":[{"amenity":"OUTDOOR_SPACE","value":5000}],"id":"6bb0e2db-861f-46e3-a923-eb4d959ffa00","name":"Harbor View Convention Center"} + type: simple + x-speakeasy-test-group: Venue Content + x-speakeasy-test-rebuild: true + - workflowId: updateVenueAmenities + steps: + - stepId: test + operationId: updateVenueAmenities + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + requestBody: + contentType: application/json + payload: + avCapabilities: + - amenity: ONSITE_AV_STAFF + speed: 1000 + facilitySpaceInfo: + - amenity: OUTDOOR_SPACE + value: 5000 + parking: + - amenity: BUS_PARKING_AVAILABLE + cost: 25 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"avCapabilities":[{"amenity":"ONSITE_AV_STAFF","speed":1000}],"parking":[{"amenity":"BUS_PARKING_AVAILABLE","cost":25}],"facilitySpaceInfo":[{"amenity":"OUTDOOR_SPACE","value":5000}],"id":"6bb0e2db-861f-46e3-a923-eb4d959ffa00","name":"Harbor View Convention Center"} + type: simple + x-speakeasy-test-group: Venue Content + x-speakeasy-test-rebuild: true + - workflowId: createLeadCatcher + steps: + - stepId: test + operationId: createLeadCatcher + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + requestBody: + contentType: application/json + payload: + additionalInfo: Preferred contact for APAC venues. + address: + city: Vienna + streetAddress1: 1234 Trap Road + streetAddress2: Suite 100 + zipPostalCode: "22182" + config: + pdfLinkEnabled: true + rfpEmailEnabled: true + supplierContactRole: Sales Manager + email: jane.smith@example.com + fax: +1-555-555-0101 + firstName: Jane + lastName: Smith + locale: en-US + phone: +1-555-555-0101 + title: Director of Sales + successCriteria: + - condition: $statusCode == 201 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","firstName":"Jane","lastName":"Smith","title":"Director of Sales","email":"jane.smith@example.com","phone":"+1-555-555-0101","fax":"+1-555-555-0101","address":{"streetAddress1":"1234 Trap Road","streetAddress2":"Suite 100","city":"Vienna","zipPostalCode":"22182"},"locale":"en-US","config":{"rfpEmailEnabled":true,"pdfLinkEnabled":true,"supplierContactRole":"Sales Manager"},"additionalInfo":"Preferred contact for APAC venues.","id":"7e5c2c23-b2bb-461a-adc9-025184988519"} + type: simple + x-speakeasy-test-group: Venue Leads + x-speakeasy-test-rebuild: true + - workflowId: listLeadCatchersOverview + steps: + - stepId: test + operationId: listLeadCatchersOverview + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: limit + in: query + value: 100 + - name: token + in: query + value: 0e28af57-511f-47ab-ae46-46cd1ca51a1a + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"paging":{"previousToken":"1a2b3c4d5e6f7g8h9i10j11k","nextToken":"1a2b3c4d5e6f7g8h9i10j11k","currentToken":"1a2b3c4d5e6f7g8h9i10j11k","limit":100,"totalCount":2,"_links":{"next":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"self":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"prev":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}},"data":[{"id":"7e5c2c23-b2bb-461a-adc9-025184988519","firstName":"Jane","lastName":"Smith"}]} + type: simple + x-speakeasy-test-group: Venue Leads + x-speakeasy-test-rebuild: true + - workflowId: updateLeadCatcher + steps: + - stepId: test + operationId: updateLeadCatcher + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: leadCatcherId + in: path + value: 6e7d0d64-13f7-4472-8308-fa7067dba173 + requestBody: + contentType: application/json + payload: + additionalInfo: Preferred contact for APAC venues. + address: + city: Vienna + streetAddress1: 1234 Trap Road + streetAddress2: Suite 100 + zipPostalCode: "22182" + config: + pdfLinkEnabled: true + rfpEmailEnabled: true + supplierContactRole: Sales Manager + email: jane.smith@example.com + fax: +1-555-555-0101 + firstName: Jane + lastName: Smith + locale: en-US + phone: +1-555-555-0101 + title: Director of Sales + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","firstName":"Jane","lastName":"Smith","title":"Director of Sales","email":"jane.smith@example.com","phone":"+1-555-555-0101","fax":"+1-555-555-0101","address":{"streetAddress1":"1234 Trap Road","streetAddress2":"Suite 100","city":"Vienna","zipPostalCode":"22182"},"locale":"en-US","config":{"rfpEmailEnabled":true,"pdfLinkEnabled":true,"supplierContactRole":"Sales Manager"},"additionalInfo":"Preferred contact for APAC venues.","id":"7e5c2c23-b2bb-461a-adc9-025184988519"} + type: simple + x-speakeasy-test-group: Venue Leads + x-speakeasy-test-rebuild: true + - workflowId: patchLeadCatcher + steps: + - stepId: test + operationId: patchLeadCatcher + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: leadCatcherId + in: path + value: f72c984a-4f55-4563-90e5-7e34a3be1552 + requestBody: + contentType: application/merge-patch+json + payload: + additionalInfo: Preferred contact for APAC venues. + address: + city: Vienna + streetAddress1: 1234 Trap Road + streetAddress2: Suite 100 + zipPostalCode: "22182" + config: + pdfLinkEnabled: true + rfpEmailEnabled: true + supplierContactRole: roleName + email: jane.smith@example.com + fax: +1-555-0101 + firstName: Jane + lastName: Smith + locale: en-US + phone: +1-555-0100 + title: Director of Sales + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"firstName":"Jane","lastName":"Smith","title":"Director of Sales","email":"jane.smith@example.com","phone":"+1-555-0100","fax":"+1-555-0101","address":{"streetAddress1":"1234 Trap Road","streetAddress2":"Suite 100","city":"Vienna","zipPostalCode":"22182"},"locale":"en-US","config":{"rfpEmailEnabled":true,"pdfLinkEnabled":true,"supplierContactRole":"roleName"},"additionalInfo":"Preferred contact for APAC venues."} + type: simple + x-speakeasy-test-group: Venue Leads + x-speakeasy-test-rebuild: true + - workflowId: getLeadCatcherOverview + steps: + - stepId: test + operationId: getLeadCatcherOverview + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: leadCatcherId + in: path + value: 7de41b14-8083-46d4-91b6-5a3239d59277 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"id":"7e5c2c23-b2bb-461a-adc9-025184988519","firstName":"Jane","lastName":"Smith"} + type: simple + x-speakeasy-test-group: Venue Leads + x-speakeasy-test-rebuild: true diff --git a/packages/java/README.md b/packages/java/README.md index 41cb8c06c..86f1f6053 100644 --- a/packages/java/README.md +++ b/packages/java/README.md @@ -44,7 +44,7 @@ The samples below show how a published SDK artifact is used: Gradle: ```groovy -implementation 'com.cvent:sdk:1.6.5' +implementation 'com.cvent:sdk:1.6.6' ``` Maven: @@ -52,7 +52,7 @@ Maven: com.cvent sdk - 1.6.5 + 1.6.6 ``` @@ -965,6 +965,8 @@ public class Application { ### [VenueContent](docs/sdks/venuecontent/README.md) +* [getVenueAmenities](docs/sdks/venuecontent/README.md#getvenueamenities) - Get Venue Amenities +* [updateVenueAmenities](docs/sdks/venuecontent/README.md#updatevenueamenities) - Update Venue Amenities * [listVenueAttractions](docs/sdks/venuecontent/README.md#listvenueattractions) - List Venue Attractions * [createVenueAttraction](docs/sdks/venuecontent/README.md#createvenueattraction) - Create Venue Attraction * [getVenueAttraction](docs/sdks/venuecontent/README.md#getvenueattraction) - Get Venue Attraction @@ -980,6 +982,15 @@ public class Application { * [associateVenueImage](docs/sdks/venuecontent/README.md#associatevenueimage) - Associate Venue Image * [disassociateVenueImage](docs/sdks/venuecontent/README.md#disassociatevenueimage) - Remove Venue Image +### [VenueLeads](docs/sdks/venueleads/README.md) + +* [createLeadCatcher](docs/sdks/venueleads/README.md#createleadcatcher) - Create Lead Catcher +* [listLeadCatchersOverview](docs/sdks/venueleads/README.md#listleadcatchersoverview) - List Lead Catchers Overview +* [updateLeadCatcher](docs/sdks/venueleads/README.md#updateleadcatcher) - Update Lead Catcher +* [patchLeadCatcher](docs/sdks/venueleads/README.md#patchleadcatcher) - Patch Lead Catcher +* [deleteLeadCatcher](docs/sdks/venueleads/README.md#deleteleadcatcher) - Delete Lead Catcher +* [getLeadCatcherOverview](docs/sdks/venueleads/README.md#getleadcatcheroverview) - Get Lead Catcher Overview + ### [VenueMeetingRooms](docs/sdks/venuemeetingrooms/README.md) * [createMeetingRoom](docs/sdks/venuemeetingrooms/README.md#createmeetingroom) - Create Meeting Room @@ -1370,10 +1381,10 @@ public class Application { many more subclasses in the JDK platform). **Inherit from [`CventSDKError`](./src/main/java/models/errors/CventSDKError.java)**: -* [`com.cvent.models.errors.ErrorResponse`](./src/main/java/models/errors/com.cvent.models.errors.ErrorResponse.java): Represents an error response with additional details of cascading error messages. Applicable to 18 of 499 methods.* -* [`com.cvent.models.errors.ErrorResponse17`](./src/main/java/models/errors/com.cvent.models.errors.ErrorResponse17.java): The error response. Applicable to 11 of 499 methods.* -* [`com.cvent.models.errors.SegmentsErrorResponse`](./src/main/java/models/errors/com.cvent.models.errors.SegmentsErrorResponse.java): Segments error response details. Status code `400`. Applicable to 2 of 499 methods.* -* [`com.cvent.models.errors.Oauth2TokenPostResponse0Exception`](./src/main/java/models/errors/com.cvent.models.errors.Oauth2TokenPostResponse0Exception.java): A bad token response. Status code `400`. Applicable to 1 of 499 methods.* +* [`com.cvent.models.errors.ErrorResponse`](./src/main/java/models/errors/com.cvent.models.errors.ErrorResponse.java): Represents an error response with additional details of cascading error messages. Applicable to 18 of 507 methods.* +* [`com.cvent.models.errors.ErrorResponse17`](./src/main/java/models/errors/com.cvent.models.errors.ErrorResponse17.java): The error response. Applicable to 11 of 507 methods.* +* [`com.cvent.models.errors.SegmentsErrorResponse`](./src/main/java/models/errors/com.cvent.models.errors.SegmentsErrorResponse.java): Segments error response details. Status code `400`. Applicable to 2 of 507 methods.* +* [`com.cvent.models.errors.Oauth2TokenPostResponse0Exception`](./src/main/java/models/errors/com.cvent.models.errors.Oauth2TokenPostResponse0Exception.java): A bad token response. Status code `400`. Applicable to 1 of 507 methods.* diff --git a/packages/java/docs/models/callbacks/CreateContactHookContactTransactionCallbackResponse.md b/packages/java/docs/models/callbacks/CreateContactHookContactTransactionCallbackResponse.md index b90377739..93c70c3e1 100644 --- a/packages/java/docs/models/callbacks/CreateContactHookContactTransactionCallbackResponse.md +++ b/packages/java/docs/models/callbacks/CreateContactHookContactTransactionCallbackResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `contactFields` | [Optional\](../../models/components/ContactFields2.md) | :heavy_minus_sign: | Your server returns this structure on a successful callback with the updated values for contact fields present in your system. | \ No newline at end of file +| `contactFields1` | [Optional\](../../models/components/ContactFields1.md) | :heavy_minus_sign: | Your server returns this structure on a successful callback with the updated values for contact fields present in your system. | \ No newline at end of file diff --git a/packages/java/docs/models/components/AlternateTravelDetail.md b/packages/java/docs/models/components/AlternateTravelDetail.md index 7c184dcf0..68321a165 100644 --- a/packages/java/docs/models/components/AlternateTravelDetail.md +++ b/packages/java/docs/models/components/AlternateTravelDetail.md @@ -1,19 +1,19 @@ # AlternateTravelDetail -Details of an alternate travel answer submitted by an attendee who opted out of air or hotel bookings. +Details of an alternate travel answer submitted by an attendee who opted out of air, hotel, or train bookings. ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `created` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | -| `createdBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | -| `lastModified` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | -| `lastModifiedBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | -| `attendee` | [Optional\](../../models/components/Attendee3.md) | :heavy_minus_sign: | Representation of the attendee | | -| `requesterId` | *Optional\* | :heavy_minus_sign: | ID of the entity this alternate travel belongs to. For an event attendee, this field is contact ID. For guest, this field is guest ID. | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | -| `requesterType` | [Optional\](../../models/components/AlternateTravelDetailRequesterType.md) | :heavy_minus_sign: | Attendee type of the entity this alternate travel belongs to. Contact means the requester is an independent attendee. Guest means the attendee is accompanying another attendee. | Contact | -| `travelType` | [Optional\](../../models/components/TravelType.md) | :heavy_minus_sign: | Type of travel alternate question | AirRequest | -| `question` | [Optional\](../../models/components/AlternateQuestion.md) | :heavy_minus_sign: | Represents a reference to an alternate travel question entity, containing only the question ID and text. | | -| `answer` | [Optional\](../../models/components/AlternateAnswer.md) | :heavy_minus_sign: | Represents the answer(s) to an alternate travel question submitted by an attendee. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `created` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | +| `createdBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | +| `lastModified` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | +| `lastModifiedBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | +| `attendee` | [Optional\](../../models/components/Attendee3.md) | :heavy_minus_sign: | Representation of the attendee | | +| `requesterId` | *Optional\* | :heavy_minus_sign: | ID of the entity this alternate travel belongs to. For an event attendee, this field is contact ID. For guest, this field is guest ID. | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | +| `requesterType` | [Optional\](../../models/components/AlternateTravelDetailRequesterType.md) | :heavy_minus_sign: | Attendee type of the entity this alternate travel belongs to. Contact means the requester is an independent attendee. Guest means the attendee is accompanying another attendee. | Contact | +| `travelType` | [Optional\](../../models/components/TravelType.md) | :heavy_minus_sign: | Type of travel alternate question. Supported values: AirRequest = attendee requested air travel; HotelRequest = attendee requested hotel travel; AirActual = actual air travel booked; GroupFlight = group flight booking; TrainRequest = attendee requested train travel; AirAndTrainRequest = attendee did not want air or train travel and submitted an alternate response. | AirRequest | +| `question` | [Optional\](../../models/components/AlternateQuestion.md) | :heavy_minus_sign: | Represents a reference to an alternate travel question entity, containing only the question ID and text. | | +| `answer` | [Optional\](../../models/components/AlternateAnswer.md) | :heavy_minus_sign: | Represents the answer(s) to an alternate travel question submitted by an attendee. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/AttendeeUpdate.md b/packages/java/docs/models/components/AttendeeUpdate.md index ff8d5213d..6a1e36972 100644 --- a/packages/java/docs/models/components/AttendeeUpdate.md +++ b/packages/java/docs/models/components/AttendeeUpdate.md @@ -5,19 +5,19 @@ Model representing an attendee to be updated in an event. ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `event` | [AttendeeUpdateEvent](../../models/components/AttendeeUpdateEvent.md) | :heavy_check_mark: | The ID of the event associated with the attendee. | | -| `contact` | [AttendeeUpdateContact](../../models/components/AttendeeUpdateContact.md) | :heavy_check_mark: | The ID of the address book contact associated with the attendee. | | -| `invitationList` | [Optional\](../../models/components/AttendeeUpdateInvitationList.md) | :heavy_minus_sign: | The ID of the invitation list associated with the attendee. | | -| `referenceId` | *Optional\* | :heavy_minus_sign: | The reference ID of an attendee. A planner determined string used to track which link attendee's used to reach the event registration. | refid-marketingwebsite | -| `note` | *Optional\* | :heavy_minus_sign: | A planner created note for an attendee, used to track details about the attendee. | Would like to sit near the front of the room for sessions. | -| `administrator` | [Optional\](../../models/components/AttendeeUpdateAdministrator.md) | :heavy_minus_sign: | The ID of the administrator contact whom registered this attendee. | | -| `admissionItem` | [Optional\](../../models/components/AttendeeUpdateAdmissionItem.md) | :heavy_minus_sign: | The ID of the attendee's admission item. Required when registering, updating a registered attendee, or cancelling an attendee. | | -| `visibility` | [Optional\](../../models/components/AttendeeVisibility.md) | :heavy_minus_sign: | Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not visible. Public: Their profile is visible. | Private | -| `answers` | List\<[AttendeeAnswer](../../models/components/AttendeeAnswer.md)> | :heavy_minus_sign: | The list of answers to the attendee's registration questions. | | -| `sendEmail` | *Optional\* | :heavy_minus_sign: | True indicates a confirmation email should be sent to the attendee. Cancelled attendees will not receive emails as a result of this field. If this field is left blank, the event settings for confirmation emails will apply. | false | -| `status` | [Optional\](../../models/components/AttendeeUpdateStatus.md) | :heavy_minus_sign: | Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Cancelled
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* Waitlisted -> Accepted | Accepted | -| `registrationType` | [Optional\](../../models/components/AttendeeUpdateRegistrationType.md) | :heavy_minus_sign: | The attendee's registration type. | | -| ~~`invitedBy`~~ | [Optional\](../../models/components/AttendeeInvitedBy.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Method by which the attendee was invited to the event. Note: This field is deprecated. Previous documentation incorrectly listed support for this feature. | Planner-Invited | -| ~~`responseMethod`~~ | [Optional\](../../models/components/AttendeeResponseMethod.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Method by which attendee registered for the event. Note: This field is deprecated. Previous documentation incorrectly listed support for this feature. | Self-Responded | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `event` | [AttendeeUpdateEvent](../../models/components/AttendeeUpdateEvent.md) | :heavy_check_mark: | The ID of the event associated with the attendee. | | +| `contact` | [AttendeeUpdateContact](../../models/components/AttendeeUpdateContact.md) | :heavy_check_mark: | The ID of the address book contact associated with the attendee. | | +| `invitationList` | [Optional\](../../models/components/AttendeeUpdateInvitationList.md) | :heavy_minus_sign: | The ID of the invitation list associated with the attendee. | | +| `referenceId` | *Optional\* | :heavy_minus_sign: | The reference ID of an attendee. A planner determined string used to track which link attendee's used to reach the event registration. | refid-marketingwebsite | +| `note` | *Optional\* | :heavy_minus_sign: | A planner created note for an attendee, used to track details about the attendee. | Would like to sit near the front of the room for sessions. | +| `administrator` | [Optional\](../../models/components/AttendeeUpdateAdministrator.md) | :heavy_minus_sign: | The ID of the administrator contact whom registered this attendee. | | +| `admissionItem` | [Optional\](../../models/components/AttendeeUpdateAdmissionItem.md) | :heavy_minus_sign: | The ID of the attendee's admission item. Required when registering, updating a registered attendee, or cancelling an attendee. | | +| `visibility` | [Optional\](../../models/components/AttendeeVisibility.md) | :heavy_minus_sign: | Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not visible. Public: Their profile is visible. | Private | +| `answers` | List\<[AttendeeAnswer](../../models/components/AttendeeAnswer.md)> | :heavy_minus_sign: | The list of answers to the attendee's registration questions. | | +| `sendEmail` | *Optional\* | :heavy_minus_sign: | True indicates a confirmation email should be sent to the attendee. Cancelled attendees will not receive emails as a result of this field. If this field is left blank, the event settings for confirmation emails will apply. | false | +| `status` | [Optional\](../../models/components/AttendeeUpdateStatus.md) | :heavy_minus_sign: | Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Cancelled
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* Waitlisted -> Accepted | Accepted | +| `registrationType` | [Optional\](../../models/components/AttendeeUpdateRegistrationType.md) | :heavy_minus_sign: | The attendee's registration type. | | +| ~~`invitedBy`~~ | [Optional\](../../models/components/AttendeeInvitedBy.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Method by which the attendee was invited to the event. Note: This field is deprecated. Previous documentation incorrectly listed support for this feature. | Planner-Invited | +| ~~`responseMethod`~~ | [Optional\](../../models/components/AttendeeResponseMethod.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Method by which attendee registered for the event. Note: This field is deprecated. Previous documentation incorrectly listed support for this feature. | Self-Responded | \ No newline at end of file diff --git a/packages/java/docs/models/components/AttendeeUpdateStatus.md b/packages/java/docs/models/components/AttendeeUpdateStatus.md index c17e8ce8c..e47f884c7 100644 --- a/packages/java/docs/models/components/AttendeeUpdateStatus.md +++ b/packages/java/docs/models/components/AttendeeUpdateStatus.md @@ -1,6 +1,23 @@ # AttendeeUpdateStatus -Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Cancelled
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* Waitlisted -> Accepted +Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event. +The following status transitions are supported by this API: +* No Response -> Visited +* No Response -> Accepted +* No Response -> Declined +* No Response -> Pending Approval +* Cancelled -> Accepted +* Cancelled -> Pending Approval +* Visited -> Accepted +* Visited -> Pending Approval +* Declined -> Accepted +* Declined -> Pending Approval +* Accepted -> Cancelled +* Pending Approval -> Accepted +* Pending Approval -> Cancelled +* Pending Approval -> Denied Approval +* Denied Approval -> Pending Approval +* Waitlisted -> Accepted ## Example Usage diff --git a/packages/java/docs/models/components/ContactFields.md b/packages/java/docs/models/components/ContactFields.md new file mode 100644 index 000000000..a272f8ed2 --- /dev/null +++ b/packages/java/docs/models/components/ContactFields.md @@ -0,0 +1,13 @@ +# ContactFields + +Details of a contact. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | Contact ID | | +| `firstName` | *Optional\* | :heavy_minus_sign: | The first name of the contact. | Henry | +| `lastName` | *Optional\* | :heavy_minus_sign: | The last name of the contact. | Potterfield | +| `email` | *Optional\* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactFields1.md b/packages/java/docs/models/components/ContactFields1.md index af53f5260..ba8424438 100644 --- a/packages/java/docs/models/components/ContactFields1.md +++ b/packages/java/docs/models/components/ContactFields1.md @@ -1,13 +1,10 @@ # ContactFields1 -Details of a contact. +An array of standard contact fields supported by Cvent. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | -| `id` | *Optional\* | :heavy_minus_sign: | Contact ID | | -| `firstName` | *Optional\* | :heavy_minus_sign: | The first name of the contact. | Henry | -| `lastName` | *Optional\* | :heavy_minus_sign: | The last name of the contact. | Potterfield | -| `email` | *Optional\* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `data` | List\<[ContactField](../../models/components/ContactField.md)> | :heavy_check_mark: | Collection of standard contact fields. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ContactFields2.md b/packages/java/docs/models/components/ContactFields2.md deleted file mode 100644 index 48ba44200..000000000 --- a/packages/java/docs/models/components/ContactFields2.md +++ /dev/null @@ -1,10 +0,0 @@ -# ContactFields2 - -An array of standard contact fields supported by Cvent. - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `data` | List\<[ContactField](../../models/components/ContactField.md)> | :heavy_check_mark: | Collection of standard contact fields. | \ No newline at end of file diff --git a/packages/java/docs/models/components/EventAttendeeSubstituted.md b/packages/java/docs/models/components/EventAttendeeSubstituted.md index 9d6cdc8d0..4367821e4 100644 --- a/packages/java/docs/models/components/EventAttendeeSubstituted.md +++ b/packages/java/docs/models/components/EventAttendeeSubstituted.md @@ -8,5 +8,5 @@ An attendee-substituted activity. | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | | `event` | [Optional\](../../models/components/EventAttendeeSubstitutedEvent.md) | :heavy_minus_sign: | The event in which this activity occurred. | -| `oldContact` | [Optional\](../../models/components/ContactFields1.md) | :heavy_minus_sign: | Details of a contact. | -| `newContact` | [Optional\](../../models/components/ContactFields1.md) | :heavy_minus_sign: | Details of a contact. | \ No newline at end of file +| `oldContact` | [Optional\](../../models/components/ContactFields.md) | :heavy_minus_sign: | Details of a contact. | +| `newContact` | [Optional\](../../models/components/ContactFields.md) | :heavy_minus_sign: | Details of a contact. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingLeadCatcher.md b/packages/java/docs/models/components/ExistingLeadCatcher.md new file mode 100644 index 000000000..7b68f26d6 --- /dev/null +++ b/packages/java/docs/models/components/ExistingLeadCatcher.md @@ -0,0 +1,24 @@ +# ExistingLeadCatcher + +An existing lead catcher contact. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `created` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | +| `createdBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | +| `lastModified` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | +| `lastModifiedBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | +| `firstName` | *String* | :heavy_check_mark: | First name of the lead catcher contact. | Jane | +| `lastName` | *String* | :heavy_check_mark: | Last name of the lead catcher contact. | Smith | +| `title` | *Optional\* | :heavy_minus_sign: | Job title of the lead catcher contact. | Director of Sales | +| `email` | *String* | :heavy_check_mark: | Email address of the lead catcher contact. RFP notifications are sent to this address. | jane.smith@example.com | +| `phone` | *String* | :heavy_check_mark: | Phone number of the lead catcher contact. | +1-555-555-0101 | +| `fax` | *Optional\* | :heavy_minus_sign: | Fax number of the lead catcher contact. | +1-555-555-0101 | +| `address` | [Optional\](../../models/components/LeadCatcherAddress.md) | :heavy_minus_sign: | Address information for a lead catcher contact. | | +| `locale` | [Optional\](../../models/components/LocaleLanguageVariant.md) | :heavy_minus_sign: | Language locale of a Lead Catcher contact.

Values:
- `zh-CHS` — Chinese (Simplified) Legacy
- `zh-TW` — Chinese (Traditional, Taiwan)
- `de-DE` — German (Germany)
- `en-US` — English (United States)
- `fi-FI` — Finnish (Finland)
- `fr-FR` — French (France)
- `it-IT` — Italian (Italy)
- `ja-JP` — Japanese (Japan)
- `ko-KR` — Korean (Korea)
- `nl-NL` — Dutch (Netherlands)
- `pt-BR` — Portuguese (Brazil)
- `ru-RU` — Russian (Russia)
- `sv-SE` — Swedish (Sweden)
- `th-TH` — Thai (Thailand)
- `tr-TR` — Turkish (Turkey)
- `uk-UA` — Ukrainian (Ukraine)
- `zh-CN` — Chinese (Simplified, China)
- `de-CH` — German (Switzerland)
- `en-GB` — English (United Kingdom)
- `es-MX` — Spanish (Mexico)
- `fr-BE` — French (Belgium)
- `it-CH` — Italian (Switzerland)
- `nl-BE` — Dutch (Belgium)
- `pt-PT` — Portuguese (Portugal)
- `ru-MD` — Russian (Moldova)
- `sv-FI` — Swedish (Finland)
- `zh-HK` — Chinese (Traditional, Hong Kong SAR)
- `de-AT` — German (Austria)
- `en-AU` — English (Australia)
- `es-ES` — Spanish (Spain, International Sort)
- `fr-CA` — French (Canada)
- `zh-SG` — Chinese (Simplified, Singapore)
- `de-LU` — German (Luxembourg)
- `en-CA` — English (Canada)
- `es-GT` — Spanish (Guatemala)
- `fr-CH` — French (Switzerland)
- `zh-MO` — Chinese (Traditional, Macao SAR)
- `de-LI` — German (Liechtenstein)
- `en-NZ` — English (New Zealand)
- `es-CR` — Spanish (Costa Rica)
- `fr-LU` — French (Luxembourg)
- `en-IE` — English (Ireland)
- `es-PA` — Spanish (Panama)
- `fr-MC` — French (Monaco)
- `en-ZA` — English (South Africa)
- `es-DO` — Spanish (Dominican Republic)
- `fr-029` — French (Caribbean)
- `en-JM` — English (Jamaica)
- `es-VE` — Spanish (Venezuela)
- `fr-RE` — French (Réunion)
- `en-029` — English (Caribbean)
- `es-CO` — Spanish (Colombia)
- `fr-CD` — French Congo (DRC)
- `en-BZ` — English (Belize)
- `es-PE` — Spanish (Peru)
- `fr-SN` — French (Senegal)
- `en-TT` — English (Trinidad and Tobago)
- `es-AR` — Spanish (Argentina)
- `fr-CM` — French (Cameroon)
- `en-ZW` — English (Zimbabwe)
- `es-EC` — Spanish (Ecuador)
- `fr-CI` — French (Côte d'Ivoire)
- `en-PH` — English (Philippines)
- `es-CL` — Spanish (Chile)
- `fr-ML` — French (Mali)
- `en-ID` — English (Indonesia)
- `es-UY` — Spanish (Uruguay)
- `fr-MA` — French (Morocco)
- `en-HK` — English (Hong Kong SAR)
- `es-PY` — Spanish (Paraguay)
- `fr-HT` — French (Haiti)
- `en-IN` — English (India)
- `es-BO` — Spanish (Bolivia)
- `en-MY` — English (Malaysia)
- `es-SV` — Spanish (El Salvador)
- `en-SG` — English (Singapore)
- `es-HN` — Spanish (Honduras)
- `es-NI` — Spanish (Nicaragua)
- `es-PR` — Spanish (Puerto Rico)
- `es-US` — Spanish (United States)
- `es-419` — Spanish (Latin America)
- `es-CU` — Spanish (Cuba)
- `zh-CHT` — Chinese (Traditional) Legacy | en-US | +| `config` | [Optional\](../../models/components/LeadCatcherConfig.md) | :heavy_minus_sign: | Notification and role configuration for a lead catcher contact. | | +| `additionalInfo` | *Optional\* | :heavy_minus_sign: | Additional information about the lead catcher contact. | Preferred contact for APAC venues. | +| `id` | *String* | :heavy_check_mark: | Lead catcher ID. | 7e5c2c23-b2bb-461a-adc9-025184988519 | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingLeadCatcherInput.md b/packages/java/docs/models/components/ExistingLeadCatcherInput.md new file mode 100644 index 000000000..0ec85e932 --- /dev/null +++ b/packages/java/docs/models/components/ExistingLeadCatcherInput.md @@ -0,0 +1,19 @@ +# ExistingLeadCatcherInput + +An existing lead catcher contact. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `firstName` | *String* | :heavy_check_mark: | First name of the lead catcher contact. | Jane | +| `lastName` | *String* | :heavy_check_mark: | Last name of the lead catcher contact. | Smith | +| `title` | *Optional\* | :heavy_minus_sign: | Job title of the lead catcher contact. | Director of Sales | +| `email` | *String* | :heavy_check_mark: | Email address of the lead catcher contact. RFP notifications are sent to this address. | jane.smith@example.com | +| `phone` | *String* | :heavy_check_mark: | Phone number of the lead catcher contact. | +1-555-555-0101 | +| `fax` | *Optional\* | :heavy_minus_sign: | Fax number of the lead catcher contact. | +1-555-555-0101 | +| `address` | [Optional\](../../models/components/LeadCatcherAddress.md) | :heavy_minus_sign: | Address information for a lead catcher contact. | | +| `locale` | [Optional\](../../models/components/LocaleLanguageVariant.md) | :heavy_minus_sign: | Language locale of a Lead Catcher contact.

Values:
- `zh-CHS` — Chinese (Simplified) Legacy
- `zh-TW` — Chinese (Traditional, Taiwan)
- `de-DE` — German (Germany)
- `en-US` — English (United States)
- `fi-FI` — Finnish (Finland)
- `fr-FR` — French (France)
- `it-IT` — Italian (Italy)
- `ja-JP` — Japanese (Japan)
- `ko-KR` — Korean (Korea)
- `nl-NL` — Dutch (Netherlands)
- `pt-BR` — Portuguese (Brazil)
- `ru-RU` — Russian (Russia)
- `sv-SE` — Swedish (Sweden)
- `th-TH` — Thai (Thailand)
- `tr-TR` — Turkish (Turkey)
- `uk-UA` — Ukrainian (Ukraine)
- `zh-CN` — Chinese (Simplified, China)
- `de-CH` — German (Switzerland)
- `en-GB` — English (United Kingdom)
- `es-MX` — Spanish (Mexico)
- `fr-BE` — French (Belgium)
- `it-CH` — Italian (Switzerland)
- `nl-BE` — Dutch (Belgium)
- `pt-PT` — Portuguese (Portugal)
- `ru-MD` — Russian (Moldova)
- `sv-FI` — Swedish (Finland)
- `zh-HK` — Chinese (Traditional, Hong Kong SAR)
- `de-AT` — German (Austria)
- `en-AU` — English (Australia)
- `es-ES` — Spanish (Spain, International Sort)
- `fr-CA` — French (Canada)
- `zh-SG` — Chinese (Simplified, Singapore)
- `de-LU` — German (Luxembourg)
- `en-CA` — English (Canada)
- `es-GT` — Spanish (Guatemala)
- `fr-CH` — French (Switzerland)
- `zh-MO` — Chinese (Traditional, Macao SAR)
- `de-LI` — German (Liechtenstein)
- `en-NZ` — English (New Zealand)
- `es-CR` — Spanish (Costa Rica)
- `fr-LU` — French (Luxembourg)
- `en-IE` — English (Ireland)
- `es-PA` — Spanish (Panama)
- `fr-MC` — French (Monaco)
- `en-ZA` — English (South Africa)
- `es-DO` — Spanish (Dominican Republic)
- `fr-029` — French (Caribbean)
- `en-JM` — English (Jamaica)
- `es-VE` — Spanish (Venezuela)
- `fr-RE` — French (Réunion)
- `en-029` — English (Caribbean)
- `es-CO` — Spanish (Colombia)
- `fr-CD` — French Congo (DRC)
- `en-BZ` — English (Belize)
- `es-PE` — Spanish (Peru)
- `fr-SN` — French (Senegal)
- `en-TT` — English (Trinidad and Tobago)
- `es-AR` — Spanish (Argentina)
- `fr-CM` — French (Cameroon)
- `en-ZW` — English (Zimbabwe)
- `es-EC` — Spanish (Ecuador)
- `fr-CI` — French (Côte d'Ivoire)
- `en-PH` — English (Philippines)
- `es-CL` — Spanish (Chile)
- `fr-ML` — French (Mali)
- `en-ID` — English (Indonesia)
- `es-UY` — Spanish (Uruguay)
- `fr-MA` — French (Morocco)
- `en-HK` — English (Hong Kong SAR)
- `es-PY` — Spanish (Paraguay)
- `fr-HT` — French (Haiti)
- `en-IN` — English (India)
- `es-BO` — Spanish (Bolivia)
- `en-MY` — English (Malaysia)
- `es-SV` — Spanish (El Salvador)
- `en-SG` — English (Singapore)
- `es-HN` — Spanish (Honduras)
- `es-NI` — Spanish (Nicaragua)
- `es-PR` — Spanish (Puerto Rico)
- `es-US` — Spanish (United States)
- `es-419` — Spanish (Latin America)
- `es-CU` — Spanish (Cuba)
- `zh-CHT` — Chinese (Traditional) Legacy | en-US | +| `config` | [Optional\](../../models/components/LeadCatcherConfig.md) | :heavy_minus_sign: | Notification and role configuration for a lead catcher contact. | | +| `additionalInfo` | *Optional\* | :heavy_minus_sign: | Additional information about the lead catcher contact. | Preferred contact for APAC venues. | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingVenueAmenities.md b/packages/java/docs/models/components/ExistingVenueAmenities.md new file mode 100644 index 000000000..337e04d06 --- /dev/null +++ b/packages/java/docs/models/components/ExistingVenueAmenities.md @@ -0,0 +1,27 @@ +# ExistingVenueAmenities + +The current amenity selections for a venue, including identifying properties. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `recreationalActivities` | List\<[VenueAmenityRecreationalActivity](../../models/components/VenueAmenityRecreationalActivity.md)> | :heavy_minus_sign: | Recreational facilities and leisure activities available at the venue.

Values:
- `GOLF_ON_GROUNDS` — Golf on Grounds
- `HEALTH_CLUB` — Health Club
- `INDOOR_POOL` — Indoor Pool
- `OUTDOOR_POOL` — Outdoor Pool
- `SKIING` — Skiing
- `SPASALON` — Spa/Salon
- `TENNIS` — Tennis
- `WATER_SPORTS` — Water Sports
- `WHIRLPOOL` — Whirlpool | | +| `roomFeatures` | List\<[VenueAmenityRoomFeature](../../models/components/VenueAmenityRoomFeature.md)> | :heavy_minus_sign: | In-room features and guest services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `CONCIERGE_SERVICES` — Concierge Services
- `FREE_LOCAL_CALLS` — Free Local Calls
- `FREE_TOLL_FREE_CALLS` — Toll-Free Calls
- `GARDEN_VIEWS` — Garden Views
- `INTERNET` — Internet
- `LAUNDRY` — Laundry
- `LUGGAGE_STORAGE` — Luggage Storage
- `MOUNTAIN_VIEWS` — Mountain Views
- `OCEANWATER_VIEWS` — Ocean/Water Views
- `ROOM_SERVICE` — Room Service
- `URBAN_VIEWS` — Urban Views
- `VOICE_MAIL_BOX` — Voicemail Box | | +| `avCapabilities` | List\<[VenueAmenityAvCapabilityItem](../../models/components/VenueAmenityAvCapabilityItem.md)> | :heavy_minus_sign: | Audio-visual equipment and connectivity available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Each entry selects an AV capability and, where applicable, provides an internet speed. A `speed` value may only be supplied when `amenity` is `HIGH_SPEED_INTERNET`. | | +| `businessServices` | List\<[VenueAmenityBusinessService](../../models/components/VenueAmenityBusinessService.md)> | :heavy_minus_sign: | Business and communications services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AUDIOVIDEO_CAPABILITIES` — Audio/Video Capabilities
- `BUSINESS_CENTER` — Business Center
- `VIDEO_CONFERENCING` — Video Conferencing
- `VIP_SERVICES` — VIP Services | | +| `transportation` | List\<[VenueAmenityTransportation](../../models/components/VenueAmenityTransportation.md)> | :heavy_minus_sign: | Transportation options by which the venue is accessible. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `BUS` — Bus
- `SHUTTLE` — Shuttle
- `SUBWAY` — Subway
- `TAXI` — Taxi
- `TRAIN` — Train | | +| `equipment` | List\<[VenueAmenityEquipment](../../models/components/VenueAmenityEquipment.md)> | :heavy_minus_sign: | Physical equipment and staging resources available for event use at the venue.

Values:
- `DANCE_FLOORS` — Dance Floors
- `LOADING_DOCK_AVAILABLE` — Loading Dock
- `PIANO` — Piano
- `PORTABLE_HEATERS` — Portable Heaters
- `PORTABLE_WALLS` — Portable Walls
- `STAGING` — Staging | | +| `parking` | List\<[VenueAmenityParkingItem](../../models/components/VenueAmenityParkingItem.md)> | :heavy_minus_sign: | Parking options available at or near the venue. Each entry selects a parking type and, where applicable, provides the daily rate. A cost may only be supplied for `PAID_PARKING_AVAILABLE` and `VALET_PARKING_AVAILABLE`. | | +| `facilityInfo` | List\<[VenueAmenityFacilityInfo](../../models/components/VenueAmenityFacilityInfo.md)> | :heavy_minus_sign: | General facility features and on-site services available at the venue. Applicable only to the following venue types: Boutique Hotel, Conference Center, Convention Center, Exposition Center, Hotel, Luxury Hotel, and Resort (all values below except `BUSINESS_CENTER` and `INTERNET`); Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue (only `BUSINESS_CENTER`, `CASINO`, `INTERNET`, `RESTAURANT_ON_SITE`, and `WHEELCHAIR_ACCESSIBLE`).

Values:
- `ALL_INCLUSIVE` — All Inclusive
- `BUSINESS_CENTER` — Business Center
- `CASINO` — Casino
- `EXTENDED_STAY` — Extended Stay
- `FREE_AIRPORT_SHUTTLE` — Free Airport Shuttle
- `GIFT_SHOP_ON_SITE` — Onsite Gift Shop
- `INTERNET` — Internet
- `ONSITE_CATERING` — Onsite Catering
- `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed
- `PETS_WELCOME` — Pet Friendly
- `RENTAL_CAR_SERVICES` — Rental Car Services
- `RESTAURANT_ON_SITE` — Onsite Restaurant
- `SECURITY_STAFF_ONSITE` — Onsite Security
- `WHEELCHAIR_ACCESSIBLE` — Wheelchair Accessible | | +| `facilitySpaceInfo` | List\<[VenueAmenityFacilitySpaceItem](../../models/components/VenueAmenityFacilitySpaceItem.md)> | :heavy_minus_sign: | Facility space measurements at the venue. Each entry selects a space type and optionally provides the available event space area, expressed in the venue's configured unit of measurement. | | +| `cateringDetails` | List\<[VenueAmenityCateringDetail](../../models/components/VenueAmenityCateringDetail.md)> | :heavy_minus_sign: | Catering options and policies offered at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `KITCHEN_ONSITE` — Kitchen Onsite
- `ONSITE_CATERING` — Onsite Catering
- `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed | | +| `alcohol` | List\<[VenueAmenityAlcohol](../../models/components/VenueAmenityAlcohol.md)> | :heavy_minus_sign: | Alcohol-related policies at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `ALCOHOL_ALLOWED` — Alcohol Allowed
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | | +| `audioVisual` | List\<[VenueAmenityProvisionPolicy](../../models/components/VenueAmenityProvisionPolicy.md)> | :heavy_minus_sign: | Audio-visual provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | | +| `furniture` | List\<[VenueAmenityProvisionPolicy](../../models/components/VenueAmenityProvisionPolicy.md)> | :heavy_minus_sign: | Furniture provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | | +| `linensAndTableSettings` | List\<[VenueAmenityProvisionPolicy](../../models/components/VenueAmenityProvisionPolicy.md)> | :heavy_minus_sign: | Linens and table settings provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | | +| `lighting` | List\<[VenueAmenityProvisionPolicy](../../models/components/VenueAmenityProvisionPolicy.md)> | :heavy_minus_sign: | Lighting provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | | +| `otherDecor` | List\<[VenueAmenityProvisionPolicy](../../models/components/VenueAmenityProvisionPolicy.md)> | :heavy_minus_sign: | Other décor provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | | +| `id` | *String* | :heavy_check_mark: | Venue ID. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `name` | *String* | :heavy_check_mark: | The name of the venue. | Harbor View Convention Center | \ No newline at end of file diff --git a/packages/java/docs/models/components/ExistingVenueAmenitiesInput.md b/packages/java/docs/models/components/ExistingVenueAmenitiesInput.md new file mode 100644 index 000000000..cb41db1bc --- /dev/null +++ b/packages/java/docs/models/components/ExistingVenueAmenitiesInput.md @@ -0,0 +1,25 @@ +# ExistingVenueAmenitiesInput + +The current amenity selections for a venue, including identifying properties. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `recreationalActivities` | List\<[VenueAmenityRecreationalActivity](../../models/components/VenueAmenityRecreationalActivity.md)> | :heavy_minus_sign: | Recreational facilities and leisure activities available at the venue.

Values:
- `GOLF_ON_GROUNDS` — Golf on Grounds
- `HEALTH_CLUB` — Health Club
- `INDOOR_POOL` — Indoor Pool
- `OUTDOOR_POOL` — Outdoor Pool
- `SKIING` — Skiing
- `SPASALON` — Spa/Salon
- `TENNIS` — Tennis
- `WATER_SPORTS` — Water Sports
- `WHIRLPOOL` — Whirlpool | +| `roomFeatures` | List\<[VenueAmenityRoomFeature](../../models/components/VenueAmenityRoomFeature.md)> | :heavy_minus_sign: | In-room features and guest services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `CONCIERGE_SERVICES` — Concierge Services
- `FREE_LOCAL_CALLS` — Free Local Calls
- `FREE_TOLL_FREE_CALLS` — Toll-Free Calls
- `GARDEN_VIEWS` — Garden Views
- `INTERNET` — Internet
- `LAUNDRY` — Laundry
- `LUGGAGE_STORAGE` — Luggage Storage
- `MOUNTAIN_VIEWS` — Mountain Views
- `OCEANWATER_VIEWS` — Ocean/Water Views
- `ROOM_SERVICE` — Room Service
- `URBAN_VIEWS` — Urban Views
- `VOICE_MAIL_BOX` — Voicemail Box | +| `avCapabilities` | List\<[VenueAmenityAvCapabilityItem](../../models/components/VenueAmenityAvCapabilityItem.md)> | :heavy_minus_sign: | Audio-visual equipment and connectivity available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Each entry selects an AV capability and, where applicable, provides an internet speed. A `speed` value may only be supplied when `amenity` is `HIGH_SPEED_INTERNET`. | +| `businessServices` | List\<[VenueAmenityBusinessService](../../models/components/VenueAmenityBusinessService.md)> | :heavy_minus_sign: | Business and communications services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AUDIOVIDEO_CAPABILITIES` — Audio/Video Capabilities
- `BUSINESS_CENTER` — Business Center
- `VIDEO_CONFERENCING` — Video Conferencing
- `VIP_SERVICES` — VIP Services | +| `transportation` | List\<[VenueAmenityTransportation](../../models/components/VenueAmenityTransportation.md)> | :heavy_minus_sign: | Transportation options by which the venue is accessible. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `BUS` — Bus
- `SHUTTLE` — Shuttle
- `SUBWAY` — Subway
- `TAXI` — Taxi
- `TRAIN` — Train | +| `equipment` | List\<[VenueAmenityEquipment](../../models/components/VenueAmenityEquipment.md)> | :heavy_minus_sign: | Physical equipment and staging resources available for event use at the venue.

Values:
- `DANCE_FLOORS` — Dance Floors
- `LOADING_DOCK_AVAILABLE` — Loading Dock
- `PIANO` — Piano
- `PORTABLE_HEATERS` — Portable Heaters
- `PORTABLE_WALLS` — Portable Walls
- `STAGING` — Staging | +| `parking` | List\<[VenueAmenityParkingItem](../../models/components/VenueAmenityParkingItem.md)> | :heavy_minus_sign: | Parking options available at or near the venue. Each entry selects a parking type and, where applicable, provides the daily rate. A cost may only be supplied for `PAID_PARKING_AVAILABLE` and `VALET_PARKING_AVAILABLE`. | +| `facilityInfo` | List\<[VenueAmenityFacilityInfo](../../models/components/VenueAmenityFacilityInfo.md)> | :heavy_minus_sign: | General facility features and on-site services available at the venue. Applicable only to the following venue types: Boutique Hotel, Conference Center, Convention Center, Exposition Center, Hotel, Luxury Hotel, and Resort (all values below except `BUSINESS_CENTER` and `INTERNET`); Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue (only `BUSINESS_CENTER`, `CASINO`, `INTERNET`, `RESTAURANT_ON_SITE`, and `WHEELCHAIR_ACCESSIBLE`).

Values:
- `ALL_INCLUSIVE` — All Inclusive
- `BUSINESS_CENTER` — Business Center
- `CASINO` — Casino
- `EXTENDED_STAY` — Extended Stay
- `FREE_AIRPORT_SHUTTLE` — Free Airport Shuttle
- `GIFT_SHOP_ON_SITE` — Onsite Gift Shop
- `INTERNET` — Internet
- `ONSITE_CATERING` — Onsite Catering
- `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed
- `PETS_WELCOME` — Pet Friendly
- `RENTAL_CAR_SERVICES` — Rental Car Services
- `RESTAURANT_ON_SITE` — Onsite Restaurant
- `SECURITY_STAFF_ONSITE` — Onsite Security
- `WHEELCHAIR_ACCESSIBLE` — Wheelchair Accessible | +| `facilitySpaceInfo` | List\<[VenueAmenityFacilitySpaceItem](../../models/components/VenueAmenityFacilitySpaceItem.md)> | :heavy_minus_sign: | Facility space measurements at the venue. Each entry selects a space type and optionally provides the available event space area, expressed in the venue's configured unit of measurement. | +| `cateringDetails` | List\<[VenueAmenityCateringDetail](../../models/components/VenueAmenityCateringDetail.md)> | :heavy_minus_sign: | Catering options and policies offered at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `KITCHEN_ONSITE` — Kitchen Onsite
- `ONSITE_CATERING` — Onsite Catering
- `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed | +| `alcohol` | List\<[VenueAmenityAlcohol](../../models/components/VenueAmenityAlcohol.md)> | :heavy_minus_sign: | Alcohol-related policies at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `ALCOHOL_ALLOWED` — Alcohol Allowed
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | +| `audioVisual` | List\<[VenueAmenityProvisionPolicy](../../models/components/VenueAmenityProvisionPolicy.md)> | :heavy_minus_sign: | Audio-visual provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | +| `furniture` | List\<[VenueAmenityProvisionPolicy](../../models/components/VenueAmenityProvisionPolicy.md)> | :heavy_minus_sign: | Furniture provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | +| `linensAndTableSettings` | List\<[VenueAmenityProvisionPolicy](../../models/components/VenueAmenityProvisionPolicy.md)> | :heavy_minus_sign: | Linens and table settings provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | +| `lighting` | List\<[VenueAmenityProvisionPolicy](../../models/components/VenueAmenityProvisionPolicy.md)> | :heavy_minus_sign: | Lighting provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | +| `otherDecor` | List\<[VenueAmenityProvisionPolicy](../../models/components/VenueAmenityProvisionPolicy.md)> | :heavy_minus_sign: | Other décor provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | \ No newline at end of file diff --git a/packages/java/docs/models/components/GuestRoomOccupancyPerRoomType.md b/packages/java/docs/models/components/GuestRoomOccupancyPerRoomType.md index 0090b4f22..da3100bc5 100644 --- a/packages/java/docs/models/components/GuestRoomOccupancyPerRoomType.md +++ b/packages/java/docs/models/components/GuestRoomOccupancyPerRoomType.md @@ -8,4 +8,4 @@ Room occupancy for a room type. | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `occupancy` | [Optional\](../../models/components/GuestRoomOccupancy.md) | :heavy_minus_sign: | Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. | SINGLE | -| `type` | [Optional\](../../models/components/GuestRoomType.md) | :heavy_minus_sign: | Guest room type. `ANY`: Room can be any type. `SINGLE`: Room with one bed. `DOUBLE`: Room with two beds. `SUITE`: Room is an entire suite. `STAFF`: Room is for staff. | DOUBLE | \ No newline at end of file +| `type` | [GuestRoomType](../../models/components/GuestRoomType.md) | :heavy_check_mark: | Guest room type. `ANY`: Room can be any type. `SINGLE`: Room with one bed. `DOUBLE`: Room with two beds. `SUITE`: Room is an entire suite. `STAFF`: Room is for staff. | DOUBLE | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadCatcher.md b/packages/java/docs/models/components/LeadCatcher.md new file mode 100644 index 000000000..a38345c05 --- /dev/null +++ b/packages/java/docs/models/components/LeadCatcher.md @@ -0,0 +1,19 @@ +# LeadCatcher + +A contact attached to a venue offering who receives email notifications when RFPs are submitted to that venue. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `firstName` | *String* | :heavy_check_mark: | First name of the lead catcher contact. | Jane | +| `lastName` | *String* | :heavy_check_mark: | Last name of the lead catcher contact. | Smith | +| `title` | *Optional\* | :heavy_minus_sign: | Job title of the lead catcher contact. | Director of Sales | +| `email` | *String* | :heavy_check_mark: | Email address of the lead catcher contact. RFP notifications are sent to this address. | jane.smith@example.com | +| `phone` | *String* | :heavy_check_mark: | Phone number of the lead catcher contact. | +1-555-555-0101 | +| `fax` | *Optional\* | :heavy_minus_sign: | Fax number of the lead catcher contact. | +1-555-555-0101 | +| `address` | [Optional\](../../models/components/LeadCatcherAddress.md) | :heavy_minus_sign: | Address information for a lead catcher contact. | | +| `locale` | [Optional\](../../models/components/LocaleLanguageVariant.md) | :heavy_minus_sign: | Language locale of a Lead Catcher contact.

Values:
- `zh-CHS` — Chinese (Simplified) Legacy
- `zh-TW` — Chinese (Traditional, Taiwan)
- `de-DE` — German (Germany)
- `en-US` — English (United States)
- `fi-FI` — Finnish (Finland)
- `fr-FR` — French (France)
- `it-IT` — Italian (Italy)
- `ja-JP` — Japanese (Japan)
- `ko-KR` — Korean (Korea)
- `nl-NL` — Dutch (Netherlands)
- `pt-BR` — Portuguese (Brazil)
- `ru-RU` — Russian (Russia)
- `sv-SE` — Swedish (Sweden)
- `th-TH` — Thai (Thailand)
- `tr-TR` — Turkish (Turkey)
- `uk-UA` — Ukrainian (Ukraine)
- `zh-CN` — Chinese (Simplified, China)
- `de-CH` — German (Switzerland)
- `en-GB` — English (United Kingdom)
- `es-MX` — Spanish (Mexico)
- `fr-BE` — French (Belgium)
- `it-CH` — Italian (Switzerland)
- `nl-BE` — Dutch (Belgium)
- `pt-PT` — Portuguese (Portugal)
- `ru-MD` — Russian (Moldova)
- `sv-FI` — Swedish (Finland)
- `zh-HK` — Chinese (Traditional, Hong Kong SAR)
- `de-AT` — German (Austria)
- `en-AU` — English (Australia)
- `es-ES` — Spanish (Spain, International Sort)
- `fr-CA` — French (Canada)
- `zh-SG` — Chinese (Simplified, Singapore)
- `de-LU` — German (Luxembourg)
- `en-CA` — English (Canada)
- `es-GT` — Spanish (Guatemala)
- `fr-CH` — French (Switzerland)
- `zh-MO` — Chinese (Traditional, Macao SAR)
- `de-LI` — German (Liechtenstein)
- `en-NZ` — English (New Zealand)
- `es-CR` — Spanish (Costa Rica)
- `fr-LU` — French (Luxembourg)
- `en-IE` — English (Ireland)
- `es-PA` — Spanish (Panama)
- `fr-MC` — French (Monaco)
- `en-ZA` — English (South Africa)
- `es-DO` — Spanish (Dominican Republic)
- `fr-029` — French (Caribbean)
- `en-JM` — English (Jamaica)
- `es-VE` — Spanish (Venezuela)
- `fr-RE` — French (Réunion)
- `en-029` — English (Caribbean)
- `es-CO` — Spanish (Colombia)
- `fr-CD` — French Congo (DRC)
- `en-BZ` — English (Belize)
- `es-PE` — Spanish (Peru)
- `fr-SN` — French (Senegal)
- `en-TT` — English (Trinidad and Tobago)
- `es-AR` — Spanish (Argentina)
- `fr-CM` — French (Cameroon)
- `en-ZW` — English (Zimbabwe)
- `es-EC` — Spanish (Ecuador)
- `fr-CI` — French (Côte d'Ivoire)
- `en-PH` — English (Philippines)
- `es-CL` — Spanish (Chile)
- `fr-ML` — French (Mali)
- `en-ID` — English (Indonesia)
- `es-UY` — Spanish (Uruguay)
- `fr-MA` — French (Morocco)
- `en-HK` — English (Hong Kong SAR)
- `es-PY` — Spanish (Paraguay)
- `fr-HT` — French (Haiti)
- `en-IN` — English (India)
- `es-BO` — Spanish (Bolivia)
- `en-MY` — English (Malaysia)
- `es-SV` — Spanish (El Salvador)
- `en-SG` — English (Singapore)
- `es-HN` — Spanish (Honduras)
- `es-NI` — Spanish (Nicaragua)
- `es-PR` — Spanish (Puerto Rico)
- `es-US` — Spanish (United States)
- `es-419` — Spanish (Latin America)
- `es-CU` — Spanish (Cuba)
- `zh-CHT` — Chinese (Traditional) Legacy | en-US | +| `config` | [Optional\](../../models/components/LeadCatcherConfig.md) | :heavy_minus_sign: | Notification and role configuration for a lead catcher contact. | | +| `additionalInfo` | *Optional\* | :heavy_minus_sign: | Additional information about the lead catcher contact. | Preferred contact for APAC venues. | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadCatcherAddress.md b/packages/java/docs/models/components/LeadCatcherAddress.md new file mode 100644 index 000000000..48941e891 --- /dev/null +++ b/packages/java/docs/models/components/LeadCatcherAddress.md @@ -0,0 +1,15 @@ +# LeadCatcherAddress + +Address information for a lead catcher contact. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `streetAddress1` | *Optional\* | :heavy_minus_sign: | Street address line 1. | 1234 Trap Road | +| `streetAddress2` | *Optional\* | :heavy_minus_sign: | Street address line 2. | Suite 100 | +| `city` | *Optional\* | :heavy_minus_sign: | City. | Vienna | +| `stateProvince` | [Optional\](../../models/components/LeadCatcherAddressStateProvince.md) | :heavy_minus_sign: | State or province code for the contact address (ISO 3166-2). | | +| `zipPostalCode` | *Optional\* | :heavy_minus_sign: | ZIP or postal code. | 22182 | +| `country` | [Optional\](../../models/components/LeadCatcherAddressCountry.md) | :heavy_minus_sign: | Country code for the contact address (ISO 3166-1 alpha-2). | | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadCatcherAddressCountry.md b/packages/java/docs/models/components/LeadCatcherAddressCountry.md new file mode 100644 index 000000000..8eff03aef --- /dev/null +++ b/packages/java/docs/models/components/LeadCatcherAddressCountry.md @@ -0,0 +1,274 @@ +# LeadCatcherAddressCountry + +Country code for the contact address (ISO 3166-1 alpha-2). + +## Example Usage + +```java +import com.cvent.models.components.LeadCatcherAddressCountry; + +LeadCatcherAddressCountry value = LeadCatcherAddressCountry.BLANK; +``` + + +## Values + +| Name | Value | +| ------- | ------- | +| `BLANK` | BLANK | +| `AD` | AD | +| `AE` | AE | +| `AF` | AF | +| `AG` | AG | +| `AI` | AI | +| `AL` | AL | +| `AM` | AM | +| `AN` | AN | +| `AO` | AO | +| `AQ` | AQ | +| `AR` | AR | +| `AS` | AS | +| `AT` | AT | +| `AU` | AU | +| `AW` | AW | +| `AX` | AX | +| `AZ` | AZ | +| `BA` | BA | +| `BB` | BB | +| `BD` | BD | +| `BE` | BE | +| `BF` | BF | +| `BG` | BG | +| `BH` | BH | +| `BI` | BI | +| `BJ` | BJ | +| `BL` | BL | +| `BM` | BM | +| `BN` | BN | +| `BO` | BO | +| `BQ` | BQ | +| `BR` | BR | +| `BS` | BS | +| `BT` | BT | +| `BV` | BV | +| `BW` | BW | +| `BY` | BY | +| `BZ` | BZ | +| `CA` | CA | +| `CC` | CC | +| `CD` | CD | +| `CF` | CF | +| `CG` | CG | +| `CH` | CH | +| `CI` | CI | +| `CK` | CK | +| `CL` | CL | +| `CM` | CM | +| `CN` | CN | +| `CO` | CO | +| `CR` | CR | +| `CU` | CU | +| `CV` | CV | +| `CW` | CW | +| `CX` | CX | +| `CY` | CY | +| `CZ` | CZ | +| `DE` | DE | +| `DJ` | DJ | +| `DK` | DK | +| `DM` | DM | +| `DO` | DO | +| `DZ` | DZ | +| `EC` | EC | +| `EE` | EE | +| `EG` | EG | +| `EH` | EH | +| `ER` | ER | +| `ES` | ES | +| `ET` | ET | +| `FI` | FI | +| `FJ` | FJ | +| `FK` | FK | +| `FM` | FM | +| `FO` | FO | +| `FR` | FR | +| `GA` | GA | +| `GB` | GB | +| `GB1` | GB_1 | +| `GB2` | GB_2 | +| `GB3` | GB_3 | +| `GB4` | GB_4 | +| `GD` | GD | +| `GE` | GE | +| `GF` | GF | +| `GG` | GG | +| `GH` | GH | +| `GI` | GI | +| `GL` | GL | +| `GM` | GM | +| `GN` | GN | +| `GP` | GP | +| `GQ` | GQ | +| `GR` | GR | +| `GS` | GS | +| `GT` | GT | +| `GU` | GU | +| `GW` | GW | +| `GY` | GY | +| `HK` | HK | +| `HM` | HM | +| `HN` | HN | +| `HR` | HR | +| `HT` | HT | +| `HU` | HU | +| `ID` | ID | +| `IE` | IE | +| `IL` | IL | +| `IM` | IM | +| `IN` | IN | +| `IO` | IO | +| `IQ` | IQ | +| `IR` | IR | +| `IS` | IS | +| `IT` | IT | +| `JE` | JE | +| `JM` | JM | +| `JO` | JO | +| `JP` | JP | +| `KE` | KE | +| `KG` | KG | +| `KH` | KH | +| `KI` | KI | +| `KM` | KM | +| `KN` | KN | +| `KO` | KO | +| `KP` | KP | +| `KR` | KR | +| `KW` | KW | +| `KY` | KY | +| `KZ` | KZ | +| `LA` | LA | +| `LB` | LB | +| `LC` | LC | +| `LI` | LI | +| `LK` | LK | +| `LR` | LR | +| `LS` | LS | +| `LT` | LT | +| `LU` | LU | +| `LV` | LV | +| `LY` | LY | +| `MA` | MA | +| `MC` | MC | +| `MD` | MD | +| `ME` | ME | +| `MF` | MF | +| `MG` | MG | +| `MH` | MH | +| `MK` | MK | +| `ML` | ML | +| `MM` | MM | +| `MN` | MN | +| `MO` | MO | +| `MP` | MP | +| `MQ` | MQ | +| `MR` | MR | +| `MS` | MS | +| `MT` | MT | +| `MU` | MU | +| `MV` | MV | +| `MW` | MW | +| `MX` | MX | +| `MY` | MY | +| `MZ` | MZ | +| `NA` | NA | +| `NC` | NC | +| `NE` | NE | +| `NF` | NF | +| `NG` | NG | +| `NI` | NI | +| `NL` | NL | +| `NO` | NO | +| `NP` | NP | +| `NR` | NR | +| `NU` | NU | +| `NZ` | NZ | +| `OM` | OM | +| `PA` | PA | +| `PE` | PE | +| `PF` | PF | +| `PG` | PG | +| `PH` | PH | +| `PK` | PK | +| `PL` | PL | +| `PM` | PM | +| `PN` | PN | +| `PR` | PR | +| `PS` | PS | +| `PT` | PT | +| `PW` | PW | +| `PY` | PY | +| `QA` | QA | +| `RE` | RE | +| `RO` | RO | +| `RS` | RS | +| `RU` | RU | +| `RW` | RW | +| `SA` | SA | +| `SB` | SB | +| `SC` | SC | +| `SD` | SD | +| `SE` | SE | +| `SG` | SG | +| `SH` | SH | +| `SI` | SI | +| `SJ` | SJ | +| `SK` | SK | +| `SL` | SL | +| `SM` | SM | +| `SN` | SN | +| `SO` | SO | +| `SR` | SR | +| `SS` | SS | +| `ST` | ST | +| `SV` | SV | +| `SX` | SX | +| `SY` | SY | +| `SZ` | SZ | +| `TC` | TC | +| `TD` | TD | +| `TF` | TF | +| `TG` | TG | +| `TH` | TH | +| `TJ` | TJ | +| `TK` | TK | +| `TL` | TL | +| `TM` | TM | +| `TN` | TN | +| `TO` | TO | +| `TP` | TP | +| `TR` | TR | +| `TT` | TT | +| `TV` | TV | +| `TW` | TW | +| `TZ` | TZ | +| `UA` | UA | +| `UG` | UG | +| `UM` | UM | +| `US` | US | +| `UY` | UY | +| `UZ` | UZ | +| `VA` | VA | +| `VC` | VC | +| `VE` | VE | +| `VG` | VG | +| `VI` | VI | +| `VN` | VN | +| `VU` | VU | +| `WF` | WF | +| `WS` | WS | +| `YE` | YE | +| `YT` | YT | +| `ZA` | ZA | +| `ZM` | ZM | +| `ZW` | ZW | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadCatcherAddressPatch.md b/packages/java/docs/models/components/LeadCatcherAddressPatch.md new file mode 100644 index 000000000..118a81daf --- /dev/null +++ b/packages/java/docs/models/components/LeadCatcherAddressPatch.md @@ -0,0 +1,15 @@ +# LeadCatcherAddressPatch + +Address information for the lead catcher contact. Only the address sub-fields supplied are updated; omitted sub-fields are left unchanged. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `streetAddress1` | *JsonNullable\* | :heavy_minus_sign: | Street address line 1. | 1234 Trap Road | +| `streetAddress2` | *JsonNullable\* | :heavy_minus_sign: | Street address line 2. | Suite 100 | +| `city` | *JsonNullable\* | :heavy_minus_sign: | City. | Vienna | +| `stateProvince` | [JsonNullable\](../../models/components/LeadCatcherPatchStateProvince.md) | :heavy_minus_sign: | The state province code used for contact information. | | +| `zipPostalCode` | *JsonNullable\* | :heavy_minus_sign: | ZIP or postal code. | 22182 | +| `country` | [JsonNullable\](../../models/components/LeadCatcherPatchCountry.md) | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code used for contact information. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadCatcherAddressStateProvince.md b/packages/java/docs/models/components/LeadCatcherAddressStateProvince.md new file mode 100644 index 000000000..037e3db61 --- /dev/null +++ b/packages/java/docs/models/components/LeadCatcherAddressStateProvince.md @@ -0,0 +1,839 @@ +# LeadCatcherAddressStateProvince + +State or province code for the contact address (ISO 3166-2). + +## Example Usage + +```java +import com.cvent.models.components.LeadCatcherAddressStateProvince; + +LeadCatcherAddressStateProvince value = LeadCatcherAddressStateProvince.BLANK; +``` + + +## Values + +| Name | Value | +| --------- | --------- | +| `BLANK` | BLANK | +| `AA` | AA | +| `AB` | AB | +| `ABD` | ABD | +| `ABE` | ABE | +| `ACT_AUS` | ACT_AUS | +| `AE` | AE | +| `AGB` | AGB | +| `AGY` | AGY | +| `AK` | AK | +| `AL` | AL | +| `ANS` | ANS | +| `ANT` | ANT | +| `AP` | AP | +| `AR` | AR | +| `ARD` | ARD | +| `ARM` | ARM | +| `AS` | AS | +| `AT1` | AT_1 | +| `AT2` | AT_2 | +| `AT3` | AT_3 | +| `AT4` | AT_4 | +| `AT5` | AT_5 | +| `AT6` | AT_6 | +| `AT7` | AT_7 | +| `AT8` | AT_8 | +| `AT9` | AT_9 | +| `AZ` | AZ | +| `BAN` | BAN | +| `BAS` | BAS | +| `BBD` | BBD | +| `BC` | BC | +| `BDF` | BDF | +| `BE_BRU` | BE_BRU | +| `BEN` | BEN | +| `BE_VAN` | BE_VAN | +| `BE_VBR` | BE_VBR | +| `BE_VLI` | BE_VLI | +| `BE_VOV` | BE_VOV | +| `BE_VWV` | BE_VWV | +| `BE_WBR` | BE_WBR | +| `BE_WHT` | BE_WHT | +| `BE_WLG` | BE_WLG | +| `BE_WLX` | BE_WLX | +| `BE_WNA` | BE_WNA | +| `BEX` | BEX | +| `BFS` | BFS | +| `BGE` | BGE | +| `BGW` | BGW | +| `BIR` | BIR | +| `BKM` | BKM | +| `BLA` | BLA | +| `BLY` | BLY | +| `BMH` | BMH | +| `BNB` | BNB | +| `BNE` | BNE | +| `BNH` | BNH | +| `BNS` | BNS | +| `BOL` | BOL | +| `BPL` | BPL | +| `BR_AC` | BR_AC | +| `BR_AL` | BR_AL | +| `BR_AM` | BR_AM | +| `BR_AP` | BR_AP | +| `BR_BA` | BR_BA | +| `BRC` | BRC | +| `BR_CE` | BR_CE | +| `BRD` | BRD | +| `BR_DF` | BR_DF | +| `BR_ES` | BR_ES | +| `BR_GO` | BR_GO | +| `BRK` | BRK | +| `BR_MA` | BR_MA | +| `BR_MG` | BR_MG | +| `BR_MS` | BR_MS | +| `BR_MT` | BR_MT | +| `BR_PA` | BR_PA | +| `BR_PB` | BR_PB | +| `BR_PE` | BR_PE | +| `BR_PI` | BR_PI | +| `BR_PR` | BR_PR | +| `BR_RJ` | BR_RJ | +| `BR_RN` | BR_RN | +| `BR_RO` | BR_RO | +| `BR_RR` | BR_RR | +| `BR_RS` | BR_RS | +| `BR_SC` | BR_SC | +| `BR_SE` | BR_SE | +| `BR_SP` | BR_SP | +| `BR_TO` | BR_TO | +| `BRY` | BRY | +| `BST` | BST | +| `BUR` | BUR | +| `CA` | CA | +| `CAM` | CAM | +| `CAY` | CAY | +| `CGN` | CGN | +| `CGV` | CGV | +| `CH_AG` | CH_AG | +| `CH_AI` | CH_AI | +| `CH_AR` | CH_AR | +| `CH_BE` | CH_BE | +| `CH_BL` | CH_BL | +| `CH_BS` | CH_BS | +| `CH_FR` | CH_FR | +| `CH_GE` | CH_GE | +| `CH_GL` | CH_GL | +| `CH_GR` | CH_GR | +| `CHI` | CHI | +| `CH_JU` | CH_JU | +| `CH_LU` | CH_LU | +| `CH_NE` | CH_NE | +| `CH_NW` | CH_NW | +| `CH_OW` | CH_OW | +| `CHS` | CHS | +| `CH_SG` | CH_SG | +| `CH_SH` | CH_SH | +| `CH_SO` | CH_SO | +| `CH_SZ` | CH_SZ | +| `CH_TG` | CH_TG | +| `CH_TI` | CH_TI | +| `CH_UR` | CH_UR | +| `CH_VD` | CH_VD | +| `CH_VS` | CH_VS | +| `CH_ZG` | CH_ZG | +| `CH_ZH` | CH_ZH | +| `CKF` | CKF | +| `CKT` | CKT | +| `CLD` | CLD | +| `CLK` | CLK | +| `CLR` | CLR | +| `CMA` | CMA | +| `CMD` | CMD | +| `CMN` | CMN | +| `CN11` | CN_11 | +| `CN12` | CN_12 | +| `CN13` | CN_13 | +| `CN14` | CN_14 | +| `CN15` | CN_15 | +| `CN21` | CN_21 | +| `CN22` | CN_22 | +| `CN23` | CN_23 | +| `CN31` | CN_31 | +| `CN32` | CN_32 | +| `CN33` | CN_33 | +| `CN34` | CN_34 | +| `CN35` | CN_35 | +| `CN36` | CN_36 | +| `CN37` | CN_37 | +| `CN41` | CN_41 | +| `CN42` | CN_42 | +| `CN43` | CN_43 | +| `CN44` | CN_44 | +| `CN45` | CN_45 | +| `CN46` | CN_46 | +| `CN50` | CN_50 | +| `CN51` | CN_51 | +| `CN52` | CN_52 | +| `CN53` | CN_53 | +| `CN54` | CN_54 | +| `CN61` | CN_61 | +| `CN62` | CN_62 | +| `CN63` | CN_63 | +| `CN64` | CN_64 | +| `CN65` | CN_65 | +| `CN91` | CN_91 | +| `CN92` | CN_92 | +| `CO` | CO | +| `CON` | CON | +| `COV` | COV | +| `CRF` | CRF | +| `CRY` | CRY | +| `CSR` | CSR | +| `CT` | CT | +| `CWD` | CWD | +| `CWY` | CWY | +| `DAL` | DAL | +| `DBY` | DBY | +| `DC` | DC | +| `DE` | DE | +| `DEN` | DEN | +| `DER` | DER | +| `DEV` | DEV | +| `DGN` | DGN | +| `DGY` | DGY | +| `DK015` | DK_015 | +| `DK020` | DK_020 | +| `DK025` | DK_025 | +| `DK030` | DK_030 | +| `DK035` | DK_035 | +| `DK040` | DK_040 | +| `DK042` | DK_042 | +| `DK050` | DK_050 | +| `DK055` | DK_055 | +| `DK060` | DK_060 | +| `DK065` | DK_065 | +| `DK070` | DK_070 | +| `DK076` | DK_076 | +| `DK080` | DK_080 | +| `DK101` | DK_101 | +| `DK147` | DK_147 | +| `DK81` | DK_81 | +| `DK82` | DK_82 | +| `DK83` | DK_83 | +| `DK84` | DK_84 | +| `DK85` | DK_85 | +| `DNC` | DNC | +| `DND` | DND | +| `DOR` | DOR | +| `DOW` | DOW | +| `DRY` | DRY | +| `DUD` | DUD | +| `DUR` | DUR | +| `EAL` | EAL | +| `EAY` | EAY | +| `EDH` | EDH | +| `EDU` | EDU | +| `ELN` | ELN | +| `ELS` | ELS | +| `ENF` | ENF | +| `ERW` | ERW | +| `ERY` | ERY | +| `ESS` | ESS | +| `ESX` | ESX | +| `FAL` | FAL | +| `FER` | FER | +| `FIF` | FIF | +| `FL` | FL | +| `FLN` | FLN | +| `FM` | FM | +| `GA` | GA | +| `GAT` | GAT | +| `GB` | GB | +| `GLG` | GLG | +| `GLN` | GLN | +| `GLS` | GLS | +| `GR01` | GR_01 | +| `GR03` | GR_03 | +| `GR04` | GR_04 | +| `GR05` | GR_05 | +| `GR06` | GR_06 | +| `GR07` | GR_07 | +| `GR11` | GR_11 | +| `GR12` | GR_12 | +| `GR13` | GR_13 | +| `GR14` | GR_14 | +| `GR15` | GR_15 | +| `GR16` | GR_16 | +| `GR17` | GR_17 | +| `GR21` | GR_21 | +| `GR22` | GR_22 | +| `GR23` | GR_23 | +| `GR24` | GR_24 | +| `GR31` | GR_31 | +| `GR32` | GR_32 | +| `GR33` | GR_33 | +| `GR34` | GR_34 | +| `GR41` | GR_41 | +| `GR42` | GR_42 | +| `GR43` | GR_43 | +| `GR44` | GR_44 | +| `GR51` | GR_51 | +| `GR52` | GR_52 | +| `GR53` | GR_53 | +| `GR54` | GR_54 | +| `GR55` | GR_55 | +| `GR56` | GR_56 | +| `GR57` | GR_57 | +| `GR58` | GR_58 | +| `GR59` | GR_59 | +| `GR61` | GR_61 | +| `GR62` | GR_62 | +| `GR63` | GR_63 | +| `GR64` | GR_64 | +| `GR69` | GR_69 | +| `GR71` | GR_71 | +| `GR72` | GR_72 | +| `GR73` | GR_73 | +| `GR81` | GR_81 | +| `GR82` | GR_82 | +| `GR83` | GR_83 | +| `GR84` | GR_84 | +| `GR85` | GR_85 | +| `GR91` | GR_91 | +| `GR92` | GR_92 | +| `GR93` | GR_93 | +| `GR94` | GR_94 | +| `GR_A1` | GR_A_1 | +| `GRE` | GRE | +| `GTM` | GTM | +| `GU` | GU | +| `GWN` | GWN | +| `HAL` | HAL | +| `HAM` | HAM | +| `HAV` | HAV | +| `HCK` | HCK | +| `HEF` | HEF | +| `HI` | HI | +| `HIL` | HIL | +| `HLD` | HLD | +| `HMF` | HMF | +| `HNS` | HNS | +| `HPL` | HPL | +| `HRT` | HRT | +| `HRW` | HRW | +| `HRY` | HRY | +| `IA` | IA | +| `ID` | ID | +| `IE_C` | IE_C | +| `IE_CE` | IE_CE | +| `IE_CN` | IE_CN | +| `IE_CW` | IE_CW | +| `IE_D` | IE_D | +| `IE_DL` | IE_DL | +| `IE_G` | IE_G | +| `IE_KE` | IE_KE | +| `IE_KK` | IE_KK | +| `IE_KY` | IE_KY | +| `IE_LD` | IE_LD | +| `IE_LH` | IE_LH | +| `IE_LK` | IE_LK | +| `IE_LM` | IE_LM | +| `IE_LS` | IE_LS | +| `IE_MH` | IE_MH | +| `IE_MN` | IE_MN | +| `IE_MO` | IE_MO | +| `IE_OY` | IE_OY | +| `IE_RN` | IE_RN | +| `IE_SO` | IE_SO | +| `IE_TA` | IE_TA | +| `IE_WD` | IE_WD | +| `IE_WH` | IE_WH | +| `IE_WW` | IE_WW | +| `IE_WX` | IE_WX | +| `IL` | IL | +| `IN` | IN | +| `IN_AN` | IN_AN | +| `IN_AP` | IN_AP | +| `IN_AR` | IN_AR | +| `IN_AS` | IN_AS | +| `IN_BR` | IN_BR | +| `IN_CH` | IN_CH | +| `IN_CT` | IN_CT | +| `IN_DD` | IN_DD | +| `IN_DL` | IN_DL | +| `IN_DN` | IN_DN | +| `IN_GA` | IN_GA | +| `IN_GJ` | IN_GJ | +| `IN_HP` | IN_HP | +| `IN_HR` | IN_HR | +| `IN_JH` | IN_JH | +| `IN_JK` | IN_JK | +| `IN_KA` | IN_KA | +| `IN_KL` | IN_KL | +| `IN_LD` | IN_LD | +| `IN_MH` | IN_MH | +| `IN_ML` | IN_ML | +| `IN_MN` | IN_MN | +| `IN_MP` | IN_MP | +| `IN_MZ` | IN_MZ | +| `IN_NL` | IN_NL | +| `IN_OR` | IN_OR | +| `IN_PB` | IN_PB | +| `IN_PY` | IN_PY | +| `IN_RJ` | IN_RJ | +| `IN_SK` | IN_SK | +| `IN_TG` | IN_TG | +| `IN_TN` | IN_TN | +| `IN_TR` | IN_TR | +| `IN_UL` | IN_UL | +| `IN_UP` | IN_UP | +| `IN_WB` | IN_WB | +| `IOA` | IOA | +| `IOI` | IOI | +| `IOL` | IOL | +| `IOM` | IOM | +| `IOS` | IOS | +| `IOW` | IOW | +| `IOY` | IOY | +| `ISL` | ISL | +| `IT21` | IT_21 | +| `IT23` | IT_23 | +| `IT25` | IT_25 | +| `IT32` | IT_32 | +| `IT34` | IT_34 | +| `IT36` | IT_36 | +| `IT42` | IT_42 | +| `IT45` | IT_45 | +| `IT52` | IT_52 | +| `IT55` | IT_55 | +| `IT57` | IT_57 | +| `IT62` | IT_62 | +| `IT65` | IT_65 | +| `IT67` | IT_67 | +| `IT72` | IT_72 | +| `IT75` | IT_75 | +| `IT77` | IT_77 | +| `IT78` | IT_78 | +| `IT82` | IT_82 | +| `IT88` | IT_88 | +| `IT_AG` | IT_AG | +| `IT_AL` | IT_AL | +| `IT_AN` | IT_AN | +| `IT_AO` | IT_AO | +| `IT_AP` | IT_AP | +| `IT_AQ` | IT_AQ | +| `IT_AR` | IT_AR | +| `IT_AT` | IT_AT | +| `IT_AV` | IT_AV | +| `IT_BA` | IT_BA | +| `IT_BG` | IT_BG | +| `IT_BI` | IT_BI | +| `IT_BL` | IT_BL | +| `IT_BN` | IT_BN | +| `IT_BO` | IT_BO | +| `IT_BR` | IT_BR | +| `IT_BS` | IT_BS | +| `IT_BT` | IT_BT | +| `IT_BZ` | IT_BZ | +| `IT_CA` | IT_CA | +| `IT_CB` | IT_CB | +| `IT_CE` | IT_CE | +| `IT_CH` | IT_CH | +| `IT_CI` | IT_CI | +| `IT_CL` | IT_CL | +| `IT_CN` | IT_CN | +| `IT_CO` | IT_CO | +| `IT_CR` | IT_CR | +| `IT_CS` | IT_CS | +| `IT_CT` | IT_CT | +| `IT_CZ` | IT_CZ | +| `IT_EN` | IT_EN | +| `IT_FC` | IT_FC | +| `IT_FE` | IT_FE | +| `IT_FG` | IT_FG | +| `IT_FI` | IT_FI | +| `IT_FM` | IT_FM | +| `IT_FR` | IT_FR | +| `IT_GE` | IT_GE | +| `IT_GO` | IT_GO | +| `IT_GR` | IT_GR | +| `IT_IM` | IT_IM | +| `IT_IS` | IT_IS | +| `IT_KR` | IT_KR | +| `IT_LC` | IT_LC | +| `IT_LE` | IT_LE | +| `IT_LI` | IT_LI | +| `IT_LO` | IT_LO | +| `IT_LT` | IT_LT | +| `IT_LU` | IT_LU | +| `IT_MB` | IT_MB | +| `IT_MC` | IT_MC | +| `IT_ME` | IT_ME | +| `IT_MI` | IT_MI | +| `IT_MN` | IT_MN | +| `IT_MO` | IT_MO | +| `IT_MS` | IT_MS | +| `IT_MT` | IT_MT | +| `IT_NA` | IT_NA | +| `IT_NO` | IT_NO | +| `IT_NU` | IT_NU | +| `IT_OG` | IT_OG | +| `IT_OR` | IT_OR | +| `IT_OT` | IT_OT | +| `IT_PA` | IT_PA | +| `IT_PC` | IT_PC | +| `IT_PD` | IT_PD | +| `IT_PE` | IT_PE | +| `IT_PG` | IT_PG | +| `IT_PI` | IT_PI | +| `IT_PN` | IT_PN | +| `IT_PO` | IT_PO | +| `IT_PR` | IT_PR | +| `IT_PT` | IT_PT | +| `IT_PU` | IT_PU | +| `IT_PV` | IT_PV | +| `IT_PZ` | IT_PZ | +| `IT_RA` | IT_RA | +| `IT_RC` | IT_RC | +| `IT_RE` | IT_RE | +| `IT_RG` | IT_RG | +| `IT_RI` | IT_RI | +| `IT_RM` | IT_RM | +| `IT_RN` | IT_RN | +| `IT_RO` | IT_RO | +| `IT_SA` | IT_SA | +| `IT_SI` | IT_SI | +| `IT_SO` | IT_SO | +| `IT_SP` | IT_SP | +| `IT_SR` | IT_SR | +| `IT_SS` | IT_SS | +| `IT_SV` | IT_SV | +| `IT_TA` | IT_TA | +| `IT_TE` | IT_TE | +| `IT_TN` | IT_TN | +| `IT_TO` | IT_TO | +| `IT_TP` | IT_TP | +| `IT_TR` | IT_TR | +| `IT_TS` | IT_TS | +| `IT_TV` | IT_TV | +| `IT_UD` | IT_UD | +| `IT_VA` | IT_VA | +| `IT_VB` | IT_VB | +| `IT_VC` | IT_VC | +| `IT_VE` | IT_VE | +| `IT_VI` | IT_VI | +| `IT_VR` | IT_VR | +| `IT_VS` | IT_VS | +| `IT_VT` | IT_VT | +| `IT_VV` | IT_VV | +| `IVK` | IVK | +| `JP01` | JP_01 | +| `JP02` | JP_02 | +| `JP03` | JP_03 | +| `JP04` | JP_04 | +| `JP05` | JP_05 | +| `JP06` | JP_06 | +| `JP07` | JP_07 | +| `JP08` | JP_08 | +| `JP09` | JP_09 | +| `JP10` | JP_10 | +| `JP11` | JP_11 | +| `JP12` | JP_12 | +| `JP13` | JP_13 | +| `JP14` | JP_14 | +| `JP15` | JP_15 | +| `JP16` | JP_16 | +| `JP17` | JP_17 | +| `JP18` | JP_18 | +| `JP19` | JP_19 | +| `JP20` | JP_20 | +| `JP21` | JP_21 | +| `JP22` | JP_22 | +| `JP23` | JP_23 | +| `JP24` | JP_24 | +| `JP25` | JP_25 | +| `JP26` | JP_26 | +| `JP27` | JP_27 | +| `JP28` | JP_28 | +| `JP29` | JP_29 | +| `JP30` | JP_30 | +| `JP31` | JP_31 | +| `JP32` | JP_32 | +| `JP33` | JP_33 | +| `JP34` | JP_34 | +| `JP35` | JP_35 | +| `JP36` | JP_36 | +| `JP37` | JP_37 | +| `JP38` | JP_38 | +| `JP39` | JP_39 | +| `JP40` | JP_40 | +| `JP41` | JP_41 | +| `JP42` | JP_42 | +| `JP43` | JP_43 | +| `JP44` | JP_44 | +| `JP45` | JP_45 | +| `JP46` | JP_46 | +| `JP47` | JP_47 | +| `KEC` | KEC | +| `KEN` | KEN | +| `KHL` | KHL | +| `KIR` | KIR | +| `KS` | KS | +| `KTT` | KTT | +| `KWL` | KWL | +| `KY` | KY | +| `LA` | LA | +| `LAN` | LAN | +| `LBH` | LBH | +| `LCE` | LCE | +| `LDS` | LDS | +| `LEC` | LEC | +| `LEW` | LEW | +| `LIN` | LIN | +| `LIV` | LIV | +| `LMV` | LMV | +| `LND` | LND | +| `LRN` | LRN | +| `LSB` | LSB | +| `LU_D` | LU_D | +| `LU_G` | LU_G | +| `LU_L` | LU_L | +| `LUT` | LUT | +| `MA` | MA | +| `MAN` | MAN | +| `MB` | MB | +| `MD` | MD | +| `MDB` | MDB | +| `MDS` | MDS | +| `MDW` | MDW | +| `ME` | ME | +| `MFT` | MFT | +| `MGM` | MGM | +| `MH` | MH | +| `MI` | MI | +| `MIK` | MIK | +| `MLN` | MLN | +| `MN` | MN | +| `MO` | MO | +| `MON` | MON | +| `MP` | MP | +| `MRT` | MRT | +| `MRY` | MRY | +| `MS` | MS | +| `MSY` | MSY | +| `MT` | MT | +| `MTY` | MTY | +| `MX_AGU` | MX_AGU | +| `MX_BCN` | MX_BCN | +| `MX_BCS` | MX_BCS | +| `MX_CAM` | MX_CAM | +| `MX_CHH` | MX_CHH | +| `MX_CHP` | MX_CHP | +| `MX_COA` | MX_COA | +| `MX_COL` | MX_COL | +| `MX_DIF` | MX_DIF | +| `MX_DUR` | MX_DUR | +| `MX_GRO` | MX_GRO | +| `MX_GUA` | MX_GUA | +| `MX_HID` | MX_HID | +| `MX_JAL` | MX_JAL | +| `MX_MEX` | MX_MEX | +| `MX_MIC` | MX_MIC | +| `MX_MOR` | MX_MOR | +| `MX_NAY` | MX_NAY | +| `MX_NLE` | MX_NLE | +| `MX_OAX` | MX_OAX | +| `MX_PUE` | MX_PUE | +| `MX_QUE` | MX_QUE | +| `MX_ROO` | MX_ROO | +| `MX_SIN` | MX_SIN | +| `MX_SLP` | MX_SLP | +| `MX_SON` | MX_SON | +| `MX_TAB` | MX_TAB | +| `MX_TAM` | MX_TAM | +| `MX_TLA` | MX_TLA | +| `MX_VER` | MX_VER | +| `MX_YUC` | MX_YUC | +| `MX_ZAC` | MX_ZAC | +| `MYL` | MYL | +| `NAY` | NAY | +| `NB` | NB | +| `NBL` | NBL | +| `NC` | NC | +| `ND` | ND | +| `NDN` | NDN | +| `NE` | NE | +| `NEL` | NEL | +| `NET` | NET | +| `NFK` | NFK | +| `NGM` | NGM | +| `NH` | NH | +| `NJ` | NJ | +| `NL` | NL | +| `NL_DR` | NL_DR | +| `NL_FL` | NL_FL | +| `NL_FR` | NL_FR | +| `NL_GE` | NL_GE | +| `NL_GR` | NL_GR | +| `NLK` | NLK | +| `NL_LI` | NL_LI | +| `NLN` | NLN | +| `NL_NB` | NL_NB | +| `NL_NH` | NL_NH | +| `NL_OV` | NL_OV | +| `NL_UT` | NL_UT | +| `NL_ZE` | NL_ZE | +| `NL_ZH` | NL_ZH | +| `NM` | NM | +| `NO01` | NO_01 | +| `NO02` | NO_02 | +| `NO03` | NO_03 | +| `NO04` | NO_04 | +| `NO05` | NO_05 | +| `NO06` | NO_06 | +| `NO07` | NO_07 | +| `NO08` | NO_08 | +| `NO09` | NO_09 | +| `NO10` | NO_10 | +| `NO11` | NO_11 | +| `NO12` | NO_12 | +| `NO14` | NO_14 | +| `NO15` | NO_15 | +| `NO16` | NO_16 | +| `NO17` | NO_17 | +| `NO18` | NO_18 | +| `NO19` | NO_19 | +| `NO20` | NO_20 | +| `NO21` | NO_21 | +| `NO22` | NO_22 | +| `NRY` | NRY | +| `NS` | NS | +| `NSM` | NSM | +| `NSW_AUS` | NSW_AUS | +| `NT` | NT | +| `NT_AUS` | NT_AUS | +| `NTA` | NTA | +| `NTH` | NTH | +| `NTL` | NTL | +| `NTT` | NTT | +| `NTY` | NTY | +| `NU` | NU | +| `NV` | NV | +| `NWM` | NWM | +| `NWP` | NWP | +| `NY` | NY | +| `NYK` | NYK | +| `NYM` | NYM | +| `OH` | OH | +| `OK` | OK | +| `OLD` | OLD | +| `OMH` | OMH | +| `ON` | ON | +| `OR` | OR | +| `ORK` | ORK | +| `OXF` | OXF | +| `PA` | PA | +| `PE` | PE | +| `PEM` | PEM | +| `PKN` | PKN | +| `PLY` | PLY | +| `POL` | POL | +| `POR` | POR | +| `POW` | POW | +| `PR` | PR | +| `PTE` | PTE | +| `PW` | PW | +| `QC` | QC | +| `QLD_AUS` | QLD_AUS | +| `RCC` | RCC | +| `RCH` | RCH | +| `RCT` | RCT | +| `RDB` | RDB | +| `RDG` | RDG | +| `RFW` | RFW | +| `RI` | RI | +| `RIC` | RIC | +| `ROT` | ROT | +| `RUT` | RUT | +| `SA_AUS` | SA_AUS | +| `SAW` | SAW | +| `SAY` | SAY | +| `SC` | SC | +| `SCB` | SCB | +| `SD` | SD | +| `SFK` | SFK | +| `SFT` | SFT | +| `SGC` | SGC | +| `SGM` | SGM | +| `SHF` | SHF | +| `SHN` | SHN | +| `SHR` | SHR | +| `SK` | SK | +| `SKP` | SKP | +| `SLF` | SLF | +| `SLG` | SLG | +| `SLK` | SLK | +| `SOL` | SOL | +| `SOM` | SOM | +| `SOS` | SOS | +| `SRY` | SRY | +| `STB` | STB | +| `STE` | STE | +| `STG` | STG | +| `STH` | STH | +| `STN` | STN | +| `STS` | STS | +| `STT` | STT | +| `STY` | STY | +| `SWA` | SWA | +| `SWD` | SWD | +| `SWK` | SWK | +| `SYK` | SYK | +| `TAM` | TAM | +| `TAS_AUS` | TAS_AUS | +| `TFW` | TFW | +| `THR` | THR | +| `TN` | TN | +| `TOB` | TOB | +| `TOF` | TOF | +| `TRF` | TRF | +| `TWH` | TWH | +| `TWR` | TWR | +| `TX` | TX | +| `TYR` | TYR | +| `UT` | UT | +| `VA` | VA | +| `VGL` | VGL | +| `VI` | VI | +| `VIC_AUS` | VIC_AUS | +| `VT` | VT | +| `WA` | WA | +| `WA_AUS` | WA_AUS | +| `WAR` | WAR | +| `WBK` | WBK | +| `WDU` | WDU | +| `WFT` | WFT | +| `WGM` | WGM | +| `WGN` | WGN | +| `WI` | WI | +| `WIL` | WIL | +| `WIS` | WIS | +| `WKF` | WKF | +| `WLL` | WLL | +| `WLN` | WLN | +| `WLV` | WLV | +| `WMD` | WMD | +| `WND` | WND | +| `WNM` | WNM | +| `WOK` | WOK | +| `WOR` | WOR | +| `WRL` | WRL | +| `WRT` | WRT | +| `WRX` | WRX | +| `WSM` | WSM | +| `WSX` | WSX | +| `WV` | WV | +| `WY` | WY | +| `WYK` | WYK | +| `YOR` | YOR | +| `YT` | YT | +| `ZET` | ZET | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadCatcherConfig.md b/packages/java/docs/models/components/LeadCatcherConfig.md new file mode 100644 index 000000000..373882ddc --- /dev/null +++ b/packages/java/docs/models/components/LeadCatcherConfig.md @@ -0,0 +1,12 @@ +# LeadCatcherConfig + +Notification and role configuration for a lead catcher contact. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `rfpEmailEnabled` | *Optional\* | :heavy_minus_sign: | True indicates this contact receives email notifications when an RFP is submitted. | true | +| `pdfLinkEnabled` | *Optional\* | :heavy_minus_sign: | True indicates the RFP notification email includes a PDF link. Only meaningful when `rfpEmailEnabled` is `true`. | true | +| `supplierContactRole` | *Optional\* | :heavy_minus_sign: | Name of the supplier contact role assigned to this contact. | Sales Manager | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadCatcherConfigPatch.md b/packages/java/docs/models/components/LeadCatcherConfigPatch.md new file mode 100644 index 000000000..b9436c914 --- /dev/null +++ b/packages/java/docs/models/components/LeadCatcherConfigPatch.md @@ -0,0 +1,12 @@ +# LeadCatcherConfigPatch + +Notification and role configuration for the lead catcher contact. Only the config sub-fields supplied are updated; omitted sub-fields are left unchanged. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `rfpEmailEnabled` | *JsonNullable\* | :heavy_minus_sign: | True indicates this contact receives email notifications when an RFP is submitted. | true | +| `pdfLinkEnabled` | *JsonNullable\* | :heavy_minus_sign: | True indicates the RFP notification email includes a PDF link. Only meaningful when `rfpEmailEnabled` is `true`. | true | +| `supplierContactRole` | *JsonNullable\* | :heavy_minus_sign: | Name of the supplier contact role assigned to this contact. | roleName | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadCatcherOverview.md b/packages/java/docs/models/components/LeadCatcherOverview.md new file mode 100644 index 000000000..280938a7e --- /dev/null +++ b/packages/java/docs/models/components/LeadCatcherOverview.md @@ -0,0 +1,12 @@ +# LeadCatcherOverview + +A lightweight, non-PII overview of a lead catcher contact. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `id` | *String* | :heavy_check_mark: | Lead catcher ID. | 7e5c2c23-b2bb-461a-adc9-025184988519 | +| `firstName` | *String* | :heavy_check_mark: | First name of the lead catcher contact. | Jane | +| `lastName` | *String* | :heavy_check_mark: | Last name of the lead catcher contact. | Smith | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadCatcherPatch.md b/packages/java/docs/models/components/LeadCatcherPatch.md new file mode 100644 index 000000000..2336f5e4b --- /dev/null +++ b/packages/java/docs/models/components/LeadCatcherPatch.md @@ -0,0 +1,19 @@ +# LeadCatcherPatch + +Partial update payload for a lead catcher contact. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `firstName` | *JsonNullable\* | :heavy_minus_sign: | First name of the lead catcher contact. | Jane | +| `lastName` | *JsonNullable\* | :heavy_minus_sign: | Last name of the lead catcher contact. | Smith | +| `title` | *JsonNullable\* | :heavy_minus_sign: | Job title of the lead catcher contact. | Director of Sales | +| `email` | *JsonNullable\* | :heavy_minus_sign: | Email address of the lead catcher contact. RFP notifications are sent to this address. | jane.smith@example.com | +| `phone` | *JsonNullable\* | :heavy_minus_sign: | Phone number of the lead catcher contact. | +1-555-0100 | +| `fax` | *JsonNullable\* | :heavy_minus_sign: | Fax number of the lead catcher contact. | +1-555-0101 | +| `address` | [JsonNullable\](../../models/components/LeadCatcherAddressPatch.md) | :heavy_minus_sign: | Address information for the lead catcher contact. Only the address sub-fields supplied are updated; omitted sub-fields are left unchanged. | | +| `locale` | *JsonNullable\* | :heavy_minus_sign: | Locale used for planner communications sent to this contact. | en-US | +| `config` | [JsonNullable\](../../models/components/LeadCatcherConfigPatch.md) | :heavy_minus_sign: | Notification and role configuration for the lead catcher contact. Only the config sub-fields supplied are updated; omitted sub-fields are left unchanged. | | +| `additionalInfo` | *JsonNullable\* | :heavy_minus_sign: | Additional information about the lead catcher contact. | Preferred contact for APAC venues. | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadCatcherPatchCountry.md b/packages/java/docs/models/components/LeadCatcherPatchCountry.md new file mode 100644 index 000000000..d3c4be2fb --- /dev/null +++ b/packages/java/docs/models/components/LeadCatcherPatchCountry.md @@ -0,0 +1,274 @@ +# LeadCatcherPatchCountry + +ISO 3166 two-letter (alpha-2) country code used for contact information. + +## Example Usage + +```java +import com.cvent.models.components.LeadCatcherPatchCountry; + +LeadCatcherPatchCountry value = LeadCatcherPatchCountry.BLANK; +``` + + +## Values + +| Name | Value | +| ------- | ------- | +| `BLANK` | BLANK | +| `AD` | AD | +| `AE` | AE | +| `AF` | AF | +| `AG` | AG | +| `AI` | AI | +| `AL` | AL | +| `AM` | AM | +| `AN` | AN | +| `AO` | AO | +| `AQ` | AQ | +| `AR` | AR | +| `AS` | AS | +| `AT` | AT | +| `AU` | AU | +| `AW` | AW | +| `AX` | AX | +| `AZ` | AZ | +| `BA` | BA | +| `BB` | BB | +| `BD` | BD | +| `BE` | BE | +| `BF` | BF | +| `BG` | BG | +| `BH` | BH | +| `BI` | BI | +| `BJ` | BJ | +| `BL` | BL | +| `BM` | BM | +| `BN` | BN | +| `BO` | BO | +| `BQ` | BQ | +| `BR` | BR | +| `BS` | BS | +| `BT` | BT | +| `BV` | BV | +| `BW` | BW | +| `BY` | BY | +| `BZ` | BZ | +| `CA` | CA | +| `CC` | CC | +| `CD` | CD | +| `CF` | CF | +| `CG` | CG | +| `CH` | CH | +| `CI` | CI | +| `CK` | CK | +| `CL` | CL | +| `CM` | CM | +| `CN` | CN | +| `CO` | CO | +| `CR` | CR | +| `CU` | CU | +| `CV` | CV | +| `CW` | CW | +| `CX` | CX | +| `CY` | CY | +| `CZ` | CZ | +| `DE` | DE | +| `DJ` | DJ | +| `DK` | DK | +| `DM` | DM | +| `DO` | DO | +| `DZ` | DZ | +| `EC` | EC | +| `EE` | EE | +| `EG` | EG | +| `EH` | EH | +| `ER` | ER | +| `ES` | ES | +| `ET` | ET | +| `FI` | FI | +| `FJ` | FJ | +| `FK` | FK | +| `FM` | FM | +| `FO` | FO | +| `FR` | FR | +| `GA` | GA | +| `GB` | GB | +| `GB1` | GB_1 | +| `GB2` | GB_2 | +| `GB3` | GB_3 | +| `GB4` | GB_4 | +| `GD` | GD | +| `GE` | GE | +| `GF` | GF | +| `GG` | GG | +| `GH` | GH | +| `GI` | GI | +| `GL` | GL | +| `GM` | GM | +| `GN` | GN | +| `GP` | GP | +| `GQ` | GQ | +| `GR` | GR | +| `GS` | GS | +| `GT` | GT | +| `GU` | GU | +| `GW` | GW | +| `GY` | GY | +| `HK` | HK | +| `HM` | HM | +| `HN` | HN | +| `HR` | HR | +| `HT` | HT | +| `HU` | HU | +| `ID` | ID | +| `IE` | IE | +| `IL` | IL | +| `IM` | IM | +| `IN` | IN | +| `IO` | IO | +| `IQ` | IQ | +| `IR` | IR | +| `IS` | IS | +| `IT` | IT | +| `JE` | JE | +| `JM` | JM | +| `JO` | JO | +| `JP` | JP | +| `KE` | KE | +| `KG` | KG | +| `KH` | KH | +| `KI` | KI | +| `KM` | KM | +| `KN` | KN | +| `KO` | KO | +| `KP` | KP | +| `KR` | KR | +| `KW` | KW | +| `KY` | KY | +| `KZ` | KZ | +| `LA` | LA | +| `LB` | LB | +| `LC` | LC | +| `LI` | LI | +| `LK` | LK | +| `LR` | LR | +| `LS` | LS | +| `LT` | LT | +| `LU` | LU | +| `LV` | LV | +| `LY` | LY | +| `MA` | MA | +| `MC` | MC | +| `MD` | MD | +| `ME` | ME | +| `MF` | MF | +| `MG` | MG | +| `MH` | MH | +| `MK` | MK | +| `ML` | ML | +| `MM` | MM | +| `MN` | MN | +| `MO` | MO | +| `MP` | MP | +| `MQ` | MQ | +| `MR` | MR | +| `MS` | MS | +| `MT` | MT | +| `MU` | MU | +| `MV` | MV | +| `MW` | MW | +| `MX` | MX | +| `MY` | MY | +| `MZ` | MZ | +| `NA` | NA | +| `NC` | NC | +| `NE` | NE | +| `NF` | NF | +| `NG` | NG | +| `NI` | NI | +| `NL` | NL | +| `NO` | NO | +| `NP` | NP | +| `NR` | NR | +| `NU` | NU | +| `NZ` | NZ | +| `OM` | OM | +| `PA` | PA | +| `PE` | PE | +| `PF` | PF | +| `PG` | PG | +| `PH` | PH | +| `PK` | PK | +| `PL` | PL | +| `PM` | PM | +| `PN` | PN | +| `PR` | PR | +| `PS` | PS | +| `PT` | PT | +| `PW` | PW | +| `PY` | PY | +| `QA` | QA | +| `RE` | RE | +| `RO` | RO | +| `RS` | RS | +| `RU` | RU | +| `RW` | RW | +| `SA` | SA | +| `SB` | SB | +| `SC` | SC | +| `SD` | SD | +| `SE` | SE | +| `SG` | SG | +| `SH` | SH | +| `SI` | SI | +| `SJ` | SJ | +| `SK` | SK | +| `SL` | SL | +| `SM` | SM | +| `SN` | SN | +| `SO` | SO | +| `SR` | SR | +| `SS` | SS | +| `ST` | ST | +| `SV` | SV | +| `SX` | SX | +| `SY` | SY | +| `SZ` | SZ | +| `TC` | TC | +| `TD` | TD | +| `TF` | TF | +| `TG` | TG | +| `TH` | TH | +| `TJ` | TJ | +| `TK` | TK | +| `TL` | TL | +| `TM` | TM | +| `TN` | TN | +| `TO` | TO | +| `TP` | TP | +| `TR` | TR | +| `TT` | TT | +| `TV` | TV | +| `TW` | TW | +| `TZ` | TZ | +| `UA` | UA | +| `UG` | UG | +| `UM` | UM | +| `US` | US | +| `UY` | UY | +| `UZ` | UZ | +| `VA` | VA | +| `VC` | VC | +| `VE` | VE | +| `VG` | VG | +| `VI` | VI | +| `VN` | VN | +| `VU` | VU | +| `WF` | WF | +| `WS` | WS | +| `YE` | YE | +| `YT` | YT | +| `ZA` | ZA | +| `ZM` | ZM | +| `ZW` | ZW | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadCatcherPatchStateProvince.md b/packages/java/docs/models/components/LeadCatcherPatchStateProvince.md new file mode 100644 index 000000000..55a62ad8f --- /dev/null +++ b/packages/java/docs/models/components/LeadCatcherPatchStateProvince.md @@ -0,0 +1,839 @@ +# LeadCatcherPatchStateProvince + +The state province code used for contact information. + +## Example Usage + +```java +import com.cvent.models.components.LeadCatcherPatchStateProvince; + +LeadCatcherPatchStateProvince value = LeadCatcherPatchStateProvince.BLANK; +``` + + +## Values + +| Name | Value | +| --------- | --------- | +| `BLANK` | BLANK | +| `AA` | AA | +| `AB` | AB | +| `ABD` | ABD | +| `ABE` | ABE | +| `ACT_AUS` | ACT_AUS | +| `AE` | AE | +| `AGB` | AGB | +| `AGY` | AGY | +| `AK` | AK | +| `AL` | AL | +| `ANS` | ANS | +| `ANT` | ANT | +| `AP` | AP | +| `AR` | AR | +| `ARD` | ARD | +| `ARM` | ARM | +| `AS` | AS | +| `AT1` | AT_1 | +| `AT2` | AT_2 | +| `AT3` | AT_3 | +| `AT4` | AT_4 | +| `AT5` | AT_5 | +| `AT6` | AT_6 | +| `AT7` | AT_7 | +| `AT8` | AT_8 | +| `AT9` | AT_9 | +| `AZ` | AZ | +| `BAN` | BAN | +| `BAS` | BAS | +| `BBD` | BBD | +| `BC` | BC | +| `BDF` | BDF | +| `BE_BRU` | BE_BRU | +| `BEN` | BEN | +| `BE_VAN` | BE_VAN | +| `BE_VBR` | BE_VBR | +| `BE_VLI` | BE_VLI | +| `BE_VOV` | BE_VOV | +| `BE_VWV` | BE_VWV | +| `BE_WBR` | BE_WBR | +| `BE_WHT` | BE_WHT | +| `BE_WLG` | BE_WLG | +| `BE_WLX` | BE_WLX | +| `BE_WNA` | BE_WNA | +| `BEX` | BEX | +| `BFS` | BFS | +| `BGE` | BGE | +| `BGW` | BGW | +| `BIR` | BIR | +| `BKM` | BKM | +| `BLA` | BLA | +| `BLY` | BLY | +| `BMH` | BMH | +| `BNB` | BNB | +| `BNE` | BNE | +| `BNH` | BNH | +| `BNS` | BNS | +| `BOL` | BOL | +| `BPL` | BPL | +| `BR_AC` | BR_AC | +| `BR_AL` | BR_AL | +| `BR_AM` | BR_AM | +| `BR_AP` | BR_AP | +| `BR_BA` | BR_BA | +| `BRC` | BRC | +| `BR_CE` | BR_CE | +| `BRD` | BRD | +| `BR_DF` | BR_DF | +| `BR_ES` | BR_ES | +| `BR_GO` | BR_GO | +| `BRK` | BRK | +| `BR_MA` | BR_MA | +| `BR_MG` | BR_MG | +| `BR_MS` | BR_MS | +| `BR_MT` | BR_MT | +| `BR_PA` | BR_PA | +| `BR_PB` | BR_PB | +| `BR_PE` | BR_PE | +| `BR_PI` | BR_PI | +| `BR_PR` | BR_PR | +| `BR_RJ` | BR_RJ | +| `BR_RN` | BR_RN | +| `BR_RO` | BR_RO | +| `BR_RR` | BR_RR | +| `BR_RS` | BR_RS | +| `BR_SC` | BR_SC | +| `BR_SE` | BR_SE | +| `BR_SP` | BR_SP | +| `BR_TO` | BR_TO | +| `BRY` | BRY | +| `BST` | BST | +| `BUR` | BUR | +| `CA` | CA | +| `CAM` | CAM | +| `CAY` | CAY | +| `CGN` | CGN | +| `CGV` | CGV | +| `CH_AG` | CH_AG | +| `CH_AI` | CH_AI | +| `CH_AR` | CH_AR | +| `CH_BE` | CH_BE | +| `CH_BL` | CH_BL | +| `CH_BS` | CH_BS | +| `CH_FR` | CH_FR | +| `CH_GE` | CH_GE | +| `CH_GL` | CH_GL | +| `CH_GR` | CH_GR | +| `CHI` | CHI | +| `CH_JU` | CH_JU | +| `CH_LU` | CH_LU | +| `CH_NE` | CH_NE | +| `CH_NW` | CH_NW | +| `CH_OW` | CH_OW | +| `CHS` | CHS | +| `CH_SG` | CH_SG | +| `CH_SH` | CH_SH | +| `CH_SO` | CH_SO | +| `CH_SZ` | CH_SZ | +| `CH_TG` | CH_TG | +| `CH_TI` | CH_TI | +| `CH_UR` | CH_UR | +| `CH_VD` | CH_VD | +| `CH_VS` | CH_VS | +| `CH_ZG` | CH_ZG | +| `CH_ZH` | CH_ZH | +| `CKF` | CKF | +| `CKT` | CKT | +| `CLD` | CLD | +| `CLK` | CLK | +| `CLR` | CLR | +| `CMA` | CMA | +| `CMD` | CMD | +| `CMN` | CMN | +| `CN11` | CN_11 | +| `CN12` | CN_12 | +| `CN13` | CN_13 | +| `CN14` | CN_14 | +| `CN15` | CN_15 | +| `CN21` | CN_21 | +| `CN22` | CN_22 | +| `CN23` | CN_23 | +| `CN31` | CN_31 | +| `CN32` | CN_32 | +| `CN33` | CN_33 | +| `CN34` | CN_34 | +| `CN35` | CN_35 | +| `CN36` | CN_36 | +| `CN37` | CN_37 | +| `CN41` | CN_41 | +| `CN42` | CN_42 | +| `CN43` | CN_43 | +| `CN44` | CN_44 | +| `CN45` | CN_45 | +| `CN46` | CN_46 | +| `CN50` | CN_50 | +| `CN51` | CN_51 | +| `CN52` | CN_52 | +| `CN53` | CN_53 | +| `CN54` | CN_54 | +| `CN61` | CN_61 | +| `CN62` | CN_62 | +| `CN63` | CN_63 | +| `CN64` | CN_64 | +| `CN65` | CN_65 | +| `CN91` | CN_91 | +| `CN92` | CN_92 | +| `CO` | CO | +| `CON` | CON | +| `COV` | COV | +| `CRF` | CRF | +| `CRY` | CRY | +| `CSR` | CSR | +| `CT` | CT | +| `CWD` | CWD | +| `CWY` | CWY | +| `DAL` | DAL | +| `DBY` | DBY | +| `DC` | DC | +| `DE` | DE | +| `DEN` | DEN | +| `DER` | DER | +| `DEV` | DEV | +| `DGN` | DGN | +| `DGY` | DGY | +| `DK015` | DK_015 | +| `DK020` | DK_020 | +| `DK025` | DK_025 | +| `DK030` | DK_030 | +| `DK035` | DK_035 | +| `DK040` | DK_040 | +| `DK042` | DK_042 | +| `DK050` | DK_050 | +| `DK055` | DK_055 | +| `DK060` | DK_060 | +| `DK065` | DK_065 | +| `DK070` | DK_070 | +| `DK076` | DK_076 | +| `DK080` | DK_080 | +| `DK101` | DK_101 | +| `DK147` | DK_147 | +| `DK81` | DK_81 | +| `DK82` | DK_82 | +| `DK83` | DK_83 | +| `DK84` | DK_84 | +| `DK85` | DK_85 | +| `DNC` | DNC | +| `DND` | DND | +| `DOR` | DOR | +| `DOW` | DOW | +| `DRY` | DRY | +| `DUD` | DUD | +| `DUR` | DUR | +| `EAL` | EAL | +| `EAY` | EAY | +| `EDH` | EDH | +| `EDU` | EDU | +| `ELN` | ELN | +| `ELS` | ELS | +| `ENF` | ENF | +| `ERW` | ERW | +| `ERY` | ERY | +| `ESS` | ESS | +| `ESX` | ESX | +| `FAL` | FAL | +| `FER` | FER | +| `FIF` | FIF | +| `FL` | FL | +| `FLN` | FLN | +| `FM` | FM | +| `GA` | GA | +| `GAT` | GAT | +| `GB` | GB | +| `GLG` | GLG | +| `GLN` | GLN | +| `GLS` | GLS | +| `GR01` | GR_01 | +| `GR03` | GR_03 | +| `GR04` | GR_04 | +| `GR05` | GR_05 | +| `GR06` | GR_06 | +| `GR07` | GR_07 | +| `GR11` | GR_11 | +| `GR12` | GR_12 | +| `GR13` | GR_13 | +| `GR14` | GR_14 | +| `GR15` | GR_15 | +| `GR16` | GR_16 | +| `GR17` | GR_17 | +| `GR21` | GR_21 | +| `GR22` | GR_22 | +| `GR23` | GR_23 | +| `GR24` | GR_24 | +| `GR31` | GR_31 | +| `GR32` | GR_32 | +| `GR33` | GR_33 | +| `GR34` | GR_34 | +| `GR41` | GR_41 | +| `GR42` | GR_42 | +| `GR43` | GR_43 | +| `GR44` | GR_44 | +| `GR51` | GR_51 | +| `GR52` | GR_52 | +| `GR53` | GR_53 | +| `GR54` | GR_54 | +| `GR55` | GR_55 | +| `GR56` | GR_56 | +| `GR57` | GR_57 | +| `GR58` | GR_58 | +| `GR59` | GR_59 | +| `GR61` | GR_61 | +| `GR62` | GR_62 | +| `GR63` | GR_63 | +| `GR64` | GR_64 | +| `GR69` | GR_69 | +| `GR71` | GR_71 | +| `GR72` | GR_72 | +| `GR73` | GR_73 | +| `GR81` | GR_81 | +| `GR82` | GR_82 | +| `GR83` | GR_83 | +| `GR84` | GR_84 | +| `GR85` | GR_85 | +| `GR91` | GR_91 | +| `GR92` | GR_92 | +| `GR93` | GR_93 | +| `GR94` | GR_94 | +| `GR_A1` | GR_A_1 | +| `GRE` | GRE | +| `GTM` | GTM | +| `GU` | GU | +| `GWN` | GWN | +| `HAL` | HAL | +| `HAM` | HAM | +| `HAV` | HAV | +| `HCK` | HCK | +| `HEF` | HEF | +| `HI` | HI | +| `HIL` | HIL | +| `HLD` | HLD | +| `HMF` | HMF | +| `HNS` | HNS | +| `HPL` | HPL | +| `HRT` | HRT | +| `HRW` | HRW | +| `HRY` | HRY | +| `IA` | IA | +| `ID` | ID | +| `IE_C` | IE_C | +| `IE_CE` | IE_CE | +| `IE_CN` | IE_CN | +| `IE_CW` | IE_CW | +| `IE_D` | IE_D | +| `IE_DL` | IE_DL | +| `IE_G` | IE_G | +| `IE_KE` | IE_KE | +| `IE_KK` | IE_KK | +| `IE_KY` | IE_KY | +| `IE_LD` | IE_LD | +| `IE_LH` | IE_LH | +| `IE_LK` | IE_LK | +| `IE_LM` | IE_LM | +| `IE_LS` | IE_LS | +| `IE_MH` | IE_MH | +| `IE_MN` | IE_MN | +| `IE_MO` | IE_MO | +| `IE_OY` | IE_OY | +| `IE_RN` | IE_RN | +| `IE_SO` | IE_SO | +| `IE_TA` | IE_TA | +| `IE_WD` | IE_WD | +| `IE_WH` | IE_WH | +| `IE_WW` | IE_WW | +| `IE_WX` | IE_WX | +| `IL` | IL | +| `IN` | IN | +| `IN_AN` | IN_AN | +| `IN_AP` | IN_AP | +| `IN_AR` | IN_AR | +| `IN_AS` | IN_AS | +| `IN_BR` | IN_BR | +| `IN_CH` | IN_CH | +| `IN_CT` | IN_CT | +| `IN_DD` | IN_DD | +| `IN_DL` | IN_DL | +| `IN_DN` | IN_DN | +| `IN_GA` | IN_GA | +| `IN_GJ` | IN_GJ | +| `IN_HP` | IN_HP | +| `IN_HR` | IN_HR | +| `IN_JH` | IN_JH | +| `IN_JK` | IN_JK | +| `IN_KA` | IN_KA | +| `IN_KL` | IN_KL | +| `IN_LD` | IN_LD | +| `IN_MH` | IN_MH | +| `IN_ML` | IN_ML | +| `IN_MN` | IN_MN | +| `IN_MP` | IN_MP | +| `IN_MZ` | IN_MZ | +| `IN_NL` | IN_NL | +| `IN_OR` | IN_OR | +| `IN_PB` | IN_PB | +| `IN_PY` | IN_PY | +| `IN_RJ` | IN_RJ | +| `IN_SK` | IN_SK | +| `IN_TG` | IN_TG | +| `IN_TN` | IN_TN | +| `IN_TR` | IN_TR | +| `IN_UL` | IN_UL | +| `IN_UP` | IN_UP | +| `IN_WB` | IN_WB | +| `IOA` | IOA | +| `IOI` | IOI | +| `IOL` | IOL | +| `IOM` | IOM | +| `IOS` | IOS | +| `IOW` | IOW | +| `IOY` | IOY | +| `ISL` | ISL | +| `IT21` | IT_21 | +| `IT23` | IT_23 | +| `IT25` | IT_25 | +| `IT32` | IT_32 | +| `IT34` | IT_34 | +| `IT36` | IT_36 | +| `IT42` | IT_42 | +| `IT45` | IT_45 | +| `IT52` | IT_52 | +| `IT55` | IT_55 | +| `IT57` | IT_57 | +| `IT62` | IT_62 | +| `IT65` | IT_65 | +| `IT67` | IT_67 | +| `IT72` | IT_72 | +| `IT75` | IT_75 | +| `IT77` | IT_77 | +| `IT78` | IT_78 | +| `IT82` | IT_82 | +| `IT88` | IT_88 | +| `IT_AG` | IT_AG | +| `IT_AL` | IT_AL | +| `IT_AN` | IT_AN | +| `IT_AO` | IT_AO | +| `IT_AP` | IT_AP | +| `IT_AQ` | IT_AQ | +| `IT_AR` | IT_AR | +| `IT_AT` | IT_AT | +| `IT_AV` | IT_AV | +| `IT_BA` | IT_BA | +| `IT_BG` | IT_BG | +| `IT_BI` | IT_BI | +| `IT_BL` | IT_BL | +| `IT_BN` | IT_BN | +| `IT_BO` | IT_BO | +| `IT_BR` | IT_BR | +| `IT_BS` | IT_BS | +| `IT_BT` | IT_BT | +| `IT_BZ` | IT_BZ | +| `IT_CA` | IT_CA | +| `IT_CB` | IT_CB | +| `IT_CE` | IT_CE | +| `IT_CH` | IT_CH | +| `IT_CI` | IT_CI | +| `IT_CL` | IT_CL | +| `IT_CN` | IT_CN | +| `IT_CO` | IT_CO | +| `IT_CR` | IT_CR | +| `IT_CS` | IT_CS | +| `IT_CT` | IT_CT | +| `IT_CZ` | IT_CZ | +| `IT_EN` | IT_EN | +| `IT_FC` | IT_FC | +| `IT_FE` | IT_FE | +| `IT_FG` | IT_FG | +| `IT_FI` | IT_FI | +| `IT_FM` | IT_FM | +| `IT_FR` | IT_FR | +| `IT_GE` | IT_GE | +| `IT_GO` | IT_GO | +| `IT_GR` | IT_GR | +| `IT_IM` | IT_IM | +| `IT_IS` | IT_IS | +| `IT_KR` | IT_KR | +| `IT_LC` | IT_LC | +| `IT_LE` | IT_LE | +| `IT_LI` | IT_LI | +| `IT_LO` | IT_LO | +| `IT_LT` | IT_LT | +| `IT_LU` | IT_LU | +| `IT_MB` | IT_MB | +| `IT_MC` | IT_MC | +| `IT_ME` | IT_ME | +| `IT_MI` | IT_MI | +| `IT_MN` | IT_MN | +| `IT_MO` | IT_MO | +| `IT_MS` | IT_MS | +| `IT_MT` | IT_MT | +| `IT_NA` | IT_NA | +| `IT_NO` | IT_NO | +| `IT_NU` | IT_NU | +| `IT_OG` | IT_OG | +| `IT_OR` | IT_OR | +| `IT_OT` | IT_OT | +| `IT_PA` | IT_PA | +| `IT_PC` | IT_PC | +| `IT_PD` | IT_PD | +| `IT_PE` | IT_PE | +| `IT_PG` | IT_PG | +| `IT_PI` | IT_PI | +| `IT_PN` | IT_PN | +| `IT_PO` | IT_PO | +| `IT_PR` | IT_PR | +| `IT_PT` | IT_PT | +| `IT_PU` | IT_PU | +| `IT_PV` | IT_PV | +| `IT_PZ` | IT_PZ | +| `IT_RA` | IT_RA | +| `IT_RC` | IT_RC | +| `IT_RE` | IT_RE | +| `IT_RG` | IT_RG | +| `IT_RI` | IT_RI | +| `IT_RM` | IT_RM | +| `IT_RN` | IT_RN | +| `IT_RO` | IT_RO | +| `IT_SA` | IT_SA | +| `IT_SI` | IT_SI | +| `IT_SO` | IT_SO | +| `IT_SP` | IT_SP | +| `IT_SR` | IT_SR | +| `IT_SS` | IT_SS | +| `IT_SV` | IT_SV | +| `IT_TA` | IT_TA | +| `IT_TE` | IT_TE | +| `IT_TN` | IT_TN | +| `IT_TO` | IT_TO | +| `IT_TP` | IT_TP | +| `IT_TR` | IT_TR | +| `IT_TS` | IT_TS | +| `IT_TV` | IT_TV | +| `IT_UD` | IT_UD | +| `IT_VA` | IT_VA | +| `IT_VB` | IT_VB | +| `IT_VC` | IT_VC | +| `IT_VE` | IT_VE | +| `IT_VI` | IT_VI | +| `IT_VR` | IT_VR | +| `IT_VS` | IT_VS | +| `IT_VT` | IT_VT | +| `IT_VV` | IT_VV | +| `IVK` | IVK | +| `JP01` | JP_01 | +| `JP02` | JP_02 | +| `JP03` | JP_03 | +| `JP04` | JP_04 | +| `JP05` | JP_05 | +| `JP06` | JP_06 | +| `JP07` | JP_07 | +| `JP08` | JP_08 | +| `JP09` | JP_09 | +| `JP10` | JP_10 | +| `JP11` | JP_11 | +| `JP12` | JP_12 | +| `JP13` | JP_13 | +| `JP14` | JP_14 | +| `JP15` | JP_15 | +| `JP16` | JP_16 | +| `JP17` | JP_17 | +| `JP18` | JP_18 | +| `JP19` | JP_19 | +| `JP20` | JP_20 | +| `JP21` | JP_21 | +| `JP22` | JP_22 | +| `JP23` | JP_23 | +| `JP24` | JP_24 | +| `JP25` | JP_25 | +| `JP26` | JP_26 | +| `JP27` | JP_27 | +| `JP28` | JP_28 | +| `JP29` | JP_29 | +| `JP30` | JP_30 | +| `JP31` | JP_31 | +| `JP32` | JP_32 | +| `JP33` | JP_33 | +| `JP34` | JP_34 | +| `JP35` | JP_35 | +| `JP36` | JP_36 | +| `JP37` | JP_37 | +| `JP38` | JP_38 | +| `JP39` | JP_39 | +| `JP40` | JP_40 | +| `JP41` | JP_41 | +| `JP42` | JP_42 | +| `JP43` | JP_43 | +| `JP44` | JP_44 | +| `JP45` | JP_45 | +| `JP46` | JP_46 | +| `JP47` | JP_47 | +| `KEC` | KEC | +| `KEN` | KEN | +| `KHL` | KHL | +| `KIR` | KIR | +| `KS` | KS | +| `KTT` | KTT | +| `KWL` | KWL | +| `KY` | KY | +| `LA` | LA | +| `LAN` | LAN | +| `LBH` | LBH | +| `LCE` | LCE | +| `LDS` | LDS | +| `LEC` | LEC | +| `LEW` | LEW | +| `LIN` | LIN | +| `LIV` | LIV | +| `LMV` | LMV | +| `LND` | LND | +| `LRN` | LRN | +| `LSB` | LSB | +| `LU_D` | LU_D | +| `LU_G` | LU_G | +| `LU_L` | LU_L | +| `LUT` | LUT | +| `MA` | MA | +| `MAN` | MAN | +| `MB` | MB | +| `MD` | MD | +| `MDB` | MDB | +| `MDS` | MDS | +| `MDW` | MDW | +| `ME` | ME | +| `MFT` | MFT | +| `MGM` | MGM | +| `MH` | MH | +| `MI` | MI | +| `MIK` | MIK | +| `MLN` | MLN | +| `MN` | MN | +| `MO` | MO | +| `MON` | MON | +| `MP` | MP | +| `MRT` | MRT | +| `MRY` | MRY | +| `MS` | MS | +| `MSY` | MSY | +| `MT` | MT | +| `MTY` | MTY | +| `MX_AGU` | MX_AGU | +| `MX_BCN` | MX_BCN | +| `MX_BCS` | MX_BCS | +| `MX_CAM` | MX_CAM | +| `MX_CHH` | MX_CHH | +| `MX_CHP` | MX_CHP | +| `MX_COA` | MX_COA | +| `MX_COL` | MX_COL | +| `MX_DIF` | MX_DIF | +| `MX_DUR` | MX_DUR | +| `MX_GRO` | MX_GRO | +| `MX_GUA` | MX_GUA | +| `MX_HID` | MX_HID | +| `MX_JAL` | MX_JAL | +| `MX_MEX` | MX_MEX | +| `MX_MIC` | MX_MIC | +| `MX_MOR` | MX_MOR | +| `MX_NAY` | MX_NAY | +| `MX_NLE` | MX_NLE | +| `MX_OAX` | MX_OAX | +| `MX_PUE` | MX_PUE | +| `MX_QUE` | MX_QUE | +| `MX_ROO` | MX_ROO | +| `MX_SIN` | MX_SIN | +| `MX_SLP` | MX_SLP | +| `MX_SON` | MX_SON | +| `MX_TAB` | MX_TAB | +| `MX_TAM` | MX_TAM | +| `MX_TLA` | MX_TLA | +| `MX_VER` | MX_VER | +| `MX_YUC` | MX_YUC | +| `MX_ZAC` | MX_ZAC | +| `MYL` | MYL | +| `NAY` | NAY | +| `NB` | NB | +| `NBL` | NBL | +| `NC` | NC | +| `ND` | ND | +| `NDN` | NDN | +| `NE` | NE | +| `NEL` | NEL | +| `NET` | NET | +| `NFK` | NFK | +| `NGM` | NGM | +| `NH` | NH | +| `NJ` | NJ | +| `NL` | NL | +| `NL_DR` | NL_DR | +| `NL_FL` | NL_FL | +| `NL_FR` | NL_FR | +| `NL_GE` | NL_GE | +| `NL_GR` | NL_GR | +| `NLK` | NLK | +| `NL_LI` | NL_LI | +| `NLN` | NLN | +| `NL_NB` | NL_NB | +| `NL_NH` | NL_NH | +| `NL_OV` | NL_OV | +| `NL_UT` | NL_UT | +| `NL_ZE` | NL_ZE | +| `NL_ZH` | NL_ZH | +| `NM` | NM | +| `NO01` | NO_01 | +| `NO02` | NO_02 | +| `NO03` | NO_03 | +| `NO04` | NO_04 | +| `NO05` | NO_05 | +| `NO06` | NO_06 | +| `NO07` | NO_07 | +| `NO08` | NO_08 | +| `NO09` | NO_09 | +| `NO10` | NO_10 | +| `NO11` | NO_11 | +| `NO12` | NO_12 | +| `NO14` | NO_14 | +| `NO15` | NO_15 | +| `NO16` | NO_16 | +| `NO17` | NO_17 | +| `NO18` | NO_18 | +| `NO19` | NO_19 | +| `NO20` | NO_20 | +| `NO21` | NO_21 | +| `NO22` | NO_22 | +| `NRY` | NRY | +| `NS` | NS | +| `NSM` | NSM | +| `NSW_AUS` | NSW_AUS | +| `NT` | NT | +| `NT_AUS` | NT_AUS | +| `NTA` | NTA | +| `NTH` | NTH | +| `NTL` | NTL | +| `NTT` | NTT | +| `NTY` | NTY | +| `NU` | NU | +| `NV` | NV | +| `NWM` | NWM | +| `NWP` | NWP | +| `NY` | NY | +| `NYK` | NYK | +| `NYM` | NYM | +| `OH` | OH | +| `OK` | OK | +| `OLD` | OLD | +| `OMH` | OMH | +| `ON` | ON | +| `OR` | OR | +| `ORK` | ORK | +| `OXF` | OXF | +| `PA` | PA | +| `PE` | PE | +| `PEM` | PEM | +| `PKN` | PKN | +| `PLY` | PLY | +| `POL` | POL | +| `POR` | POR | +| `POW` | POW | +| `PR` | PR | +| `PTE` | PTE | +| `PW` | PW | +| `QC` | QC | +| `QLD_AUS` | QLD_AUS | +| `RCC` | RCC | +| `RCH` | RCH | +| `RCT` | RCT | +| `RDB` | RDB | +| `RDG` | RDG | +| `RFW` | RFW | +| `RI` | RI | +| `RIC` | RIC | +| `ROT` | ROT | +| `RUT` | RUT | +| `SA_AUS` | SA_AUS | +| `SAW` | SAW | +| `SAY` | SAY | +| `SC` | SC | +| `SCB` | SCB | +| `SD` | SD | +| `SFK` | SFK | +| `SFT` | SFT | +| `SGC` | SGC | +| `SGM` | SGM | +| `SHF` | SHF | +| `SHN` | SHN | +| `SHR` | SHR | +| `SK` | SK | +| `SKP` | SKP | +| `SLF` | SLF | +| `SLG` | SLG | +| `SLK` | SLK | +| `SOL` | SOL | +| `SOM` | SOM | +| `SOS` | SOS | +| `SRY` | SRY | +| `STB` | STB | +| `STE` | STE | +| `STG` | STG | +| `STH` | STH | +| `STN` | STN | +| `STS` | STS | +| `STT` | STT | +| `STY` | STY | +| `SWA` | SWA | +| `SWD` | SWD | +| `SWK` | SWK | +| `SYK` | SYK | +| `TAM` | TAM | +| `TAS_AUS` | TAS_AUS | +| `TFW` | TFW | +| `THR` | THR | +| `TN` | TN | +| `TOB` | TOB | +| `TOF` | TOF | +| `TRF` | TRF | +| `TWH` | TWH | +| `TWR` | TWR | +| `TX` | TX | +| `TYR` | TYR | +| `UT` | UT | +| `VA` | VA | +| `VGL` | VGL | +| `VI` | VI | +| `VIC_AUS` | VIC_AUS | +| `VT` | VT | +| `WA` | WA | +| `WA_AUS` | WA_AUS | +| `WAR` | WAR | +| `WBK` | WBK | +| `WDU` | WDU | +| `WFT` | WFT | +| `WGM` | WGM | +| `WGN` | WGN | +| `WI` | WI | +| `WIL` | WIL | +| `WIS` | WIS | +| `WKF` | WKF | +| `WLL` | WLL | +| `WLN` | WLN | +| `WLV` | WLV | +| `WMD` | WMD | +| `WND` | WND | +| `WNM` | WNM | +| `WOK` | WOK | +| `WOR` | WOR | +| `WRL` | WRL | +| `WRT` | WRT | +| `WRX` | WRX | +| `WSM` | WSM | +| `WSX` | WSX | +| `WV` | WV | +| `WY` | WY | +| `WYK` | WYK | +| `YOR` | YOR | +| `YT` | YT | +| `ZET` | ZET | \ No newline at end of file diff --git a/packages/java/docs/models/components/LeadCatchersOverviewResponse.md b/packages/java/docs/models/components/LeadCatchersOverviewResponse.md new file mode 100644 index 000000000..866a19e83 --- /dev/null +++ b/packages/java/docs/models/components/LeadCatchersOverviewResponse.md @@ -0,0 +1,11 @@ +# LeadCatchersOverviewResponse + +Paginated overview of lead catchers for a venue. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `paging` | [Paging](../../models/components/Paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | List\<[LeadCatcherOverview](../../models/components/LeadCatcherOverview.md)> | :heavy_check_mark: | Each item is a lightweight, non-PII overview of a lead catcher for the venue, containing only the `id`, `firstName`, and `lastName`. | \ No newline at end of file diff --git a/packages/java/docs/models/components/LocaleLanguageVariant.md b/packages/java/docs/models/components/LocaleLanguageVariant.md new file mode 100644 index 000000000..c6facd8fb --- /dev/null +++ b/packages/java/docs/models/components/LocaleLanguageVariant.md @@ -0,0 +1,185 @@ +# LocaleLanguageVariant + +Language locale of a Lead Catcher contact. + +Values: +- `zh-CHS` — Chinese (Simplified) Legacy +- `zh-TW` — Chinese (Traditional, Taiwan) +- `de-DE` — German (Germany) +- `en-US` — English (United States) +- `fi-FI` — Finnish (Finland) +- `fr-FR` — French (France) +- `it-IT` — Italian (Italy) +- `ja-JP` — Japanese (Japan) +- `ko-KR` — Korean (Korea) +- `nl-NL` — Dutch (Netherlands) +- `pt-BR` — Portuguese (Brazil) +- `ru-RU` — Russian (Russia) +- `sv-SE` — Swedish (Sweden) +- `th-TH` — Thai (Thailand) +- `tr-TR` — Turkish (Turkey) +- `uk-UA` — Ukrainian (Ukraine) +- `zh-CN` — Chinese (Simplified, China) +- `de-CH` — German (Switzerland) +- `en-GB` — English (United Kingdom) +- `es-MX` — Spanish (Mexico) +- `fr-BE` — French (Belgium) +- `it-CH` — Italian (Switzerland) +- `nl-BE` — Dutch (Belgium) +- `pt-PT` — Portuguese (Portugal) +- `ru-MD` — Russian (Moldova) +- `sv-FI` — Swedish (Finland) +- `zh-HK` — Chinese (Traditional, Hong Kong SAR) +- `de-AT` — German (Austria) +- `en-AU` — English (Australia) +- `es-ES` — Spanish (Spain, International Sort) +- `fr-CA` — French (Canada) +- `zh-SG` — Chinese (Simplified, Singapore) +- `de-LU` — German (Luxembourg) +- `en-CA` — English (Canada) +- `es-GT` — Spanish (Guatemala) +- `fr-CH` — French (Switzerland) +- `zh-MO` — Chinese (Traditional, Macao SAR) +- `de-LI` — German (Liechtenstein) +- `en-NZ` — English (New Zealand) +- `es-CR` — Spanish (Costa Rica) +- `fr-LU` — French (Luxembourg) +- `en-IE` — English (Ireland) +- `es-PA` — Spanish (Panama) +- `fr-MC` — French (Monaco) +- `en-ZA` — English (South Africa) +- `es-DO` — Spanish (Dominican Republic) +- `fr-029` — French (Caribbean) +- `en-JM` — English (Jamaica) +- `es-VE` — Spanish (Venezuela) +- `fr-RE` — French (Réunion) +- `en-029` — English (Caribbean) +- `es-CO` — Spanish (Colombia) +- `fr-CD` — French Congo (DRC) +- `en-BZ` — English (Belize) +- `es-PE` — Spanish (Peru) +- `fr-SN` — French (Senegal) +- `en-TT` — English (Trinidad and Tobago) +- `es-AR` — Spanish (Argentina) +- `fr-CM` — French (Cameroon) +- `en-ZW` — English (Zimbabwe) +- `es-EC` — Spanish (Ecuador) +- `fr-CI` — French (Côte d'Ivoire) +- `en-PH` — English (Philippines) +- `es-CL` — Spanish (Chile) +- `fr-ML` — French (Mali) +- `en-ID` — English (Indonesia) +- `es-UY` — Spanish (Uruguay) +- `fr-MA` — French (Morocco) +- `en-HK` — English (Hong Kong SAR) +- `es-PY` — Spanish (Paraguay) +- `fr-HT` — French (Haiti) +- `en-IN` — English (India) +- `es-BO` — Spanish (Bolivia) +- `en-MY` — English (Malaysia) +- `es-SV` — Spanish (El Salvador) +- `en-SG` — English (Singapore) +- `es-HN` — Spanish (Honduras) +- `es-NI` — Spanish (Nicaragua) +- `es-PR` — Spanish (Puerto Rico) +- `es-US` — Spanish (United States) +- `es-419` — Spanish (Latin America) +- `es-CU` — Spanish (Cuba) +- `zh-CHT` — Chinese (Traditional) Legacy + +## Example Usage + +```java +import com.cvent.models.components.LocaleLanguageVariant; + +LocaleLanguageVariant value = LocaleLanguageVariant.ZH_CHS; +``` + + +## Values + +| Name | Value | +| -------- | -------- | +| `ZH_CHS` | zh-CHS | +| `ZH_TW` | zh-TW | +| `DEDE` | de-DE | +| `EN_US` | en-US | +| `FIFI` | fi-FI | +| `FRFR` | fr-FR | +| `ITIT` | it-IT | +| `JA_JP` | ja-JP | +| `KO_KR` | ko-KR | +| `NLNL` | nl-NL | +| `PT_BR` | pt-BR | +| `RURU` | ru-RU | +| `SV_SE` | sv-SE | +| `THTH` | th-TH | +| `TRTR` | tr-TR | +| `UK_UA` | uk-UA | +| `ZH_CN` | zh-CN | +| `DE_CH` | de-CH | +| `EN_GB` | en-GB | +| `ES_MX` | es-MX | +| `FR_BE` | fr-BE | +| `IT_CH` | it-CH | +| `NL_BE` | nl-BE | +| `PTPT` | pt-PT | +| `RU_MD` | ru-MD | +| `SV_FI` | sv-FI | +| `ZH_HK` | zh-HK | +| `DE_AT` | de-AT | +| `EN_AU` | en-AU | +| `ESES` | es-ES | +| `FR_CA` | fr-CA | +| `ZH_SG` | zh-SG | +| `DE_LU` | de-LU | +| `EN_CA` | en-CA | +| `ES_GT` | es-GT | +| `FR_CH` | fr-CH | +| `ZH_MO` | zh-MO | +| `DE_LI` | de-LI | +| `EN_NZ` | en-NZ | +| `ES_CR` | es-CR | +| `FR_LU` | fr-LU | +| `EN_IE` | en-IE | +| `ES_PA` | es-PA | +| `FR_MC` | fr-MC | +| `EN_ZA` | en-ZA | +| `ES_DO` | es-DO | +| `FR029` | fr-029 | +| `EN_JM` | en-JM | +| `ES_VE` | es-VE | +| `FR_RE` | fr-RE | +| `EN029` | en-029 | +| `ES_CO` | es-CO | +| `FR_CD` | fr-CD | +| `EN_BZ` | en-BZ | +| `ES_PE` | es-PE | +| `FR_SN` | fr-SN | +| `EN_TT` | en-TT | +| `ES_AR` | es-AR | +| `FR_CM` | fr-CM | +| `EN_ZW` | en-ZW | +| `ES_EC` | es-EC | +| `FR_CI` | fr-CI | +| `EN_PH` | en-PH | +| `ES_CL` | es-CL | +| `FR_ML` | fr-ML | +| `EN_ID` | en-ID | +| `ES_UY` | es-UY | +| `FR_MA` | fr-MA | +| `EN_HK` | en-HK | +| `ES_PY` | es-PY | +| `FR_HT` | fr-HT | +| `EN_IN` | en-IN | +| `ES_BO` | es-BO | +| `EN_MY` | en-MY | +| `ES_SV` | es-SV | +| `EN_SG` | en-SG | +| `ES_HN` | es-HN | +| `ES_NI` | es-NI | +| `ES_PR` | es-PR | +| `ES_US` | es-US | +| `ES419` | es-419 | +| `ES_CU` | es-CU | +| `ZH_CHT` | zh-CHT | \ No newline at end of file diff --git a/packages/java/docs/models/components/QuestionWithProgramId.md b/packages/java/docs/models/components/QuestionWithProgramId.md new file mode 100644 index 000000000..f17bfca1b --- /dev/null +++ b/packages/java/docs/models/components/QuestionWithProgramId.md @@ -0,0 +1,21 @@ +# QuestionWithProgramId + +A question, defined by the program, for the supplier to answer as part of their proposal. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `created` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | +| `createdBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | +| `lastModified` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | +| `lastModifiedBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | +| `travelProgram` | [Optional\](../../models/components/QuestionWithProgramIdTravelProgram.md) | :heavy_minus_sign: | Travel program that the question belongs to. | | +| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the question. | 76c461cb-77f6-40b3-acc8-db44452f11c4 | +| `text` | *Optional\* | :heavy_minus_sign: | The text of the question. | What type of food is served in the hotel restaurant? | +| `required` | *Optional\* | :heavy_minus_sign: | Is this question required by default? | true | +| `responseType` | [Optional\](../../models/components/QuestionResponseType.md) | :heavy_minus_sign: | Code representing the type of response supported. Single represents a simple single value response, and choice means the user will be given a set of options for selection. | choice | +| `responseDataType` | [Optional\](../../models/components/QuestionResponseDataType.md) | :heavy_minus_sign: | Code representing the expected data type of the question response. | text | +| `responseFormat` | [Optional\](../../models/components/QuestionResponseFormat.md) | :heavy_minus_sign: | Code representing the format the text of the response will be in. | proper_case | +| `responseChoices` | List\<*String*> | :heavy_minus_sign: | A list of options for the question. This only applies when responseType is 'choice' | [
"Mexican",
"American",
"French",
"Other"
] | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProgramQuestionTravelProgram.md b/packages/java/docs/models/components/QuestionWithProgramIdTravelProgram.md similarity index 94% rename from packages/java/docs/models/components/TravelProgramQuestionTravelProgram.md rename to packages/java/docs/models/components/QuestionWithProgramIdTravelProgram.md index 5704fa24e..9c95fcdcc 100644 --- a/packages/java/docs/models/components/TravelProgramQuestionTravelProgram.md +++ b/packages/java/docs/models/components/QuestionWithProgramIdTravelProgram.md @@ -1,4 +1,4 @@ -# TravelProgramQuestionTravelProgram +# QuestionWithProgramIdTravelProgram Travel program that the question belongs to. diff --git a/packages/java/docs/models/components/QuestionsPaginatedResponse1.md b/packages/java/docs/models/components/QuestionsPaginatedResponse1.md index 937250459..d6a5957fc 100644 --- a/packages/java/docs/models/components/QuestionsPaginatedResponse1.md +++ b/packages/java/docs/models/components/QuestionsPaginatedResponse1.md @@ -8,4 +8,4 @@ A paginated list of Questions. | Field | Type | Required | Description | | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | | `paging` | [Optional\](../../models/components/Paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | List\<[TravelProgramQuestion](../../models/components/TravelProgramQuestion.md)> | :heavy_minus_sign: | Collection of Questions. | \ No newline at end of file +| `data` | List\<[QuestionWithProgramId](../../models/components/QuestionWithProgramId.md)> | :heavy_minus_sign: | Collection of Questions. | \ No newline at end of file diff --git a/packages/java/docs/models/components/Rfp2.md b/packages/java/docs/models/components/Rfp2.md index 352993216..89bd06955 100644 --- a/packages/java/docs/models/components/Rfp2.md +++ b/packages/java/docs/models/components/Rfp2.md @@ -5,59 +5,59 @@ Basic RFP details ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `created` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | -| `createdBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | -| `lastModified` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | -| `lastModifiedBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | -| `needsMeetingSpace` | *boolean* | :heavy_check_mark: | True indicates meeting space is needed for event. | | -| `needsGuestRooms` | *boolean* | :heavy_check_mark: | True indicates guest rooms are needed for event. | | -| `description` | *Optional\* | :heavy_minus_sign: | Description of RFP. | Planning to host company's annual event in an outdoor location. | -| `dateRequirements` | [Optional\](../../models/components/DateRequirements1.md) | :heavy_minus_sign: | Date requirements for the event. | | -| `rfpEvent` | [Optional\](../../models/components/RfpEvent.md) | :heavy_minus_sign: | RFP event details. | | -| `agendaStartDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 date representing the start date of agenda. | 2025-10-13 | -| `contact` | [Optional\](../../models/components/Contact1.md) | :heavy_minus_sign: | Contact details of planner. | | -| `rfpEventOrganization` | [Optional\](../../models/components/EventOrganization1.md) | :heavy_minus_sign: | Details of organization which is hosting the event. | | -| `decisionFactors` | *Optional\* | :heavy_minus_sign: | Decision factors based on which RFP will be awarded. These can be price, location, or quality of service. | Price, location, and quality of service. | -| `citywideEvent` | *Optional\* | :heavy_minus_sign: | True indicates event is city wide and might require multiple venues. | | -| `responseDueDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 date by when the response for RFP is expected from suppliers. | 2016-10-13 | -| `decisionDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 date by which RFP will be awarded. | 2016-10-13 | -| `billingDetails` | [Optional\](../../models/components/BillingDetails1.md) | :heavy_minus_sign: | Billing details for RFP. | | -| `internalNote` | *Optional\* | :heavy_minus_sign: | Internal note for planners. This note is not shared with suppliers. | Don't award this RFP to the same venue as last year. | -| `currencyCode` | *Optional\* | :heavy_minus_sign: | The ISO 4217 standard format currency code. | USD | -| `measurementUnit` | [Optional\](../../models/components/MeasurementUnit.md) | :heavy_minus_sign: | Unit of measurement for area or space.

Values:
- `SQUARE_FEET` — Square Feet
- `SQUARE_METERS` — Square Meters | | -| `requiredCostItems` | List\<[OfferingCostType1](../../models/components/OfferingCostType1.md)> | :heavy_minus_sign: | This contains cost items which are marked as required for suppliers in the RFP. | [
"BREAK_AM",
"BREAK_PM"
] | -| `hiddenCostItems` | List\<[OfferingCostType1](../../models/components/OfferingCostType1.md)> | :heavy_minus_sign: | This contains cost items which are marked as not needed for suppliers in the RFP. | [
"BREAK_DRINKS_ONLY",
"BREAK_SNACKS_AND_DRINKS"
] | -| `forwardable` | *Optional\* | :heavy_minus_sign: | True indicates suppliers added on the RFP should be allowed to forward the RFP. | | -| `cvbForwardLimit` | *Optional\* | :heavy_minus_sign: | Limits the number of venues that a CVB (Convention and Visitors Bureau) can forward an RFP to. | 5 | -| `allowEmailNotifications` | *Optional\* | :heavy_minus_sign: | True indicates email notifications are allowed for this RFP. | | -| `notificationRecipients` | List\<[RecipientInfo](../../models/components/RecipientInfo.md)> | :heavy_minus_sign: | This contains recipients who would get notified every time a new response is received back from the suppliers | [
{
"order": 1,
"type": "EMAIL",
"value": "johnDoe@example.com"
},
{
"order": 2,
"type": "ACCOUNT_USER",
"value": "50dc08af-24a9-4d01-84be-3d43133dc945"
},
{
"order": 3,
"type": "ACCOUNT_USER_GROUP",
"value": "70de07af-24a9-4d01-84be-3d43133dc932"
}
] | -| `shareAwardDetails` | *Optional\* | :heavy_minus_sign: | True indicates award details can be shared with other suppliers added in RFP. | | -| `leadSource` | [Optional\](../../models/components/LeadSource.md) | :heavy_minus_sign: | Lead source details. | | -| `sourceId` | *Optional\* | :heavy_minus_sign: | Unique identifier for RFPs originating from outside Cvent network provided by source system where RFP was created. | 123456 | -| `showcaseEnabled` | *Optional\* | :heavy_minus_sign: | True indicates showcase is enabled for this RFP. | | -| `autoAddToShowcaseEnabled` | *Optional\* | :heavy_minus_sign: | True indicates that the RFP will be automatically added to showcase in case there is a low response rate. | | -| `destinationExpertsRequiredOnProposal` | *Optional\* | :heavy_minus_sign: | True indicates suppliers are required to copy the destination experts (i.e. CVB/DMC) on the proposal that is sent back through Cvent. | | -| `weddingDetails` | [Optional\](../../models/components/WeddingDetails1.md) | :heavy_minus_sign: | Wedding details. | | -| `needsCatering` | *Optional\* | :heavy_minus_sign: | True indicates catering is required. | | -| `packagePricingPreference` | [Optional\](../../models/components/PackagePricingPreference.md) | :heavy_minus_sign: | Represents different preferences by planner for pricing packages response that supplier has to provide. NO_PREFERENCE means no pricing package information is need, OPTIONAL means it's not mandatory to provide pricing preference, and REQUIRED means package information is mandatory to be provided by supplier. | OPTIONAL | -| `feeTransparencyEnabled` | *Optional\* | :heavy_minus_sign: | True indicates RFP was created with fee transparency enabled. | | -| ~~`preferredVenueIntegrations`~~ | List\<[VenueIntegrationType](../../models/components/VenueIntegrationType.md)> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

DEPRECATED: Use [venueIntegrationPreference](#schema/VenueIntegrationPreference) instead. Venue integrations the planner prefers when sourcing venues. An empty array or absent field indicates no preference has been recorded. | | -| `venueIntegrationPreference` | [Optional\](../../models/components/VenueIntegrationPreference.md) | :heavy_minus_sign: | Venue integration preference for an RFP. | | -| `id` | *String* | :heavy_check_mark: | Unique identifier for RFP. | a3edf581-b80c-4a0b-bdcf-ab8bf5fdcd1b | -| `code` | *Optional\* | :heavy_minus_sign: | Unique code of RFP. | JBNJN7BGJ5J | -| `status` | [Optional\](../../models/components/RfpStatus1.md) | :heavy_minus_sign: | Represents state of the RFP. | | -| `type` | [Optional\](../../models/components/RfpType1.md) | :heavy_minus_sign: | RFP types based on event requirements. | | -| `approvedBy` | *Optional\* | :heavy_minus_sign: | Details of the user who approved the RFP. | approver@example.com | -| `approvedDateTime` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) when the RFP was approved. The initial value when RFP is not approved is 1900-01-01 00:00:00.000. | 2021-01-13T14:06:20.080Z | -| `approved` | *Optional\* | :heavy_minus_sign: | True indicates RFP is approved. | true | -| `cancellationDetails` | [Optional\](../../models/components/CancellationDetails.md) | :heavy_minus_sign: | Information about cancellation of RFP. | | -| `lastSentDateTime` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) when RFP was last sent. | 2021-01-13T14:06:20.080Z | -| `originalSentDateTime` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) when RFP was first sent. | 2021-01-13T14:06:20.080Z | -| `sentVenueCount` | *Optional\* | :heavy_minus_sign: | Number of venues to which the planner has sent the RFP. | 5 | -| `archived` | *Optional\* | :heavy_minus_sign: | True indicates RFP is archived. | | -| `archivalDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) representing the archival date. | 2021-01-13T14:06:20.080Z | -| `awardedExternally` | *Optional\* | :heavy_minus_sign: | True indicates RFP has been awarded to a venue outside of Cvent Supplier Network. | | -| `finishedAwarding` | *Optional\* | :heavy_minus_sign: | True indicates venue sourcing process for this RFP has been marked as finished after awarding the eligible venues. | | -| `aiRfpGenerationSource` | *Optional\* | :heavy_minus_sign: | Represents the AI generation source for the RFP. This field is set during RFP creation and cannot be modified afterwards. | MCP-Visual Studio Code/1.107.1 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `created` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | +| `createdBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | +| `lastModified` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | +| `lastModifiedBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | +| `needsMeetingSpace` | *boolean* | :heavy_check_mark: | True indicates meeting space is needed for event. | | +| `needsGuestRooms` | *boolean* | :heavy_check_mark: | True indicates guest rooms are needed for event. | | +| `description` | *Optional\* | :heavy_minus_sign: | Description of RFP. | Planning to host company's annual event in an outdoor location. | +| `dateRequirements` | [Optional\](../../models/components/DateRequirements1.md) | :heavy_minus_sign: | Date requirements for the event. | | +| `rfpEvent` | [Optional\](../../models/components/RfpEvent.md) | :heavy_minus_sign: | RFP event details. | | +| `agendaStartDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 date representing the start date of agenda. | 2025-10-13 | +| `contact` | [Optional\](../../models/components/Contact1.md) | :heavy_minus_sign: | Contact details of planner. | | +| `rfpEventOrganization` | [Optional\](../../models/components/EventOrganization1.md) | :heavy_minus_sign: | Details of organization which is hosting the event. | | +| `decisionFactors` | *Optional\* | :heavy_minus_sign: | Decision factors based on which RFP will be awarded. These can be price, location, or quality of service. | Price, location, and quality of service. | +| `citywideEvent` | *Optional\* | :heavy_minus_sign: | True indicates event is city wide and might require multiple venues. | | +| `responseDueDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 date by when the response for RFP is expected from suppliers. | 2016-10-13 | +| `decisionDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 date by which RFP will be awarded. | 2016-10-13 | +| `billingDetails` | [Optional\](../../models/components/BillingDetails1.md) | :heavy_minus_sign: | Billing details for RFP. | | +| `internalNote` | *Optional\* | :heavy_minus_sign: | Internal note for planners. This note is not shared with suppliers. | Don't award this RFP to the same venue as last year. | +| `currencyCode` | *Optional\* | :heavy_minus_sign: | The ISO 4217 standard format currency code. | USD | +| `measurementUnit` | [Optional\](../../models/components/MeasurementUnit.md) | :heavy_minus_sign: | Unit of measurement for area or space.

Values:
- `SQUARE_FEET` — Square Feet
- `SQUARE_METERS` — Square Meters | | +| `requiredCostItems` | List\<[OfferingCostType1](../../models/components/OfferingCostType1.md)> | :heavy_minus_sign: | This contains cost items which are marked as required for suppliers in the RFP. | [
"BREAK_AM",
"BREAK_PM"
] | +| `hiddenCostItems` | List\<[OfferingCostType1](../../models/components/OfferingCostType1.md)> | :heavy_minus_sign: | This contains cost items which are marked as not needed for suppliers in the RFP. | [
"BREAK_DRINKS_ONLY",
"BREAK_SNACKS_AND_DRINKS"
] | +| `forwardable` | *Optional\* | :heavy_minus_sign: | True indicates suppliers added on the RFP should be allowed to forward the RFP. | | +| `cvbForwardLimit` | *Optional\* | :heavy_minus_sign: | Limits the number of venues that a CVB (Convention and Visitors Bureau) can forward an RFP to. | 5 | +| `allowEmailNotifications` | *Optional\* | :heavy_minus_sign: | True indicates email notifications are allowed for this RFP. | | +| `notificationRecipients` | List\<[RecipientInfo](../../models/components/RecipientInfo.md)> | :heavy_minus_sign: | This contains recipients who would get notified every time a new response is received back from the suppliers | [
{
"order": 1,
"type": "EMAIL",
"value": "johnDoe@example.com"
},
{
"order": 2,
"type": "ACCOUNT_USER",
"value": "50dc08af-24a9-4d01-84be-3d43133dc945"
},
{
"order": 3,
"type": "ACCOUNT_USER_GROUP",
"value": "70de07af-24a9-4d01-84be-3d43133dc932"
}
] | +| `shareAwardDetails` | *Optional\* | :heavy_minus_sign: | True indicates award details can be shared with other suppliers added in RFP. | | +| `leadSource` | [Optional\](../../models/components/LeadSource.md) | :heavy_minus_sign: | Lead source details. | | +| `sourceId` | *Optional\* | :heavy_minus_sign: | Unique identifier for RFPs originating from outside Cvent network provided by source system where RFP was created. | 123456 | +| `showcaseEnabled` | *Optional\* | :heavy_minus_sign: | True indicates showcase is enabled for this RFP. | | +| `autoAddToShowcaseEnabled` | *Optional\* | :heavy_minus_sign: | True indicates that the RFP will be automatically added to showcase in case there is a low response rate. | | +| `destinationExpertsRequiredOnProposal` | *Optional\* | :heavy_minus_sign: | True indicates suppliers are required to copy the destination experts (i.e. CVB/DMC) on the proposal that is sent back through Cvent. | | +| `weddingDetails` | [Optional\](../../models/components/WeddingDetails1.md) | :heavy_minus_sign: | Wedding details. | | +| `needsCatering` | *Optional\* | :heavy_minus_sign: | True indicates catering is required. | | +| `packagePricingPreference` | [Optional\](../../models/components/PackagePricingPreference.md) | :heavy_minus_sign: | Represents different preferences by planner for pricing packages response that supplier has to provide. NO_PREFERENCE means no pricing package information is need, OPTIONAL means it's not mandatory to provide pricing preference, and REQUIRED means package information is mandatory to be provided by supplier. | OPTIONAL | +| `feeTransparencyEnabled` | *Optional\* | :heavy_minus_sign: | True indicates RFP was created with fee transparency enabled. | | +| ~~`preferredVenueIntegrations`~~ | List\<[VenueIntegrationType](../../models/components/VenueIntegrationType.md)> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

DEPRECATED: Use `venueIntegrationPreference` instead. Venue integrations the planner prefers when sourcing venues. An empty array or absent field indicates no preference has been recorded. | | +| `venueIntegrationPreference` | [Optional\](../../models/components/VenueIntegrationPreference.md) | :heavy_minus_sign: | Venue integration preference for an RFP. | | +| `id` | *String* | :heavy_check_mark: | Unique identifier for RFP. | a3edf581-b80c-4a0b-bdcf-ab8bf5fdcd1b | +| `code` | *Optional\* | :heavy_minus_sign: | Unique code of RFP. | JBNJN7BGJ5J | +| `status` | [Optional\](../../models/components/RfpStatus1.md) | :heavy_minus_sign: | Represents state of the RFP. | | +| `type` | [Optional\](../../models/components/RfpType.md) | :heavy_minus_sign: | N/A | | +| `approvedBy` | *Optional\* | :heavy_minus_sign: | Details of the user who approved the RFP. | approver@example.com | +| `approvedDateTime` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) when the RFP was approved. The initial value when RFP is not approved is 1900-01-01 00:00:00.000. | 2021-01-13T14:06:20.080Z | +| `approved` | *Optional\* | :heavy_minus_sign: | True indicates RFP is approved. | true | +| `cancellationDetails` | [Optional\](../../models/components/CancellationDetails.md) | :heavy_minus_sign: | Information about cancellation of RFP. | | +| `lastSentDateTime` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) when RFP was last sent. | 2021-01-13T14:06:20.080Z | +| `originalSentDateTime` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) when RFP was first sent. | 2021-01-13T14:06:20.080Z | +| `sentVenueCount` | *Optional\* | :heavy_minus_sign: | Number of venues to which the planner has sent the RFP. | 5 | +| `archived` | *Optional\* | :heavy_minus_sign: | True indicates RFP is archived. | | +| `archivalDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) representing the archival date. | 2021-01-13T14:06:20.080Z | +| `awardedExternally` | *Optional\* | :heavy_minus_sign: | True indicates RFP has been awarded to a venue outside of Cvent Supplier Network. | | +| `finishedAwarding` | *Optional\* | :heavy_minus_sign: | True indicates venue sourcing process for this RFP has been marked as finished after awarding the eligible venues. | | +| `aiRfpGenerationSource` | *Optional\* | :heavy_minus_sign: | Represents the AI generation source for the RFP. This field is set during RFP creation and cannot be modified afterwards. | MCP-Visual Studio Code/1.107.1 | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpQuestion.md b/packages/java/docs/models/components/RfpQuestion.md index 68fed1da1..1ee2eaecc 100644 --- a/packages/java/docs/models/components/RfpQuestion.md +++ b/packages/java/docs/models/components/RfpQuestion.md @@ -43,8 +43,8 @@ Question associated with an RFP. | `maxLength` | *Optional\* | :heavy_minus_sign: | Maximum number of characters that can be entered. | 100 | | `textAnswerFormat` | [Optional\](../../models/components/TextAnswerFormat.md) | :heavy_minus_sign: | Text answer format. Used for `OpenEndedTextOneLine` question types.`CustomFormat`: Answers must follow a planner defined custom format. `EmailAddress`: Answers must follow the pattern of an email address. `General`: Answers can be any string. `USPhoneNumber`: Answers must be formatted as a phone number. | | | `customAnswerFormat` | [Optional\](../../models/components/CustomAnswerFormat.md) | :heavy_minus_sign: | An object that contains custom answer format data. | | -| `supplierTypes` | List\<[SupplierType](../../models/components/SupplierType.md)> | :heavy_minus_sign: | List of supplier types that can view the question on the RFP. | [
"CVB",
"HOTEL"
] | -| `classificationType` | [Optional\](../../models/components/QuestionClassificationType.md) | :heavy_minus_sign: | Indicates the types of RFP that can be assigned this custom question. `MEETING_ROOM`: Meeting room type RFPs can be assigned this custom question. `GUEST_ROOM`: Guest room type RFPs can be assigned this custom question. `ALL_RFPS`: All RFPs can be assigned this custom question. | | +| `supplierTypes` | List\<[SupplierType](../../models/components/SupplierType.md)> | :heavy_check_mark: | List of supplier types that can view the question on the RFP. | [
"CVB",
"HOTEL"
] | +| `classificationType` | [QuestionClassificationType](../../models/components/QuestionClassificationType.md) | :heavy_check_mark: | Indicates the types of RFP that can be assigned this custom question. `MEETING_ROOM`: Meeting room type RFPs can be assigned this custom question. `GUEST_ROOM`: Guest room type RFPs can be assigned this custom question. `ALL_RFPS`: All RFPs can be assigned this custom question. | | | `order` | *Optional\* | :heavy_minus_sign: | Determines the display order for questions on the RFP. Questions with smaller values appear first. | 1 | | `standardQuestion` | [Optional\](../../models/components/StandardQuestion.md) | :heavy_minus_sign: | Standard questions are selected from a predefined list of Cvent questions that can be used in an RFP. | | | `aiQuestionGenerationSource` | *Optional\* | :heavy_minus_sign: | Represents the AI generation source for the custom question on RFP. This field is set during question creation and cannot be modified afterwards. | MCP-Visual Studio Code/1.107.1 | \ No newline at end of file diff --git a/packages/java/docs/models/components/RfpType1.md b/packages/java/docs/models/components/RfpType.md similarity index 83% rename from packages/java/docs/models/components/RfpType1.md rename to packages/java/docs/models/components/RfpType.md index 97d372908..2670a1d58 100644 --- a/packages/java/docs/models/components/RfpType1.md +++ b/packages/java/docs/models/components/RfpType.md @@ -1,13 +1,13 @@ -# RfpType1 +# RfpType RFP types based on event requirements. ## Example Usage ```java -import com.cvent.models.components.RfpType1; +import com.cvent.models.components.RfpType; -RfpType1 value = RfpType1.MEETING_SPACE_AND_GUEST_ROOMS; +RfpType value = RfpType.MEETING_SPACE_AND_GUEST_ROOMS; ``` diff --git a/packages/java/docs/models/components/TravelProgram.md b/packages/java/docs/models/components/TravelProgram.md index f61897da0..56adabf5f 100644 --- a/packages/java/docs/models/components/TravelProgram.md +++ b/packages/java/docs/models/components/TravelProgram.md @@ -23,4 +23,4 @@ Travel program details. | `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 formatted end date (in GMT) of the travel program. | 2024-12-31 | | `dueDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 formatted due date (in GMT) of the travel program. | 2023-11-13 | | `closeoutDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The ISO 8601 formatted decision date (in GMT) of the travel program. | 2023-11-13 | -| `questions` | List\<[TravelProgramQuestion1](../../models/components/TravelProgramQuestion1.md)> | :heavy_minus_sign: | A list of program specific questions for the supplier to answer as part of their proposal. | | \ No newline at end of file +| `questions` | List\<[TravelProgramQuestion](../../models/components/TravelProgramQuestion.md)> | :heavy_minus_sign: | A list of program specific questions for the supplier to answer as part of their proposal. | | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProgramQuestion.md b/packages/java/docs/models/components/TravelProgramQuestion.md index e2e221193..216ea83e5 100644 --- a/packages/java/docs/models/components/TravelProgramQuestion.md +++ b/packages/java/docs/models/components/TravelProgramQuestion.md @@ -1,21 +1,13 @@ # TravelProgramQuestion -A question, defined by the program, for the supplier to answer as part of their proposal. +A question, defined by the account, for the supplier to answer as part of their proposal. ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `created` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | -| `createdBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | -| `lastModified` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | -| `lastModifiedBy` | *Optional\* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | -| `travelProgram` | [Optional\](../../models/components/TravelProgramQuestionTravelProgram.md) | :heavy_minus_sign: | Travel program that the question belongs to. | | -| `id` | *Optional\* | :heavy_minus_sign: | The unique ID of the question. | 76c461cb-77f6-40b3-acc8-db44452f11c4 | -| `text` | *Optional\* | :heavy_minus_sign: | The text of the question. | What type of food is served in the hotel restaurant? | -| `required` | *Optional\* | :heavy_minus_sign: | Is this question required by default? | true | -| `responseType` | [Optional\](../../models/components/QuestionResponseType.md) | :heavy_minus_sign: | Code representing the type of response supported. Single represents a simple single value response, and choice means the user will be given a set of options for selection. | choice | -| `responseDataType` | [Optional\](../../models/components/QuestionResponseDataType.md) | :heavy_minus_sign: | Code representing the expected data type of the question response. | text | -| `responseFormat` | [Optional\](../../models/components/QuestionResponseFormat.md) | :heavy_minus_sign: | Code representing the format the text of the response will be in. | proper_case | -| `responseChoices` | List\<*String*> | :heavy_minus_sign: | A list of options for the question. This only applies when responseType is 'choice' | [
"Mexican",
"American",
"French",
"Other"
] | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `questionId` | *Optional\* | :heavy_minus_sign: | The unique ID of the custom question. | 76c461cb-77f6-40b3-acc8-db44452f11c4 | +| `section` | [Optional\](../../models/components/QuestionSection.md) | :heavy_minus_sign: | Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. | program_client | +| `required` | *Optional\* | :heavy_minus_sign: | Is it required for suppliers to answer this question in their proposal? | true | +| `sequence` | *Optional\* | :heavy_minus_sign: | The sequence number of the question within the proposal. | 1 | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelType.md b/packages/java/docs/models/components/TravelType.md index bc7768db8..85cbdeb10 100644 --- a/packages/java/docs/models/components/TravelType.md +++ b/packages/java/docs/models/components/TravelType.md @@ -1,6 +1,6 @@ # TravelType -Type of travel alternate question +Type of travel alternate question. Supported values: AirRequest = attendee requested air travel; HotelRequest = attendee requested hotel travel; AirActual = actual air travel booked; GroupFlight = group flight booking; TrainRequest = attendee requested train travel; AirAndTrainRequest = attendee did not want air or train travel and submitted an alternate response. ## Example Usage @@ -13,9 +13,11 @@ TravelType value = TravelType.AIR_REQUEST; ## Values -| Name | Value | -| --------------- | --------------- | -| `AIR_REQUEST` | AirRequest | -| `HOTEL_REQUEST` | HotelRequest | -| `AIR_ACTUAL` | AirActual | -| `GROUP_FLIGHT` | GroupFlight | \ No newline at end of file +| Name | Value | +| ----------------------- | ----------------------- | +| `AIR_REQUEST` | AirRequest | +| `HOTEL_REQUEST` | HotelRequest | +| `AIR_ACTUAL` | AirActual | +| `GROUP_FLIGHT` | GroupFlight | +| `TRAIN_REQUEST` | TrainRequest | +| `AIR_AND_TRAIN_REQUEST` | AirAndTrainRequest | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueAmenityAVCapability.md b/packages/java/docs/models/components/VenueAmenityAVCapability.md new file mode 100644 index 000000000..4e3d0034b --- /dev/null +++ b/packages/java/docs/models/components/VenueAmenityAVCapability.md @@ -0,0 +1,25 @@ +# VenueAmenityAVCapability + +Audio-visual capability available at a venue. + +Values: +- `AV_EQUIPMENT` — AV Equipment +- `HIGH_SPEED_INTERNET` — High Speed Internet +- `ONSITE_AV_STAFF` — Onsite AV Staff + +## Example Usage + +```java +import com.cvent.models.components.VenueAmenityAVCapability; + +VenueAmenityAVCapability value = VenueAmenityAVCapability.AV_EQUIPMENT; +``` + + +## Values + +| Name | Value | +| --------------------- | --------------------- | +| `AV_EQUIPMENT` | AV_EQUIPMENT | +| `HIGH_SPEED_INTERNET` | HIGH_SPEED_INTERNET | +| `ONSITE_AV_STAFF` | ONSITE_AV_STAFF | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueAmenityAlcohol.md b/packages/java/docs/models/components/VenueAmenityAlcohol.md new file mode 100644 index 000000000..2bd21c9ef --- /dev/null +++ b/packages/java/docs/models/components/VenueAmenityAlcohol.md @@ -0,0 +1,20 @@ +# VenueAmenityAlcohol + +Alcohol-related policy at a venue. + +## Example Usage + +```java +import com.cvent.models.components.VenueAmenityAlcohol; + +VenueAmenityAlcohol value = VenueAmenityAlcohol.ALCOHOL_ALLOWED; +``` + + +## Values + +| Name | Value | +| ------------------------ | ------------------------ | +| `ALCOHOL_ALLOWED` | ALCOHOL_ALLOWED | +| `BRING_YOUR_OWN` | BRING_YOUR_OWN | +| `PREFERRED_VENDORS_ONLY` | PREFERRED_VENDORS_ONLY | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueAmenityAvCapabilityItem.md b/packages/java/docs/models/components/VenueAmenityAvCapabilityItem.md new file mode 100644 index 000000000..919043764 --- /dev/null +++ b/packages/java/docs/models/components/VenueAmenityAvCapabilityItem.md @@ -0,0 +1,11 @@ +# VenueAmenityAvCapabilityItem + +An AV capability selection for a venue. An internet speed may be provided when the selected amenity is `HIGH_SPEED_INTERNET`. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `amenity` | [VenueAmenityAVCapability](../../models/components/VenueAmenityAVCapability.md) | :heavy_check_mark: | Audio-visual capability available at a venue.

Values:
- `AV_EQUIPMENT` — AV Equipment
- `HIGH_SPEED_INTERNET` — High Speed Internet
- `ONSITE_AV_STAFF` — Onsite AV Staff | | +| `speed` | *Optional\* | :heavy_minus_sign: | Internet connection speed in Mbps. Applicable only when `amenity` is `HIGH_SPEED_INTERNET`. | 1000 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueAmenityBusinessService.md b/packages/java/docs/models/components/VenueAmenityBusinessService.md new file mode 100644 index 000000000..85f5fa64d --- /dev/null +++ b/packages/java/docs/models/components/VenueAmenityBusinessService.md @@ -0,0 +1,21 @@ +# VenueAmenityBusinessService + +Business or communications service available at a venue. + +## Example Usage + +```java +import com.cvent.models.components.VenueAmenityBusinessService; + +VenueAmenityBusinessService value = VenueAmenityBusinessService.AUDIOVIDEO_CAPABILITIES; +``` + + +## Values + +| Name | Value | +| ------------------------- | ------------------------- | +| `AUDIOVIDEO_CAPABILITIES` | AUDIOVIDEO_CAPABILITIES | +| `BUSINESS_CENTER` | BUSINESS_CENTER | +| `VIDEO_CONFERENCING` | VIDEO_CONFERENCING | +| `VIP_SERVICES` | VIP_SERVICES | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueAmenityCateringDetail.md b/packages/java/docs/models/components/VenueAmenityCateringDetail.md new file mode 100644 index 000000000..0fb8a0c6b --- /dev/null +++ b/packages/java/docs/models/components/VenueAmenityCateringDetail.md @@ -0,0 +1,20 @@ +# VenueAmenityCateringDetail + +Catering option or policy offered at a venue. + +## Example Usage + +```java +import com.cvent.models.components.VenueAmenityCateringDetail; + +VenueAmenityCateringDetail value = VenueAmenityCateringDetail.KITCHEN_ONSITE; +``` + + +## Values + +| Name | Value | +| -------------------------- | -------------------------- | +| `KITCHEN_ONSITE` | KITCHEN_ONSITE | +| `ONSITE_CATERING` | ONSITE_CATERING | +| `OUTSIDE_CATERERS_ALLOWED` | OUTSIDE_CATERERS_ALLOWED | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueAmenityEquipment.md b/packages/java/docs/models/components/VenueAmenityEquipment.md new file mode 100644 index 000000000..292cfe7dd --- /dev/null +++ b/packages/java/docs/models/components/VenueAmenityEquipment.md @@ -0,0 +1,23 @@ +# VenueAmenityEquipment + +Physical equipment or staging resource available for event use at a venue. + +## Example Usage + +```java +import com.cvent.models.components.VenueAmenityEquipment; + +VenueAmenityEquipment value = VenueAmenityEquipment.DANCE_FLOORS; +``` + + +## Values + +| Name | Value | +| ------------------------ | ------------------------ | +| `DANCE_FLOORS` | DANCE_FLOORS | +| `LOADING_DOCK_AVAILABLE` | LOADING_DOCK_AVAILABLE | +| `PIANO` | PIANO | +| `PORTABLE_HEATERS` | PORTABLE_HEATERS | +| `PORTABLE_WALLS` | PORTABLE_WALLS | +| `STAGING` | STAGING | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueAmenityFacilityInfo.md b/packages/java/docs/models/components/VenueAmenityFacilityInfo.md new file mode 100644 index 000000000..be293c53f --- /dev/null +++ b/packages/java/docs/models/components/VenueAmenityFacilityInfo.md @@ -0,0 +1,31 @@ +# VenueAmenityFacilityInfo + +General facility feature or on-site service available at a venue. + +## Example Usage + +```java +import com.cvent.models.components.VenueAmenityFacilityInfo; + +VenueAmenityFacilityInfo value = VenueAmenityFacilityInfo.ALL_INCLUSIVE; +``` + + +## Values + +| Name | Value | +| -------------------------- | -------------------------- | +| `ALL_INCLUSIVE` | ALL_INCLUSIVE | +| `BUSINESS_CENTER` | BUSINESS_CENTER | +| `CASINO` | CASINO | +| `EXTENDED_STAY` | EXTENDED_STAY | +| `FREE_AIRPORT_SHUTTLE` | FREE_AIRPORT_SHUTTLE | +| `GIFT_SHOP_ON_SITE` | GIFT_SHOP_ON_SITE | +| `INTERNET` | INTERNET | +| `ONSITE_CATERING` | ONSITE_CATERING | +| `OUTSIDE_CATERERS_ALLOWED` | OUTSIDE_CATERERS_ALLOWED | +| `PETS_WELCOME` | PETS_WELCOME | +| `RENTAL_CAR_SERVICES` | RENTAL_CAR_SERVICES | +| `RESTAURANT_ON_SITE` | RESTAURANT_ON_SITE | +| `SECURITY_STAFF_ONSITE` | SECURITY_STAFF_ONSITE | +| `WHEELCHAIR_ACCESSIBLE` | WHEELCHAIR_ACCESSIBLE | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueAmenityFacilitySpace.md b/packages/java/docs/models/components/VenueAmenityFacilitySpace.md new file mode 100644 index 000000000..656bf5634 --- /dev/null +++ b/packages/java/docs/models/components/VenueAmenityFacilitySpace.md @@ -0,0 +1,25 @@ +# VenueAmenityFacilitySpace + +Facility space type available at a venue. + +Values: +- `OUTDOOR_SPACE` — Outdoor Space +- `PRIVATE_SPACE` — Private Space +- `SEMI_PRIVATE_SPACE` — Semi-Private Space + +## Example Usage + +```java +import com.cvent.models.components.VenueAmenityFacilitySpace; + +VenueAmenityFacilitySpace value = VenueAmenityFacilitySpace.OUTDOOR_SPACE; +``` + + +## Values + +| Name | Value | +| -------------------- | -------------------- | +| `OUTDOOR_SPACE` | OUTDOOR_SPACE | +| `PRIVATE_SPACE` | PRIVATE_SPACE | +| `SEMI_PRIVATE_SPACE` | SEMI_PRIVATE_SPACE | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueAmenityFacilitySpaceItem.md b/packages/java/docs/models/components/VenueAmenityFacilitySpaceItem.md new file mode 100644 index 000000000..0de1a1270 --- /dev/null +++ b/packages/java/docs/models/components/VenueAmenityFacilitySpaceItem.md @@ -0,0 +1,11 @@ +# VenueAmenityFacilitySpaceItem + +A facility space entry for a venue, with an optional area measurement expressed in the venue's configured unit of measurement. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `amenity` | [VenueAmenityFacilitySpace](../../models/components/VenueAmenityFacilitySpace.md) | :heavy_check_mark: | Facility space type available at a venue.

Values:
- `OUTDOOR_SPACE` — Outdoor Space
- `PRIVATE_SPACE` — Private Space
- `SEMI_PRIVATE_SPACE` — Semi-Private Space | | +| `value` | *Optional\* | :heavy_minus_sign: | Area of the space in the venue's configured unit of measurement. | 5000 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueAmenityParking.md b/packages/java/docs/models/components/VenueAmenityParking.md new file mode 100644 index 000000000..b7058e6cc --- /dev/null +++ b/packages/java/docs/models/components/VenueAmenityParking.md @@ -0,0 +1,29 @@ +# VenueAmenityParking + +Parking type available at or near a venue. + +Values: +- `BUS_PARKING_AVAILABLE` — Bus Parking +- `COMPLIMENTARY_PARKING_PROVIDED` — Complimentary Parking +- `PAID_PARKING_AVAILABLE` — Paid Parking +- `STREET_PARKING` — Street Parking +- `VALET_PARKING_AVAILABLE` — Valet Parking + +## Example Usage + +```java +import com.cvent.models.components.VenueAmenityParking; + +VenueAmenityParking value = VenueAmenityParking.BUS_PARKING_AVAILABLE; +``` + + +## Values + +| Name | Value | +| -------------------------------- | -------------------------------- | +| `BUS_PARKING_AVAILABLE` | BUS_PARKING_AVAILABLE | +| `COMPLIMENTARY_PARKING_PROVIDED` | COMPLIMENTARY_PARKING_PROVIDED | +| `PAID_PARKING_AVAILABLE` | PAID_PARKING_AVAILABLE | +| `STREET_PARKING` | STREET_PARKING | +| `VALET_PARKING_AVAILABLE` | VALET_PARKING_AVAILABLE | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueAmenityParkingItem.md b/packages/java/docs/models/components/VenueAmenityParkingItem.md new file mode 100644 index 000000000..bc9a0e317 --- /dev/null +++ b/packages/java/docs/models/components/VenueAmenityParkingItem.md @@ -0,0 +1,11 @@ +# VenueAmenityParkingItem + +A parking amenity selection for a venue. An optional daily rate may be provided for paid parking types. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `amenity` | [VenueAmenityParking](../../models/components/VenueAmenityParking.md) | :heavy_check_mark: | Parking type available at or near a venue.

Values:
- `BUS_PARKING_AVAILABLE` — Bus Parking
- `COMPLIMENTARY_PARKING_PROVIDED` — Complimentary Parking
- `PAID_PARKING_AVAILABLE` — Paid Parking
- `STREET_PARKING` — Street Parking
- `VALET_PARKING_AVAILABLE` — Valet Parking | | +| `cost` | *Optional\* | :heavy_minus_sign: | Daily parking cost per vehicle, in the venue's local currency. Applicable only when `amenity` is `PAID_PARKING_AVAILABLE` or `VALET_PARKING_AVAILABLE`. | 25 | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueAmenityProvisionPolicy.md b/packages/java/docs/models/components/VenueAmenityProvisionPolicy.md new file mode 100644 index 000000000..05513b74c --- /dev/null +++ b/packages/java/docs/models/components/VenueAmenityProvisionPolicy.md @@ -0,0 +1,20 @@ +# VenueAmenityProvisionPolicy + +Provision policy for a venue amenity or service. + +## Example Usage + +```java +import com.cvent.models.components.VenueAmenityProvisionPolicy; + +VenueAmenityProvisionPolicy value = VenueAmenityProvisionPolicy.AVAILABLE; +``` + + +## Values + +| Name | Value | +| ------------------------ | ------------------------ | +| `AVAILABLE` | AVAILABLE | +| `BRING_YOUR_OWN` | BRING_YOUR_OWN | +| `PREFERRED_VENDORS_ONLY` | PREFERRED_VENDORS_ONLY | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueAmenityRecreationalActivity.md b/packages/java/docs/models/components/VenueAmenityRecreationalActivity.md new file mode 100644 index 000000000..514dcceca --- /dev/null +++ b/packages/java/docs/models/components/VenueAmenityRecreationalActivity.md @@ -0,0 +1,26 @@ +# VenueAmenityRecreationalActivity + +Recreational facility or leisure activity available at a venue. + +## Example Usage + +```java +import com.cvent.models.components.VenueAmenityRecreationalActivity; + +VenueAmenityRecreationalActivity value = VenueAmenityRecreationalActivity.GOLF_ON_GROUNDS; +``` + + +## Values + +| Name | Value | +| ----------------- | ----------------- | +| `GOLF_ON_GROUNDS` | GOLF_ON_GROUNDS | +| `HEALTH_CLUB` | HEALTH_CLUB | +| `INDOOR_POOL` | INDOOR_POOL | +| `OUTDOOR_POOL` | OUTDOOR_POOL | +| `SKIING` | SKIING | +| `SPASALON` | SPASALON | +| `TENNIS` | TENNIS | +| `WATER_SPORTS` | WATER_SPORTS | +| `WHIRLPOOL` | WHIRLPOOL | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueAmenityRoomFeature.md b/packages/java/docs/models/components/VenueAmenityRoomFeature.md new file mode 100644 index 000000000..0488a78b1 --- /dev/null +++ b/packages/java/docs/models/components/VenueAmenityRoomFeature.md @@ -0,0 +1,29 @@ +# VenueAmenityRoomFeature + +In-room feature or guest service available at a venue. + +## Example Usage + +```java +import com.cvent.models.components.VenueAmenityRoomFeature; + +VenueAmenityRoomFeature value = VenueAmenityRoomFeature.CONCIERGE_SERVICES; +``` + + +## Values + +| Name | Value | +| ---------------------- | ---------------------- | +| `CONCIERGE_SERVICES` | CONCIERGE_SERVICES | +| `FREE_LOCAL_CALLS` | FREE_LOCAL_CALLS | +| `FREE_TOLL_FREE_CALLS` | FREE_TOLL_FREE_CALLS | +| `GARDEN_VIEWS` | GARDEN_VIEWS | +| `INTERNET` | INTERNET | +| `LAUNDRY` | LAUNDRY | +| `LUGGAGE_STORAGE` | LUGGAGE_STORAGE | +| `MOUNTAIN_VIEWS` | MOUNTAIN_VIEWS | +| `OCEANWATER_VIEWS` | OCEANWATER_VIEWS | +| `ROOM_SERVICE` | ROOM_SERVICE | +| `URBAN_VIEWS` | URBAN_VIEWS | +| `VOICE_MAIL_BOX` | VOICE_MAIL_BOX | \ No newline at end of file diff --git a/packages/java/docs/models/components/VenueAmenityTransportation.md b/packages/java/docs/models/components/VenueAmenityTransportation.md new file mode 100644 index 000000000..d6464fc85 --- /dev/null +++ b/packages/java/docs/models/components/VenueAmenityTransportation.md @@ -0,0 +1,22 @@ +# VenueAmenityTransportation + +Transportation option by which a venue is accessible. + +## Example Usage + +```java +import com.cvent.models.components.VenueAmenityTransportation; + +VenueAmenityTransportation value = VenueAmenityTransportation.BUS; +``` + + +## Values + +| Name | Value | +| --------- | --------- | +| `BUS` | BUS | +| `SHUTTLE` | SHUTTLE | +| `SUBWAY` | SUBWAY | +| `TAXI` | TAXI | +| `TRAIN` | TRAIN | \ No newline at end of file diff --git a/packages/java/docs/models/operations/CreateLeadCatcherRequest.md b/packages/java/docs/models/operations/CreateLeadCatcherRequest.md new file mode 100644 index 000000000..09063b371 --- /dev/null +++ b/packages/java/docs/models/operations/CreateLeadCatcherRequest.md @@ -0,0 +1,9 @@ +# CreateLeadCatcherRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `venueId` | *String* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `leadCatcher` | [LeadCatcher](../../models/components/LeadCatcher.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/java/docs/models/operations/CreateLeadCatcherResponse.md b/packages/java/docs/models/operations/CreateLeadCatcherResponse.md new file mode 100644 index 000000000..081935fd1 --- /dev/null +++ b/packages/java/docs/models/operations/CreateLeadCatcherResponse.md @@ -0,0 +1,12 @@ +# CreateLeadCatcherResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `existingLeadCatcher` | [Optional\](../../models/components/ExistingLeadCatcher.md) | :heavy_minus_sign: | Lead catcher created successfully. | +| `headers` | Map\> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/packages/java/docs/models/operations/DeleteLeadCatcherRequest.md b/packages/java/docs/models/operations/DeleteLeadCatcherRequest.md new file mode 100644 index 000000000..675390c7a --- /dev/null +++ b/packages/java/docs/models/operations/DeleteLeadCatcherRequest.md @@ -0,0 +1,9 @@ +# DeleteLeadCatcherRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `venueId` | *String* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `leadCatcherId` | *String* | :heavy_check_mark: | Unique identifier for a lead catcher. | | \ No newline at end of file diff --git a/packages/java/docs/models/operations/DeleteLeadCatcherResponse.md b/packages/java/docs/models/operations/DeleteLeadCatcherResponse.md new file mode 100644 index 000000000..a9a3e5bbc --- /dev/null +++ b/packages/java/docs/models/operations/DeleteLeadCatcherResponse.md @@ -0,0 +1,10 @@ +# DeleteLeadCatcherResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetHousingEventHotelAvailabilityRequest.md b/packages/java/docs/models/operations/GetHousingEventHotelAvailabilityRequest.md index d1f181330..32a664465 100644 --- a/packages/java/docs/models/operations/GetHousingEventHotelAvailabilityRequest.md +++ b/packages/java/docs/models/operations/GetHousingEventHotelAvailabilityRequest.md @@ -8,5 +8,5 @@ | `housingEventId` | *long* | :heavy_check_mark: | ID for a Passkey housing event. | 35325345 | | `hotelId` | *long* | :heavy_check_mark: | The hotel's unique ID. | 454345 | | `filter` | *Optional\* | :heavy_minus_sign: | "A filter query string narrows search results and supports the combination of logical and comparison operators. The filter adheres to the pattern filter='field' comparisonType 'value'."

These are the comparison types that can be used in filter expressions:
* equal: eq
* less or equal: le
* greater or equal: ge
* greater than: gt
* less than: lt

The following fields are filterable:
* attendeeType.codes (eq)
* attendeeType.id (eq)
* roomType.id (eq)
* date (eq\|le\|ge\|lt\|gt)

Limits for the number of fields that can be passed in a filter: 36

The following operators are available:
* and
* or
| attendeeType.codes eq 'PEWATT0524317' and (date ge '2023-01-12' and date le '2023-01-15') | -| `limit` | *Optional\* | :heavy_minus_sign: | Limit to this number of search results. Maximum of 50, default of 10. | 10 | +| `limit` | *Optional\* | :heavy_minus_sign: | Limit to this number of search results. Maximum of 200, default of 10. | 10 | | `token` | *Optional\* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetLeadCatcherOverviewRequest.md b/packages/java/docs/models/operations/GetLeadCatcherOverviewRequest.md new file mode 100644 index 000000000..28a9588e9 --- /dev/null +++ b/packages/java/docs/models/operations/GetLeadCatcherOverviewRequest.md @@ -0,0 +1,9 @@ +# GetLeadCatcherOverviewRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `venueId` | *String* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `leadCatcherId` | *String* | :heavy_check_mark: | Unique identifier for a lead catcher. | | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetLeadCatcherOverviewResponse.md b/packages/java/docs/models/operations/GetLeadCatcherOverviewResponse.md new file mode 100644 index 000000000..d0c01142d --- /dev/null +++ b/packages/java/docs/models/operations/GetLeadCatcherOverviewResponse.md @@ -0,0 +1,11 @@ +# GetLeadCatcherOverviewResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `leadCatcherOverview` | [Optional\](../../models/components/LeadCatcherOverview.md) | :heavy_minus_sign: | Successfully retrieved the lead catcher overview. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetVenueAmenitiesRequest.md b/packages/java/docs/models/operations/GetVenueAmenitiesRequest.md new file mode 100644 index 000000000..999eae843 --- /dev/null +++ b/packages/java/docs/models/operations/GetVenueAmenitiesRequest.md @@ -0,0 +1,8 @@ +# GetVenueAmenitiesRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `venueId` | *String* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | \ No newline at end of file diff --git a/packages/java/docs/models/operations/GetVenueAmenitiesResponse.md b/packages/java/docs/models/operations/GetVenueAmenitiesResponse.md new file mode 100644 index 000000000..2e056a4f0 --- /dev/null +++ b/packages/java/docs/models/operations/GetVenueAmenitiesResponse.md @@ -0,0 +1,11 @@ +# GetVenueAmenitiesResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `existingVenueAmenities` | [Optional\](../../models/components/ExistingVenueAmenities.md) | :heavy_minus_sign: | Successfully retrieved the venue amenities. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/ListAttendeesPostFilterRequest.md b/packages/java/docs/models/operations/ListAttendeesPostFilterRequest.md index d5863cbe2..4904d441b 100644 --- a/packages/java/docs/models/operations/ListAttendeesPostFilterRequest.md +++ b/packages/java/docs/models/operations/ListAttendeesPostFilterRequest.md @@ -12,4 +12,4 @@ | `expand` | List\<[Expand](../../models/components/Expand.md)> | :heavy_minus_sign: | This endpoint allows you to request additional information as an expanded response using the expand query parameter.
The expanded entity is retrieved and displayed inline for each specified expand value.

An object contains the ID of a related object in its response properties. You can expand these objects,
along with others, in line using the expand query parameter.

You can expand multiple objects at the same time by identifying multiple items in the expand array.

The respective scopes for each expansion are required.

The following fields are expandable:
* answers.question
* **Scope**: event/events:read
* **Reference**: List Event Questions
* registrationType
* **Scope**: event/registration-types:read
* **Reference**: List Registration Types
| [
"answers.question",
"registrationType"
] | | `sort` | *Optional\* | :heavy_minus_sign: | The `sort` query parameter sorts items in the list of results and organizes them according to your preference.
There are two orders:
* ascending: ASC
* descending: DESC

The following fields are sortable:
* contact.firstName
* contact.lastName
* contact.title
* contact.company
* registeredAt
* checkIn
| contact.company:DESC,contact.title:ASC | | `includeDeletedGuests` | *Optional\* | :heavy_minus_sign: | True indicates the request should include deleted guests in the response. By default, deleted guests are excluded.
The `deletedGuest` filter has no effect unless this parameter is `true`.
| | -| `filter` | [Optional\](../../models/components/Filter.md) | :heavy_minus_sign: | The request body accepts filters to refine the data returned. Refer to available filter details in [GET List Attendees](#operation/listAttendees).
| | \ No newline at end of file +| `filter` | [Optional\](../../models/components/Filter.md) | :heavy_minus_sign: | The request body accepts filters to refine the data returned. Refer to available filter details in [GET List Attendees](#operation/listAttendees).
| | \ No newline at end of file diff --git a/packages/java/docs/models/components/TravelProgramQuestion1.md b/packages/java/docs/models/operations/ListLeadCatchersOverviewRequest.md similarity index 58% rename from packages/java/docs/models/components/TravelProgramQuestion1.md rename to packages/java/docs/models/operations/ListLeadCatchersOverviewRequest.md index dd01bd55b..6583593c6 100644 --- a/packages/java/docs/models/components/TravelProgramQuestion1.md +++ b/packages/java/docs/models/operations/ListLeadCatchersOverviewRequest.md @@ -1,13 +1,10 @@ -# TravelProgramQuestion1 - -A question, defined by the account, for the supplier to answer as part of their proposal. +# ListLeadCatchersOverviewRequest ## Fields | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `questionId` | *Optional\* | :heavy_minus_sign: | The unique ID of the custom question. | 76c461cb-77f6-40b3-acc8-db44452f11c4 | -| `section` | [Optional\](../../models/components/QuestionSection.md) | :heavy_minus_sign: | Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. | program_client | -| `required` | *Optional\* | :heavy_minus_sign: | Is it required for suppliers to answer this question in their proposal? | true | -| `sequence` | *Optional\* | :heavy_minus_sign: | The sequence number of the question within the proposal. | 1 | \ No newline at end of file +| `venueId` | *String* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `limit` | *Optional\* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | +| `token` | *Optional\* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | \ No newline at end of file diff --git a/packages/java/docs/models/operations/ListLeadCatchersOverviewResponse.md b/packages/java/docs/models/operations/ListLeadCatchersOverviewResponse.md new file mode 100644 index 000000000..6cf6a770b --- /dev/null +++ b/packages/java/docs/models/operations/ListLeadCatchersOverviewResponse.md @@ -0,0 +1,11 @@ +# ListLeadCatchersOverviewResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `leadCatchersOverviewResponse` | [Optional\](../../models/components/LeadCatchersOverviewResponse.md) | :heavy_minus_sign: | Successfully retrieved the overview of lead catchers. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/PatchLeadCatcherRequest.md b/packages/java/docs/models/operations/PatchLeadCatcherRequest.md new file mode 100644 index 000000000..1c117fce4 --- /dev/null +++ b/packages/java/docs/models/operations/PatchLeadCatcherRequest.md @@ -0,0 +1,10 @@ +# PatchLeadCatcherRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `venueId` | *String* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `leadCatcherId` | *String* | :heavy_check_mark: | Unique identifier for a lead catcher. | | +| `leadCatcherPatch` | [LeadCatcherPatch](../../models/components/LeadCatcherPatch.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/java/docs/models/operations/PatchLeadCatcherResponse.md b/packages/java/docs/models/operations/PatchLeadCatcherResponse.md new file mode 100644 index 000000000..d2e686adb --- /dev/null +++ b/packages/java/docs/models/operations/PatchLeadCatcherResponse.md @@ -0,0 +1,11 @@ +# PatchLeadCatcherResponse + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `leadCatcherPatch` | [Optional\](../../models/components/LeadCatcherPatch.md) | :heavy_minus_sign: | Successfully updated the lead catcher. The response contains only the fields that were provided in the request payload. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/UpdateLeadCatcherRequest.md b/packages/java/docs/models/operations/UpdateLeadCatcherRequest.md new file mode 100644 index 000000000..8f9c82c53 --- /dev/null +++ b/packages/java/docs/models/operations/UpdateLeadCatcherRequest.md @@ -0,0 +1,10 @@ +# UpdateLeadCatcherRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `venueId` | *String* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `leadCatcherId` | *String* | :heavy_check_mark: | Unique identifier for a lead catcher. | | +| `existingLeadCatcher` | [ExistingLeadCatcherInput](../../models/components/ExistingLeadCatcherInput.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/java/docs/models/operations/UpdateLeadCatcherResponse.md b/packages/java/docs/models/operations/UpdateLeadCatcherResponse.md new file mode 100644 index 000000000..3a44cae58 --- /dev/null +++ b/packages/java/docs/models/operations/UpdateLeadCatcherResponse.md @@ -0,0 +1,11 @@ +# UpdateLeadCatcherResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `existingLeadCatcher` | [Optional\](../../models/components/ExistingLeadCatcher.md) | :heavy_minus_sign: | Successfully updated the lead catcher. | \ No newline at end of file diff --git a/packages/java/docs/models/operations/UpdateVenueAmenitiesRequest.md b/packages/java/docs/models/operations/UpdateVenueAmenitiesRequest.md new file mode 100644 index 000000000..ddf37a673 --- /dev/null +++ b/packages/java/docs/models/operations/UpdateVenueAmenitiesRequest.md @@ -0,0 +1,9 @@ +# UpdateVenueAmenitiesRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `venueId` | *String* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `existingVenueAmenities` | [ExistingVenueAmenitiesInput](../../models/components/ExistingVenueAmenitiesInput.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/java/docs/models/operations/UpdateVenueAmenitiesResponse.md b/packages/java/docs/models/operations/UpdateVenueAmenitiesResponse.md new file mode 100644 index 000000000..c3f974f1f --- /dev/null +++ b/packages/java/docs/models/operations/UpdateVenueAmenitiesResponse.md @@ -0,0 +1,11 @@ +# UpdateVenueAmenitiesResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `existingVenueAmenities` | [Optional\](../../models/components/ExistingVenueAmenities.md) | :heavy_minus_sign: | Successfully updated the venue amenities. | \ No newline at end of file diff --git a/packages/java/docs/sdks/attendees/README.md b/packages/java/docs/sdks/attendees/README.md index 3fdead398..955bb5f9f 100644 --- a/packages/java/docs/sdks/attendees/README.md +++ b/packages/java/docs/sdks/attendees/README.md @@ -270,7 +270,7 @@ public class Application { ## listAttendeesPostFilter -Gets a paginated list of attendees by sending a filter in the body of the request. This method will return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer filters. +Gets a paginated list of attendees by sending a filter in the body of the request. This method will return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer filters. More about OAuth2 authorization code support for administrators diff --git a/packages/java/docs/sdks/eventtravel/README.md b/packages/java/docs/sdks/eventtravel/README.md index cd486287c..2a148412d 100644 --- a/packages/java/docs/sdks/eventtravel/README.md +++ b/packages/java/docs/sdks/eventtravel/README.md @@ -160,7 +160,7 @@ public class Application { ## getAlternateTravelAnswers -Get alternate travel answers submitted by attendees who opt out of air or hotel bookings for an event. +Get alternate travel answers submitted by attendees who opt out of air, hotel, or train bookings for an event. ### Example Usage diff --git a/packages/java/docs/sdks/housing/README.md b/packages/java/docs/sdks/housing/README.md index 4525e95fd..73ddb2334 100644 --- a/packages/java/docs/sdks/housing/README.md +++ b/packages/java/docs/sdks/housing/README.md @@ -17,6 +17,8 @@ If you need authentication credentials or have any questions regarding the RegLi * **RegLink.** A feature that links Passkey events to your registration events, enabling you to sync data between the two events. * **Callback.** [Passkey's callback system](https://developers.cvent.com/docs/passkey/REST/callbacks) allows for a push notification to be sent to your system when a reservation is created, modified or cancelled. +> Passkey Housing APIs only support the NA base URL. Calls to the EU base URL will return an error. + ### Available Operations diff --git a/packages/java/docs/sdks/venuecontent/README.md b/packages/java/docs/sdks/venuecontent/README.md index 342a6c7fd..bf55d332c 100644 --- a/packages/java/docs/sdks/venuecontent/README.md +++ b/packages/java/docs/sdks/venuecontent/README.md @@ -6,6 +6,8 @@ Manage images, amenities, and nearby attractions associated with a venue. ### Available Operations +* [getVenueAmenities](#getvenueamenities) - Get Venue Amenities +* [updateVenueAmenities](#updatevenueamenities) - Update Venue Amenities * [listVenueAttractions](#listvenueattractions) - List Venue Attractions * [createVenueAttraction](#createvenueattraction) - Create Venue Attraction * [getVenueAttraction](#getvenueattraction) - Get Venue Attraction @@ -21,6 +23,160 @@ Manage images, amenities, and nearby attractions associated with a venue. * [associateVenueImage](#associatevenueimage) - Associate Venue Image * [disassociateVenueImage](#disassociatevenueimage) - Remove Venue Image +## getVenueAmenities + +Returns the current amenity selections for the specified venue. + +Not applicable to CVB/DMC or Restaurant venues. + + +### Example Usage + + +```java +package hello.world; + +import com.cvent.CventSDK; +import com.cvent.models.components.SchemeOAuth2ClientCredentials; +import com.cvent.models.components.Security; +import com.cvent.models.errors.ErrorResponse12; +import com.cvent.models.operations.GetVenueAmenitiesRequest; +import com.cvent.models.operations.GetVenueAmenitiesResponse; +import java.lang.Exception; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws ErrorResponse12, Exception { + + CventSDK sdk = CventSDK.builder() + .security(Security.builder() + .oAuth2ClientCredentials(SchemeOAuth2ClientCredentials.builder() + .clientID("") + .clientSecret("") + .tokenURL("https://api-platform.cvent.com/ea/oauth2/token") + .scopes(List.of(System.getenv().getOrDefault("SCOPES", ""))) + .build()) + .build()) + .build(); + + GetVenueAmenitiesRequest req = GetVenueAmenitiesRequest.builder() + .venueId("6bb0e2db-861f-46e3-a923-eb4d959ffa00") + .build(); + + GetVenueAmenitiesResponse res = sdk.venueContent().getVenueAmenities() + .request(req) + .call(); + + if (res.existingVenueAmenities().isPresent()) { + System.out.println(res.existingVenueAmenities().get()); + } + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `request` | [GetVenueAmenitiesRequest](../../models/operations/GetVenueAmenitiesRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[GetVenueAmenitiesResponse](../../models/operations/GetVenueAmenitiesResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------------- | ----------------------------- | ----------------------------- | +| models/errors/ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | + +## updateVenueAmenities + +Updates the amenity selections for the specified venue, replacing all existing selections with those provided in the request body. Sections absent from the request body or submitted as empty arrays will have their selections cleared. + +Not applicable to CVB/DMC or Restaurant venues. + + +### Example Usage + + +```java +package hello.world; + +import com.cvent.CventSDK; +import com.cvent.models.components.*; +import com.cvent.models.errors.ErrorResponse12; +import com.cvent.models.operations.UpdateVenueAmenitiesRequest; +import com.cvent.models.operations.UpdateVenueAmenitiesResponse; +import java.lang.Exception; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws ErrorResponse12, Exception { + + CventSDK sdk = CventSDK.builder() + .security(Security.builder() + .oAuth2ClientCredentials(SchemeOAuth2ClientCredentials.builder() + .clientID("") + .clientSecret("") + .tokenURL("https://api-platform.cvent.com/ea/oauth2/token") + .scopes(List.of(System.getenv().getOrDefault("SCOPES", ""))) + .build()) + .build()) + .build(); + + UpdateVenueAmenitiesRequest req = UpdateVenueAmenitiesRequest.builder() + .venueId("6bb0e2db-861f-46e3-a923-eb4d959ffa00") + .existingVenueAmenities(ExistingVenueAmenitiesInput.builder() + .avCapabilities(List.of( + VenueAmenityAvCapabilityItem.builder() + .amenity(VenueAmenityAVCapability.ONSITE_AV_STAFF) + .speed(1000L) + .build())) + .parking(List.of( + VenueAmenityParkingItem.builder() + .amenity(VenueAmenityParking.BUS_PARKING_AVAILABLE) + .cost(25d) + .build())) + .facilitySpaceInfo(List.of( + VenueAmenityFacilitySpaceItem.builder() + .amenity(VenueAmenityFacilitySpace.OUTDOOR_SPACE) + .value(5000L) + .build())) + .build()) + .build(); + + UpdateVenueAmenitiesResponse res = sdk.venueContent().updateVenueAmenities() + .request(req) + .call(); + + if (res.existingVenueAmenities().isPresent()) { + System.out.println(res.existingVenueAmenities().get()); + } + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `request` | [UpdateVenueAmenitiesRequest](../../models/operations/UpdateVenueAmenitiesRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[UpdateVenueAmenitiesResponse](../../models/operations/UpdateVenueAmenitiesResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------------- | ----------------------------- | ----------------------------- | +| models/errors/ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | + ## listVenueAttractions Returns a paginated list of attractions for the specified venue. diff --git a/packages/java/docs/sdks/venueleads/README.md b/packages/java/docs/sdks/venueleads/README.md new file mode 100644 index 000000000..7c9513662 --- /dev/null +++ b/packages/java/docs/sdks/venueleads/README.md @@ -0,0 +1,481 @@ +# VenueLeads + +## Overview + +Manage inbound leads submitted to venues through Cvent's sourcing channels. + +### Available Operations + +* [createLeadCatcher](#createleadcatcher) - Create Lead Catcher +* [listLeadCatchersOverview](#listleadcatchersoverview) - List Lead Catchers Overview +* [updateLeadCatcher](#updateleadcatcher) - Update Lead Catcher +* [patchLeadCatcher](#patchleadcatcher) - Patch Lead Catcher +* [deleteLeadCatcher](#deleteleadcatcher) - Delete Lead Catcher +* [getLeadCatcherOverview](#getleadcatcheroverview) - Get Lead Catcher Overview + +## createLeadCatcher + +Creates a new lead catcher contact for the specified venue. Lead catchers receive email notifications when RFPs are submitted to the venue. + +### Example Usage + + +```java +package hello.world; + +import com.cvent.CventSDK; +import com.cvent.models.components.*; +import com.cvent.models.errors.ErrorResponse12; +import com.cvent.models.operations.CreateLeadCatcherRequest; +import com.cvent.models.operations.CreateLeadCatcherResponse; +import java.lang.Exception; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws ErrorResponse12, Exception { + + CventSDK sdk = CventSDK.builder() + .security(Security.builder() + .oAuth2ClientCredentials(SchemeOAuth2ClientCredentials.builder() + .clientID("") + .clientSecret("") + .tokenURL("https://api-platform.cvent.com/ea/oauth2/token") + .scopes(List.of(System.getenv().getOrDefault("SCOPES", ""))) + .build()) + .build()) + .build(); + + CreateLeadCatcherRequest req = CreateLeadCatcherRequest.builder() + .venueId("6bb0e2db-861f-46e3-a923-eb4d959ffa00") + .leadCatcher(LeadCatcher.builder() + .firstName("Jane") + .lastName("Smith") + .email("jane.smith@example.com") + .phone("+1-555-555-0101") + .title("Director of Sales") + .fax("+1-555-555-0101") + .address(LeadCatcherAddress.builder() + .streetAddress1("1234 Trap Road") + .streetAddress2("Suite 100") + .city("Vienna") + .zipPostalCode("22182") + .build()) + .config(LeadCatcherConfig.builder() + .supplierContactRole("Sales Manager") + .build()) + .additionalInfo("Preferred contact for APAC venues.") + .build()) + .build(); + + CreateLeadCatcherResponse res = sdk.venueLeads().createLeadCatcher() + .request(req) + .call(); + + if (res.existingLeadCatcher().isPresent()) { + System.out.println(res.existingLeadCatcher().get()); + } + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `request` | [CreateLeadCatcherRequest](../../models/operations/CreateLeadCatcherRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[CreateLeadCatcherResponse](../../models/operations/CreateLeadCatcherResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------------- | ----------------------------- | ----------------------------- | +| models/errors/ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | + +## listLeadCatchersOverview + +Returns a paginated, lightweight overview of the lead catchers for the specified venue, +containing only `id`, `firstName`, and `lastName` for each contact. + +Use this endpoint to discover the `leadCatcherId` needed for PATCH, PUT, and DELETE. +The response does not include contact details such as email address or phone number. + + +### Example Usage + + +```java +package hello.world; + +import com.cvent.CventSDK; +import com.cvent.models.components.SchemeOAuth2ClientCredentials; +import com.cvent.models.components.Security; +import com.cvent.models.errors.ErrorResponse12; +import com.cvent.models.operations.ListLeadCatchersOverviewRequest; +import com.cvent.models.operations.ListLeadCatchersOverviewResponse; +import java.lang.Exception; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws ErrorResponse12, Exception { + + CventSDK sdk = CventSDK.builder() + .security(Security.builder() + .oAuth2ClientCredentials(SchemeOAuth2ClientCredentials.builder() + .clientID("") + .clientSecret("") + .tokenURL("https://api-platform.cvent.com/ea/oauth2/token") + .scopes(List.of(System.getenv().getOrDefault("SCOPES", ""))) + .build()) + .build()) + .build(); + + ListLeadCatchersOverviewRequest req = ListLeadCatchersOverviewRequest.builder() + .venueId("6bb0e2db-861f-46e3-a923-eb4d959ffa00") + .token("0e28af57-511f-47ab-ae46-46cd1ca51a1a") + .build(); + + + sdk.venueLeads().listLeadCatchersOverview() + .callAsStream() + .forEach((ListLeadCatchersOverviewResponse item) -> { + // handle page + }); + + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `request` | [ListLeadCatchersOverviewRequest](../../models/operations/ListLeadCatchersOverviewRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[ListLeadCatchersOverviewResponse](../../models/operations/ListLeadCatchersOverviewResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------------- | ----------------------------- | ----------------------------- | +| models/errors/ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | + +## updateLeadCatcher + +Updates the given lead catcher for the specified venue, replacing the existing lead catcher data. + +### Example Usage + + +```java +package hello.world; + +import com.cvent.CventSDK; +import com.cvent.models.components.*; +import com.cvent.models.errors.ErrorResponse12; +import com.cvent.models.operations.UpdateLeadCatcherRequest; +import com.cvent.models.operations.UpdateLeadCatcherResponse; +import java.lang.Exception; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws ErrorResponse12, Exception { + + CventSDK sdk = CventSDK.builder() + .security(Security.builder() + .oAuth2ClientCredentials(SchemeOAuth2ClientCredentials.builder() + .clientID("") + .clientSecret("") + .tokenURL("https://api-platform.cvent.com/ea/oauth2/token") + .scopes(List.of(System.getenv().getOrDefault("SCOPES", ""))) + .build()) + .build()) + .build(); + + UpdateLeadCatcherRequest req = UpdateLeadCatcherRequest.builder() + .venueId("6bb0e2db-861f-46e3-a923-eb4d959ffa00") + .leadCatcherId("6e7d0d64-13f7-4472-8308-fa7067dba173") + .existingLeadCatcher(ExistingLeadCatcherInput.builder() + .firstName("Jane") + .lastName("Smith") + .email("jane.smith@example.com") + .phone("+1-555-555-0101") + .title("Director of Sales") + .fax("+1-555-555-0101") + .address(LeadCatcherAddress.builder() + .streetAddress1("1234 Trap Road") + .streetAddress2("Suite 100") + .city("Vienna") + .zipPostalCode("22182") + .build()) + .config(LeadCatcherConfig.builder() + .supplierContactRole("Sales Manager") + .build()) + .additionalInfo("Preferred contact for APAC venues.") + .build()) + .build(); + + UpdateLeadCatcherResponse res = sdk.venueLeads().updateLeadCatcher() + .request(req) + .call(); + + if (res.existingLeadCatcher().isPresent()) { + System.out.println(res.existingLeadCatcher().get()); + } + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `request` | [UpdateLeadCatcherRequest](../../models/operations/UpdateLeadCatcherRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[UpdateLeadCatcherResponse](../../models/operations/UpdateLeadCatcherResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------------- | ----------------------------- | ----------------------------- | +| models/errors/ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | + +## patchLeadCatcher + +Partially updates the specified lead catcher using JSON Merge Patch, as defined in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + +- Only fields present in the request body are updated; omitted fields remain unchanged. +- Set a field to `null` to unset it. +- The response contains only the fields that were provided in the request payload. + + +### Example Usage + + +```java +package hello.world; + +import com.cvent.CventSDK; +import com.cvent.models.components.*; +import com.cvent.models.errors.ErrorResponse12; +import com.cvent.models.operations.PatchLeadCatcherRequest; +import com.cvent.models.operations.PatchLeadCatcherResponse; +import java.lang.Exception; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws ErrorResponse12, Exception { + + CventSDK sdk = CventSDK.builder() + .security(Security.builder() + .oAuth2ClientCredentials(SchemeOAuth2ClientCredentials.builder() + .clientID("") + .clientSecret("") + .tokenURL("https://api-platform.cvent.com/ea/oauth2/token") + .scopes(List.of(System.getenv().getOrDefault("SCOPES", ""))) + .build()) + .build()) + .build(); + + PatchLeadCatcherRequest req = PatchLeadCatcherRequest.builder() + .venueId("6bb0e2db-861f-46e3-a923-eb4d959ffa00") + .leadCatcherId("f72c984a-4f55-4563-90e5-7e34a3be1552") + .leadCatcherPatch(LeadCatcherPatch.builder() + .firstName("Jane") + .lastName("Smith") + .title("Director of Sales") + .email("jane.smith@example.com") + .phone("+1-555-0100") + .fax("+1-555-0101") + .address(LeadCatcherAddressPatch.builder() + .streetAddress1("1234 Trap Road") + .streetAddress2("Suite 100") + .city("Vienna") + .zipPostalCode("22182") + .build()) + .locale("en-US") + .config(LeadCatcherConfigPatch.builder() + .rfpEmailEnabled(true) + .pdfLinkEnabled(true) + .supplierContactRole("roleName") + .build()) + .additionalInfo("Preferred contact for APAC venues.") + .build()) + .build(); + + PatchLeadCatcherResponse res = sdk.venueLeads().patchLeadCatcher() + .request(req) + .call(); + + if (res.leadCatcherPatch().isPresent()) { + System.out.println(res.leadCatcherPatch().get()); + } + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `request` | [PatchLeadCatcherRequest](../../models/operations/PatchLeadCatcherRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[PatchLeadCatcherResponse](../../models/operations/PatchLeadCatcherResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------------- | ----------------------------- | ----------------------------- | +| models/errors/ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | + +## deleteLeadCatcher + +Deletes the specified lead catcher for the venue. + +### Example Usage + + +```java +package hello.world; + +import com.cvent.CventSDK; +import com.cvent.models.components.SchemeOAuth2ClientCredentials; +import com.cvent.models.components.Security; +import com.cvent.models.errors.ErrorResponse12; +import com.cvent.models.operations.DeleteLeadCatcherRequest; +import com.cvent.models.operations.DeleteLeadCatcherResponse; +import java.lang.Exception; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws ErrorResponse12, Exception { + + CventSDK sdk = CventSDK.builder() + .security(Security.builder() + .oAuth2ClientCredentials(SchemeOAuth2ClientCredentials.builder() + .clientID("") + .clientSecret("") + .tokenURL("https://api-platform.cvent.com/ea/oauth2/token") + .scopes(List.of(System.getenv().getOrDefault("SCOPES", ""))) + .build()) + .build()) + .build(); + + DeleteLeadCatcherRequest req = DeleteLeadCatcherRequest.builder() + .venueId("6bb0e2db-861f-46e3-a923-eb4d959ffa00") + .leadCatcherId("d7aa3fa0-4c8f-4353-9810-3984886b6a9d") + .build(); + + DeleteLeadCatcherResponse res = sdk.venueLeads().deleteLeadCatcher() + .request(req) + .call(); + + // handle response + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `request` | [DeleteLeadCatcherRequest](../../models/operations/DeleteLeadCatcherRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[DeleteLeadCatcherResponse](../../models/operations/DeleteLeadCatcherResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------------- | ----------------------------- | ----------------------------- | +| models/errors/ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | + +## getLeadCatcherOverview + +Retrieves a lightweight overview of a specific lead catcher for the specified venue, +containing only `id`, `firstName`, and `lastName`. + +The response does not include contact details such as email address or phone number. + + +### Example Usage + + +```java +package hello.world; + +import com.cvent.CventSDK; +import com.cvent.models.components.SchemeOAuth2ClientCredentials; +import com.cvent.models.components.Security; +import com.cvent.models.errors.ErrorResponse12; +import com.cvent.models.operations.GetLeadCatcherOverviewRequest; +import com.cvent.models.operations.GetLeadCatcherOverviewResponse; +import java.lang.Exception; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws ErrorResponse12, Exception { + + CventSDK sdk = CventSDK.builder() + .security(Security.builder() + .oAuth2ClientCredentials(SchemeOAuth2ClientCredentials.builder() + .clientID("") + .clientSecret("") + .tokenURL("https://api-platform.cvent.com/ea/oauth2/token") + .scopes(List.of(System.getenv().getOrDefault("SCOPES", ""))) + .build()) + .build()) + .build(); + + GetLeadCatcherOverviewRequest req = GetLeadCatcherOverviewRequest.builder() + .venueId("6bb0e2db-861f-46e3-a923-eb4d959ffa00") + .leadCatcherId("7de41b14-8083-46d4-91b6-5a3239d59277") + .build(); + + GetLeadCatcherOverviewResponse res = sdk.venueLeads().getLeadCatcherOverview() + .request(req) + .call(); + + if (res.leadCatcherOverview().isPresent()) { + System.out.println(res.leadCatcherOverview().get()); + } + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `request` | [GetLeadCatcherOverviewRequest](../../models/operations/GetLeadCatcherOverviewRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[GetLeadCatcherOverviewResponse](../../models/operations/GetLeadCatcherOverviewResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------------- | ----------------------------- | ----------------------------- | +| models/errors/ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/packages/java/gradle.properties b/packages/java/gradle.properties index 5758f7b2e..127d9c71b 100644 --- a/packages/java/gradle.properties +++ b/packages/java/gradle.properties @@ -1,4 +1,4 @@ groupId=com.cvent artifactId=sdk -version=1.6.5 +version=1.6.6 org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g diff --git a/packages/java/src/main/java/com/cvent/AsyncAttendees.java b/packages/java/src/main/java/com/cvent/AsyncAttendees.java index 5a99d3d30..e4e233a93 100644 --- a/packages/java/src/main/java/com/cvent/AsyncAttendees.java +++ b/packages/java/src/main/java/com/cvent/AsyncAttendees.java @@ -231,7 +231,7 @@ public CompletableFuture listAttendees( * List Attendees * *

Gets a paginated list of attendees by sending a filter in the body of the request. This method will - * return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer + * return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer * filters. * *

More about OAuth2 authorization code support for administrators @@ -246,7 +246,7 @@ public ListAttendeesPostFilterRequestBuilder listAttendeesPostFilter() { * List Attendees * *

Gets a paginated list of attendees by sending a filter in the body of the request. This method will - * return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer + * return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer * filters. * *

More about OAuth2 authorization code support for administrators @@ -263,7 +263,7 @@ public CompletableFuture listAttendeesPostFilte * List Attendees * *

Gets a paginated list of attendees by sending a filter in the body of the request. This method will - * return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer + * return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer * filters. * *

More about OAuth2 authorization code support for administrators diff --git a/packages/java/src/main/java/com/cvent/AsyncCventSDK.java b/packages/java/src/main/java/com/cvent/AsyncCventSDK.java index e7cf3eaf6..c1bf867a2 100644 --- a/packages/java/src/main/java/com/cvent/AsyncCventSDK.java +++ b/packages/java/src/main/java/com/cvent/AsyncCventSDK.java @@ -193,6 +193,9 @@ public class AsyncCventSDK { * * **Callback.** [Passkey's callback * system](https://developers.cvent.com/docs/passkey/REST/callbacks) allows for a push notification to * be sent to your system when a reservation is created, modified or cancelled. + * + *

> Passkey Housing APIs only support the NA base URL. Calls to the EU base URL will return an + * error. */ private final AsyncHousing housing; /** @@ -459,6 +462,10 @@ public class AsyncCventSDK { * properties. */ private final AsyncVenueProfiles venueProfiles; + /** + * Manage inbound leads submitted to venues through Cvent's sourcing channels. + */ + private final AsyncVenueLeads venueLeads; /** * Manage meeting rooms for a venue, including creating and updating room details, configuring * capacities and amenities, and associating images. @@ -683,6 +690,9 @@ public AsyncCardTokens cardTokens() { * * **Callback.** [Passkey's callback * system](https://developers.cvent.com/docs/passkey/REST/callbacks) allows for a push notification to * be sent to your system when a reservation is created, modified or cancelled. + * + *

> Passkey Housing APIs only support the NA base URL. Calls to the EU base URL will return an + * error. */ public AsyncHousing housing() { return housing; @@ -1033,6 +1043,12 @@ public AsyncVenueAvailability venueAvailability() { public AsyncVenueProfiles venueProfiles() { return venueProfiles; } + /** + * Manage inbound leads submitted to venues through Cvent's sourcing channels. + */ + public AsyncVenueLeads venueLeads() { + return venueLeads; + } /** * Manage meeting rooms for a venue, including creating and updating room details, configuring * capacities and amenities, and associating images. @@ -1121,6 +1137,7 @@ public AsyncWebcasts webcasts() { this.venueContent = new AsyncVenueContent(syncSDK.venueContent(), sdkConfiguration); this.venueAvailability = new AsyncVenueAvailability(syncSDK.venueAvailability(), sdkConfiguration); this.venueProfiles = new AsyncVenueProfiles(syncSDK.venueProfiles(), sdkConfiguration); + this.venueLeads = new AsyncVenueLeads(syncSDK.venueLeads(), sdkConfiguration); this.venueMeetingRooms = new AsyncVenueMeetingRooms(syncSDK.venueMeetingRooms(), sdkConfiguration); this.video = new AsyncVideo(syncSDK.video(), sdkConfiguration); this.webcasts = new AsyncWebcasts(syncSDK.webcasts(), sdkConfiguration); diff --git a/packages/java/src/main/java/com/cvent/AsyncEventTravel.java b/packages/java/src/main/java/com/cvent/AsyncEventTravel.java index 875d8ea1f..f9f9a27ed 100644 --- a/packages/java/src/main/java/com/cvent/AsyncEventTravel.java +++ b/packages/java/src/main/java/com/cvent/AsyncEventTravel.java @@ -141,8 +141,8 @@ public CompletableFuture getAirRequests( /** * Get Alternate Travel Answers * - *

Get alternate travel answers submitted by attendees who opt out of air or hotel bookings for an - * event. + *

Get alternate travel answers submitted by attendees who opt out of air, hotel, or train bookings for + * an event. * * @return The async call builder */ @@ -153,8 +153,8 @@ public GetAlternateTravelAnswersRequestBuilder getAlternateTravelAnswers() { /** * Get Alternate Travel Answers * - *

Get alternate travel answers submitted by attendees who opt out of air or hotel bookings for an - * event. + *

Get alternate travel answers submitted by attendees who opt out of air, hotel, or train bookings for + * an event. * * @param request The request object containing all the parameters for the API call. * @return {@code CompletableFuture} - The async response @@ -167,8 +167,8 @@ public CompletableFuture getAlternateTravelAn /** * Get Alternate Travel Answers * - *

Get alternate travel answers submitted by attendees who opt out of air or hotel bookings for an - * event. + *

Get alternate travel answers submitted by attendees who opt out of air, hotel, or train bookings for + * an event. * * @param request The request object containing all the parameters for the API call. * @param options additional options diff --git a/packages/java/src/main/java/com/cvent/AsyncHousing.java b/packages/java/src/main/java/com/cvent/AsyncHousing.java index b7b039991..e32c8763b 100644 --- a/packages/java/src/main/java/com/cvent/AsyncHousing.java +++ b/packages/java/src/main/java/com/cvent/AsyncHousing.java @@ -122,6 +122,9 @@ * * **Callback.** [Passkey's callback * system](https://developers.cvent.com/docs/passkey/REST/callbacks) allows for a push notification to * be sent to your system when a reservation is created, modified or cancelled. + * + *

> Passkey Housing APIs only support the NA base URL. Calls to the EU base URL will return an + * error. */ public class AsyncHousing { private static final Headers _headers = Headers.EMPTY; diff --git a/packages/java/src/main/java/com/cvent/AsyncVenueContent.java b/packages/java/src/main/java/com/cvent/AsyncVenueContent.java index 470fabc81..1c8e59bcd 100644 --- a/packages/java/src/main/java/com/cvent/AsyncVenueContent.java +++ b/packages/java/src/main/java/com/cvent/AsyncVenueContent.java @@ -13,10 +13,12 @@ import com.cvent.models.operations.DisassociateAttractionImageRequest; import com.cvent.models.operations.DisassociateVenueImageRequest; import com.cvent.models.operations.GetAttractionImagesRequest; +import com.cvent.models.operations.GetVenueAmenitiesRequest; import com.cvent.models.operations.GetVenueAttractionRequest; import com.cvent.models.operations.GetVenueImageMetadataRequest; import com.cvent.models.operations.ListVenueAttractionsRequest; import com.cvent.models.operations.ListVenueImagesMetadataRequest; +import com.cvent.models.operations.UpdateVenueAmenitiesRequest; import com.cvent.models.operations.UpdateVenueAttractionRequest; import com.cvent.models.operations.UpdateVenueImageMetadataRequest; import com.cvent.models.operations.async.AssociateAttractionImageRequestBuilder; @@ -35,6 +37,8 @@ import com.cvent.models.operations.async.DisassociateVenueImageResponse; import com.cvent.models.operations.async.GetAttractionImagesRequestBuilder; import com.cvent.models.operations.async.GetAttractionImagesResponse; +import com.cvent.models.operations.async.GetVenueAmenitiesRequestBuilder; +import com.cvent.models.operations.async.GetVenueAmenitiesResponse; import com.cvent.models.operations.async.GetVenueAttractionRequestBuilder; import com.cvent.models.operations.async.GetVenueAttractionResponse; import com.cvent.models.operations.async.GetVenueImageMetadataRequestBuilder; @@ -43,6 +47,8 @@ import com.cvent.models.operations.async.ListVenueAttractionsResponse; import com.cvent.models.operations.async.ListVenueImagesMetadataRequestBuilder; import com.cvent.models.operations.async.ListVenueImagesMetadataResponse; +import com.cvent.models.operations.async.UpdateVenueAmenitiesRequestBuilder; +import com.cvent.models.operations.async.UpdateVenueAmenitiesResponse; import com.cvent.models.operations.async.UpdateVenueAttractionRequestBuilder; import com.cvent.models.operations.async.UpdateVenueAttractionResponse; import com.cvent.models.operations.async.UpdateVenueImageMetadataRequestBuilder; @@ -55,10 +61,12 @@ import com.cvent.operations.DisassociateAttractionImage; import com.cvent.operations.DisassociateVenueImage; import com.cvent.operations.GetAttractionImages; +import com.cvent.operations.GetVenueAmenities; import com.cvent.operations.GetVenueAttraction; import com.cvent.operations.GetVenueImageMetadata; import com.cvent.operations.ListVenueAttractions; import com.cvent.operations.ListVenueImagesMetadata; +import com.cvent.operations.UpdateVenueAmenities; import com.cvent.operations.UpdateVenueAttraction; import com.cvent.operations.UpdateVenueImageMetadata; import com.cvent.utils.Headers; @@ -89,6 +97,103 @@ public VenueContent sync() { return syncSDK; } + /** + * Get Venue Amenities + * + *

Returns the current amenity selections for the specified venue. + * + *

Not applicable to CVB/DMC or Restaurant venues. + * + * @return The async call builder + */ + public GetVenueAmenitiesRequestBuilder getVenueAmenities() { + return new GetVenueAmenitiesRequestBuilder(sdkConfiguration); + } + + /** + * Get Venue Amenities + * + *

Returns the current amenity selections for the specified venue. + * + *

Not applicable to CVB/DMC or Restaurant venues. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture getVenueAmenities(@Nonnull GetVenueAmenitiesRequest request) { + return getVenueAmenities(request, null); + } + + /** + * Get Venue Amenities + * + *

Returns the current amenity selections for the specified venue. + * + *

Not applicable to CVB/DMC or Restaurant venues. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture getVenueAmenities( + @Nonnull GetVenueAmenitiesRequest request, @Nullable Options options) { + AsyncRequestOperation operation = + new GetVenueAmenities.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(request).thenCompose(operation::handleResponse); + } + + /** + * Update Venue Amenities + * + *

Updates the amenity selections for the specified venue, replacing all existing selections with those + * provided in the request body. Sections absent from the request body or submitted as empty arrays + * will have their selections cleared. + * + *

Not applicable to CVB/DMC or Restaurant venues. + * + * @return The async call builder + */ + public UpdateVenueAmenitiesRequestBuilder updateVenueAmenities() { + return new UpdateVenueAmenitiesRequestBuilder(sdkConfiguration); + } + + /** + * Update Venue Amenities + * + *

Updates the amenity selections for the specified venue, replacing all existing selections with those + * provided in the request body. Sections absent from the request body or submitted as empty arrays + * will have their selections cleared. + * + *

Not applicable to CVB/DMC or Restaurant venues. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture updateVenueAmenities( + @Nonnull UpdateVenueAmenitiesRequest request) { + return updateVenueAmenities(request, null); + } + + /** + * Update Venue Amenities + * + *

Updates the amenity selections for the specified venue, replacing all existing selections with those + * provided in the request body. Sections absent from the request body or submitted as empty arrays + * will have their selections cleared. + * + *

Not applicable to CVB/DMC or Restaurant venues. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture updateVenueAmenities( + @Nonnull UpdateVenueAmenitiesRequest request, @Nullable Options options) { + AsyncRequestOperation operation = + new UpdateVenueAmenities.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(request).thenCompose(operation::handleResponse); + } + /** * List Venue Attractions * diff --git a/packages/java/src/main/java/com/cvent/AsyncVenueLeads.java b/packages/java/src/main/java/com/cvent/AsyncVenueLeads.java new file mode 100644 index 000000000..0f99b898f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/AsyncVenueLeads.java @@ -0,0 +1,334 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent; + +import static com.cvent.operations.Operations.AsyncRequestOperation; + +import com.cvent.models.operations.CreateLeadCatcherRequest; +import com.cvent.models.operations.DeleteLeadCatcherRequest; +import com.cvent.models.operations.GetLeadCatcherOverviewRequest; +import com.cvent.models.operations.ListLeadCatchersOverviewRequest; +import com.cvent.models.operations.PatchLeadCatcherRequest; +import com.cvent.models.operations.UpdateLeadCatcherRequest; +import com.cvent.models.operations.async.CreateLeadCatcherRequestBuilder; +import com.cvent.models.operations.async.CreateLeadCatcherResponse; +import com.cvent.models.operations.async.DeleteLeadCatcherRequestBuilder; +import com.cvent.models.operations.async.DeleteLeadCatcherResponse; +import com.cvent.models.operations.async.GetLeadCatcherOverviewRequestBuilder; +import com.cvent.models.operations.async.GetLeadCatcherOverviewResponse; +import com.cvent.models.operations.async.ListLeadCatchersOverviewRequestBuilder; +import com.cvent.models.operations.async.ListLeadCatchersOverviewResponse; +import com.cvent.models.operations.async.PatchLeadCatcherRequestBuilder; +import com.cvent.models.operations.async.PatchLeadCatcherResponse; +import com.cvent.models.operations.async.UpdateLeadCatcherRequestBuilder; +import com.cvent.models.operations.async.UpdateLeadCatcherResponse; +import com.cvent.operations.CreateLeadCatcher; +import com.cvent.operations.DeleteLeadCatcher; +import com.cvent.operations.GetLeadCatcherOverview; +import com.cvent.operations.ListLeadCatchersOverview; +import com.cvent.operations.PatchLeadCatcher; +import com.cvent.operations.UpdateLeadCatcher; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.util.concurrent.CompletableFuture; + +/** + * Manage inbound leads submitted to venues through Cvent's sourcing channels. + */ +public class AsyncVenueLeads { + private static final Headers _headers = Headers.EMPTY; + private final SDKConfiguration sdkConfiguration; + private final VenueLeads syncSDK; + + AsyncVenueLeads(VenueLeads syncSDK, SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.syncSDK = syncSDK; + } + + /** + * Switches to the sync SDK. + * + * @return The sync SDK + */ + public VenueLeads sync() { + return syncSDK; + } + + /** + * Create Lead Catcher + * + *

Creates a new lead catcher contact for the specified venue. Lead catchers receive email + * notifications when RFPs are submitted to the venue. + * + * @return The async call builder + */ + public CreateLeadCatcherRequestBuilder createLeadCatcher() { + return new CreateLeadCatcherRequestBuilder(sdkConfiguration); + } + + /** + * Create Lead Catcher + * + *

Creates a new lead catcher contact for the specified venue. Lead catchers receive email + * notifications when RFPs are submitted to the venue. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture createLeadCatcher(@Nonnull CreateLeadCatcherRequest request) { + return createLeadCatcher(request, null); + } + + /** + * Create Lead Catcher + * + *

Creates a new lead catcher contact for the specified venue. Lead catchers receive email + * notifications when RFPs are submitted to the venue. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture createLeadCatcher( + @Nonnull CreateLeadCatcherRequest request, @Nullable Options options) { + AsyncRequestOperation operation = + new CreateLeadCatcher.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(request).thenCompose(operation::handleResponse); + } + + /** + * List Lead Catchers Overview + * + *

Returns a paginated, lightweight overview of the lead catchers for the specified venue, + * containing only `id`, `firstName`, and `lastName` for each contact. + * + *

Use this endpoint to discover the `leadCatcherId` needed for PATCH, PUT, and DELETE. + * The response does not include contact details such as email address or phone number. + * + * @return The async call builder + */ + public ListLeadCatchersOverviewRequestBuilder listLeadCatchersOverview() { + return new ListLeadCatchersOverviewRequestBuilder(sdkConfiguration); + } + + /** + * List Lead Catchers Overview + * + *

Returns a paginated, lightweight overview of the lead catchers for the specified venue, + * containing only `id`, `firstName`, and `lastName` for each contact. + * + *

Use this endpoint to discover the `leadCatcherId` needed for PATCH, PUT, and DELETE. + * The response does not include contact details such as email address or phone number. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture listLeadCatchersOverview( + @Nonnull ListLeadCatchersOverviewRequest request) { + return listLeadCatchersOverview(request, null); + } + + /** + * List Lead Catchers Overview + * + *

Returns a paginated, lightweight overview of the lead catchers for the specified venue, + * containing only `id`, `firstName`, and `lastName` for each contact. + * + *

Use this endpoint to discover the `leadCatcherId` needed for PATCH, PUT, and DELETE. + * The response does not include contact details such as email address or phone number. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture listLeadCatchersOverview( + @Nonnull ListLeadCatchersOverviewRequest request, @Nullable Options options) { + AsyncRequestOperation operation = + new ListLeadCatchersOverview.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(request).thenCompose(operation::handleResponse); + } + + /** + * Update Lead Catcher + * + *

Updates the given lead catcher for the specified venue, replacing the existing lead catcher data. + * + * @return The async call builder + */ + public UpdateLeadCatcherRequestBuilder updateLeadCatcher() { + return new UpdateLeadCatcherRequestBuilder(sdkConfiguration); + } + + /** + * Update Lead Catcher + * + *

Updates the given lead catcher for the specified venue, replacing the existing lead catcher data. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture updateLeadCatcher(@Nonnull UpdateLeadCatcherRequest request) { + return updateLeadCatcher(request, null); + } + + /** + * Update Lead Catcher + * + *

Updates the given lead catcher for the specified venue, replacing the existing lead catcher data. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture updateLeadCatcher( + @Nonnull UpdateLeadCatcherRequest request, @Nullable Options options) { + AsyncRequestOperation operation = + new UpdateLeadCatcher.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(request).thenCompose(operation::handleResponse); + } + + /** + * Patch Lead Catcher + * + *

Partially updates the specified lead catcher using JSON Merge Patch, as defined in [RFC + * 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + * + *

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - The response contains only the fields that were provided in the request payload. + * + * @return The async call builder + */ + public PatchLeadCatcherRequestBuilder patchLeadCatcher() { + return new PatchLeadCatcherRequestBuilder(sdkConfiguration); + } + + /** + * Patch Lead Catcher + * + *

Partially updates the specified lead catcher using JSON Merge Patch, as defined in [RFC + * 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + * + *

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - The response contains only the fields that were provided in the request payload. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture patchLeadCatcher(@Nonnull PatchLeadCatcherRequest request) { + return patchLeadCatcher(request, null); + } + + /** + * Patch Lead Catcher + * + *

Partially updates the specified lead catcher using JSON Merge Patch, as defined in [RFC + * 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + * + *

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - The response contains only the fields that were provided in the request payload. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture patchLeadCatcher( + @Nonnull PatchLeadCatcherRequest request, @Nullable Options options) { + AsyncRequestOperation operation = + new PatchLeadCatcher.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(request).thenCompose(operation::handleResponse); + } + + /** + * Delete Lead Catcher + * + *

Deletes the specified lead catcher for the venue. + * + * @return The async call builder + */ + public DeleteLeadCatcherRequestBuilder deleteLeadCatcher() { + return new DeleteLeadCatcherRequestBuilder(sdkConfiguration); + } + + /** + * Delete Lead Catcher + * + *

Deletes the specified lead catcher for the venue. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture deleteLeadCatcher(@Nonnull DeleteLeadCatcherRequest request) { + return deleteLeadCatcher(request, null); + } + + /** + * Delete Lead Catcher + * + *

Deletes the specified lead catcher for the venue. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture deleteLeadCatcher( + @Nonnull DeleteLeadCatcherRequest request, @Nullable Options options) { + AsyncRequestOperation operation = + new DeleteLeadCatcher.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(request).thenCompose(operation::handleResponse); + } + + /** + * Get Lead Catcher Overview + * + *

Retrieves a lightweight overview of a specific lead catcher for the specified venue, + * containing only `id`, `firstName`, and `lastName`. + * + *

The response does not include contact details such as email address or phone number. + * + * @return The async call builder + */ + public GetLeadCatcherOverviewRequestBuilder getLeadCatcherOverview() { + return new GetLeadCatcherOverviewRequestBuilder(sdkConfiguration); + } + + /** + * Get Lead Catcher Overview + * + *

Retrieves a lightweight overview of a specific lead catcher for the specified venue, + * containing only `id`, `firstName`, and `lastName`. + * + *

The response does not include contact details such as email address or phone number. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture getLeadCatcherOverview( + @Nonnull GetLeadCatcherOverviewRequest request) { + return getLeadCatcherOverview(request, null); + } + + /** + * Get Lead Catcher Overview + * + *

Retrieves a lightweight overview of a specific lead catcher for the specified venue, + * containing only `id`, `firstName`, and `lastName`. + * + *

The response does not include contact details such as email address or phone number. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture getLeadCatcherOverview( + @Nonnull GetLeadCatcherOverviewRequest request, @Nullable Options options) { + AsyncRequestOperation operation = + new GetLeadCatcherOverview.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(request).thenCompose(operation::handleResponse); + } +} diff --git a/packages/java/src/main/java/com/cvent/Attendees.java b/packages/java/src/main/java/com/cvent/Attendees.java index 71f53a458..eccfa05a3 100644 --- a/packages/java/src/main/java/com/cvent/Attendees.java +++ b/packages/java/src/main/java/com/cvent/Attendees.java @@ -233,7 +233,7 @@ public ListAttendeesResponse listAttendees(@Nonnull ListAttendeesRequest request * List Attendees * *

Gets a paginated list of attendees by sending a filter in the body of the request. This method will - * return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer + * return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer * filters. * *

More about OAuth2 authorization code support for administrators @@ -248,7 +248,7 @@ public ListAttendeesPostFilterRequestBuilder listAttendeesPostFilter() { * List Attendees * *

Gets a paginated list of attendees by sending a filter in the body of the request. This method will - * return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer + * return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer * filters. * *

More about OAuth2 authorization code support for administrators @@ -265,7 +265,7 @@ public ListAttendeesPostFilterResponse listAttendeesPostFilter(@Nonnull ListAtte * List Attendees * *

Gets a paginated list of attendees by sending a filter in the body of the request. This method will - * return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer + * return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer * filters. * *

More about OAuth2 authorization code support for administrators diff --git a/packages/java/src/main/java/com/cvent/CventSDK.java b/packages/java/src/main/java/com/cvent/CventSDK.java index a37314904..b1ac42d2a 100644 --- a/packages/java/src/main/java/com/cvent/CventSDK.java +++ b/packages/java/src/main/java/com/cvent/CventSDK.java @@ -221,6 +221,9 @@ public class CventSDK { * * **Callback.** [Passkey's callback * system](https://developers.cvent.com/docs/passkey/REST/callbacks) allows for a push notification to * be sent to your system when a reservation is created, modified or cancelled. + * + *

> Passkey Housing APIs only support the NA base URL. Calls to the EU base URL will return an + * error. */ private final Housing housing; @@ -529,6 +532,11 @@ public class CventSDK { */ private final VenueProfiles venueProfiles; + /** + * Manage inbound leads submitted to venues through Cvent's sourcing channels. + */ + private final VenueLeads venueLeads; + /** * Manage meeting rooms for a venue, including creating and updating room details, configuring * capacities and amenities, and associating images. @@ -769,6 +777,9 @@ public CardTokens cardTokens() { * * **Callback.** [Passkey's callback * system](https://developers.cvent.com/docs/passkey/REST/callbacks) allows for a push notification to * be sent to your system when a reservation is created, modified or cancelled. + * + *

> Passkey Housing APIs only support the NA base URL. Calls to the EU base URL will return an + * error. */ public Housing housing() { return housing; @@ -1161,6 +1172,13 @@ public VenueProfiles venueProfiles() { return venueProfiles; } + /** + * Manage inbound leads submitted to venues through Cvent's sourcing channels. + */ + public VenueLeads venueLeads() { + return venueLeads; + } + /** * Manage meeting rooms for a venue, including creating and updating room details, configuring * capacities and amenities, and associating images. @@ -1392,6 +1410,7 @@ private CventSDK(SDKConfiguration sdkConfiguration) { this.venueContent = new VenueContent(sdkConfiguration); this.venueAvailability = new VenueAvailability(sdkConfiguration); this.venueProfiles = new VenueProfiles(sdkConfiguration); + this.venueLeads = new VenueLeads(sdkConfiguration); this.venueMeetingRooms = new VenueMeetingRooms(sdkConfiguration); this.video = new Video(sdkConfiguration); this.webcasts = new Webcasts(sdkConfiguration); diff --git a/packages/java/src/main/java/com/cvent/EventTravel.java b/packages/java/src/main/java/com/cvent/EventTravel.java index f3666c5c8..7738f1ee5 100644 --- a/packages/java/src/main/java/com/cvent/EventTravel.java +++ b/packages/java/src/main/java/com/cvent/EventTravel.java @@ -142,8 +142,8 @@ public GetAirRequestsResponse getAirRequests(@Nonnull GetAirRequestsRequest requ /** * Get Alternate Travel Answers * - *

Get alternate travel answers submitted by attendees who opt out of air or hotel bookings for an - * event. + *

Get alternate travel answers submitted by attendees who opt out of air, hotel, or train bookings for + * an event. * * @return The call builder */ @@ -154,8 +154,8 @@ public GetAlternateTravelAnswersRequestBuilder getAlternateTravelAnswers() { /** * Get Alternate Travel Answers * - *

Get alternate travel answers submitted by attendees who opt out of air or hotel bookings for an - * event. + *

Get alternate travel answers submitted by attendees who opt out of air, hotel, or train bookings for + * an event. * * @param request The request object containing all the parameters for the API call. * @return The response from the API call @@ -169,8 +169,8 @@ public GetAlternateTravelAnswersResponse getAlternateTravelAnswers( /** * Get Alternate Travel Answers * - *

Get alternate travel answers submitted by attendees who opt out of air or hotel bookings for an - * event. + *

Get alternate travel answers submitted by attendees who opt out of air, hotel, or train bookings for + * an event. * * @param request The request object containing all the parameters for the API call. * @param options additional options diff --git a/packages/java/src/main/java/com/cvent/Housing.java b/packages/java/src/main/java/com/cvent/Housing.java index a3e131d19..4a24d1acf 100644 --- a/packages/java/src/main/java/com/cvent/Housing.java +++ b/packages/java/src/main/java/com/cvent/Housing.java @@ -121,6 +121,9 @@ * * **Callback.** [Passkey's callback * system](https://developers.cvent.com/docs/passkey/REST/callbacks) allows for a push notification to * be sent to your system when a reservation is created, modified or cancelled. + * + *

> Passkey Housing APIs only support the NA base URL. Calls to the EU base URL will return an + * error. */ public class Housing { private static final Headers _headers = Headers.EMPTY; diff --git a/packages/java/src/main/java/com/cvent/SDKConfiguration.java b/packages/java/src/main/java/com/cvent/SDKConfiguration.java index f37650929..9a6a9ae2c 100644 --- a/packages/java/src/main/java/com/cvent/SDKConfiguration.java +++ b/packages/java/src/main/java/com/cvent/SDKConfiguration.java @@ -20,7 +20,7 @@ public class SDKConfiguration { private static final String LANGUAGE = "java"; public static final String OPENAPI_DOC_VERSION = "ea"; - public static final String SDK_VERSION = "1.6.5"; + public static final String SDK_VERSION = "1.6.6"; public static final String GEN_VERSION = "2.859.2"; private static final String BASE_PACKAGE = "com.cvent"; public static final String USER_AGENT = String.format( diff --git a/packages/java/src/main/java/com/cvent/VenueContent.java b/packages/java/src/main/java/com/cvent/VenueContent.java index 8333c2ed9..5d0bcd42a 100644 --- a/packages/java/src/main/java/com/cvent/VenueContent.java +++ b/packages/java/src/main/java/com/cvent/VenueContent.java @@ -29,6 +29,9 @@ import com.cvent.models.operations.GetAttractionImagesRequest; import com.cvent.models.operations.GetAttractionImagesRequestBuilder; import com.cvent.models.operations.GetAttractionImagesResponse; +import com.cvent.models.operations.GetVenueAmenitiesRequest; +import com.cvent.models.operations.GetVenueAmenitiesRequestBuilder; +import com.cvent.models.operations.GetVenueAmenitiesResponse; import com.cvent.models.operations.GetVenueAttractionRequest; import com.cvent.models.operations.GetVenueAttractionRequestBuilder; import com.cvent.models.operations.GetVenueAttractionResponse; @@ -41,6 +44,9 @@ import com.cvent.models.operations.ListVenueImagesMetadataRequest; import com.cvent.models.operations.ListVenueImagesMetadataRequestBuilder; import com.cvent.models.operations.ListVenueImagesMetadataResponse; +import com.cvent.models.operations.UpdateVenueAmenitiesRequest; +import com.cvent.models.operations.UpdateVenueAmenitiesRequestBuilder; +import com.cvent.models.operations.UpdateVenueAmenitiesResponse; import com.cvent.models.operations.UpdateVenueAttractionRequest; import com.cvent.models.operations.UpdateVenueAttractionRequestBuilder; import com.cvent.models.operations.UpdateVenueAttractionResponse; @@ -55,10 +61,12 @@ import com.cvent.operations.DisassociateAttractionImage; import com.cvent.operations.DisassociateVenueImage; import com.cvent.operations.GetAttractionImages; +import com.cvent.operations.GetVenueAmenities; import com.cvent.operations.GetVenueAttraction; import com.cvent.operations.GetVenueImageMetadata; import com.cvent.operations.ListVenueAttractions; import com.cvent.operations.ListVenueImagesMetadata; +import com.cvent.operations.UpdateVenueAmenities; import com.cvent.operations.UpdateVenueAttraction; import com.cvent.operations.UpdateVenueImageMetadata; import com.cvent.utils.Headers; @@ -88,6 +96,106 @@ public AsyncVenueContent async() { return asyncSDK; } + /** + * Get Venue Amenities + * + *

Returns the current amenity selections for the specified venue. + * + *

Not applicable to CVB/DMC or Restaurant venues. + * + * @return The call builder + */ + public GetVenueAmenitiesRequestBuilder getVenueAmenities() { + return new GetVenueAmenitiesRequestBuilder(sdkConfiguration); + } + + /** + * Get Venue Amenities + * + *

Returns the current amenity selections for the specified venue. + * + *

Not applicable to CVB/DMC or Restaurant venues. + * + * @param request The request object containing all the parameters for the API call. + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public GetVenueAmenitiesResponse getVenueAmenities(@Nonnull GetVenueAmenitiesRequest request) { + return getVenueAmenities(request, null); + } + + /** + * Get Venue Amenities + * + *

Returns the current amenity selections for the specified venue. + * + *

Not applicable to CVB/DMC or Restaurant venues. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public GetVenueAmenitiesResponse getVenueAmenities( + @Nonnull GetVenueAmenitiesRequest request, @Nullable Options options) { + RequestOperation operation = + new GetVenueAmenities.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(request)); + } + + /** + * Update Venue Amenities + * + *

Updates the amenity selections for the specified venue, replacing all existing selections with those + * provided in the request body. Sections absent from the request body or submitted as empty arrays + * will have their selections cleared. + * + *

Not applicable to CVB/DMC or Restaurant venues. + * + * @return The call builder + */ + public UpdateVenueAmenitiesRequestBuilder updateVenueAmenities() { + return new UpdateVenueAmenitiesRequestBuilder(sdkConfiguration); + } + + /** + * Update Venue Amenities + * + *

Updates the amenity selections for the specified venue, replacing all existing selections with those + * provided in the request body. Sections absent from the request body or submitted as empty arrays + * will have their selections cleared. + * + *

Not applicable to CVB/DMC or Restaurant venues. + * + * @param request The request object containing all the parameters for the API call. + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public UpdateVenueAmenitiesResponse updateVenueAmenities(@Nonnull UpdateVenueAmenitiesRequest request) { + return updateVenueAmenities(request, null); + } + + /** + * Update Venue Amenities + * + *

Updates the amenity selections for the specified venue, replacing all existing selections with those + * provided in the request body. Sections absent from the request body or submitted as empty arrays + * will have their selections cleared. + * + *

Not applicable to CVB/DMC or Restaurant venues. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public UpdateVenueAmenitiesResponse updateVenueAmenities( + @Nonnull UpdateVenueAmenitiesRequest request, @Nullable Options options) { + RequestOperation operation = + new UpdateVenueAmenities.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(request)); + } + /** * List Venue Attractions * diff --git a/packages/java/src/main/java/com/cvent/VenueLeads.java b/packages/java/src/main/java/com/cvent/VenueLeads.java new file mode 100644 index 000000000..5312291cf --- /dev/null +++ b/packages/java/src/main/java/com/cvent/VenueLeads.java @@ -0,0 +1,343 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent; + +import static com.cvent.operations.Operations.RequestOperation; + +import com.cvent.models.operations.CreateLeadCatcherRequest; +import com.cvent.models.operations.CreateLeadCatcherRequestBuilder; +import com.cvent.models.operations.CreateLeadCatcherResponse; +import com.cvent.models.operations.DeleteLeadCatcherRequest; +import com.cvent.models.operations.DeleteLeadCatcherRequestBuilder; +import com.cvent.models.operations.DeleteLeadCatcherResponse; +import com.cvent.models.operations.GetLeadCatcherOverviewRequest; +import com.cvent.models.operations.GetLeadCatcherOverviewRequestBuilder; +import com.cvent.models.operations.GetLeadCatcherOverviewResponse; +import com.cvent.models.operations.ListLeadCatchersOverviewRequest; +import com.cvent.models.operations.ListLeadCatchersOverviewRequestBuilder; +import com.cvent.models.operations.ListLeadCatchersOverviewResponse; +import com.cvent.models.operations.PatchLeadCatcherRequest; +import com.cvent.models.operations.PatchLeadCatcherRequestBuilder; +import com.cvent.models.operations.PatchLeadCatcherResponse; +import com.cvent.models.operations.UpdateLeadCatcherRequest; +import com.cvent.models.operations.UpdateLeadCatcherRequestBuilder; +import com.cvent.models.operations.UpdateLeadCatcherResponse; +import com.cvent.operations.CreateLeadCatcher; +import com.cvent.operations.DeleteLeadCatcher; +import com.cvent.operations.GetLeadCatcherOverview; +import com.cvent.operations.ListLeadCatchersOverview; +import com.cvent.operations.PatchLeadCatcher; +import com.cvent.operations.UpdateLeadCatcher; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; + +/** + * Manage inbound leads submitted to venues through Cvent's sourcing channels. + */ +public class VenueLeads { + private static final Headers _headers = Headers.EMPTY; + private final SDKConfiguration sdkConfiguration; + private final AsyncVenueLeads asyncSDK; + + VenueLeads(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.asyncSDK = new AsyncVenueLeads(this, sdkConfiguration); + } + + /** + * Switches to the async SDK. + * + * @return The async SDK + */ + public AsyncVenueLeads async() { + return asyncSDK; + } + + /** + * Create Lead Catcher + * + *

Creates a new lead catcher contact for the specified venue. Lead catchers receive email + * notifications when RFPs are submitted to the venue. + * + * @return The call builder + */ + public CreateLeadCatcherRequestBuilder createLeadCatcher() { + return new CreateLeadCatcherRequestBuilder(sdkConfiguration); + } + + /** + * Create Lead Catcher + * + *

Creates a new lead catcher contact for the specified venue. Lead catchers receive email + * notifications when RFPs are submitted to the venue. + * + * @param request The request object containing all the parameters for the API call. + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public CreateLeadCatcherResponse createLeadCatcher(@Nonnull CreateLeadCatcherRequest request) { + return createLeadCatcher(request, null); + } + + /** + * Create Lead Catcher + * + *

Creates a new lead catcher contact for the specified venue. Lead catchers receive email + * notifications when RFPs are submitted to the venue. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public CreateLeadCatcherResponse createLeadCatcher( + @Nonnull CreateLeadCatcherRequest request, @Nullable Options options) { + RequestOperation operation = + new CreateLeadCatcher.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(request)); + } + + /** + * List Lead Catchers Overview + * + *

Returns a paginated, lightweight overview of the lead catchers for the specified venue, + * containing only `id`, `firstName`, and `lastName` for each contact. + * + *

Use this endpoint to discover the `leadCatcherId` needed for PATCH, PUT, and DELETE. + * The response does not include contact details such as email address or phone number. + * + * @return The call builder + */ + public ListLeadCatchersOverviewRequestBuilder listLeadCatchersOverview() { + return new ListLeadCatchersOverviewRequestBuilder(sdkConfiguration); + } + + /** + * List Lead Catchers Overview + * + *

Returns a paginated, lightweight overview of the lead catchers for the specified venue, + * containing only `id`, `firstName`, and `lastName` for each contact. + * + *

Use this endpoint to discover the `leadCatcherId` needed for PATCH, PUT, and DELETE. + * The response does not include contact details such as email address or phone number. + * + * @param request The request object containing all the parameters for the API call. + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public ListLeadCatchersOverviewResponse listLeadCatchersOverview(@Nonnull ListLeadCatchersOverviewRequest request) { + return listLeadCatchersOverview(request, null); + } + + /** + * List Lead Catchers Overview + * + *

Returns a paginated, lightweight overview of the lead catchers for the specified venue, + * containing only `id`, `firstName`, and `lastName` for each contact. + * + *

Use this endpoint to discover the `leadCatcherId` needed for PATCH, PUT, and DELETE. + * The response does not include contact details such as email address or phone number. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public ListLeadCatchersOverviewResponse listLeadCatchersOverview( + @Nonnull ListLeadCatchersOverviewRequest request, @Nullable Options options) { + RequestOperation operation = + new ListLeadCatchersOverview.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(request)); + } + + /** + * Update Lead Catcher + * + *

Updates the given lead catcher for the specified venue, replacing the existing lead catcher data. + * + * @return The call builder + */ + public UpdateLeadCatcherRequestBuilder updateLeadCatcher() { + return new UpdateLeadCatcherRequestBuilder(sdkConfiguration); + } + + /** + * Update Lead Catcher + * + *

Updates the given lead catcher for the specified venue, replacing the existing lead catcher data. + * + * @param request The request object containing all the parameters for the API call. + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public UpdateLeadCatcherResponse updateLeadCatcher(@Nonnull UpdateLeadCatcherRequest request) { + return updateLeadCatcher(request, null); + } + + /** + * Update Lead Catcher + * + *

Updates the given lead catcher for the specified venue, replacing the existing lead catcher data. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public UpdateLeadCatcherResponse updateLeadCatcher( + @Nonnull UpdateLeadCatcherRequest request, @Nullable Options options) { + RequestOperation operation = + new UpdateLeadCatcher.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(request)); + } + + /** + * Patch Lead Catcher + * + *

Partially updates the specified lead catcher using JSON Merge Patch, as defined in [RFC + * 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + * + *

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - The response contains only the fields that were provided in the request payload. + * + * @return The call builder + */ + public PatchLeadCatcherRequestBuilder patchLeadCatcher() { + return new PatchLeadCatcherRequestBuilder(sdkConfiguration); + } + + /** + * Patch Lead Catcher + * + *

Partially updates the specified lead catcher using JSON Merge Patch, as defined in [RFC + * 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + * + *

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - The response contains only the fields that were provided in the request payload. + * + * @param request The request object containing all the parameters for the API call. + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public PatchLeadCatcherResponse patchLeadCatcher(@Nonnull PatchLeadCatcherRequest request) { + return patchLeadCatcher(request, null); + } + + /** + * Patch Lead Catcher + * + *

Partially updates the specified lead catcher using JSON Merge Patch, as defined in [RFC + * 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + * + *

- Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - The response contains only the fields that were provided in the request payload. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public PatchLeadCatcherResponse patchLeadCatcher( + @Nonnull PatchLeadCatcherRequest request, @Nullable Options options) { + RequestOperation operation = + new PatchLeadCatcher.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(request)); + } + + /** + * Delete Lead Catcher + * + *

Deletes the specified lead catcher for the venue. + * + * @return The call builder + */ + public DeleteLeadCatcherRequestBuilder deleteLeadCatcher() { + return new DeleteLeadCatcherRequestBuilder(sdkConfiguration); + } + + /** + * Delete Lead Catcher + * + *

Deletes the specified lead catcher for the venue. + * + * @param request The request object containing all the parameters for the API call. + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public DeleteLeadCatcherResponse deleteLeadCatcher(@Nonnull DeleteLeadCatcherRequest request) { + return deleteLeadCatcher(request, null); + } + + /** + * Delete Lead Catcher + * + *

Deletes the specified lead catcher for the venue. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public DeleteLeadCatcherResponse deleteLeadCatcher( + @Nonnull DeleteLeadCatcherRequest request, @Nullable Options options) { + RequestOperation operation = + new DeleteLeadCatcher.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(request)); + } + + /** + * Get Lead Catcher Overview + * + *

Retrieves a lightweight overview of a specific lead catcher for the specified venue, + * containing only `id`, `firstName`, and `lastName`. + * + *

The response does not include contact details such as email address or phone number. + * + * @return The call builder + */ + public GetLeadCatcherOverviewRequestBuilder getLeadCatcherOverview() { + return new GetLeadCatcherOverviewRequestBuilder(sdkConfiguration); + } + + /** + * Get Lead Catcher Overview + * + *

Retrieves a lightweight overview of a specific lead catcher for the specified venue, + * containing only `id`, `firstName`, and `lastName`. + * + *

The response does not include contact details such as email address or phone number. + * + * @param request The request object containing all the parameters for the API call. + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public GetLeadCatcherOverviewResponse getLeadCatcherOverview(@Nonnull GetLeadCatcherOverviewRequest request) { + return getLeadCatcherOverview(request, null); + } + + /** + * Get Lead Catcher Overview + * + *

Retrieves a lightweight overview of a specific lead catcher for the specified venue, + * containing only `id`, `firstName`, and `lastName`. + * + *

The response does not include contact details such as email address or phone number. + * + * @param request The request object containing all the parameters for the API call. + * @param options additional options + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public GetLeadCatcherOverviewResponse getLeadCatcherOverview( + @Nonnull GetLeadCatcherOverviewRequest request, @Nullable Options options) { + RequestOperation operation = + new GetLeadCatcherOverview.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(request)); + } +} diff --git a/packages/java/src/main/java/com/cvent/hooks/OAuth2Scopes.java b/packages/java/src/main/java/com/cvent/hooks/OAuth2Scopes.java index 05a96e519..7e4cd5135 100644 --- a/packages/java/src/main/java/com/cvent/hooks/OAuth2Scopes.java +++ b/packages/java/src/main/java/com/cvent/hooks/OAuth2Scopes.java @@ -1011,6 +1011,16 @@ public static enum OAuth2AuthorizationCode { */ SurveySurveysRead("survey/surveys:read"), + /** + * Allows reading of venue amenity selections. + */ + VenueAmenitiesRead("venue/amenities:read"), + + /** + * Allows the modification of venue amenity selections. + */ + VenueAmenitiesWrite("venue/amenities:write"), + /** * Allows reading of venue availability settings. */ @@ -1036,6 +1046,21 @@ public static enum OAuth2AuthorizationCode { */ VenueImagesWrite("venue/images:write"), + /** + * Allows read access for overview of lead catchers. + */ + VenueLeadCatchersOverviewRead("venue/lead-catchers-overview:read"), + + /** + * Allows the deletion of lead catchers. + */ + VenueLeadCatchersDelete("venue/lead-catchers:delete"), + + /** + * Allows the creation and modification of lead catchers. + */ + VenueLeadCatchersWrite("venue/lead-catchers:write"), + /** * Allows disassociating images from meeting rooms. */ @@ -2308,6 +2333,16 @@ public static enum OAuth2ClientCredentials { */ SurveySurveysRead("survey/surveys:read"), + /** + * Allows reading of venue amenity selections. + */ + VenueAmenitiesRead("venue/amenities:read"), + + /** + * Allows the modification of venue amenity selections. + */ + VenueAmenitiesWrite("venue/amenities:write"), + /** * Allows reading of venue availability settings. */ @@ -2333,6 +2368,21 @@ public static enum OAuth2ClientCredentials { */ VenueImagesWrite("venue/images:write"), + /** + * Allows read access for overview of lead catchers. + */ + VenueLeadCatchersOverviewRead("venue/lead-catchers-overview:read"), + + /** + * Allows the deletion of lead catchers. + */ + VenueLeadCatchersDelete("venue/lead-catchers:delete"), + + /** + * Allows the creation and modification of lead catchers. + */ + VenueLeadCatchersWrite("venue/lead-catchers:write"), + /** * Allows disassociating images from meeting rooms. */ diff --git a/packages/java/src/main/java/com/cvent/models/callbacks/CreateContactHookContactTransactionCallbackResponse.java b/packages/java/src/main/java/com/cvent/models/callbacks/CreateContactHookContactTransactionCallbackResponse.java index dfa16d2d7..4b2e478ac 100644 --- a/packages/java/src/main/java/com/cvent/models/callbacks/CreateContactHookContactTransactionCallbackResponse.java +++ b/packages/java/src/main/java/com/cvent/models/callbacks/CreateContactHookContactTransactionCallbackResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.callbacks; -import com.cvent.models.components.ContactFields2; +import com.cvent.models.components.ContactFields1; import com.cvent.utils.Response; import com.cvent.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; @@ -35,20 +35,20 @@ public class CreateContactHookContactTransactionCallbackResponse implements Resp * Your server returns this structure on a successful callback with the updated values for contact * fields present in your system. */ - private ContactFields2 contactFields; + private ContactFields1 contactFields1; @JsonCreator public CreateContactHookContactTransactionCallbackResponse( @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse, - @Nullable ContactFields2 contactFields) { + @Nullable ContactFields1 contactFields1) { this.contentType = Optional.ofNullable(contentType) .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); this.statusCode = statusCode; this.rawResponse = Optional.ofNullable(rawResponse) .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); - this.contactFields = contactFields; + this.contactFields1 = contactFields1; } public CreateContactHookContactTransactionCallbackResponse( @@ -81,8 +81,8 @@ public HttpResponse rawResponse() { * Your server returns this structure on a successful callback with the updated values for contact * fields present in your system. */ - public Optional contactFields() { - return Optional.ofNullable(this.contactFields); + public Optional contactFields1() { + return Optional.ofNullable(this.contactFields1); } public static Builder builder() { @@ -118,9 +118,9 @@ public CreateContactHookContactTransactionCallbackResponse withRawResponse( * Your server returns this structure on a successful callback with the updated values for contact * fields present in your system. */ - public CreateContactHookContactTransactionCallbackResponse withContactFields( - @Nullable ContactFields2 contactFields) { - this.contactFields = contactFields; + public CreateContactHookContactTransactionCallbackResponse withContactFields1( + @Nullable ContactFields1 contactFields1) { + this.contactFields1 = contactFields1; return this; } @@ -137,12 +137,12 @@ public boolean equals(java.lang.Object o) { return Utils.enhancedDeepEquals(this.contentType, other.contentType) && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) - && Utils.enhancedDeepEquals(this.contactFields, other.contactFields); + && Utils.enhancedDeepEquals(this.contactFields1, other.contactFields1); } @Override public int hashCode() { - return Utils.enhancedHash(contentType, statusCode, rawResponse, contactFields); + return Utils.enhancedHash(contentType, statusCode, rawResponse, contactFields1); } @Override @@ -155,8 +155,8 @@ public String toString() { statusCode, "rawResponse", rawResponse, - "contactFields", - contactFields); + "contactFields1", + contactFields1); } @SuppressWarnings("UnusedReturnValue") @@ -168,7 +168,7 @@ public static final class Builder { private HttpResponse rawResponse; - private ContactFields2 contactFields; + private ContactFields1 contactFields1; private Builder() { // force use of static builder() method @@ -202,14 +202,14 @@ public Builder rawResponse(@Nonnull HttpResponse rawResponse) { * Your server returns this structure on a successful callback with the updated values for contact * fields present in your system. */ - public Builder contactFields(@Nullable ContactFields2 contactFields) { - this.contactFields = contactFields; + public Builder contactFields1(@Nullable ContactFields1 contactFields1) { + this.contactFields1 = contactFields1; return this; } public CreateContactHookContactTransactionCallbackResponse build() { return new CreateContactHookContactTransactionCallbackResponse( - contentType, statusCode, rawResponse, contactFields); + contentType, statusCode, rawResponse, contactFields1); } } } diff --git a/packages/java/src/main/java/com/cvent/models/callbacks/async/CreateContactHookContactTransactionCallbackResponse.java b/packages/java/src/main/java/com/cvent/models/callbacks/async/CreateContactHookContactTransactionCallbackResponse.java index c515da350..44a7c5892 100644 --- a/packages/java/src/main/java/com/cvent/models/callbacks/async/CreateContactHookContactTransactionCallbackResponse.java +++ b/packages/java/src/main/java/com/cvent/models/callbacks/async/CreateContactHookContactTransactionCallbackResponse.java @@ -3,7 +3,7 @@ */ package com.cvent.models.callbacks.async; -import com.cvent.models.components.ContactFields2; +import com.cvent.models.components.ContactFields1; import com.cvent.utils.AsyncResponse; import com.cvent.utils.Blob; import com.cvent.utils.Utils; @@ -36,20 +36,20 @@ public class CreateContactHookContactTransactionCallbackResponse implements Asyn * Your server returns this structure on a successful callback with the updated values for contact * fields present in your system. */ - private ContactFields2 contactFields; + private ContactFields1 contactFields1; @JsonCreator public CreateContactHookContactTransactionCallbackResponse( @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse, - @Nullable ContactFields2 contactFields) { + @Nullable ContactFields1 contactFields1) { this.contentType = Optional.ofNullable(contentType) .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); this.statusCode = statusCode; this.rawResponse = Optional.ofNullable(rawResponse) .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); - this.contactFields = contactFields; + this.contactFields1 = contactFields1; } public CreateContactHookContactTransactionCallbackResponse( @@ -82,8 +82,8 @@ public HttpResponse rawResponse() { * Your server returns this structure on a successful callback with the updated values for contact * fields present in your system. */ - public Optional contactFields() { - return Optional.ofNullable(this.contactFields); + public Optional contactFields1() { + return Optional.ofNullable(this.contactFields1); } public static Builder builder() { @@ -119,9 +119,9 @@ public CreateContactHookContactTransactionCallbackResponse withRawResponse( * Your server returns this structure on a successful callback with the updated values for contact * fields present in your system. */ - public CreateContactHookContactTransactionCallbackResponse withContactFields( - @Nullable ContactFields2 contactFields) { - this.contactFields = contactFields; + public CreateContactHookContactTransactionCallbackResponse withContactFields1( + @Nullable ContactFields1 contactFields1) { + this.contactFields1 = contactFields1; return this; } @@ -138,12 +138,12 @@ public boolean equals(java.lang.Object o) { return Utils.enhancedDeepEquals(this.contentType, other.contentType) && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) - && Utils.enhancedDeepEquals(this.contactFields, other.contactFields); + && Utils.enhancedDeepEquals(this.contactFields1, other.contactFields1); } @Override public int hashCode() { - return Utils.enhancedHash(contentType, statusCode, rawResponse, contactFields); + return Utils.enhancedHash(contentType, statusCode, rawResponse, contactFields1); } @Override @@ -156,8 +156,8 @@ public String toString() { statusCode, "rawResponse", rawResponse, - "contactFields", - contactFields); + "contactFields1", + contactFields1); } @SuppressWarnings("UnusedReturnValue") @@ -169,7 +169,7 @@ public static final class Builder { private HttpResponse rawResponse; - private ContactFields2 contactFields; + private ContactFields1 contactFields1; private Builder() { // force use of static builder() method @@ -203,14 +203,14 @@ public Builder rawResponse(@Nonnull HttpResponse rawResponse) { * Your server returns this structure on a successful callback with the updated values for contact * fields present in your system. */ - public Builder contactFields(@Nullable ContactFields2 contactFields) { - this.contactFields = contactFields; + public Builder contactFields1(@Nullable ContactFields1 contactFields1) { + this.contactFields1 = contactFields1; return this; } public CreateContactHookContactTransactionCallbackResponse build() { return new CreateContactHookContactTransactionCallbackResponse( - contentType, statusCode, rawResponse, contactFields); + contentType, statusCode, rawResponse, contactFields1); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/AlternateTravelDetail.java b/packages/java/src/main/java/com/cvent/models/components/AlternateTravelDetail.java index 6ea5ecee4..22f51d90a 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AlternateTravelDetail.java +++ b/packages/java/src/main/java/com/cvent/models/components/AlternateTravelDetail.java @@ -17,7 +17,7 @@ /** * AlternateTravelDetail * - *

Details of an alternate travel answer submitted by an attendee who opted out of air or hotel + *

Details of an alternate travel answer submitted by an attendee who opted out of air, hotel, or train * bookings. */ public class AlternateTravelDetail { @@ -73,7 +73,10 @@ public class AlternateTravelDetail { private AlternateTravelDetailRequesterType requesterType; /** - * Type of travel alternate question + * Type of travel alternate question. Supported values: AirRequest = attendee requested air travel; + * HotelRequest = attendee requested hotel travel; AirActual = actual air travel booked; GroupFlight = + * group flight booking; TrainRequest = attendee requested train travel; AirAndTrainRequest = attendee + * did not want air or train travel and submitted an alternate response. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("travelType") @@ -174,7 +177,10 @@ public Optional requesterType() { } /** - * Type of travel alternate question + * Type of travel alternate question. Supported values: AirRequest = attendee requested air travel; + * HotelRequest = attendee requested hotel travel; AirActual = actual air travel booked; GroupFlight = + * group flight booking; TrainRequest = attendee requested train travel; AirAndTrainRequest = attendee + * did not want air or train travel and submitted an alternate response. */ public Optional travelType() { return Optional.ofNullable(this.travelType); @@ -258,7 +264,10 @@ public AlternateTravelDetail withRequesterType(@Nullable AlternateTravelDetailRe } /** - * Type of travel alternate question + * Type of travel alternate question. Supported values: AirRequest = attendee requested air travel; + * HotelRequest = attendee requested hotel travel; AirActual = actual air travel booked; GroupFlight = + * group flight booking; TrainRequest = attendee requested train travel; AirAndTrainRequest = attendee + * did not want air or train travel and submitted an alternate response. */ public AlternateTravelDetail withTravelType(@Nullable TravelType travelType) { this.travelType = travelType; @@ -430,7 +439,10 @@ public Builder requesterType(@Nullable AlternateTravelDetailRequesterType reques } /** - * Type of travel alternate question + * Type of travel alternate question. Supported values: AirRequest = attendee requested air travel; + * HotelRequest = attendee requested hotel travel; AirActual = actual air travel booked; GroupFlight = + * group flight booking; TrainRequest = attendee requested train travel; AirAndTrainRequest = attendee + * did not want air or train travel and submitted an alternate response. */ public Builder travelType(@Nullable TravelType travelType) { this.travelType = travelType; diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeeUpdate.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeUpdate.java index f507d47c9..9f511b286 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AttendeeUpdate.java +++ b/packages/java/src/main/java/com/cvent/models/components/AttendeeUpdate.java @@ -109,14 +109,23 @@ public class AttendeeUpdate { * waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this * status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is * on the waitlist for the event. - * - *


The following status transitions are supported by this API:
* No Response -> Visited
- * * No Response -> Accepted
* No Response -> Declined
* No Response -> Pending - * Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited - * -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined - * -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* - * Pending Approval -> Cancelled
* Pending Approval -> Denied Approval
* Denied - * Approval -> Pending Approval
* Waitlisted -> Accepted + * The following status transitions are supported by this API: + * * No Response -> Visited + * * No Response -> Accepted + * * No Response -> Declined + * * No Response -> Pending Approval + * * Cancelled -> Accepted + * * Cancelled -> Pending Approval + * * Visited -> Accepted + * * Visited -> Pending Approval + * * Declined -> Accepted + * * Declined -> Pending Approval + * * Accepted -> Cancelled + * * Pending Approval -> Accepted + * * Pending Approval -> Cancelled + * * Pending Approval -> Denied Approval + * * Denied Approval -> Pending Approval + * * Waitlisted -> Accepted */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") @@ -274,14 +283,23 @@ public Optional sendEmail() { * waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this * status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is * on the waitlist for the event. - * - *


The following status transitions are supported by this API:
* No Response -> Visited
- * * No Response -> Accepted
* No Response -> Declined
* No Response -> Pending - * Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited - * -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined - * -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* - * Pending Approval -> Cancelled
* Pending Approval -> Denied Approval
* Denied - * Approval -> Pending Approval
* Waitlisted -> Accepted + * The following status transitions are supported by this API: + * * No Response -> Visited + * * No Response -> Accepted + * * No Response -> Declined + * * No Response -> Pending Approval + * * Cancelled -> Accepted + * * Cancelled -> Pending Approval + * * Visited -> Accepted + * * Visited -> Pending Approval + * * Declined -> Accepted + * * Declined -> Pending Approval + * * Accepted -> Cancelled + * * Pending Approval -> Accepted + * * Pending Approval -> Cancelled + * * Pending Approval -> Denied Approval + * * Denied Approval -> Pending Approval + * * Waitlisted -> Accepted */ public Optional status() { return Optional.ofNullable(this.status); @@ -416,14 +434,23 @@ public AttendeeUpdate withSendEmail(@Nullable Boolean sendEmail) { * waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this * status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is * on the waitlist for the event. - * - *


The following status transitions are supported by this API:
* No Response -> Visited
- * * No Response -> Accepted
* No Response -> Declined
* No Response -> Pending - * Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited - * -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined - * -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* - * Pending Approval -> Cancelled
* Pending Approval -> Denied Approval
* Denied - * Approval -> Pending Approval
* Waitlisted -> Accepted + * The following status transitions are supported by this API: + * * No Response -> Visited + * * No Response -> Accepted + * * No Response -> Declined + * * No Response -> Pending Approval + * * Cancelled -> Accepted + * * Cancelled -> Pending Approval + * * Visited -> Accepted + * * Visited -> Pending Approval + * * Declined -> Accepted + * * Declined -> Pending Approval + * * Accepted -> Cancelled + * * Pending Approval -> Accepted + * * Pending Approval -> Cancelled + * * Pending Approval -> Denied Approval + * * Denied Approval -> Pending Approval + * * Waitlisted -> Accepted */ public AttendeeUpdate withStatus(@Nullable AttendeeUpdateStatus status) { this.status = status; @@ -673,14 +700,23 @@ public Builder sendEmail(@Nullable Boolean sendEmail) { * waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this * status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is * on the waitlist for the event. - * - *


The following status transitions are supported by this API:
* No Response -> Visited
- * * No Response -> Accepted
* No Response -> Declined
* No Response -> Pending - * Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited - * -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined - * -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* - * Pending Approval -> Cancelled
* Pending Approval -> Denied Approval
* Denied - * Approval -> Pending Approval
* Waitlisted -> Accepted + * The following status transitions are supported by this API: + * * No Response -> Visited + * * No Response -> Accepted + * * No Response -> Declined + * * No Response -> Pending Approval + * * Cancelled -> Accepted + * * Cancelled -> Pending Approval + * * Visited -> Accepted + * * Visited -> Pending Approval + * * Declined -> Accepted + * * Declined -> Pending Approval + * * Accepted -> Cancelled + * * Pending Approval -> Accepted + * * Pending Approval -> Cancelled + * * Pending Approval -> Denied Approval + * * Denied Approval -> Pending Approval + * * Waitlisted -> Accepted */ public Builder status(@Nullable AttendeeUpdateStatus status) { this.status = status; diff --git a/packages/java/src/main/java/com/cvent/models/components/AttendeeUpdateStatus.java b/packages/java/src/main/java/com/cvent/models/components/AttendeeUpdateStatus.java index 978e604c8..4621be63b 100644 --- a/packages/java/src/main/java/com/cvent/models/components/AttendeeUpdateStatus.java +++ b/packages/java/src/main/java/com/cvent/models/components/AttendeeUpdateStatus.java @@ -21,14 +21,23 @@ * waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this * status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is * on the waitlist for the event. - * - *


The following status transitions are supported by this API:
* No Response -> Visited
- * * No Response -> Accepted
* No Response -> Declined
* No Response -> Pending - * Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited - * -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined - * -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* - * Pending Approval -> Cancelled
* Pending Approval -> Denied Approval
* Denied - * Approval -> Pending Approval
* Waitlisted -> Accepted + * The following status transitions are supported by this API: + * * No Response -> Visited + * * No Response -> Accepted + * * No Response -> Declined + * * No Response -> Pending Approval + * * Cancelled -> Accepted + * * Cancelled -> Pending Approval + * * Visited -> Accepted + * * Visited -> Pending Approval + * * Declined -> Accepted + * * Declined -> Pending Approval + * * Accepted -> Cancelled + * * Pending Approval -> Accepted + * * Pending Approval -> Cancelled + * * Pending Approval -> Denied Approval + * * Denied Approval -> Pending Approval + * * Waitlisted -> Accepted */ public enum AttendeeUpdateStatus { NO_RESPONSE("No Response"), diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactFields.java b/packages/java/src/main/java/com/cvent/models/components/ContactFields.java new file mode 100644 index 000000000..b44b6c335 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ContactFields.java @@ -0,0 +1,207 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ContactFields + * + *

Details of a contact. + */ +public class ContactFields { + /** + * Contact ID + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The first name of the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("firstName") + private String firstName; + + /** + * The last name of the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastName") + private String lastName; + + /** + * The email address of the contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("email") + private String email; + + @JsonCreator + public ContactFields( + @JsonProperty("id") @Nullable String id, + @JsonProperty("firstName") @Nullable String firstName, + @JsonProperty("lastName") @Nullable String lastName, + @JsonProperty("email") @Nullable String email) { + this.id = id; + this.firstName = firstName; + this.lastName = lastName; + this.email = email; + } + + public ContactFields() { + this(null, null, null, null); + } + + /** + * Contact ID + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The first name of the contact. + */ + public Optional firstName() { + return Optional.ofNullable(this.firstName); + } + + /** + * The last name of the contact. + */ + public Optional lastName() { + return Optional.ofNullable(this.lastName); + } + + /** + * The email address of the contact. + */ + public Optional email() { + return Optional.ofNullable(this.email); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Contact ID + */ + public ContactFields withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The first name of the contact. + */ + public ContactFields withFirstName(@Nullable String firstName) { + this.firstName = firstName; + return this; + } + + /** + * The last name of the contact. + */ + public ContactFields withLastName(@Nullable String lastName) { + this.lastName = lastName; + return this; + } + + /** + * The email address of the contact. + */ + public ContactFields withEmail(@Nullable String email) { + this.email = email; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ContactFields other = (ContactFields) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.firstName, other.firstName) + && Utils.enhancedDeepEquals(this.lastName, other.lastName) + && Utils.enhancedDeepEquals(this.email, other.email); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, firstName, lastName, email); + } + + @Override + public String toString() { + return Utils.toString( + ContactFields.class, "id", id, "firstName", firstName, "lastName", lastName, "email", email); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String firstName; + + private String lastName; + + private String email; + + private Builder() { + // force use of static builder() method + } + + /** + * Contact ID + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The first name of the contact. + */ + public Builder firstName(@Nullable String firstName) { + this.firstName = firstName; + return this; + } + + /** + * The last name of the contact. + */ + public Builder lastName(@Nullable String lastName) { + this.lastName = lastName; + return this; + } + + /** + * The email address of the contact. + */ + public Builder email(@Nullable String email) { + this.email = email; + return this; + } + + public ContactFields build() { + return new ContactFields(id, firstName, lastName, email); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactFields1.java b/packages/java/src/main/java/com/cvent/models/components/ContactFields1.java index 544fed505..23208deaa 100644 --- a/packages/java/src/main/java/com/cvent/models/components/ContactFields1.java +++ b/packages/java/src/main/java/com/cvent/models/components/ContactFields1.java @@ -5,90 +5,35 @@ import com.cvent.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; +import jakarta.annotation.Nonnull; import java.lang.Override; import java.lang.String; +import java.util.List; import java.util.Optional; /** * ContactFields1 * - *

Details of a contact. + *

An array of standard contact fields supported by Cvent. */ public class ContactFields1 { /** - * Contact ID + * Collection of standard contact fields. */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The first name of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("firstName") - private String firstName; - - /** - * The last name of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("lastName") - private String lastName; - - /** - * The email address of the contact. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("email") - private String email; + @JsonProperty("data") + private List data; @JsonCreator - public ContactFields1( - @JsonProperty("id") @Nullable String id, - @JsonProperty("firstName") @Nullable String firstName, - @JsonProperty("lastName") @Nullable String lastName, - @JsonProperty("email") @Nullable String email) { - this.id = id; - this.firstName = firstName; - this.lastName = lastName; - this.email = email; - } - - public ContactFields1() { - this(null, null, null, null); - } - - /** - * Contact ID - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The first name of the contact. - */ - public Optional firstName() { - return Optional.ofNullable(this.firstName); - } - - /** - * The last name of the contact. - */ - public Optional lastName() { - return Optional.ofNullable(this.lastName); + public ContactFields1(@JsonProperty("data") @Nonnull List data) { + this.data = Optional.ofNullable(data).orElseThrow(() -> new IllegalArgumentException("data cannot be null")); } /** - * The email address of the contact. + * Collection of standard contact fields. */ - public Optional email() { - return Optional.ofNullable(this.email); + public List data() { + return this.data; } public static Builder builder() { @@ -96,34 +41,10 @@ public static Builder builder() { } /** - * Contact ID - */ - public ContactFields1 withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The first name of the contact. + * Collection of standard contact fields. */ - public ContactFields1 withFirstName(@Nullable String firstName) { - this.firstName = firstName; - return this; - } - - /** - * The last name of the contact. - */ - public ContactFields1 withLastName(@Nullable String lastName) { - this.lastName = lastName; - return this; - } - - /** - * The email address of the contact. - */ - public ContactFields1 withEmail(@Nullable String email) { - this.email = email; + public ContactFields1 withData(@Nonnull List data) { + this.data = Utils.checkNotNull(data, "data"); return this; } @@ -136,72 +57,38 @@ public boolean equals(java.lang.Object o) { return false; } ContactFields1 other = (ContactFields1) o; - return Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.firstName, other.firstName) - && Utils.enhancedDeepEquals(this.lastName, other.lastName) - && Utils.enhancedDeepEquals(this.email, other.email); + return Utils.enhancedDeepEquals(this.data, other.data); } @Override public int hashCode() { - return Utils.enhancedHash(id, firstName, lastName, email); + return Utils.enhancedHash(data); } @Override public String toString() { - return Utils.toString( - ContactFields1.class, "id", id, "firstName", firstName, "lastName", lastName, "email", email); + return Utils.toString(ContactFields1.class, "data", data); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private String id; - - private String firstName; - - private String lastName; - - private String email; + private List data; private Builder() { // force use of static builder() method } /** - * Contact ID - */ - public Builder id(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The first name of the contact. - */ - public Builder firstName(@Nullable String firstName) { - this.firstName = firstName; - return this; - } - - /** - * The last name of the contact. - */ - public Builder lastName(@Nullable String lastName) { - this.lastName = lastName; - return this; - } - - /** - * The email address of the contact. + * Collection of standard contact fields. */ - public Builder email(@Nullable String email) { - this.email = email; + public Builder data(@Nonnull List data) { + this.data = Utils.checkNotNull(data, "data"); return this; } public ContactFields1 build() { - return new ContactFields1(id, firstName, lastName, email); + return new ContactFields1(data); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/ContactFields2.java b/packages/java/src/main/java/com/cvent/models/components/ContactFields2.java deleted file mode 100644 index 5dae79de1..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/ContactFields2.java +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nonnull; -import java.lang.Override; -import java.lang.String; -import java.util.List; -import java.util.Optional; - -/** - * ContactFields2 - * - *

An array of standard contact fields supported by Cvent. - */ -public class ContactFields2 { - /** - * Collection of standard contact fields. - */ - @JsonProperty("data") - private List data; - - @JsonCreator - public ContactFields2(@JsonProperty("data") @Nonnull List data) { - this.data = Optional.ofNullable(data).orElseThrow(() -> new IllegalArgumentException("data cannot be null")); - } - - /** - * Collection of standard contact fields. - */ - public List data() { - return this.data; - } - - public static Builder builder() { - return new Builder(); - } - - /** - * Collection of standard contact fields. - */ - public ContactFields2 withData(@Nonnull List data) { - this.data = Utils.checkNotNull(data, "data"); - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ContactFields2 other = (ContactFields2) o; - return Utils.enhancedDeepEquals(this.data, other.data); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(data); - } - - @Override - public String toString() { - return Utils.toString(ContactFields2.class, "data", data); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private List data; - - private Builder() { - // force use of static builder() method - } - - /** - * Collection of standard contact fields. - */ - public Builder data(@Nonnull List data) { - this.data = Utils.checkNotNull(data, "data"); - return this; - } - - public ContactFields2 build() { - return new ContactFields2(data); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/EventAttendeeSubstituted.java b/packages/java/src/main/java/com/cvent/models/components/EventAttendeeSubstituted.java index 2d3e28a72..1b2f0e952 100644 --- a/packages/java/src/main/java/com/cvent/models/components/EventAttendeeSubstituted.java +++ b/packages/java/src/main/java/com/cvent/models/components/EventAttendeeSubstituted.java @@ -31,20 +31,20 @@ public class EventAttendeeSubstituted { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("oldContact") - private ContactFields1 oldContact; + private ContactFields oldContact; /** * Details of a contact. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("newContact") - private ContactFields1 newContact; + private ContactFields newContact; @JsonCreator public EventAttendeeSubstituted( @JsonProperty("event") @Nullable EventAttendeeSubstitutedEvent event, - @JsonProperty("oldContact") @Nullable ContactFields1 oldContact, - @JsonProperty("newContact") @Nullable ContactFields1 newContact) { + @JsonProperty("oldContact") @Nullable ContactFields oldContact, + @JsonProperty("newContact") @Nullable ContactFields newContact) { this.event = event; this.oldContact = oldContact; this.newContact = newContact; @@ -64,14 +64,14 @@ public Optional event() { /** * Details of a contact. */ - public Optional oldContact() { + public Optional oldContact() { return Optional.ofNullable(this.oldContact); } /** * Details of a contact. */ - public Optional newContact() { + public Optional newContact() { return Optional.ofNullable(this.newContact); } @@ -90,7 +90,7 @@ public EventAttendeeSubstituted withEvent(@Nullable EventAttendeeSubstitutedEven /** * Details of a contact. */ - public EventAttendeeSubstituted withOldContact(@Nullable ContactFields1 oldContact) { + public EventAttendeeSubstituted withOldContact(@Nullable ContactFields oldContact) { this.oldContact = oldContact; return this; } @@ -98,7 +98,7 @@ public EventAttendeeSubstituted withOldContact(@Nullable ContactFields1 oldConta /** * Details of a contact. */ - public EventAttendeeSubstituted withNewContact(@Nullable ContactFields1 newContact) { + public EventAttendeeSubstituted withNewContact(@Nullable ContactFields newContact) { this.newContact = newContact; return this; } @@ -133,9 +133,9 @@ public static final class Builder { private EventAttendeeSubstitutedEvent event; - private ContactFields1 oldContact; + private ContactFields oldContact; - private ContactFields1 newContact; + private ContactFields newContact; private Builder() { // force use of static builder() method @@ -152,7 +152,7 @@ public Builder event(@Nullable EventAttendeeSubstitutedEvent event) { /** * Details of a contact. */ - public Builder oldContact(@Nullable ContactFields1 oldContact) { + public Builder oldContact(@Nullable ContactFields oldContact) { this.oldContact = oldContact; return this; } @@ -160,7 +160,7 @@ public Builder oldContact(@Nullable ContactFields1 oldContact) { /** * Details of a contact. */ - public Builder newContact(@Nullable ContactFields1 newContact) { + public Builder newContact(@Nullable ContactFields newContact) { this.newContact = newContact; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingLeadCatcher.java b/packages/java/src/main/java/com/cvent/models/components/ExistingLeadCatcher.java new file mode 100644 index 000000000..3852e3f17 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingLeadCatcher.java @@ -0,0 +1,1001 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.LazySingletonValue; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Optional; + +/** + * ExistingLeadCatcher + * + *

An existing lead catcher contact. + */ +public class ExistingLeadCatcher { + /** + * The ISO 8601 zoned date time when this record was created. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("created") + private OffsetDateTime created; + + /** + * The identifier of the user that created this record. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("createdBy") + private String createdBy; + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastModified") + private OffsetDateTime lastModified; + + /** + * The identifier of the user that last updated this record. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastModifiedBy") + private String lastModifiedBy; + + /** + * First name of the lead catcher contact. + */ + @JsonProperty("firstName") + private String firstName; + + /** + * Last name of the lead catcher contact. + */ + @JsonProperty("lastName") + private String lastName; + + /** + * Job title of the lead catcher contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("title") + private String title; + + /** + * Email address of the lead catcher contact. RFP notifications are sent to this address. + */ + @JsonProperty("email") + private String email; + + /** + * Phone number of the lead catcher contact. + */ + @JsonProperty("phone") + private String phone; + + /** + * Fax number of the lead catcher contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("fax") + private String fax; + + /** + * Address information for a lead catcher contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address") + private LeadCatcherAddress address; + + /** + * Language locale of a Lead Catcher contact. + * + *

Values: + * - `zh-CHS` — Chinese (Simplified) Legacy + * - `zh-TW` — Chinese (Traditional, Taiwan) + * - `de-DE` — German (Germany) + * - `en-US` — English (United States) + * - `fi-FI` — Finnish (Finland) + * - `fr-FR` — French (France) + * - `it-IT` — Italian (Italy) + * - `ja-JP` — Japanese (Japan) + * - `ko-KR` — Korean (Korea) + * - `nl-NL` — Dutch (Netherlands) + * - `pt-BR` — Portuguese (Brazil) + * - `ru-RU` — Russian (Russia) + * - `sv-SE` — Swedish (Sweden) + * - `th-TH` — Thai (Thailand) + * - `tr-TR` — Turkish (Turkey) + * - `uk-UA` — Ukrainian (Ukraine) + * - `zh-CN` — Chinese (Simplified, China) + * - `de-CH` — German (Switzerland) + * - `en-GB` — English (United Kingdom) + * - `es-MX` — Spanish (Mexico) + * - `fr-BE` — French (Belgium) + * - `it-CH` — Italian (Switzerland) + * - `nl-BE` — Dutch (Belgium) + * - `pt-PT` — Portuguese (Portugal) + * - `ru-MD` — Russian (Moldova) + * - `sv-FI` — Swedish (Finland) + * - `zh-HK` — Chinese (Traditional, Hong Kong SAR) + * - `de-AT` — German (Austria) + * - `en-AU` — English (Australia) + * - `es-ES` — Spanish (Spain, International Sort) + * - `fr-CA` — French (Canada) + * - `zh-SG` — Chinese (Simplified, Singapore) + * - `de-LU` — German (Luxembourg) + * - `en-CA` — English (Canada) + * - `es-GT` — Spanish (Guatemala) + * - `fr-CH` — French (Switzerland) + * - `zh-MO` — Chinese (Traditional, Macao SAR) + * - `de-LI` — German (Liechtenstein) + * - `en-NZ` — English (New Zealand) + * - `es-CR` — Spanish (Costa Rica) + * - `fr-LU` — French (Luxembourg) + * - `en-IE` — English (Ireland) + * - `es-PA` — Spanish (Panama) + * - `fr-MC` — French (Monaco) + * - `en-ZA` — English (South Africa) + * - `es-DO` — Spanish (Dominican Republic) + * - `fr-029` — French (Caribbean) + * - `en-JM` — English (Jamaica) + * - `es-VE` — Spanish (Venezuela) + * - `fr-RE` — French (Réunion) + * - `en-029` — English (Caribbean) + * - `es-CO` — Spanish (Colombia) + * - `fr-CD` — French Congo (DRC) + * - `en-BZ` — English (Belize) + * - `es-PE` — Spanish (Peru) + * - `fr-SN` — French (Senegal) + * - `en-TT` — English (Trinidad and Tobago) + * - `es-AR` — Spanish (Argentina) + * - `fr-CM` — French (Cameroon) + * - `en-ZW` — English (Zimbabwe) + * - `es-EC` — Spanish (Ecuador) + * - `fr-CI` — French (Côte d'Ivoire) + * - `en-PH` — English (Philippines) + * - `es-CL` — Spanish (Chile) + * - `fr-ML` — French (Mali) + * - `en-ID` — English (Indonesia) + * - `es-UY` — Spanish (Uruguay) + * - `fr-MA` — French (Morocco) + * - `en-HK` — English (Hong Kong SAR) + * - `es-PY` — Spanish (Paraguay) + * - `fr-HT` — French (Haiti) + * - `en-IN` — English (India) + * - `es-BO` — Spanish (Bolivia) + * - `en-MY` — English (Malaysia) + * - `es-SV` — Spanish (El Salvador) + * - `en-SG` — English (Singapore) + * - `es-HN` — Spanish (Honduras) + * - `es-NI` — Spanish (Nicaragua) + * - `es-PR` — Spanish (Puerto Rico) + * - `es-US` — Spanish (United States) + * - `es-419` — Spanish (Latin America) + * - `es-CU` — Spanish (Cuba) + * - `zh-CHT` — Chinese (Traditional) Legacy + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("locale") + private LocaleLanguageVariant locale; + + /** + * Notification and role configuration for a lead catcher contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("config") + private LeadCatcherConfig config; + + /** + * Additional information about the lead catcher contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("additionalInfo") + private String additionalInfo; + + /** + * Lead catcher ID. + */ + @JsonProperty("id") + private String id; + + @JsonCreator + public ExistingLeadCatcher( + @JsonProperty("created") @Nullable OffsetDateTime created, + @JsonProperty("createdBy") @Nullable String createdBy, + @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, + @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, + @JsonProperty("firstName") @Nonnull String firstName, + @JsonProperty("lastName") @Nonnull String lastName, + @JsonProperty("title") @Nullable String title, + @JsonProperty("email") @Nonnull String email, + @JsonProperty("phone") @Nonnull String phone, + @JsonProperty("fax") @Nullable String fax, + @JsonProperty("address") @Nullable LeadCatcherAddress address, + @JsonProperty("locale") @Nullable LocaleLanguageVariant locale, + @JsonProperty("config") @Nullable LeadCatcherConfig config, + @JsonProperty("additionalInfo") @Nullable String additionalInfo, + @JsonProperty("id") @Nonnull String id) { + this.created = created; + this.createdBy = createdBy; + this.lastModified = lastModified; + this.lastModifiedBy = lastModifiedBy; + this.firstName = Optional.ofNullable(firstName) + .orElseThrow(() -> new IllegalArgumentException("firstName cannot be null")); + this.lastName = Optional.ofNullable(lastName) + .orElseThrow(() -> new IllegalArgumentException("lastName cannot be null")); + this.title = title; + this.email = Optional.ofNullable(email).orElseThrow(() -> new IllegalArgumentException("email cannot be null")); + this.phone = Optional.ofNullable(phone).orElseThrow(() -> new IllegalArgumentException("phone cannot be null")); + this.fax = fax; + this.address = address; + this.locale = Optional.ofNullable(locale).orElse(Builder._SINGLETON_VALUE_Locale.value()); + this.config = config; + this.additionalInfo = additionalInfo; + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + } + + public ExistingLeadCatcher( + @Nonnull String firstName, + @Nonnull String lastName, + @Nonnull String email, + @Nonnull String phone, + @Nonnull String id) { + this(null, null, null, null, firstName, lastName, null, email, phone, null, null, null, null, null, id); + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public Optional created() { + return Optional.ofNullable(this.created); + } + + /** + * The identifier of the user that created this record. + */ + public Optional createdBy() { + return Optional.ofNullable(this.createdBy); + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public Optional lastModified() { + return Optional.ofNullable(this.lastModified); + } + + /** + * The identifier of the user that last updated this record. + */ + public Optional lastModifiedBy() { + return Optional.ofNullable(this.lastModifiedBy); + } + + /** + * First name of the lead catcher contact. + */ + public String firstName() { + return this.firstName; + } + + /** + * Last name of the lead catcher contact. + */ + public String lastName() { + return this.lastName; + } + + /** + * Job title of the lead catcher contact. + */ + public Optional title() { + return Optional.ofNullable(this.title); + } + + /** + * Email address of the lead catcher contact. RFP notifications are sent to this address. + */ + public String email() { + return this.email; + } + + /** + * Phone number of the lead catcher contact. + */ + public String phone() { + return this.phone; + } + + /** + * Fax number of the lead catcher contact. + */ + public Optional fax() { + return Optional.ofNullable(this.fax); + } + + /** + * Address information for a lead catcher contact. + */ + public Optional address() { + return Optional.ofNullable(this.address); + } + + /** + * Language locale of a Lead Catcher contact. + * + *

Values: + * - `zh-CHS` — Chinese (Simplified) Legacy + * - `zh-TW` — Chinese (Traditional, Taiwan) + * - `de-DE` — German (Germany) + * - `en-US` — English (United States) + * - `fi-FI` — Finnish (Finland) + * - `fr-FR` — French (France) + * - `it-IT` — Italian (Italy) + * - `ja-JP` — Japanese (Japan) + * - `ko-KR` — Korean (Korea) + * - `nl-NL` — Dutch (Netherlands) + * - `pt-BR` — Portuguese (Brazil) + * - `ru-RU` — Russian (Russia) + * - `sv-SE` — Swedish (Sweden) + * - `th-TH` — Thai (Thailand) + * - `tr-TR` — Turkish (Turkey) + * - `uk-UA` — Ukrainian (Ukraine) + * - `zh-CN` — Chinese (Simplified, China) + * - `de-CH` — German (Switzerland) + * - `en-GB` — English (United Kingdom) + * - `es-MX` — Spanish (Mexico) + * - `fr-BE` — French (Belgium) + * - `it-CH` — Italian (Switzerland) + * - `nl-BE` — Dutch (Belgium) + * - `pt-PT` — Portuguese (Portugal) + * - `ru-MD` — Russian (Moldova) + * - `sv-FI` — Swedish (Finland) + * - `zh-HK` — Chinese (Traditional, Hong Kong SAR) + * - `de-AT` — German (Austria) + * - `en-AU` — English (Australia) + * - `es-ES` — Spanish (Spain, International Sort) + * - `fr-CA` — French (Canada) + * - `zh-SG` — Chinese (Simplified, Singapore) + * - `de-LU` — German (Luxembourg) + * - `en-CA` — English (Canada) + * - `es-GT` — Spanish (Guatemala) + * - `fr-CH` — French (Switzerland) + * - `zh-MO` — Chinese (Traditional, Macao SAR) + * - `de-LI` — German (Liechtenstein) + * - `en-NZ` — English (New Zealand) + * - `es-CR` — Spanish (Costa Rica) + * - `fr-LU` — French (Luxembourg) + * - `en-IE` — English (Ireland) + * - `es-PA` — Spanish (Panama) + * - `fr-MC` — French (Monaco) + * - `en-ZA` — English (South Africa) + * - `es-DO` — Spanish (Dominican Republic) + * - `fr-029` — French (Caribbean) + * - `en-JM` — English (Jamaica) + * - `es-VE` — Spanish (Venezuela) + * - `fr-RE` — French (Réunion) + * - `en-029` — English (Caribbean) + * - `es-CO` — Spanish (Colombia) + * - `fr-CD` — French Congo (DRC) + * - `en-BZ` — English (Belize) + * - `es-PE` — Spanish (Peru) + * - `fr-SN` — French (Senegal) + * - `en-TT` — English (Trinidad and Tobago) + * - `es-AR` — Spanish (Argentina) + * - `fr-CM` — French (Cameroon) + * - `en-ZW` — English (Zimbabwe) + * - `es-EC` — Spanish (Ecuador) + * - `fr-CI` — French (Côte d'Ivoire) + * - `en-PH` — English (Philippines) + * - `es-CL` — Spanish (Chile) + * - `fr-ML` — French (Mali) + * - `en-ID` — English (Indonesia) + * - `es-UY` — Spanish (Uruguay) + * - `fr-MA` — French (Morocco) + * - `en-HK` — English (Hong Kong SAR) + * - `es-PY` — Spanish (Paraguay) + * - `fr-HT` — French (Haiti) + * - `en-IN` — English (India) + * - `es-BO` — Spanish (Bolivia) + * - `en-MY` — English (Malaysia) + * - `es-SV` — Spanish (El Salvador) + * - `en-SG` — English (Singapore) + * - `es-HN` — Spanish (Honduras) + * - `es-NI` — Spanish (Nicaragua) + * - `es-PR` — Spanish (Puerto Rico) + * - `es-US` — Spanish (United States) + * - `es-419` — Spanish (Latin America) + * - `es-CU` — Spanish (Cuba) + * - `zh-CHT` — Chinese (Traditional) Legacy + */ + public Optional locale() { + return Optional.ofNullable(this.locale); + } + + /** + * Notification and role configuration for a lead catcher contact. + */ + public Optional config() { + return Optional.ofNullable(this.config); + } + + /** + * Additional information about the lead catcher contact. + */ + public Optional additionalInfo() { + return Optional.ofNullable(this.additionalInfo); + } + + /** + * Lead catcher ID. + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public ExistingLeadCatcher withCreated(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The identifier of the user that created this record. + */ + public ExistingLeadCatcher withCreatedBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public ExistingLeadCatcher withLastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The identifier of the user that last updated this record. + */ + public ExistingLeadCatcher withLastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * First name of the lead catcher contact. + */ + public ExistingLeadCatcher withFirstName(@Nonnull String firstName) { + this.firstName = Utils.checkNotNull(firstName, "firstName"); + return this; + } + + /** + * Last name of the lead catcher contact. + */ + public ExistingLeadCatcher withLastName(@Nonnull String lastName) { + this.lastName = Utils.checkNotNull(lastName, "lastName"); + return this; + } + + /** + * Job title of the lead catcher contact. + */ + public ExistingLeadCatcher withTitle(@Nullable String title) { + this.title = title; + return this; + } + + /** + * Email address of the lead catcher contact. RFP notifications are sent to this address. + */ + public ExistingLeadCatcher withEmail(@Nonnull String email) { + this.email = Utils.checkNotNull(email, "email"); + return this; + } + + /** + * Phone number of the lead catcher contact. + */ + public ExistingLeadCatcher withPhone(@Nonnull String phone) { + this.phone = Utils.checkNotNull(phone, "phone"); + return this; + } + + /** + * Fax number of the lead catcher contact. + */ + public ExistingLeadCatcher withFax(@Nullable String fax) { + this.fax = fax; + return this; + } + + /** + * Address information for a lead catcher contact. + */ + public ExistingLeadCatcher withAddress(@Nullable LeadCatcherAddress address) { + this.address = address; + return this; + } + + /** + * Language locale of a Lead Catcher contact. + * + *

Values: + * - `zh-CHS` — Chinese (Simplified) Legacy + * - `zh-TW` — Chinese (Traditional, Taiwan) + * - `de-DE` — German (Germany) + * - `en-US` — English (United States) + * - `fi-FI` — Finnish (Finland) + * - `fr-FR` — French (France) + * - `it-IT` — Italian (Italy) + * - `ja-JP` — Japanese (Japan) + * - `ko-KR` — Korean (Korea) + * - `nl-NL` — Dutch (Netherlands) + * - `pt-BR` — Portuguese (Brazil) + * - `ru-RU` — Russian (Russia) + * - `sv-SE` — Swedish (Sweden) + * - `th-TH` — Thai (Thailand) + * - `tr-TR` — Turkish (Turkey) + * - `uk-UA` — Ukrainian (Ukraine) + * - `zh-CN` — Chinese (Simplified, China) + * - `de-CH` — German (Switzerland) + * - `en-GB` — English (United Kingdom) + * - `es-MX` — Spanish (Mexico) + * - `fr-BE` — French (Belgium) + * - `it-CH` — Italian (Switzerland) + * - `nl-BE` — Dutch (Belgium) + * - `pt-PT` — Portuguese (Portugal) + * - `ru-MD` — Russian (Moldova) + * - `sv-FI` — Swedish (Finland) + * - `zh-HK` — Chinese (Traditional, Hong Kong SAR) + * - `de-AT` — German (Austria) + * - `en-AU` — English (Australia) + * - `es-ES` — Spanish (Spain, International Sort) + * - `fr-CA` — French (Canada) + * - `zh-SG` — Chinese (Simplified, Singapore) + * - `de-LU` — German (Luxembourg) + * - `en-CA` — English (Canada) + * - `es-GT` — Spanish (Guatemala) + * - `fr-CH` — French (Switzerland) + * - `zh-MO` — Chinese (Traditional, Macao SAR) + * - `de-LI` — German (Liechtenstein) + * - `en-NZ` — English (New Zealand) + * - `es-CR` — Spanish (Costa Rica) + * - `fr-LU` — French (Luxembourg) + * - `en-IE` — English (Ireland) + * - `es-PA` — Spanish (Panama) + * - `fr-MC` — French (Monaco) + * - `en-ZA` — English (South Africa) + * - `es-DO` — Spanish (Dominican Republic) + * - `fr-029` — French (Caribbean) + * - `en-JM` — English (Jamaica) + * - `es-VE` — Spanish (Venezuela) + * - `fr-RE` — French (Réunion) + * - `en-029` — English (Caribbean) + * - `es-CO` — Spanish (Colombia) + * - `fr-CD` — French Congo (DRC) + * - `en-BZ` — English (Belize) + * - `es-PE` — Spanish (Peru) + * - `fr-SN` — French (Senegal) + * - `en-TT` — English (Trinidad and Tobago) + * - `es-AR` — Spanish (Argentina) + * - `fr-CM` — French (Cameroon) + * - `en-ZW` — English (Zimbabwe) + * - `es-EC` — Spanish (Ecuador) + * - `fr-CI` — French (Côte d'Ivoire) + * - `en-PH` — English (Philippines) + * - `es-CL` — Spanish (Chile) + * - `fr-ML` — French (Mali) + * - `en-ID` — English (Indonesia) + * - `es-UY` — Spanish (Uruguay) + * - `fr-MA` — French (Morocco) + * - `en-HK` — English (Hong Kong SAR) + * - `es-PY` — Spanish (Paraguay) + * - `fr-HT` — French (Haiti) + * - `en-IN` — English (India) + * - `es-BO` — Spanish (Bolivia) + * - `en-MY` — English (Malaysia) + * - `es-SV` — Spanish (El Salvador) + * - `en-SG` — English (Singapore) + * - `es-HN` — Spanish (Honduras) + * - `es-NI` — Spanish (Nicaragua) + * - `es-PR` — Spanish (Puerto Rico) + * - `es-US` — Spanish (United States) + * - `es-419` — Spanish (Latin America) + * - `es-CU` — Spanish (Cuba) + * - `zh-CHT` — Chinese (Traditional) Legacy + */ + public ExistingLeadCatcher withLocale(@Nullable LocaleLanguageVariant locale) { + this.locale = locale; + return this; + } + + /** + * Notification and role configuration for a lead catcher contact. + */ + public ExistingLeadCatcher withConfig(@Nullable LeadCatcherConfig config) { + this.config = config; + return this; + } + + /** + * Additional information about the lead catcher contact. + */ + public ExistingLeadCatcher withAdditionalInfo(@Nullable String additionalInfo) { + this.additionalInfo = additionalInfo; + return this; + } + + /** + * Lead catcher ID. + */ + public ExistingLeadCatcher withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExistingLeadCatcher other = (ExistingLeadCatcher) o; + return Utils.enhancedDeepEquals(this.created, other.created) + && Utils.enhancedDeepEquals(this.createdBy, other.createdBy) + && Utils.enhancedDeepEquals(this.lastModified, other.lastModified) + && Utils.enhancedDeepEquals(this.lastModifiedBy, other.lastModifiedBy) + && Utils.enhancedDeepEquals(this.firstName, other.firstName) + && Utils.enhancedDeepEquals(this.lastName, other.lastName) + && Utils.enhancedDeepEquals(this.title, other.title) + && Utils.enhancedDeepEquals(this.email, other.email) + && Utils.enhancedDeepEquals(this.phone, other.phone) + && Utils.enhancedDeepEquals(this.fax, other.fax) + && Utils.enhancedDeepEquals(this.address, other.address) + && Utils.enhancedDeepEquals(this.locale, other.locale) + && Utils.enhancedDeepEquals(this.config, other.config) + && Utils.enhancedDeepEquals(this.additionalInfo, other.additionalInfo) + && Utils.enhancedDeepEquals(this.id, other.id); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + created, + createdBy, + lastModified, + lastModifiedBy, + firstName, + lastName, + title, + email, + phone, + fax, + address, + locale, + config, + additionalInfo, + id); + } + + @Override + public String toString() { + return Utils.toString( + ExistingLeadCatcher.class, + "created", + created, + "createdBy", + createdBy, + "lastModified", + lastModified, + "lastModifiedBy", + lastModifiedBy, + "firstName", + firstName, + "lastName", + lastName, + "title", + title, + "email", + email, + "phone", + phone, + "fax", + fax, + "address", + address, + "locale", + locale, + "config", + config, + "additionalInfo", + additionalInfo, + "id", + id); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private OffsetDateTime created; + + private String createdBy; + + private OffsetDateTime lastModified; + + private String lastModifiedBy; + + private String firstName; + + private String lastName; + + private String title; + + private String email; + + private String phone; + + private String fax; + + private LeadCatcherAddress address; + + private LocaleLanguageVariant locale; + + private LeadCatcherConfig config; + + private String additionalInfo; + + private String id; + + private Builder() { + // force use of static builder() method + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public Builder created(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The identifier of the user that created this record. + */ + public Builder createdBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public Builder lastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The identifier of the user that last updated this record. + */ + public Builder lastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * First name of the lead catcher contact. + */ + public Builder firstName(@Nonnull String firstName) { + this.firstName = Utils.checkNotNull(firstName, "firstName"); + return this; + } + + /** + * Last name of the lead catcher contact. + */ + public Builder lastName(@Nonnull String lastName) { + this.lastName = Utils.checkNotNull(lastName, "lastName"); + return this; + } + + /** + * Job title of the lead catcher contact. + */ + public Builder title(@Nullable String title) { + this.title = title; + return this; + } + + /** + * Email address of the lead catcher contact. RFP notifications are sent to this address. + */ + public Builder email(@Nonnull String email) { + this.email = Utils.checkNotNull(email, "email"); + return this; + } + + /** + * Phone number of the lead catcher contact. + */ + public Builder phone(@Nonnull String phone) { + this.phone = Utils.checkNotNull(phone, "phone"); + return this; + } + + /** + * Fax number of the lead catcher contact. + */ + public Builder fax(@Nullable String fax) { + this.fax = fax; + return this; + } + + /** + * Address information for a lead catcher contact. + */ + public Builder address(@Nullable LeadCatcherAddress address) { + this.address = address; + return this; + } + + /** + * Language locale of a Lead Catcher contact. + * + *

Values: + * - `zh-CHS` — Chinese (Simplified) Legacy + * - `zh-TW` — Chinese (Traditional, Taiwan) + * - `de-DE` — German (Germany) + * - `en-US` — English (United States) + * - `fi-FI` — Finnish (Finland) + * - `fr-FR` — French (France) + * - `it-IT` — Italian (Italy) + * - `ja-JP` — Japanese (Japan) + * - `ko-KR` — Korean (Korea) + * - `nl-NL` — Dutch (Netherlands) + * - `pt-BR` — Portuguese (Brazil) + * - `ru-RU` — Russian (Russia) + * - `sv-SE` — Swedish (Sweden) + * - `th-TH` — Thai (Thailand) + * - `tr-TR` — Turkish (Turkey) + * - `uk-UA` — Ukrainian (Ukraine) + * - `zh-CN` — Chinese (Simplified, China) + * - `de-CH` — German (Switzerland) + * - `en-GB` — English (United Kingdom) + * - `es-MX` — Spanish (Mexico) + * - `fr-BE` — French (Belgium) + * - `it-CH` — Italian (Switzerland) + * - `nl-BE` — Dutch (Belgium) + * - `pt-PT` — Portuguese (Portugal) + * - `ru-MD` — Russian (Moldova) + * - `sv-FI` — Swedish (Finland) + * - `zh-HK` — Chinese (Traditional, Hong Kong SAR) + * - `de-AT` — German (Austria) + * - `en-AU` — English (Australia) + * - `es-ES` — Spanish (Spain, International Sort) + * - `fr-CA` — French (Canada) + * - `zh-SG` — Chinese (Simplified, Singapore) + * - `de-LU` — German (Luxembourg) + * - `en-CA` — English (Canada) + * - `es-GT` — Spanish (Guatemala) + * - `fr-CH` — French (Switzerland) + * - `zh-MO` — Chinese (Traditional, Macao SAR) + * - `de-LI` — German (Liechtenstein) + * - `en-NZ` — English (New Zealand) + * - `es-CR` — Spanish (Costa Rica) + * - `fr-LU` — French (Luxembourg) + * - `en-IE` — English (Ireland) + * - `es-PA` — Spanish (Panama) + * - `fr-MC` — French (Monaco) + * - `en-ZA` — English (South Africa) + * - `es-DO` — Spanish (Dominican Republic) + * - `fr-029` — French (Caribbean) + * - `en-JM` — English (Jamaica) + * - `es-VE` — Spanish (Venezuela) + * - `fr-RE` — French (Réunion) + * - `en-029` — English (Caribbean) + * - `es-CO` — Spanish (Colombia) + * - `fr-CD` — French Congo (DRC) + * - `en-BZ` — English (Belize) + * - `es-PE` — Spanish (Peru) + * - `fr-SN` — French (Senegal) + * - `en-TT` — English (Trinidad and Tobago) + * - `es-AR` — Spanish (Argentina) + * - `fr-CM` — French (Cameroon) + * - `en-ZW` — English (Zimbabwe) + * - `es-EC` — Spanish (Ecuador) + * - `fr-CI` — French (Côte d'Ivoire) + * - `en-PH` — English (Philippines) + * - `es-CL` — Spanish (Chile) + * - `fr-ML` — French (Mali) + * - `en-ID` — English (Indonesia) + * - `es-UY` — Spanish (Uruguay) + * - `fr-MA` — French (Morocco) + * - `en-HK` — English (Hong Kong SAR) + * - `es-PY` — Spanish (Paraguay) + * - `fr-HT` — French (Haiti) + * - `en-IN` — English (India) + * - `es-BO` — Spanish (Bolivia) + * - `en-MY` — English (Malaysia) + * - `es-SV` — Spanish (El Salvador) + * - `en-SG` — English (Singapore) + * - `es-HN` — Spanish (Honduras) + * - `es-NI` — Spanish (Nicaragua) + * - `es-PR` — Spanish (Puerto Rico) + * - `es-US` — Spanish (United States) + * - `es-419` — Spanish (Latin America) + * - `es-CU` — Spanish (Cuba) + * - `zh-CHT` — Chinese (Traditional) Legacy + */ + public Builder locale(@Nullable LocaleLanguageVariant locale) { + this.locale = locale; + return this; + } + + /** + * Notification and role configuration for a lead catcher contact. + */ + public Builder config(@Nullable LeadCatcherConfig config) { + this.config = config; + return this; + } + + /** + * Additional information about the lead catcher contact. + */ + public Builder additionalInfo(@Nullable String additionalInfo) { + this.additionalInfo = additionalInfo; + return this; + } + + /** + * Lead catcher ID. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + public ExistingLeadCatcher build() { + return new ExistingLeadCatcher( + created, + createdBy, + lastModified, + lastModifiedBy, + firstName, + lastName, + title, + email, + phone, + fax, + address, + locale, + config, + additionalInfo, + id); + } + + private static final LazySingletonValue _SINGLETON_VALUE_Locale = + new LazySingletonValue<>("locale", "\"en-US\"", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingLeadCatcherInput.java b/packages/java/src/main/java/com/cvent/models/components/ExistingLeadCatcherInput.java new file mode 100644 index 000000000..d898ec4d0 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingLeadCatcherInput.java @@ -0,0 +1,784 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.LazySingletonValue; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * ExistingLeadCatcherInput + * + *

An existing lead catcher contact. + */ +public class ExistingLeadCatcherInput { + /** + * First name of the lead catcher contact. + */ + @JsonProperty("firstName") + private String firstName; + + /** + * Last name of the lead catcher contact. + */ + @JsonProperty("lastName") + private String lastName; + + /** + * Job title of the lead catcher contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("title") + private String title; + + /** + * Email address of the lead catcher contact. RFP notifications are sent to this address. + */ + @JsonProperty("email") + private String email; + + /** + * Phone number of the lead catcher contact. + */ + @JsonProperty("phone") + private String phone; + + /** + * Fax number of the lead catcher contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("fax") + private String fax; + + /** + * Address information for a lead catcher contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address") + private LeadCatcherAddress address; + + /** + * Language locale of a Lead Catcher contact. + * + *

Values: + * - `zh-CHS` — Chinese (Simplified) Legacy + * - `zh-TW` — Chinese (Traditional, Taiwan) + * - `de-DE` — German (Germany) + * - `en-US` — English (United States) + * - `fi-FI` — Finnish (Finland) + * - `fr-FR` — French (France) + * - `it-IT` — Italian (Italy) + * - `ja-JP` — Japanese (Japan) + * - `ko-KR` — Korean (Korea) + * - `nl-NL` — Dutch (Netherlands) + * - `pt-BR` — Portuguese (Brazil) + * - `ru-RU` — Russian (Russia) + * - `sv-SE` — Swedish (Sweden) + * - `th-TH` — Thai (Thailand) + * - `tr-TR` — Turkish (Turkey) + * - `uk-UA` — Ukrainian (Ukraine) + * - `zh-CN` — Chinese (Simplified, China) + * - `de-CH` — German (Switzerland) + * - `en-GB` — English (United Kingdom) + * - `es-MX` — Spanish (Mexico) + * - `fr-BE` — French (Belgium) + * - `it-CH` — Italian (Switzerland) + * - `nl-BE` — Dutch (Belgium) + * - `pt-PT` — Portuguese (Portugal) + * - `ru-MD` — Russian (Moldova) + * - `sv-FI` — Swedish (Finland) + * - `zh-HK` — Chinese (Traditional, Hong Kong SAR) + * - `de-AT` — German (Austria) + * - `en-AU` — English (Australia) + * - `es-ES` — Spanish (Spain, International Sort) + * - `fr-CA` — French (Canada) + * - `zh-SG` — Chinese (Simplified, Singapore) + * - `de-LU` — German (Luxembourg) + * - `en-CA` — English (Canada) + * - `es-GT` — Spanish (Guatemala) + * - `fr-CH` — French (Switzerland) + * - `zh-MO` — Chinese (Traditional, Macao SAR) + * - `de-LI` — German (Liechtenstein) + * - `en-NZ` — English (New Zealand) + * - `es-CR` — Spanish (Costa Rica) + * - `fr-LU` — French (Luxembourg) + * - `en-IE` — English (Ireland) + * - `es-PA` — Spanish (Panama) + * - `fr-MC` — French (Monaco) + * - `en-ZA` — English (South Africa) + * - `es-DO` — Spanish (Dominican Republic) + * - `fr-029` — French (Caribbean) + * - `en-JM` — English (Jamaica) + * - `es-VE` — Spanish (Venezuela) + * - `fr-RE` — French (Réunion) + * - `en-029` — English (Caribbean) + * - `es-CO` — Spanish (Colombia) + * - `fr-CD` — French Congo (DRC) + * - `en-BZ` — English (Belize) + * - `es-PE` — Spanish (Peru) + * - `fr-SN` — French (Senegal) + * - `en-TT` — English (Trinidad and Tobago) + * - `es-AR` — Spanish (Argentina) + * - `fr-CM` — French (Cameroon) + * - `en-ZW` — English (Zimbabwe) + * - `es-EC` — Spanish (Ecuador) + * - `fr-CI` — French (Côte d'Ivoire) + * - `en-PH` — English (Philippines) + * - `es-CL` — Spanish (Chile) + * - `fr-ML` — French (Mali) + * - `en-ID` — English (Indonesia) + * - `es-UY` — Spanish (Uruguay) + * - `fr-MA` — French (Morocco) + * - `en-HK` — English (Hong Kong SAR) + * - `es-PY` — Spanish (Paraguay) + * - `fr-HT` — French (Haiti) + * - `en-IN` — English (India) + * - `es-BO` — Spanish (Bolivia) + * - `en-MY` — English (Malaysia) + * - `es-SV` — Spanish (El Salvador) + * - `en-SG` — English (Singapore) + * - `es-HN` — Spanish (Honduras) + * - `es-NI` — Spanish (Nicaragua) + * - `es-PR` — Spanish (Puerto Rico) + * - `es-US` — Spanish (United States) + * - `es-419` — Spanish (Latin America) + * - `es-CU` — Spanish (Cuba) + * - `zh-CHT` — Chinese (Traditional) Legacy + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("locale") + private LocaleLanguageVariant locale; + + /** + * Notification and role configuration for a lead catcher contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("config") + private LeadCatcherConfig config; + + /** + * Additional information about the lead catcher contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("additionalInfo") + private String additionalInfo; + + @JsonCreator + public ExistingLeadCatcherInput( + @JsonProperty("firstName") @Nonnull String firstName, + @JsonProperty("lastName") @Nonnull String lastName, + @JsonProperty("title") @Nullable String title, + @JsonProperty("email") @Nonnull String email, + @JsonProperty("phone") @Nonnull String phone, + @JsonProperty("fax") @Nullable String fax, + @JsonProperty("address") @Nullable LeadCatcherAddress address, + @JsonProperty("locale") @Nullable LocaleLanguageVariant locale, + @JsonProperty("config") @Nullable LeadCatcherConfig config, + @JsonProperty("additionalInfo") @Nullable String additionalInfo) { + this.firstName = Optional.ofNullable(firstName) + .orElseThrow(() -> new IllegalArgumentException("firstName cannot be null")); + this.lastName = Optional.ofNullable(lastName) + .orElseThrow(() -> new IllegalArgumentException("lastName cannot be null")); + this.title = title; + this.email = Optional.ofNullable(email).orElseThrow(() -> new IllegalArgumentException("email cannot be null")); + this.phone = Optional.ofNullable(phone).orElseThrow(() -> new IllegalArgumentException("phone cannot be null")); + this.fax = fax; + this.address = address; + this.locale = Optional.ofNullable(locale).orElse(Builder._SINGLETON_VALUE_Locale.value()); + this.config = config; + this.additionalInfo = additionalInfo; + } + + public ExistingLeadCatcherInput( + @Nonnull String firstName, @Nonnull String lastName, @Nonnull String email, @Nonnull String phone) { + this(firstName, lastName, null, email, phone, null, null, null, null, null); + } + + /** + * First name of the lead catcher contact. + */ + public String firstName() { + return this.firstName; + } + + /** + * Last name of the lead catcher contact. + */ + public String lastName() { + return this.lastName; + } + + /** + * Job title of the lead catcher contact. + */ + public Optional title() { + return Optional.ofNullable(this.title); + } + + /** + * Email address of the lead catcher contact. RFP notifications are sent to this address. + */ + public String email() { + return this.email; + } + + /** + * Phone number of the lead catcher contact. + */ + public String phone() { + return this.phone; + } + + /** + * Fax number of the lead catcher contact. + */ + public Optional fax() { + return Optional.ofNullable(this.fax); + } + + /** + * Address information for a lead catcher contact. + */ + public Optional address() { + return Optional.ofNullable(this.address); + } + + /** + * Language locale of a Lead Catcher contact. + * + *

Values: + * - `zh-CHS` — Chinese (Simplified) Legacy + * - `zh-TW` — Chinese (Traditional, Taiwan) + * - `de-DE` — German (Germany) + * - `en-US` — English (United States) + * - `fi-FI` — Finnish (Finland) + * - `fr-FR` — French (France) + * - `it-IT` — Italian (Italy) + * - `ja-JP` — Japanese (Japan) + * - `ko-KR` — Korean (Korea) + * - `nl-NL` — Dutch (Netherlands) + * - `pt-BR` — Portuguese (Brazil) + * - `ru-RU` — Russian (Russia) + * - `sv-SE` — Swedish (Sweden) + * - `th-TH` — Thai (Thailand) + * - `tr-TR` — Turkish (Turkey) + * - `uk-UA` — Ukrainian (Ukraine) + * - `zh-CN` — Chinese (Simplified, China) + * - `de-CH` — German (Switzerland) + * - `en-GB` — English (United Kingdom) + * - `es-MX` — Spanish (Mexico) + * - `fr-BE` — French (Belgium) + * - `it-CH` — Italian (Switzerland) + * - `nl-BE` — Dutch (Belgium) + * - `pt-PT` — Portuguese (Portugal) + * - `ru-MD` — Russian (Moldova) + * - `sv-FI` — Swedish (Finland) + * - `zh-HK` — Chinese (Traditional, Hong Kong SAR) + * - `de-AT` — German (Austria) + * - `en-AU` — English (Australia) + * - `es-ES` — Spanish (Spain, International Sort) + * - `fr-CA` — French (Canada) + * - `zh-SG` — Chinese (Simplified, Singapore) + * - `de-LU` — German (Luxembourg) + * - `en-CA` — English (Canada) + * - `es-GT` — Spanish (Guatemala) + * - `fr-CH` — French (Switzerland) + * - `zh-MO` — Chinese (Traditional, Macao SAR) + * - `de-LI` — German (Liechtenstein) + * - `en-NZ` — English (New Zealand) + * - `es-CR` — Spanish (Costa Rica) + * - `fr-LU` — French (Luxembourg) + * - `en-IE` — English (Ireland) + * - `es-PA` — Spanish (Panama) + * - `fr-MC` — French (Monaco) + * - `en-ZA` — English (South Africa) + * - `es-DO` — Spanish (Dominican Republic) + * - `fr-029` — French (Caribbean) + * - `en-JM` — English (Jamaica) + * - `es-VE` — Spanish (Venezuela) + * - `fr-RE` — French (Réunion) + * - `en-029` — English (Caribbean) + * - `es-CO` — Spanish (Colombia) + * - `fr-CD` — French Congo (DRC) + * - `en-BZ` — English (Belize) + * - `es-PE` — Spanish (Peru) + * - `fr-SN` — French (Senegal) + * - `en-TT` — English (Trinidad and Tobago) + * - `es-AR` — Spanish (Argentina) + * - `fr-CM` — French (Cameroon) + * - `en-ZW` — English (Zimbabwe) + * - `es-EC` — Spanish (Ecuador) + * - `fr-CI` — French (Côte d'Ivoire) + * - `en-PH` — English (Philippines) + * - `es-CL` — Spanish (Chile) + * - `fr-ML` — French (Mali) + * - `en-ID` — English (Indonesia) + * - `es-UY` — Spanish (Uruguay) + * - `fr-MA` — French (Morocco) + * - `en-HK` — English (Hong Kong SAR) + * - `es-PY` — Spanish (Paraguay) + * - `fr-HT` — French (Haiti) + * - `en-IN` — English (India) + * - `es-BO` — Spanish (Bolivia) + * - `en-MY` — English (Malaysia) + * - `es-SV` — Spanish (El Salvador) + * - `en-SG` — English (Singapore) + * - `es-HN` — Spanish (Honduras) + * - `es-NI` — Spanish (Nicaragua) + * - `es-PR` — Spanish (Puerto Rico) + * - `es-US` — Spanish (United States) + * - `es-419` — Spanish (Latin America) + * - `es-CU` — Spanish (Cuba) + * - `zh-CHT` — Chinese (Traditional) Legacy + */ + public Optional locale() { + return Optional.ofNullable(this.locale); + } + + /** + * Notification and role configuration for a lead catcher contact. + */ + public Optional config() { + return Optional.ofNullable(this.config); + } + + /** + * Additional information about the lead catcher contact. + */ + public Optional additionalInfo() { + return Optional.ofNullable(this.additionalInfo); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * First name of the lead catcher contact. + */ + public ExistingLeadCatcherInput withFirstName(@Nonnull String firstName) { + this.firstName = Utils.checkNotNull(firstName, "firstName"); + return this; + } + + /** + * Last name of the lead catcher contact. + */ + public ExistingLeadCatcherInput withLastName(@Nonnull String lastName) { + this.lastName = Utils.checkNotNull(lastName, "lastName"); + return this; + } + + /** + * Job title of the lead catcher contact. + */ + public ExistingLeadCatcherInput withTitle(@Nullable String title) { + this.title = title; + return this; + } + + /** + * Email address of the lead catcher contact. RFP notifications are sent to this address. + */ + public ExistingLeadCatcherInput withEmail(@Nonnull String email) { + this.email = Utils.checkNotNull(email, "email"); + return this; + } + + /** + * Phone number of the lead catcher contact. + */ + public ExistingLeadCatcherInput withPhone(@Nonnull String phone) { + this.phone = Utils.checkNotNull(phone, "phone"); + return this; + } + + /** + * Fax number of the lead catcher contact. + */ + public ExistingLeadCatcherInput withFax(@Nullable String fax) { + this.fax = fax; + return this; + } + + /** + * Address information for a lead catcher contact. + */ + public ExistingLeadCatcherInput withAddress(@Nullable LeadCatcherAddress address) { + this.address = address; + return this; + } + + /** + * Language locale of a Lead Catcher contact. + * + *

Values: + * - `zh-CHS` — Chinese (Simplified) Legacy + * - `zh-TW` — Chinese (Traditional, Taiwan) + * - `de-DE` — German (Germany) + * - `en-US` — English (United States) + * - `fi-FI` — Finnish (Finland) + * - `fr-FR` — French (France) + * - `it-IT` — Italian (Italy) + * - `ja-JP` — Japanese (Japan) + * - `ko-KR` — Korean (Korea) + * - `nl-NL` — Dutch (Netherlands) + * - `pt-BR` — Portuguese (Brazil) + * - `ru-RU` — Russian (Russia) + * - `sv-SE` — Swedish (Sweden) + * - `th-TH` — Thai (Thailand) + * - `tr-TR` — Turkish (Turkey) + * - `uk-UA` — Ukrainian (Ukraine) + * - `zh-CN` — Chinese (Simplified, China) + * - `de-CH` — German (Switzerland) + * - `en-GB` — English (United Kingdom) + * - `es-MX` — Spanish (Mexico) + * - `fr-BE` — French (Belgium) + * - `it-CH` — Italian (Switzerland) + * - `nl-BE` — Dutch (Belgium) + * - `pt-PT` — Portuguese (Portugal) + * - `ru-MD` — Russian (Moldova) + * - `sv-FI` — Swedish (Finland) + * - `zh-HK` — Chinese (Traditional, Hong Kong SAR) + * - `de-AT` — German (Austria) + * - `en-AU` — English (Australia) + * - `es-ES` — Spanish (Spain, International Sort) + * - `fr-CA` — French (Canada) + * - `zh-SG` — Chinese (Simplified, Singapore) + * - `de-LU` — German (Luxembourg) + * - `en-CA` — English (Canada) + * - `es-GT` — Spanish (Guatemala) + * - `fr-CH` — French (Switzerland) + * - `zh-MO` — Chinese (Traditional, Macao SAR) + * - `de-LI` — German (Liechtenstein) + * - `en-NZ` — English (New Zealand) + * - `es-CR` — Spanish (Costa Rica) + * - `fr-LU` — French (Luxembourg) + * - `en-IE` — English (Ireland) + * - `es-PA` — Spanish (Panama) + * - `fr-MC` — French (Monaco) + * - `en-ZA` — English (South Africa) + * - `es-DO` — Spanish (Dominican Republic) + * - `fr-029` — French (Caribbean) + * - `en-JM` — English (Jamaica) + * - `es-VE` — Spanish (Venezuela) + * - `fr-RE` — French (Réunion) + * - `en-029` — English (Caribbean) + * - `es-CO` — Spanish (Colombia) + * - `fr-CD` — French Congo (DRC) + * - `en-BZ` — English (Belize) + * - `es-PE` — Spanish (Peru) + * - `fr-SN` — French (Senegal) + * - `en-TT` — English (Trinidad and Tobago) + * - `es-AR` — Spanish (Argentina) + * - `fr-CM` — French (Cameroon) + * - `en-ZW` — English (Zimbabwe) + * - `es-EC` — Spanish (Ecuador) + * - `fr-CI` — French (Côte d'Ivoire) + * - `en-PH` — English (Philippines) + * - `es-CL` — Spanish (Chile) + * - `fr-ML` — French (Mali) + * - `en-ID` — English (Indonesia) + * - `es-UY` — Spanish (Uruguay) + * - `fr-MA` — French (Morocco) + * - `en-HK` — English (Hong Kong SAR) + * - `es-PY` — Spanish (Paraguay) + * - `fr-HT` — French (Haiti) + * - `en-IN` — English (India) + * - `es-BO` — Spanish (Bolivia) + * - `en-MY` — English (Malaysia) + * - `es-SV` — Spanish (El Salvador) + * - `en-SG` — English (Singapore) + * - `es-HN` — Spanish (Honduras) + * - `es-NI` — Spanish (Nicaragua) + * - `es-PR` — Spanish (Puerto Rico) + * - `es-US` — Spanish (United States) + * - `es-419` — Spanish (Latin America) + * - `es-CU` — Spanish (Cuba) + * - `zh-CHT` — Chinese (Traditional) Legacy + */ + public ExistingLeadCatcherInput withLocale(@Nullable LocaleLanguageVariant locale) { + this.locale = locale; + return this; + } + + /** + * Notification and role configuration for a lead catcher contact. + */ + public ExistingLeadCatcherInput withConfig(@Nullable LeadCatcherConfig config) { + this.config = config; + return this; + } + + /** + * Additional information about the lead catcher contact. + */ + public ExistingLeadCatcherInput withAdditionalInfo(@Nullable String additionalInfo) { + this.additionalInfo = additionalInfo; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExistingLeadCatcherInput other = (ExistingLeadCatcherInput) o; + return Utils.enhancedDeepEquals(this.firstName, other.firstName) + && Utils.enhancedDeepEquals(this.lastName, other.lastName) + && Utils.enhancedDeepEquals(this.title, other.title) + && Utils.enhancedDeepEquals(this.email, other.email) + && Utils.enhancedDeepEquals(this.phone, other.phone) + && Utils.enhancedDeepEquals(this.fax, other.fax) + && Utils.enhancedDeepEquals(this.address, other.address) + && Utils.enhancedDeepEquals(this.locale, other.locale) + && Utils.enhancedDeepEquals(this.config, other.config) + && Utils.enhancedDeepEquals(this.additionalInfo, other.additionalInfo); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + firstName, lastName, title, email, phone, fax, address, locale, config, additionalInfo); + } + + @Override + public String toString() { + return Utils.toString( + ExistingLeadCatcherInput.class, + "firstName", + firstName, + "lastName", + lastName, + "title", + title, + "email", + email, + "phone", + phone, + "fax", + fax, + "address", + address, + "locale", + locale, + "config", + config, + "additionalInfo", + additionalInfo); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String firstName; + + private String lastName; + + private String title; + + private String email; + + private String phone; + + private String fax; + + private LeadCatcherAddress address; + + private LocaleLanguageVariant locale; + + private LeadCatcherConfig config; + + private String additionalInfo; + + private Builder() { + // force use of static builder() method + } + + /** + * First name of the lead catcher contact. + */ + public Builder firstName(@Nonnull String firstName) { + this.firstName = Utils.checkNotNull(firstName, "firstName"); + return this; + } + + /** + * Last name of the lead catcher contact. + */ + public Builder lastName(@Nonnull String lastName) { + this.lastName = Utils.checkNotNull(lastName, "lastName"); + return this; + } + + /** + * Job title of the lead catcher contact. + */ + public Builder title(@Nullable String title) { + this.title = title; + return this; + } + + /** + * Email address of the lead catcher contact. RFP notifications are sent to this address. + */ + public Builder email(@Nonnull String email) { + this.email = Utils.checkNotNull(email, "email"); + return this; + } + + /** + * Phone number of the lead catcher contact. + */ + public Builder phone(@Nonnull String phone) { + this.phone = Utils.checkNotNull(phone, "phone"); + return this; + } + + /** + * Fax number of the lead catcher contact. + */ + public Builder fax(@Nullable String fax) { + this.fax = fax; + return this; + } + + /** + * Address information for a lead catcher contact. + */ + public Builder address(@Nullable LeadCatcherAddress address) { + this.address = address; + return this; + } + + /** + * Language locale of a Lead Catcher contact. + * + *

Values: + * - `zh-CHS` — Chinese (Simplified) Legacy + * - `zh-TW` — Chinese (Traditional, Taiwan) + * - `de-DE` — German (Germany) + * - `en-US` — English (United States) + * - `fi-FI` — Finnish (Finland) + * - `fr-FR` — French (France) + * - `it-IT` — Italian (Italy) + * - `ja-JP` — Japanese (Japan) + * - `ko-KR` — Korean (Korea) + * - `nl-NL` — Dutch (Netherlands) + * - `pt-BR` — Portuguese (Brazil) + * - `ru-RU` — Russian (Russia) + * - `sv-SE` — Swedish (Sweden) + * - `th-TH` — Thai (Thailand) + * - `tr-TR` — Turkish (Turkey) + * - `uk-UA` — Ukrainian (Ukraine) + * - `zh-CN` — Chinese (Simplified, China) + * - `de-CH` — German (Switzerland) + * - `en-GB` — English (United Kingdom) + * - `es-MX` — Spanish (Mexico) + * - `fr-BE` — French (Belgium) + * - `it-CH` — Italian (Switzerland) + * - `nl-BE` — Dutch (Belgium) + * - `pt-PT` — Portuguese (Portugal) + * - `ru-MD` — Russian (Moldova) + * - `sv-FI` — Swedish (Finland) + * - `zh-HK` — Chinese (Traditional, Hong Kong SAR) + * - `de-AT` — German (Austria) + * - `en-AU` — English (Australia) + * - `es-ES` — Spanish (Spain, International Sort) + * - `fr-CA` — French (Canada) + * - `zh-SG` — Chinese (Simplified, Singapore) + * - `de-LU` — German (Luxembourg) + * - `en-CA` — English (Canada) + * - `es-GT` — Spanish (Guatemala) + * - `fr-CH` — French (Switzerland) + * - `zh-MO` — Chinese (Traditional, Macao SAR) + * - `de-LI` — German (Liechtenstein) + * - `en-NZ` — English (New Zealand) + * - `es-CR` — Spanish (Costa Rica) + * - `fr-LU` — French (Luxembourg) + * - `en-IE` — English (Ireland) + * - `es-PA` — Spanish (Panama) + * - `fr-MC` — French (Monaco) + * - `en-ZA` — English (South Africa) + * - `es-DO` — Spanish (Dominican Republic) + * - `fr-029` — French (Caribbean) + * - `en-JM` — English (Jamaica) + * - `es-VE` — Spanish (Venezuela) + * - `fr-RE` — French (Réunion) + * - `en-029` — English (Caribbean) + * - `es-CO` — Spanish (Colombia) + * - `fr-CD` — French Congo (DRC) + * - `en-BZ` — English (Belize) + * - `es-PE` — Spanish (Peru) + * - `fr-SN` — French (Senegal) + * - `en-TT` — English (Trinidad and Tobago) + * - `es-AR` — Spanish (Argentina) + * - `fr-CM` — French (Cameroon) + * - `en-ZW` — English (Zimbabwe) + * - `es-EC` — Spanish (Ecuador) + * - `fr-CI` — French (Côte d'Ivoire) + * - `en-PH` — English (Philippines) + * - `es-CL` — Spanish (Chile) + * - `fr-ML` — French (Mali) + * - `en-ID` — English (Indonesia) + * - `es-UY` — Spanish (Uruguay) + * - `fr-MA` — French (Morocco) + * - `en-HK` — English (Hong Kong SAR) + * - `es-PY` — Spanish (Paraguay) + * - `fr-HT` — French (Haiti) + * - `en-IN` — English (India) + * - `es-BO` — Spanish (Bolivia) + * - `en-MY` — English (Malaysia) + * - `es-SV` — Spanish (El Salvador) + * - `en-SG` — English (Singapore) + * - `es-HN` — Spanish (Honduras) + * - `es-NI` — Spanish (Nicaragua) + * - `es-PR` — Spanish (Puerto Rico) + * - `es-US` — Spanish (United States) + * - `es-419` — Spanish (Latin America) + * - `es-CU` — Spanish (Cuba) + * - `zh-CHT` — Chinese (Traditional) Legacy + */ + public Builder locale(@Nullable LocaleLanguageVariant locale) { + this.locale = locale; + return this; + } + + /** + * Notification and role configuration for a lead catcher contact. + */ + public Builder config(@Nullable LeadCatcherConfig config) { + this.config = config; + return this; + } + + /** + * Additional information about the lead catcher contact. + */ + public Builder additionalInfo(@Nullable String additionalInfo) { + this.additionalInfo = additionalInfo; + return this; + } + + public ExistingLeadCatcherInput build() { + return new ExistingLeadCatcherInput( + firstName, lastName, title, email, phone, fax, address, locale, config, additionalInfo); + } + + private static final LazySingletonValue _SINGLETON_VALUE_Locale = + new LazySingletonValue<>("locale", "\"en-US\"", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingVenueAmenities.java b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueAmenities.java new file mode 100644 index 000000000..4612095dd --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueAmenities.java @@ -0,0 +1,1293 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; + +/** + * ExistingVenueAmenities + * + *

The current amenity selections for a venue, including identifying properties. + */ +public class ExistingVenueAmenities { + /** + * Recreational facilities and leisure activities available at the venue. + * + *

Values: + * - `GOLF_ON_GROUNDS` — Golf on Grounds + * - `HEALTH_CLUB` — Health Club + * - `INDOOR_POOL` — Indoor Pool + * - `OUTDOOR_POOL` — Outdoor Pool + * - `SKIING` — Skiing + * - `SPASALON` — Spa/Salon + * - `TENNIS` — Tennis + * - `WATER_SPORTS` — Water Sports + * - `WHIRLPOOL` — Whirlpool + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("recreationalActivities") + private List recreationalActivities; + + /** + * In-room features and guest services available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `CONCIERGE_SERVICES` — Concierge Services + * - `FREE_LOCAL_CALLS` — Free Local Calls + * - `FREE_TOLL_FREE_CALLS` — Toll-Free Calls + * - `GARDEN_VIEWS` — Garden Views + * - `INTERNET` — Internet + * - `LAUNDRY` — Laundry + * - `LUGGAGE_STORAGE` — Luggage Storage + * - `MOUNTAIN_VIEWS` — Mountain Views + * - `OCEANWATER_VIEWS` — Ocean/Water Views + * - `ROOM_SERVICE` — Room Service + * - `URBAN_VIEWS` — Urban Views + * - `VOICE_MAIL_BOX` — Voicemail Box + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("roomFeatures") + private List roomFeatures; + + /** + * Audio-visual equipment and connectivity available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Each entry selects an AV capability and, where applicable, provides an internet speed. A `speed` + * value may only be supplied when `amenity` is `HIGH_SPEED_INTERNET`. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("avCapabilities") + private List avCapabilities; + + /** + * Business and communications services available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AUDIOVIDEO_CAPABILITIES` — Audio/Video Capabilities + * - `BUSINESS_CENTER` — Business Center + * - `VIDEO_CONFERENCING` — Video Conferencing + * - `VIP_SERVICES` — VIP Services + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("businessServices") + private List businessServices; + + /** + * Transportation options by which the venue is accessible. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `BUS` — Bus + * - `SHUTTLE` — Shuttle + * - `SUBWAY` — Subway + * - `TAXI` — Taxi + * - `TRAIN` — Train + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("transportation") + private List transportation; + + /** + * Physical equipment and staging resources available for event use at the venue. + * + *

Values: + * - `DANCE_FLOORS` — Dance Floors + * - `LOADING_DOCK_AVAILABLE` — Loading Dock + * - `PIANO` — Piano + * - `PORTABLE_HEATERS` — Portable Heaters + * - `PORTABLE_WALLS` — Portable Walls + * - `STAGING` — Staging + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("equipment") + private List equipment; + + /** + * Parking options available at or near the venue. Each entry selects a parking type and, where + * applicable, provides the daily rate. A cost may only be supplied for `PAID_PARKING_AVAILABLE` and + * `VALET_PARKING_AVAILABLE`. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("parking") + private List parking; + + /** + * General facility features and on-site services available at the venue. Applicable only to the + * following venue types: Boutique Hotel, Conference Center, Convention Center, Exposition Center, + * Hotel, Luxury Hotel, and Resort (all values below except `BUSINESS_CENTER` and `INTERNET`); + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational + * Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue + * (only `BUSINESS_CENTER`, `CASINO`, `INTERNET`, `RESTAURANT_ON_SITE`, and `WHEELCHAIR_ACCESSIBLE`). + * + *

Values: + * - `ALL_INCLUSIVE` — All Inclusive + * - `BUSINESS_CENTER` — Business Center + * - `CASINO` — Casino + * - `EXTENDED_STAY` — Extended Stay + * - `FREE_AIRPORT_SHUTTLE` — Free Airport Shuttle + * - `GIFT_SHOP_ON_SITE` — Onsite Gift Shop + * - `INTERNET` — Internet + * - `ONSITE_CATERING` — Onsite Catering + * - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + * - `PETS_WELCOME` — Pet Friendly + * - `RENTAL_CAR_SERVICES` — Rental Car Services + * - `RESTAURANT_ON_SITE` — Onsite Restaurant + * - `SECURITY_STAFF_ONSITE` — Onsite Security + * - `WHEELCHAIR_ACCESSIBLE` — Wheelchair Accessible + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("facilityInfo") + private List facilityInfo; + + /** + * Facility space measurements at the venue. Each entry selects a space type and optionally provides + * the available event space area, expressed in the venue's configured unit of measurement. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("facilitySpaceInfo") + private List facilitySpaceInfo; + + /** + * Catering options and policies offered at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `KITCHEN_ONSITE` — Kitchen Onsite + * - `ONSITE_CATERING` — Onsite Catering + * - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("cateringDetails") + private List cateringDetails; + + /** + * Alcohol-related policies at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf + * Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `ALCOHOL_ALLOWED` — Alcohol Allowed + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("alcohol") + private List alcohol; + + /** + * Audio-visual provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("audioVisual") + private List audioVisual; + + /** + * Furniture provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("furniture") + private List furniture; + + /** + * Linens and table settings provision policy at the venue. Applicable only to venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("linensAndTableSettings") + private List linensAndTableSettings; + + /** + * Lighting provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf + * Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lighting") + private List lighting; + + /** + * Other décor provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("otherDecor") + private List otherDecor; + + /** + * Venue ID. + */ + @JsonProperty("id") + private String id; + + /** + * The name of the venue. + */ + @JsonProperty("name") + private String name; + + @JsonCreator + public ExistingVenueAmenities( + @JsonProperty("recreationalActivities") @Nullable + List recreationalActivities, + @JsonProperty("roomFeatures") @Nullable List roomFeatures, + @JsonProperty("avCapabilities") @Nullable List avCapabilities, + @JsonProperty("businessServices") @Nullable List businessServices, + @JsonProperty("transportation") @Nullable List transportation, + @JsonProperty("equipment") @Nullable List equipment, + @JsonProperty("parking") @Nullable List parking, + @JsonProperty("facilityInfo") @Nullable List facilityInfo, + @JsonProperty("facilitySpaceInfo") @Nullable List facilitySpaceInfo, + @JsonProperty("cateringDetails") @Nullable List cateringDetails, + @JsonProperty("alcohol") @Nullable List alcohol, + @JsonProperty("audioVisual") @Nullable List audioVisual, + @JsonProperty("furniture") @Nullable List furniture, + @JsonProperty("linensAndTableSettings") @Nullable List linensAndTableSettings, + @JsonProperty("lighting") @Nullable List lighting, + @JsonProperty("otherDecor") @Nullable List otherDecor, + @JsonProperty("id") @Nonnull String id, + @JsonProperty("name") @Nonnull String name) { + this.recreationalActivities = recreationalActivities; + this.roomFeatures = roomFeatures; + this.avCapabilities = avCapabilities; + this.businessServices = businessServices; + this.transportation = transportation; + this.equipment = equipment; + this.parking = parking; + this.facilityInfo = facilityInfo; + this.facilitySpaceInfo = facilitySpaceInfo; + this.cateringDetails = cateringDetails; + this.alcohol = alcohol; + this.audioVisual = audioVisual; + this.furniture = furniture; + this.linensAndTableSettings = linensAndTableSettings; + this.lighting = lighting; + this.otherDecor = otherDecor; + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.name = Optional.ofNullable(name).orElseThrow(() -> new IllegalArgumentException("name cannot be null")); + } + + public ExistingVenueAmenities(@Nonnull String id, @Nonnull String name) { + this(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, id, name); + } + + /** + * Recreational facilities and leisure activities available at the venue. + * + *

Values: + * - `GOLF_ON_GROUNDS` — Golf on Grounds + * - `HEALTH_CLUB` — Health Club + * - `INDOOR_POOL` — Indoor Pool + * - `OUTDOOR_POOL` — Outdoor Pool + * - `SKIING` — Skiing + * - `SPASALON` — Spa/Salon + * - `TENNIS` — Tennis + * - `WATER_SPORTS` — Water Sports + * - `WHIRLPOOL` — Whirlpool + */ + public Optional> recreationalActivities() { + return Optional.ofNullable(this.recreationalActivities); + } + + /** + * In-room features and guest services available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `CONCIERGE_SERVICES` — Concierge Services + * - `FREE_LOCAL_CALLS` — Free Local Calls + * - `FREE_TOLL_FREE_CALLS` — Toll-Free Calls + * - `GARDEN_VIEWS` — Garden Views + * - `INTERNET` — Internet + * - `LAUNDRY` — Laundry + * - `LUGGAGE_STORAGE` — Luggage Storage + * - `MOUNTAIN_VIEWS` — Mountain Views + * - `OCEANWATER_VIEWS` — Ocean/Water Views + * - `ROOM_SERVICE` — Room Service + * - `URBAN_VIEWS` — Urban Views + * - `VOICE_MAIL_BOX` — Voicemail Box + */ + public Optional> roomFeatures() { + return Optional.ofNullable(this.roomFeatures); + } + + /** + * Audio-visual equipment and connectivity available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Each entry selects an AV capability and, where applicable, provides an internet speed. A `speed` + * value may only be supplied when `amenity` is `HIGH_SPEED_INTERNET`. + */ + public Optional> avCapabilities() { + return Optional.ofNullable(this.avCapabilities); + } + + /** + * Business and communications services available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AUDIOVIDEO_CAPABILITIES` — Audio/Video Capabilities + * - `BUSINESS_CENTER` — Business Center + * - `VIDEO_CONFERENCING` — Video Conferencing + * - `VIP_SERVICES` — VIP Services + */ + public Optional> businessServices() { + return Optional.ofNullable(this.businessServices); + } + + /** + * Transportation options by which the venue is accessible. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `BUS` — Bus + * - `SHUTTLE` — Shuttle + * - `SUBWAY` — Subway + * - `TAXI` — Taxi + * - `TRAIN` — Train + */ + public Optional> transportation() { + return Optional.ofNullable(this.transportation); + } + + /** + * Physical equipment and staging resources available for event use at the venue. + * + *

Values: + * - `DANCE_FLOORS` — Dance Floors + * - `LOADING_DOCK_AVAILABLE` — Loading Dock + * - `PIANO` — Piano + * - `PORTABLE_HEATERS` — Portable Heaters + * - `PORTABLE_WALLS` — Portable Walls + * - `STAGING` — Staging + */ + public Optional> equipment() { + return Optional.ofNullable(this.equipment); + } + + /** + * Parking options available at or near the venue. Each entry selects a parking type and, where + * applicable, provides the daily rate. A cost may only be supplied for `PAID_PARKING_AVAILABLE` and + * `VALET_PARKING_AVAILABLE`. + */ + public Optional> parking() { + return Optional.ofNullable(this.parking); + } + + /** + * General facility features and on-site services available at the venue. Applicable only to the + * following venue types: Boutique Hotel, Conference Center, Convention Center, Exposition Center, + * Hotel, Luxury Hotel, and Resort (all values below except `BUSINESS_CENTER` and `INTERNET`); + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational + * Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue + * (only `BUSINESS_CENTER`, `CASINO`, `INTERNET`, `RESTAURANT_ON_SITE`, and `WHEELCHAIR_ACCESSIBLE`). + * + *

Values: + * - `ALL_INCLUSIVE` — All Inclusive + * - `BUSINESS_CENTER` — Business Center + * - `CASINO` — Casino + * - `EXTENDED_STAY` — Extended Stay + * - `FREE_AIRPORT_SHUTTLE` — Free Airport Shuttle + * - `GIFT_SHOP_ON_SITE` — Onsite Gift Shop + * - `INTERNET` — Internet + * - `ONSITE_CATERING` — Onsite Catering + * - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + * - `PETS_WELCOME` — Pet Friendly + * - `RENTAL_CAR_SERVICES` — Rental Car Services + * - `RESTAURANT_ON_SITE` — Onsite Restaurant + * - `SECURITY_STAFF_ONSITE` — Onsite Security + * - `WHEELCHAIR_ACCESSIBLE` — Wheelchair Accessible + */ + public Optional> facilityInfo() { + return Optional.ofNullable(this.facilityInfo); + } + + /** + * Facility space measurements at the venue. Each entry selects a space type and optionally provides + * the available event space area, expressed in the venue's configured unit of measurement. + */ + public Optional> facilitySpaceInfo() { + return Optional.ofNullable(this.facilitySpaceInfo); + } + + /** + * Catering options and policies offered at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `KITCHEN_ONSITE` — Kitchen Onsite + * - `ONSITE_CATERING` — Onsite Catering + * - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + */ + public Optional> cateringDetails() { + return Optional.ofNullable(this.cateringDetails); + } + + /** + * Alcohol-related policies at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf + * Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `ALCOHOL_ALLOWED` — Alcohol Allowed + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Optional> alcohol() { + return Optional.ofNullable(this.alcohol); + } + + /** + * Audio-visual provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Optional> audioVisual() { + return Optional.ofNullable(this.audioVisual); + } + + /** + * Furniture provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Optional> furniture() { + return Optional.ofNullable(this.furniture); + } + + /** + * Linens and table settings provision policy at the venue. Applicable only to venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Optional> linensAndTableSettings() { + return Optional.ofNullable(this.linensAndTableSettings); + } + + /** + * Lighting provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf + * Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Optional> lighting() { + return Optional.ofNullable(this.lighting); + } + + /** + * Other décor provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Optional> otherDecor() { + return Optional.ofNullable(this.otherDecor); + } + + /** + * Venue ID. + */ + public String id() { + return this.id; + } + + /** + * The name of the venue. + */ + public String name() { + return this.name; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Recreational facilities and leisure activities available at the venue. + * + *

Values: + * - `GOLF_ON_GROUNDS` — Golf on Grounds + * - `HEALTH_CLUB` — Health Club + * - `INDOOR_POOL` — Indoor Pool + * - `OUTDOOR_POOL` — Outdoor Pool + * - `SKIING` — Skiing + * - `SPASALON` — Spa/Salon + * - `TENNIS` — Tennis + * - `WATER_SPORTS` — Water Sports + * - `WHIRLPOOL` — Whirlpool + */ + public ExistingVenueAmenities withRecreationalActivities( + @Nullable List recreationalActivities) { + this.recreationalActivities = recreationalActivities; + return this; + } + + /** + * In-room features and guest services available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `CONCIERGE_SERVICES` — Concierge Services + * - `FREE_LOCAL_CALLS` — Free Local Calls + * - `FREE_TOLL_FREE_CALLS` — Toll-Free Calls + * - `GARDEN_VIEWS` — Garden Views + * - `INTERNET` — Internet + * - `LAUNDRY` — Laundry + * - `LUGGAGE_STORAGE` — Luggage Storage + * - `MOUNTAIN_VIEWS` — Mountain Views + * - `OCEANWATER_VIEWS` — Ocean/Water Views + * - `ROOM_SERVICE` — Room Service + * - `URBAN_VIEWS` — Urban Views + * - `VOICE_MAIL_BOX` — Voicemail Box + */ + public ExistingVenueAmenities withRoomFeatures(@Nullable List roomFeatures) { + this.roomFeatures = roomFeatures; + return this; + } + + /** + * Audio-visual equipment and connectivity available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Each entry selects an AV capability and, where applicable, provides an internet speed. A `speed` + * value may only be supplied when `amenity` is `HIGH_SPEED_INTERNET`. + */ + public ExistingVenueAmenities withAvCapabilities(@Nullable List avCapabilities) { + this.avCapabilities = avCapabilities; + return this; + } + + /** + * Business and communications services available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AUDIOVIDEO_CAPABILITIES` — Audio/Video Capabilities + * - `BUSINESS_CENTER` — Business Center + * - `VIDEO_CONFERENCING` — Video Conferencing + * - `VIP_SERVICES` — VIP Services + */ + public ExistingVenueAmenities withBusinessServices(@Nullable List businessServices) { + this.businessServices = businessServices; + return this; + } + + /** + * Transportation options by which the venue is accessible. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `BUS` — Bus + * - `SHUTTLE` — Shuttle + * - `SUBWAY` — Subway + * - `TAXI` — Taxi + * - `TRAIN` — Train + */ + public ExistingVenueAmenities withTransportation(@Nullable List transportation) { + this.transportation = transportation; + return this; + } + + /** + * Physical equipment and staging resources available for event use at the venue. + * + *

Values: + * - `DANCE_FLOORS` — Dance Floors + * - `LOADING_DOCK_AVAILABLE` — Loading Dock + * - `PIANO` — Piano + * - `PORTABLE_HEATERS` — Portable Heaters + * - `PORTABLE_WALLS` — Portable Walls + * - `STAGING` — Staging + */ + public ExistingVenueAmenities withEquipment(@Nullable List equipment) { + this.equipment = equipment; + return this; + } + + /** + * Parking options available at or near the venue. Each entry selects a parking type and, where + * applicable, provides the daily rate. A cost may only be supplied for `PAID_PARKING_AVAILABLE` and + * `VALET_PARKING_AVAILABLE`. + */ + public ExistingVenueAmenities withParking(@Nullable List parking) { + this.parking = parking; + return this; + } + + /** + * General facility features and on-site services available at the venue. Applicable only to the + * following venue types: Boutique Hotel, Conference Center, Convention Center, Exposition Center, + * Hotel, Luxury Hotel, and Resort (all values below except `BUSINESS_CENTER` and `INTERNET`); + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational + * Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue + * (only `BUSINESS_CENTER`, `CASINO`, `INTERNET`, `RESTAURANT_ON_SITE`, and `WHEELCHAIR_ACCESSIBLE`). + * + *

Values: + * - `ALL_INCLUSIVE` — All Inclusive + * - `BUSINESS_CENTER` — Business Center + * - `CASINO` — Casino + * - `EXTENDED_STAY` — Extended Stay + * - `FREE_AIRPORT_SHUTTLE` — Free Airport Shuttle + * - `GIFT_SHOP_ON_SITE` — Onsite Gift Shop + * - `INTERNET` — Internet + * - `ONSITE_CATERING` — Onsite Catering + * - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + * - `PETS_WELCOME` — Pet Friendly + * - `RENTAL_CAR_SERVICES` — Rental Car Services + * - `RESTAURANT_ON_SITE` — Onsite Restaurant + * - `SECURITY_STAFF_ONSITE` — Onsite Security + * - `WHEELCHAIR_ACCESSIBLE` — Wheelchair Accessible + */ + public ExistingVenueAmenities withFacilityInfo(@Nullable List facilityInfo) { + this.facilityInfo = facilityInfo; + return this; + } + + /** + * Facility space measurements at the venue. Each entry selects a space type and optionally provides + * the available event space area, expressed in the venue's configured unit of measurement. + */ + public ExistingVenueAmenities withFacilitySpaceInfo( + @Nullable List facilitySpaceInfo) { + this.facilitySpaceInfo = facilitySpaceInfo; + return this; + } + + /** + * Catering options and policies offered at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `KITCHEN_ONSITE` — Kitchen Onsite + * - `ONSITE_CATERING` — Onsite Catering + * - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + */ + public ExistingVenueAmenities withCateringDetails(@Nullable List cateringDetails) { + this.cateringDetails = cateringDetails; + return this; + } + + /** + * Alcohol-related policies at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf + * Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `ALCOHOL_ALLOWED` — Alcohol Allowed + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public ExistingVenueAmenities withAlcohol(@Nullable List alcohol) { + this.alcohol = alcohol; + return this; + } + + /** + * Audio-visual provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public ExistingVenueAmenities withAudioVisual(@Nullable List audioVisual) { + this.audioVisual = audioVisual; + return this; + } + + /** + * Furniture provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public ExistingVenueAmenities withFurniture(@Nullable List furniture) { + this.furniture = furniture; + return this; + } + + /** + * Linens and table settings provision policy at the venue. Applicable only to venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public ExistingVenueAmenities withLinensAndTableSettings( + @Nullable List linensAndTableSettings) { + this.linensAndTableSettings = linensAndTableSettings; + return this; + } + + /** + * Lighting provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf + * Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public ExistingVenueAmenities withLighting(@Nullable List lighting) { + this.lighting = lighting; + return this; + } + + /** + * Other décor provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public ExistingVenueAmenities withOtherDecor(@Nullable List otherDecor) { + this.otherDecor = otherDecor; + return this; + } + + /** + * Venue ID. + */ + public ExistingVenueAmenities withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The name of the venue. + */ + public ExistingVenueAmenities withName(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExistingVenueAmenities other = (ExistingVenueAmenities) o; + return Utils.enhancedDeepEquals(this.recreationalActivities, other.recreationalActivities) + && Utils.enhancedDeepEquals(this.roomFeatures, other.roomFeatures) + && Utils.enhancedDeepEquals(this.avCapabilities, other.avCapabilities) + && Utils.enhancedDeepEquals(this.businessServices, other.businessServices) + && Utils.enhancedDeepEquals(this.transportation, other.transportation) + && Utils.enhancedDeepEquals(this.equipment, other.equipment) + && Utils.enhancedDeepEquals(this.parking, other.parking) + && Utils.enhancedDeepEquals(this.facilityInfo, other.facilityInfo) + && Utils.enhancedDeepEquals(this.facilitySpaceInfo, other.facilitySpaceInfo) + && Utils.enhancedDeepEquals(this.cateringDetails, other.cateringDetails) + && Utils.enhancedDeepEquals(this.alcohol, other.alcohol) + && Utils.enhancedDeepEquals(this.audioVisual, other.audioVisual) + && Utils.enhancedDeepEquals(this.furniture, other.furniture) + && Utils.enhancedDeepEquals(this.linensAndTableSettings, other.linensAndTableSettings) + && Utils.enhancedDeepEquals(this.lighting, other.lighting) + && Utils.enhancedDeepEquals(this.otherDecor, other.otherDecor) + && Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.name, other.name); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + recreationalActivities, + roomFeatures, + avCapabilities, + businessServices, + transportation, + equipment, + parking, + facilityInfo, + facilitySpaceInfo, + cateringDetails, + alcohol, + audioVisual, + furniture, + linensAndTableSettings, + lighting, + otherDecor, + id, + name); + } + + @Override + public String toString() { + return Utils.toString( + ExistingVenueAmenities.class, + "recreationalActivities", + recreationalActivities, + "roomFeatures", + roomFeatures, + "avCapabilities", + avCapabilities, + "businessServices", + businessServices, + "transportation", + transportation, + "equipment", + equipment, + "parking", + parking, + "facilityInfo", + facilityInfo, + "facilitySpaceInfo", + facilitySpaceInfo, + "cateringDetails", + cateringDetails, + "alcohol", + alcohol, + "audioVisual", + audioVisual, + "furniture", + furniture, + "linensAndTableSettings", + linensAndTableSettings, + "lighting", + lighting, + "otherDecor", + otherDecor, + "id", + id, + "name", + name); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private List recreationalActivities; + + private List roomFeatures; + + private List avCapabilities; + + private List businessServices; + + private List transportation; + + private List equipment; + + private List parking; + + private List facilityInfo; + + private List facilitySpaceInfo; + + private List cateringDetails; + + private List alcohol; + + private List audioVisual; + + private List furniture; + + private List linensAndTableSettings; + + private List lighting; + + private List otherDecor; + + private String id; + + private String name; + + private Builder() { + // force use of static builder() method + } + + /** + * Recreational facilities and leisure activities available at the venue. + * + *

Values: + * - `GOLF_ON_GROUNDS` — Golf on Grounds + * - `HEALTH_CLUB` — Health Club + * - `INDOOR_POOL` — Indoor Pool + * - `OUTDOOR_POOL` — Outdoor Pool + * - `SKIING` — Skiing + * - `SPASALON` — Spa/Salon + * - `TENNIS` — Tennis + * - `WATER_SPORTS` — Water Sports + * - `WHIRLPOOL` — Whirlpool + */ + public Builder recreationalActivities(@Nullable List recreationalActivities) { + this.recreationalActivities = recreationalActivities; + return this; + } + + /** + * In-room features and guest services available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `CONCIERGE_SERVICES` — Concierge Services + * - `FREE_LOCAL_CALLS` — Free Local Calls + * - `FREE_TOLL_FREE_CALLS` — Toll-Free Calls + * - `GARDEN_VIEWS` — Garden Views + * - `INTERNET` — Internet + * - `LAUNDRY` — Laundry + * - `LUGGAGE_STORAGE` — Luggage Storage + * - `MOUNTAIN_VIEWS` — Mountain Views + * - `OCEANWATER_VIEWS` — Ocean/Water Views + * - `ROOM_SERVICE` — Room Service + * - `URBAN_VIEWS` — Urban Views + * - `VOICE_MAIL_BOX` — Voicemail Box + */ + public Builder roomFeatures(@Nullable List roomFeatures) { + this.roomFeatures = roomFeatures; + return this; + } + + /** + * Audio-visual equipment and connectivity available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Each entry selects an AV capability and, where applicable, provides an internet speed. A `speed` + * value may only be supplied when `amenity` is `HIGH_SPEED_INTERNET`. + */ + public Builder avCapabilities(@Nullable List avCapabilities) { + this.avCapabilities = avCapabilities; + return this; + } + + /** + * Business and communications services available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AUDIOVIDEO_CAPABILITIES` — Audio/Video Capabilities + * - `BUSINESS_CENTER` — Business Center + * - `VIDEO_CONFERENCING` — Video Conferencing + * - `VIP_SERVICES` — VIP Services + */ + public Builder businessServices(@Nullable List businessServices) { + this.businessServices = businessServices; + return this; + } + + /** + * Transportation options by which the venue is accessible. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `BUS` — Bus + * - `SHUTTLE` — Shuttle + * - `SUBWAY` — Subway + * - `TAXI` — Taxi + * - `TRAIN` — Train + */ + public Builder transportation(@Nullable List transportation) { + this.transportation = transportation; + return this; + } + + /** + * Physical equipment and staging resources available for event use at the venue. + * + *

Values: + * - `DANCE_FLOORS` — Dance Floors + * - `LOADING_DOCK_AVAILABLE` — Loading Dock + * - `PIANO` — Piano + * - `PORTABLE_HEATERS` — Portable Heaters + * - `PORTABLE_WALLS` — Portable Walls + * - `STAGING` — Staging + */ + public Builder equipment(@Nullable List equipment) { + this.equipment = equipment; + return this; + } + + /** + * Parking options available at or near the venue. Each entry selects a parking type and, where + * applicable, provides the daily rate. A cost may only be supplied for `PAID_PARKING_AVAILABLE` and + * `VALET_PARKING_AVAILABLE`. + */ + public Builder parking(@Nullable List parking) { + this.parking = parking; + return this; + } + + /** + * General facility features and on-site services available at the venue. Applicable only to the + * following venue types: Boutique Hotel, Conference Center, Convention Center, Exposition Center, + * Hotel, Luxury Hotel, and Resort (all values below except `BUSINESS_CENTER` and `INTERNET`); + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational + * Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue + * (only `BUSINESS_CENTER`, `CASINO`, `INTERNET`, `RESTAURANT_ON_SITE`, and `WHEELCHAIR_ACCESSIBLE`). + * + *

Values: + * - `ALL_INCLUSIVE` — All Inclusive + * - `BUSINESS_CENTER` — Business Center + * - `CASINO` — Casino + * - `EXTENDED_STAY` — Extended Stay + * - `FREE_AIRPORT_SHUTTLE` — Free Airport Shuttle + * - `GIFT_SHOP_ON_SITE` — Onsite Gift Shop + * - `INTERNET` — Internet + * - `ONSITE_CATERING` — Onsite Catering + * - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + * - `PETS_WELCOME` — Pet Friendly + * - `RENTAL_CAR_SERVICES` — Rental Car Services + * - `RESTAURANT_ON_SITE` — Onsite Restaurant + * - `SECURITY_STAFF_ONSITE` — Onsite Security + * - `WHEELCHAIR_ACCESSIBLE` — Wheelchair Accessible + */ + public Builder facilityInfo(@Nullable List facilityInfo) { + this.facilityInfo = facilityInfo; + return this; + } + + /** + * Facility space measurements at the venue. Each entry selects a space type and optionally provides + * the available event space area, expressed in the venue's configured unit of measurement. + */ + public Builder facilitySpaceInfo(@Nullable List facilitySpaceInfo) { + this.facilitySpaceInfo = facilitySpaceInfo; + return this; + } + + /** + * Catering options and policies offered at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `KITCHEN_ONSITE` — Kitchen Onsite + * - `ONSITE_CATERING` — Onsite Catering + * - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + */ + public Builder cateringDetails(@Nullable List cateringDetails) { + this.cateringDetails = cateringDetails; + return this; + } + + /** + * Alcohol-related policies at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf + * Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `ALCOHOL_ALLOWED` — Alcohol Allowed + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Builder alcohol(@Nullable List alcohol) { + this.alcohol = alcohol; + return this; + } + + /** + * Audio-visual provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Builder audioVisual(@Nullable List audioVisual) { + this.audioVisual = audioVisual; + return this; + } + + /** + * Furniture provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Builder furniture(@Nullable List furniture) { + this.furniture = furniture; + return this; + } + + /** + * Linens and table settings provision policy at the venue. Applicable only to venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Builder linensAndTableSettings(@Nullable List linensAndTableSettings) { + this.linensAndTableSettings = linensAndTableSettings; + return this; + } + + /** + * Lighting provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf + * Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Builder lighting(@Nullable List lighting) { + this.lighting = lighting; + return this; + } + + /** + * Other décor provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Builder otherDecor(@Nullable List otherDecor) { + this.otherDecor = otherDecor; + return this; + } + + /** + * Venue ID. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * The name of the venue. + */ + public Builder name(@Nonnull String name) { + this.name = Utils.checkNotNull(name, "name"); + return this; + } + + public ExistingVenueAmenities build() { + return new ExistingVenueAmenities( + recreationalActivities, + roomFeatures, + avCapabilities, + businessServices, + transportation, + equipment, + parking, + facilityInfo, + facilitySpaceInfo, + cateringDetails, + alcohol, + audioVisual, + furniture, + linensAndTableSettings, + lighting, + otherDecor, + id, + name); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/ExistingVenueAmenitiesInput.java b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueAmenitiesInput.java new file mode 100644 index 000000000..970de7d33 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/ExistingVenueAmenitiesInput.java @@ -0,0 +1,1217 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; + +/** + * ExistingVenueAmenitiesInput + * + *

The current amenity selections for a venue, including identifying properties. + */ +public class ExistingVenueAmenitiesInput { + /** + * Recreational facilities and leisure activities available at the venue. + * + *

Values: + * - `GOLF_ON_GROUNDS` — Golf on Grounds + * - `HEALTH_CLUB` — Health Club + * - `INDOOR_POOL` — Indoor Pool + * - `OUTDOOR_POOL` — Outdoor Pool + * - `SKIING` — Skiing + * - `SPASALON` — Spa/Salon + * - `TENNIS` — Tennis + * - `WATER_SPORTS` — Water Sports + * - `WHIRLPOOL` — Whirlpool + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("recreationalActivities") + private List recreationalActivities; + + /** + * In-room features and guest services available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `CONCIERGE_SERVICES` — Concierge Services + * - `FREE_LOCAL_CALLS` — Free Local Calls + * - `FREE_TOLL_FREE_CALLS` — Toll-Free Calls + * - `GARDEN_VIEWS` — Garden Views + * - `INTERNET` — Internet + * - `LAUNDRY` — Laundry + * - `LUGGAGE_STORAGE` — Luggage Storage + * - `MOUNTAIN_VIEWS` — Mountain Views + * - `OCEANWATER_VIEWS` — Ocean/Water Views + * - `ROOM_SERVICE` — Room Service + * - `URBAN_VIEWS` — Urban Views + * - `VOICE_MAIL_BOX` — Voicemail Box + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("roomFeatures") + private List roomFeatures; + + /** + * Audio-visual equipment and connectivity available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Each entry selects an AV capability and, where applicable, provides an internet speed. A `speed` + * value may only be supplied when `amenity` is `HIGH_SPEED_INTERNET`. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("avCapabilities") + private List avCapabilities; + + /** + * Business and communications services available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AUDIOVIDEO_CAPABILITIES` — Audio/Video Capabilities + * - `BUSINESS_CENTER` — Business Center + * - `VIDEO_CONFERENCING` — Video Conferencing + * - `VIP_SERVICES` — VIP Services + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("businessServices") + private List businessServices; + + /** + * Transportation options by which the venue is accessible. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `BUS` — Bus + * - `SHUTTLE` — Shuttle + * - `SUBWAY` — Subway + * - `TAXI` — Taxi + * - `TRAIN` — Train + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("transportation") + private List transportation; + + /** + * Physical equipment and staging resources available for event use at the venue. + * + *

Values: + * - `DANCE_FLOORS` — Dance Floors + * - `LOADING_DOCK_AVAILABLE` — Loading Dock + * - `PIANO` — Piano + * - `PORTABLE_HEATERS` — Portable Heaters + * - `PORTABLE_WALLS` — Portable Walls + * - `STAGING` — Staging + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("equipment") + private List equipment; + + /** + * Parking options available at or near the venue. Each entry selects a parking type and, where + * applicable, provides the daily rate. A cost may only be supplied for `PAID_PARKING_AVAILABLE` and + * `VALET_PARKING_AVAILABLE`. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("parking") + private List parking; + + /** + * General facility features and on-site services available at the venue. Applicable only to the + * following venue types: Boutique Hotel, Conference Center, Convention Center, Exposition Center, + * Hotel, Luxury Hotel, and Resort (all values below except `BUSINESS_CENTER` and `INTERNET`); + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational + * Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue + * (only `BUSINESS_CENTER`, `CASINO`, `INTERNET`, `RESTAURANT_ON_SITE`, and `WHEELCHAIR_ACCESSIBLE`). + * + *

Values: + * - `ALL_INCLUSIVE` — All Inclusive + * - `BUSINESS_CENTER` — Business Center + * - `CASINO` — Casino + * - `EXTENDED_STAY` — Extended Stay + * - `FREE_AIRPORT_SHUTTLE` — Free Airport Shuttle + * - `GIFT_SHOP_ON_SITE` — Onsite Gift Shop + * - `INTERNET` — Internet + * - `ONSITE_CATERING` — Onsite Catering + * - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + * - `PETS_WELCOME` — Pet Friendly + * - `RENTAL_CAR_SERVICES` — Rental Car Services + * - `RESTAURANT_ON_SITE` — Onsite Restaurant + * - `SECURITY_STAFF_ONSITE` — Onsite Security + * - `WHEELCHAIR_ACCESSIBLE` — Wheelchair Accessible + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("facilityInfo") + private List facilityInfo; + + /** + * Facility space measurements at the venue. Each entry selects a space type and optionally provides + * the available event space area, expressed in the venue's configured unit of measurement. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("facilitySpaceInfo") + private List facilitySpaceInfo; + + /** + * Catering options and policies offered at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `KITCHEN_ONSITE` — Kitchen Onsite + * - `ONSITE_CATERING` — Onsite Catering + * - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("cateringDetails") + private List cateringDetails; + + /** + * Alcohol-related policies at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf + * Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `ALCOHOL_ALLOWED` — Alcohol Allowed + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("alcohol") + private List alcohol; + + /** + * Audio-visual provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("audioVisual") + private List audioVisual; + + /** + * Furniture provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("furniture") + private List furniture; + + /** + * Linens and table settings provision policy at the venue. Applicable only to venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("linensAndTableSettings") + private List linensAndTableSettings; + + /** + * Lighting provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf + * Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lighting") + private List lighting; + + /** + * Other décor provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("otherDecor") + private List otherDecor; + + @JsonCreator + public ExistingVenueAmenitiesInput( + @JsonProperty("recreationalActivities") @Nullable + List recreationalActivities, + @JsonProperty("roomFeatures") @Nullable List roomFeatures, + @JsonProperty("avCapabilities") @Nullable List avCapabilities, + @JsonProperty("businessServices") @Nullable List businessServices, + @JsonProperty("transportation") @Nullable List transportation, + @JsonProperty("equipment") @Nullable List equipment, + @JsonProperty("parking") @Nullable List parking, + @JsonProperty("facilityInfo") @Nullable List facilityInfo, + @JsonProperty("facilitySpaceInfo") @Nullable List facilitySpaceInfo, + @JsonProperty("cateringDetails") @Nullable List cateringDetails, + @JsonProperty("alcohol") @Nullable List alcohol, + @JsonProperty("audioVisual") @Nullable List audioVisual, + @JsonProperty("furniture") @Nullable List furniture, + @JsonProperty("linensAndTableSettings") @Nullable List linensAndTableSettings, + @JsonProperty("lighting") @Nullable List lighting, + @JsonProperty("otherDecor") @Nullable List otherDecor) { + this.recreationalActivities = recreationalActivities; + this.roomFeatures = roomFeatures; + this.avCapabilities = avCapabilities; + this.businessServices = businessServices; + this.transportation = transportation; + this.equipment = equipment; + this.parking = parking; + this.facilityInfo = facilityInfo; + this.facilitySpaceInfo = facilitySpaceInfo; + this.cateringDetails = cateringDetails; + this.alcohol = alcohol; + this.audioVisual = audioVisual; + this.furniture = furniture; + this.linensAndTableSettings = linensAndTableSettings; + this.lighting = lighting; + this.otherDecor = otherDecor; + } + + public ExistingVenueAmenitiesInput() { + this(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); + } + + /** + * Recreational facilities and leisure activities available at the venue. + * + *

Values: + * - `GOLF_ON_GROUNDS` — Golf on Grounds + * - `HEALTH_CLUB` — Health Club + * - `INDOOR_POOL` — Indoor Pool + * - `OUTDOOR_POOL` — Outdoor Pool + * - `SKIING` — Skiing + * - `SPASALON` — Spa/Salon + * - `TENNIS` — Tennis + * - `WATER_SPORTS` — Water Sports + * - `WHIRLPOOL` — Whirlpool + */ + public Optional> recreationalActivities() { + return Optional.ofNullable(this.recreationalActivities); + } + + /** + * In-room features and guest services available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `CONCIERGE_SERVICES` — Concierge Services + * - `FREE_LOCAL_CALLS` — Free Local Calls + * - `FREE_TOLL_FREE_CALLS` — Toll-Free Calls + * - `GARDEN_VIEWS` — Garden Views + * - `INTERNET` — Internet + * - `LAUNDRY` — Laundry + * - `LUGGAGE_STORAGE` — Luggage Storage + * - `MOUNTAIN_VIEWS` — Mountain Views + * - `OCEANWATER_VIEWS` — Ocean/Water Views + * - `ROOM_SERVICE` — Room Service + * - `URBAN_VIEWS` — Urban Views + * - `VOICE_MAIL_BOX` — Voicemail Box + */ + public Optional> roomFeatures() { + return Optional.ofNullable(this.roomFeatures); + } + + /** + * Audio-visual equipment and connectivity available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Each entry selects an AV capability and, where applicable, provides an internet speed. A `speed` + * value may only be supplied when `amenity` is `HIGH_SPEED_INTERNET`. + */ + public Optional> avCapabilities() { + return Optional.ofNullable(this.avCapabilities); + } + + /** + * Business and communications services available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AUDIOVIDEO_CAPABILITIES` — Audio/Video Capabilities + * - `BUSINESS_CENTER` — Business Center + * - `VIDEO_CONFERENCING` — Video Conferencing + * - `VIP_SERVICES` — VIP Services + */ + public Optional> businessServices() { + return Optional.ofNullable(this.businessServices); + } + + /** + * Transportation options by which the venue is accessible. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `BUS` — Bus + * - `SHUTTLE` — Shuttle + * - `SUBWAY` — Subway + * - `TAXI` — Taxi + * - `TRAIN` — Train + */ + public Optional> transportation() { + return Optional.ofNullable(this.transportation); + } + + /** + * Physical equipment and staging resources available for event use at the venue. + * + *

Values: + * - `DANCE_FLOORS` — Dance Floors + * - `LOADING_DOCK_AVAILABLE` — Loading Dock + * - `PIANO` — Piano + * - `PORTABLE_HEATERS` — Portable Heaters + * - `PORTABLE_WALLS` — Portable Walls + * - `STAGING` — Staging + */ + public Optional> equipment() { + return Optional.ofNullable(this.equipment); + } + + /** + * Parking options available at or near the venue. Each entry selects a parking type and, where + * applicable, provides the daily rate. A cost may only be supplied for `PAID_PARKING_AVAILABLE` and + * `VALET_PARKING_AVAILABLE`. + */ + public Optional> parking() { + return Optional.ofNullable(this.parking); + } + + /** + * General facility features and on-site services available at the venue. Applicable only to the + * following venue types: Boutique Hotel, Conference Center, Convention Center, Exposition Center, + * Hotel, Luxury Hotel, and Resort (all values below except `BUSINESS_CENTER` and `INTERNET`); + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational + * Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue + * (only `BUSINESS_CENTER`, `CASINO`, `INTERNET`, `RESTAURANT_ON_SITE`, and `WHEELCHAIR_ACCESSIBLE`). + * + *

Values: + * - `ALL_INCLUSIVE` — All Inclusive + * - `BUSINESS_CENTER` — Business Center + * - `CASINO` — Casino + * - `EXTENDED_STAY` — Extended Stay + * - `FREE_AIRPORT_SHUTTLE` — Free Airport Shuttle + * - `GIFT_SHOP_ON_SITE` — Onsite Gift Shop + * - `INTERNET` — Internet + * - `ONSITE_CATERING` — Onsite Catering + * - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + * - `PETS_WELCOME` — Pet Friendly + * - `RENTAL_CAR_SERVICES` — Rental Car Services + * - `RESTAURANT_ON_SITE` — Onsite Restaurant + * - `SECURITY_STAFF_ONSITE` — Onsite Security + * - `WHEELCHAIR_ACCESSIBLE` — Wheelchair Accessible + */ + public Optional> facilityInfo() { + return Optional.ofNullable(this.facilityInfo); + } + + /** + * Facility space measurements at the venue. Each entry selects a space type and optionally provides + * the available event space area, expressed in the venue's configured unit of measurement. + */ + public Optional> facilitySpaceInfo() { + return Optional.ofNullable(this.facilitySpaceInfo); + } + + /** + * Catering options and policies offered at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `KITCHEN_ONSITE` — Kitchen Onsite + * - `ONSITE_CATERING` — Onsite Catering + * - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + */ + public Optional> cateringDetails() { + return Optional.ofNullable(this.cateringDetails); + } + + /** + * Alcohol-related policies at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf + * Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `ALCOHOL_ALLOWED` — Alcohol Allowed + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Optional> alcohol() { + return Optional.ofNullable(this.alcohol); + } + + /** + * Audio-visual provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Optional> audioVisual() { + return Optional.ofNullable(this.audioVisual); + } + + /** + * Furniture provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Optional> furniture() { + return Optional.ofNullable(this.furniture); + } + + /** + * Linens and table settings provision policy at the venue. Applicable only to venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Optional> linensAndTableSettings() { + return Optional.ofNullable(this.linensAndTableSettings); + } + + /** + * Lighting provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf + * Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Optional> lighting() { + return Optional.ofNullable(this.lighting); + } + + /** + * Other décor provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Optional> otherDecor() { + return Optional.ofNullable(this.otherDecor); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Recreational facilities and leisure activities available at the venue. + * + *

Values: + * - `GOLF_ON_GROUNDS` — Golf on Grounds + * - `HEALTH_CLUB` — Health Club + * - `INDOOR_POOL` — Indoor Pool + * - `OUTDOOR_POOL` — Outdoor Pool + * - `SKIING` — Skiing + * - `SPASALON` — Spa/Salon + * - `TENNIS` — Tennis + * - `WATER_SPORTS` — Water Sports + * - `WHIRLPOOL` — Whirlpool + */ + public ExistingVenueAmenitiesInput withRecreationalActivities( + @Nullable List recreationalActivities) { + this.recreationalActivities = recreationalActivities; + return this; + } + + /** + * In-room features and guest services available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `CONCIERGE_SERVICES` — Concierge Services + * - `FREE_LOCAL_CALLS` — Free Local Calls + * - `FREE_TOLL_FREE_CALLS` — Toll-Free Calls + * - `GARDEN_VIEWS` — Garden Views + * - `INTERNET` — Internet + * - `LAUNDRY` — Laundry + * - `LUGGAGE_STORAGE` — Luggage Storage + * - `MOUNTAIN_VIEWS` — Mountain Views + * - `OCEANWATER_VIEWS` — Ocean/Water Views + * - `ROOM_SERVICE` — Room Service + * - `URBAN_VIEWS` — Urban Views + * - `VOICE_MAIL_BOX` — Voicemail Box + */ + public ExistingVenueAmenitiesInput withRoomFeatures(@Nullable List roomFeatures) { + this.roomFeatures = roomFeatures; + return this; + } + + /** + * Audio-visual equipment and connectivity available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Each entry selects an AV capability and, where applicable, provides an internet speed. A `speed` + * value may only be supplied when `amenity` is `HIGH_SPEED_INTERNET`. + */ + public ExistingVenueAmenitiesInput withAvCapabilities(@Nullable List avCapabilities) { + this.avCapabilities = avCapabilities; + return this; + } + + /** + * Business and communications services available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AUDIOVIDEO_CAPABILITIES` — Audio/Video Capabilities + * - `BUSINESS_CENTER` — Business Center + * - `VIDEO_CONFERENCING` — Video Conferencing + * - `VIP_SERVICES` — VIP Services + */ + public ExistingVenueAmenitiesInput withBusinessServices( + @Nullable List businessServices) { + this.businessServices = businessServices; + return this; + } + + /** + * Transportation options by which the venue is accessible. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `BUS` — Bus + * - `SHUTTLE` — Shuttle + * - `SUBWAY` — Subway + * - `TAXI` — Taxi + * - `TRAIN` — Train + */ + public ExistingVenueAmenitiesInput withTransportation(@Nullable List transportation) { + this.transportation = transportation; + return this; + } + + /** + * Physical equipment and staging resources available for event use at the venue. + * + *

Values: + * - `DANCE_FLOORS` — Dance Floors + * - `LOADING_DOCK_AVAILABLE` — Loading Dock + * - `PIANO` — Piano + * - `PORTABLE_HEATERS` — Portable Heaters + * - `PORTABLE_WALLS` — Portable Walls + * - `STAGING` — Staging + */ + public ExistingVenueAmenitiesInput withEquipment(@Nullable List equipment) { + this.equipment = equipment; + return this; + } + + /** + * Parking options available at or near the venue. Each entry selects a parking type and, where + * applicable, provides the daily rate. A cost may only be supplied for `PAID_PARKING_AVAILABLE` and + * `VALET_PARKING_AVAILABLE`. + */ + public ExistingVenueAmenitiesInput withParking(@Nullable List parking) { + this.parking = parking; + return this; + } + + /** + * General facility features and on-site services available at the venue. Applicable only to the + * following venue types: Boutique Hotel, Conference Center, Convention Center, Exposition Center, + * Hotel, Luxury Hotel, and Resort (all values below except `BUSINESS_CENTER` and `INTERNET`); + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational + * Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue + * (only `BUSINESS_CENTER`, `CASINO`, `INTERNET`, `RESTAURANT_ON_SITE`, and `WHEELCHAIR_ACCESSIBLE`). + * + *

Values: + * - `ALL_INCLUSIVE` — All Inclusive + * - `BUSINESS_CENTER` — Business Center + * - `CASINO` — Casino + * - `EXTENDED_STAY` — Extended Stay + * - `FREE_AIRPORT_SHUTTLE` — Free Airport Shuttle + * - `GIFT_SHOP_ON_SITE` — Onsite Gift Shop + * - `INTERNET` — Internet + * - `ONSITE_CATERING` — Onsite Catering + * - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + * - `PETS_WELCOME` — Pet Friendly + * - `RENTAL_CAR_SERVICES` — Rental Car Services + * - `RESTAURANT_ON_SITE` — Onsite Restaurant + * - `SECURITY_STAFF_ONSITE` — Onsite Security + * - `WHEELCHAIR_ACCESSIBLE` — Wheelchair Accessible + */ + public ExistingVenueAmenitiesInput withFacilityInfo(@Nullable List facilityInfo) { + this.facilityInfo = facilityInfo; + return this; + } + + /** + * Facility space measurements at the venue. Each entry selects a space type and optionally provides + * the available event space area, expressed in the venue's configured unit of measurement. + */ + public ExistingVenueAmenitiesInput withFacilitySpaceInfo( + @Nullable List facilitySpaceInfo) { + this.facilitySpaceInfo = facilitySpaceInfo; + return this; + } + + /** + * Catering options and policies offered at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `KITCHEN_ONSITE` — Kitchen Onsite + * - `ONSITE_CATERING` — Onsite Catering + * - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + */ + public ExistingVenueAmenitiesInput withCateringDetails(@Nullable List cateringDetails) { + this.cateringDetails = cateringDetails; + return this; + } + + /** + * Alcohol-related policies at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf + * Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `ALCOHOL_ALLOWED` — Alcohol Allowed + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public ExistingVenueAmenitiesInput withAlcohol(@Nullable List alcohol) { + this.alcohol = alcohol; + return this; + } + + /** + * Audio-visual provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public ExistingVenueAmenitiesInput withAudioVisual(@Nullable List audioVisual) { + this.audioVisual = audioVisual; + return this; + } + + /** + * Furniture provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public ExistingVenueAmenitiesInput withFurniture(@Nullable List furniture) { + this.furniture = furniture; + return this; + } + + /** + * Linens and table settings provision policy at the venue. Applicable only to venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public ExistingVenueAmenitiesInput withLinensAndTableSettings( + @Nullable List linensAndTableSettings) { + this.linensAndTableSettings = linensAndTableSettings; + return this; + } + + /** + * Lighting provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf + * Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public ExistingVenueAmenitiesInput withLighting(@Nullable List lighting) { + this.lighting = lighting; + return this; + } + + /** + * Other décor provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public ExistingVenueAmenitiesInput withOtherDecor(@Nullable List otherDecor) { + this.otherDecor = otherDecor; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExistingVenueAmenitiesInput other = (ExistingVenueAmenitiesInput) o; + return Utils.enhancedDeepEquals(this.recreationalActivities, other.recreationalActivities) + && Utils.enhancedDeepEquals(this.roomFeatures, other.roomFeatures) + && Utils.enhancedDeepEquals(this.avCapabilities, other.avCapabilities) + && Utils.enhancedDeepEquals(this.businessServices, other.businessServices) + && Utils.enhancedDeepEquals(this.transportation, other.transportation) + && Utils.enhancedDeepEquals(this.equipment, other.equipment) + && Utils.enhancedDeepEquals(this.parking, other.parking) + && Utils.enhancedDeepEquals(this.facilityInfo, other.facilityInfo) + && Utils.enhancedDeepEquals(this.facilitySpaceInfo, other.facilitySpaceInfo) + && Utils.enhancedDeepEquals(this.cateringDetails, other.cateringDetails) + && Utils.enhancedDeepEquals(this.alcohol, other.alcohol) + && Utils.enhancedDeepEquals(this.audioVisual, other.audioVisual) + && Utils.enhancedDeepEquals(this.furniture, other.furniture) + && Utils.enhancedDeepEquals(this.linensAndTableSettings, other.linensAndTableSettings) + && Utils.enhancedDeepEquals(this.lighting, other.lighting) + && Utils.enhancedDeepEquals(this.otherDecor, other.otherDecor); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + recreationalActivities, + roomFeatures, + avCapabilities, + businessServices, + transportation, + equipment, + parking, + facilityInfo, + facilitySpaceInfo, + cateringDetails, + alcohol, + audioVisual, + furniture, + linensAndTableSettings, + lighting, + otherDecor); + } + + @Override + public String toString() { + return Utils.toString( + ExistingVenueAmenitiesInput.class, + "recreationalActivities", + recreationalActivities, + "roomFeatures", + roomFeatures, + "avCapabilities", + avCapabilities, + "businessServices", + businessServices, + "transportation", + transportation, + "equipment", + equipment, + "parking", + parking, + "facilityInfo", + facilityInfo, + "facilitySpaceInfo", + facilitySpaceInfo, + "cateringDetails", + cateringDetails, + "alcohol", + alcohol, + "audioVisual", + audioVisual, + "furniture", + furniture, + "linensAndTableSettings", + linensAndTableSettings, + "lighting", + lighting, + "otherDecor", + otherDecor); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private List recreationalActivities; + + private List roomFeatures; + + private List avCapabilities; + + private List businessServices; + + private List transportation; + + private List equipment; + + private List parking; + + private List facilityInfo; + + private List facilitySpaceInfo; + + private List cateringDetails; + + private List alcohol; + + private List audioVisual; + + private List furniture; + + private List linensAndTableSettings; + + private List lighting; + + private List otherDecor; + + private Builder() { + // force use of static builder() method + } + + /** + * Recreational facilities and leisure activities available at the venue. + * + *

Values: + * - `GOLF_ON_GROUNDS` — Golf on Grounds + * - `HEALTH_CLUB` — Health Club + * - `INDOOR_POOL` — Indoor Pool + * - `OUTDOOR_POOL` — Outdoor Pool + * - `SKIING` — Skiing + * - `SPASALON` — Spa/Salon + * - `TENNIS` — Tennis + * - `WATER_SPORTS` — Water Sports + * - `WHIRLPOOL` — Whirlpool + */ + public Builder recreationalActivities(@Nullable List recreationalActivities) { + this.recreationalActivities = recreationalActivities; + return this; + } + + /** + * In-room features and guest services available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `CONCIERGE_SERVICES` — Concierge Services + * - `FREE_LOCAL_CALLS` — Free Local Calls + * - `FREE_TOLL_FREE_CALLS` — Toll-Free Calls + * - `GARDEN_VIEWS` — Garden Views + * - `INTERNET` — Internet + * - `LAUNDRY` — Laundry + * - `LUGGAGE_STORAGE` — Luggage Storage + * - `MOUNTAIN_VIEWS` — Mountain Views + * - `OCEANWATER_VIEWS` — Ocean/Water Views + * - `ROOM_SERVICE` — Room Service + * - `URBAN_VIEWS` — Urban Views + * - `VOICE_MAIL_BOX` — Voicemail Box + */ + public Builder roomFeatures(@Nullable List roomFeatures) { + this.roomFeatures = roomFeatures; + return this; + } + + /** + * Audio-visual equipment and connectivity available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Each entry selects an AV capability and, where applicable, provides an internet speed. A `speed` + * value may only be supplied when `amenity` is `HIGH_SPEED_INTERNET`. + */ + public Builder avCapabilities(@Nullable List avCapabilities) { + this.avCapabilities = avCapabilities; + return this; + } + + /** + * Business and communications services available at the venue. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AUDIOVIDEO_CAPABILITIES` — Audio/Video Capabilities + * - `BUSINESS_CENTER` — Business Center + * - `VIDEO_CONFERENCING` — Video Conferencing + * - `VIP_SERVICES` — VIP Services + */ + public Builder businessServices(@Nullable List businessServices) { + this.businessServices = businessServices; + return this; + } + + /** + * Transportation options by which the venue is accessible. Not applicable for venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `BUS` — Bus + * - `SHUTTLE` — Shuttle + * - `SUBWAY` — Subway + * - `TAXI` — Taxi + * - `TRAIN` — Train + */ + public Builder transportation(@Nullable List transportation) { + this.transportation = transportation; + return this; + } + + /** + * Physical equipment and staging resources available for event use at the venue. + * + *

Values: + * - `DANCE_FLOORS` — Dance Floors + * - `LOADING_DOCK_AVAILABLE` — Loading Dock + * - `PIANO` — Piano + * - `PORTABLE_HEATERS` — Portable Heaters + * - `PORTABLE_WALLS` — Portable Walls + * - `STAGING` — Staging + */ + public Builder equipment(@Nullable List equipment) { + this.equipment = equipment; + return this; + } + + /** + * Parking options available at or near the venue. Each entry selects a parking type and, where + * applicable, provides the daily rate. A cost may only be supplied for `PAID_PARKING_AVAILABLE` and + * `VALET_PARKING_AVAILABLE`. + */ + public Builder parking(@Nullable List parking) { + this.parking = parking; + return this; + } + + /** + * General facility features and on-site services available at the venue. Applicable only to the + * following venue types: Boutique Hotel, Conference Center, Convention Center, Exposition Center, + * Hotel, Luxury Hotel, and Resort (all values below except `BUSINESS_CENTER` and `INTERNET`); + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational + * Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue + * (only `BUSINESS_CENTER`, `CASINO`, `INTERNET`, `RESTAURANT_ON_SITE`, and `WHEELCHAIR_ACCESSIBLE`). + * + *

Values: + * - `ALL_INCLUSIVE` — All Inclusive + * - `BUSINESS_CENTER` — Business Center + * - `CASINO` — Casino + * - `EXTENDED_STAY` — Extended Stay + * - `FREE_AIRPORT_SHUTTLE` — Free Airport Shuttle + * - `GIFT_SHOP_ON_SITE` — Onsite Gift Shop + * - `INTERNET` — Internet + * - `ONSITE_CATERING` — Onsite Catering + * - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + * - `PETS_WELCOME` — Pet Friendly + * - `RENTAL_CAR_SERVICES` — Rental Car Services + * - `RESTAURANT_ON_SITE` — Onsite Restaurant + * - `SECURITY_STAFF_ONSITE` — Onsite Security + * - `WHEELCHAIR_ACCESSIBLE` — Wheelchair Accessible + */ + public Builder facilityInfo(@Nullable List facilityInfo) { + this.facilityInfo = facilityInfo; + return this; + } + + /** + * Facility space measurements at the venue. Each entry selects a space type and optionally provides + * the available event space area, expressed in the venue's configured unit of measurement. + */ + public Builder facilitySpaceInfo(@Nullable List facilitySpaceInfo) { + this.facilitySpaceInfo = facilitySpaceInfo; + return this; + } + + /** + * Catering options and policies offered at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `KITCHEN_ONSITE` — Kitchen Onsite + * - `ONSITE_CATERING` — Onsite Catering + * - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + */ + public Builder cateringDetails(@Nullable List cateringDetails) { + this.cateringDetails = cateringDetails; + return this; + } + + /** + * Alcohol-related policies at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf + * Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `ALCOHOL_ALLOWED` — Alcohol Allowed + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Builder alcohol(@Nullable List alcohol) { + this.alcohol = alcohol; + return this; + } + + /** + * Audio-visual provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Builder audioVisual(@Nullable List audioVisual) { + this.audioVisual = audioVisual; + return this; + } + + /** + * Furniture provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Builder furniture(@Nullable List furniture) { + this.furniture = furniture; + return this; + } + + /** + * Linens and table settings provision policy at the venue. Applicable only to venue types: + * Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment + * Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Builder linensAndTableSettings(@Nullable List linensAndTableSettings) { + this.linensAndTableSettings = linensAndTableSettings; + return this; + } + + /** + * Lighting provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, + * Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf + * Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Builder lighting(@Nullable List lighting) { + this.lighting = lighting; + return this; + } + + /** + * Other décor provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, + * Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, + * Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + *

Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + public Builder otherDecor(@Nullable List otherDecor) { + this.otherDecor = otherDecor; + return this; + } + + public ExistingVenueAmenitiesInput build() { + return new ExistingVenueAmenitiesInput( + recreationalActivities, + roomFeatures, + avCapabilities, + businessServices, + transportation, + equipment, + parking, + facilityInfo, + facilitySpaceInfo, + cateringDetails, + alcohol, + audioVisual, + furniture, + linensAndTableSettings, + lighting, + otherDecor); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/GuestRoomOccupancyPerRoomType.java b/packages/java/src/main/java/com/cvent/models/components/GuestRoomOccupancyPerRoomType.java index 3bf174921..ca21a684f 100644 --- a/packages/java/src/main/java/com/cvent/models/components/GuestRoomOccupancyPerRoomType.java +++ b/packages/java/src/main/java/com/cvent/models/components/GuestRoomOccupancyPerRoomType.java @@ -8,6 +8,7 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; import jakarta.annotation.Nullable; import java.lang.Override; import java.lang.String; @@ -33,20 +34,19 @@ public class GuestRoomOccupancyPerRoomType { * *

`DOUBLE`: Room with two beds. `SUITE`: Room is an entire suite. `STAFF`: Room is for staff. */ - @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") private GuestRoomType type; @JsonCreator public GuestRoomOccupancyPerRoomType( @JsonProperty("occupancy") @Nullable GuestRoomOccupancy occupancy, - @JsonProperty("type") @Nullable GuestRoomType type) { + @JsonProperty("type") @Nonnull GuestRoomType type) { this.occupancy = occupancy; - this.type = type; + this.type = Optional.ofNullable(type).orElseThrow(() -> new IllegalArgumentException("type cannot be null")); } - public GuestRoomOccupancyPerRoomType() { - this(null, null); + public GuestRoomOccupancyPerRoomType(@Nonnull GuestRoomType type) { + this(null, type); } /** @@ -63,8 +63,8 @@ public Optional occupancy() { * *

`DOUBLE`: Room with two beds. `SUITE`: Room is an entire suite. `STAFF`: Room is for staff. */ - public Optional type() { - return Optional.ofNullable(this.type); + public GuestRoomType type() { + return this.type; } public static Builder builder() { @@ -86,8 +86,8 @@ public GuestRoomOccupancyPerRoomType withOccupancy(@Nullable GuestRoomOccupancy * *

`DOUBLE`: Room with two beds. `SUITE`: Room is an entire suite. `STAFF`: Room is for staff. */ - public GuestRoomOccupancyPerRoomType withType(@Nullable GuestRoomType type) { - this.type = type; + public GuestRoomOccupancyPerRoomType withType(@Nonnull GuestRoomType type) { + this.type = Utils.checkNotNull(type, "type"); return this; } @@ -139,8 +139,8 @@ public Builder occupancy(@Nullable GuestRoomOccupancy occupancy) { * *

`DOUBLE`: Room with two beds. `SUITE`: Room is an entire suite. `STAFF`: Room is for staff. */ - public Builder type(@Nullable GuestRoomType type) { - this.type = type; + public Builder type(@Nonnull GuestRoomType type) { + this.type = Utils.checkNotNull(type, "type"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadCatcher.java b/packages/java/src/main/java/com/cvent/models/components/LeadCatcher.java new file mode 100644 index 000000000..347683ada --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/LeadCatcher.java @@ -0,0 +1,785 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.LazySingletonValue; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * LeadCatcher + * + *

A contact attached to a venue offering who receives email notifications when RFPs are submitted to + * that venue. + */ +public class LeadCatcher { + /** + * First name of the lead catcher contact. + */ + @JsonProperty("firstName") + private String firstName; + + /** + * Last name of the lead catcher contact. + */ + @JsonProperty("lastName") + private String lastName; + + /** + * Job title of the lead catcher contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("title") + private String title; + + /** + * Email address of the lead catcher contact. RFP notifications are sent to this address. + */ + @JsonProperty("email") + private String email; + + /** + * Phone number of the lead catcher contact. + */ + @JsonProperty("phone") + private String phone; + + /** + * Fax number of the lead catcher contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("fax") + private String fax; + + /** + * Address information for a lead catcher contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address") + private LeadCatcherAddress address; + + /** + * Language locale of a Lead Catcher contact. + * + *

Values: + * - `zh-CHS` — Chinese (Simplified) Legacy + * - `zh-TW` — Chinese (Traditional, Taiwan) + * - `de-DE` — German (Germany) + * - `en-US` — English (United States) + * - `fi-FI` — Finnish (Finland) + * - `fr-FR` — French (France) + * - `it-IT` — Italian (Italy) + * - `ja-JP` — Japanese (Japan) + * - `ko-KR` — Korean (Korea) + * - `nl-NL` — Dutch (Netherlands) + * - `pt-BR` — Portuguese (Brazil) + * - `ru-RU` — Russian (Russia) + * - `sv-SE` — Swedish (Sweden) + * - `th-TH` — Thai (Thailand) + * - `tr-TR` — Turkish (Turkey) + * - `uk-UA` — Ukrainian (Ukraine) + * - `zh-CN` — Chinese (Simplified, China) + * - `de-CH` — German (Switzerland) + * - `en-GB` — English (United Kingdom) + * - `es-MX` — Spanish (Mexico) + * - `fr-BE` — French (Belgium) + * - `it-CH` — Italian (Switzerland) + * - `nl-BE` — Dutch (Belgium) + * - `pt-PT` — Portuguese (Portugal) + * - `ru-MD` — Russian (Moldova) + * - `sv-FI` — Swedish (Finland) + * - `zh-HK` — Chinese (Traditional, Hong Kong SAR) + * - `de-AT` — German (Austria) + * - `en-AU` — English (Australia) + * - `es-ES` — Spanish (Spain, International Sort) + * - `fr-CA` — French (Canada) + * - `zh-SG` — Chinese (Simplified, Singapore) + * - `de-LU` — German (Luxembourg) + * - `en-CA` — English (Canada) + * - `es-GT` — Spanish (Guatemala) + * - `fr-CH` — French (Switzerland) + * - `zh-MO` — Chinese (Traditional, Macao SAR) + * - `de-LI` — German (Liechtenstein) + * - `en-NZ` — English (New Zealand) + * - `es-CR` — Spanish (Costa Rica) + * - `fr-LU` — French (Luxembourg) + * - `en-IE` — English (Ireland) + * - `es-PA` — Spanish (Panama) + * - `fr-MC` — French (Monaco) + * - `en-ZA` — English (South Africa) + * - `es-DO` — Spanish (Dominican Republic) + * - `fr-029` — French (Caribbean) + * - `en-JM` — English (Jamaica) + * - `es-VE` — Spanish (Venezuela) + * - `fr-RE` — French (Réunion) + * - `en-029` — English (Caribbean) + * - `es-CO` — Spanish (Colombia) + * - `fr-CD` — French Congo (DRC) + * - `en-BZ` — English (Belize) + * - `es-PE` — Spanish (Peru) + * - `fr-SN` — French (Senegal) + * - `en-TT` — English (Trinidad and Tobago) + * - `es-AR` — Spanish (Argentina) + * - `fr-CM` — French (Cameroon) + * - `en-ZW` — English (Zimbabwe) + * - `es-EC` — Spanish (Ecuador) + * - `fr-CI` — French (Côte d'Ivoire) + * - `en-PH` — English (Philippines) + * - `es-CL` — Spanish (Chile) + * - `fr-ML` — French (Mali) + * - `en-ID` — English (Indonesia) + * - `es-UY` — Spanish (Uruguay) + * - `fr-MA` — French (Morocco) + * - `en-HK` — English (Hong Kong SAR) + * - `es-PY` — Spanish (Paraguay) + * - `fr-HT` — French (Haiti) + * - `en-IN` — English (India) + * - `es-BO` — Spanish (Bolivia) + * - `en-MY` — English (Malaysia) + * - `es-SV` — Spanish (El Salvador) + * - `en-SG` — English (Singapore) + * - `es-HN` — Spanish (Honduras) + * - `es-NI` — Spanish (Nicaragua) + * - `es-PR` — Spanish (Puerto Rico) + * - `es-US` — Spanish (United States) + * - `es-419` — Spanish (Latin America) + * - `es-CU` — Spanish (Cuba) + * - `zh-CHT` — Chinese (Traditional) Legacy + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("locale") + private LocaleLanguageVariant locale; + + /** + * Notification and role configuration for a lead catcher contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("config") + private LeadCatcherConfig config; + + /** + * Additional information about the lead catcher contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("additionalInfo") + private String additionalInfo; + + @JsonCreator + public LeadCatcher( + @JsonProperty("firstName") @Nonnull String firstName, + @JsonProperty("lastName") @Nonnull String lastName, + @JsonProperty("title") @Nullable String title, + @JsonProperty("email") @Nonnull String email, + @JsonProperty("phone") @Nonnull String phone, + @JsonProperty("fax") @Nullable String fax, + @JsonProperty("address") @Nullable LeadCatcherAddress address, + @JsonProperty("locale") @Nullable LocaleLanguageVariant locale, + @JsonProperty("config") @Nullable LeadCatcherConfig config, + @JsonProperty("additionalInfo") @Nullable String additionalInfo) { + this.firstName = Optional.ofNullable(firstName) + .orElseThrow(() -> new IllegalArgumentException("firstName cannot be null")); + this.lastName = Optional.ofNullable(lastName) + .orElseThrow(() -> new IllegalArgumentException("lastName cannot be null")); + this.title = title; + this.email = Optional.ofNullable(email).orElseThrow(() -> new IllegalArgumentException("email cannot be null")); + this.phone = Optional.ofNullable(phone).orElseThrow(() -> new IllegalArgumentException("phone cannot be null")); + this.fax = fax; + this.address = address; + this.locale = Optional.ofNullable(locale).orElse(Builder._SINGLETON_VALUE_Locale.value()); + this.config = config; + this.additionalInfo = additionalInfo; + } + + public LeadCatcher( + @Nonnull String firstName, @Nonnull String lastName, @Nonnull String email, @Nonnull String phone) { + this(firstName, lastName, null, email, phone, null, null, null, null, null); + } + + /** + * First name of the lead catcher contact. + */ + public String firstName() { + return this.firstName; + } + + /** + * Last name of the lead catcher contact. + */ + public String lastName() { + return this.lastName; + } + + /** + * Job title of the lead catcher contact. + */ + public Optional title() { + return Optional.ofNullable(this.title); + } + + /** + * Email address of the lead catcher contact. RFP notifications are sent to this address. + */ + public String email() { + return this.email; + } + + /** + * Phone number of the lead catcher contact. + */ + public String phone() { + return this.phone; + } + + /** + * Fax number of the lead catcher contact. + */ + public Optional fax() { + return Optional.ofNullable(this.fax); + } + + /** + * Address information for a lead catcher contact. + */ + public Optional address() { + return Optional.ofNullable(this.address); + } + + /** + * Language locale of a Lead Catcher contact. + * + *

Values: + * - `zh-CHS` — Chinese (Simplified) Legacy + * - `zh-TW` — Chinese (Traditional, Taiwan) + * - `de-DE` — German (Germany) + * - `en-US` — English (United States) + * - `fi-FI` — Finnish (Finland) + * - `fr-FR` — French (France) + * - `it-IT` — Italian (Italy) + * - `ja-JP` — Japanese (Japan) + * - `ko-KR` — Korean (Korea) + * - `nl-NL` — Dutch (Netherlands) + * - `pt-BR` — Portuguese (Brazil) + * - `ru-RU` — Russian (Russia) + * - `sv-SE` — Swedish (Sweden) + * - `th-TH` — Thai (Thailand) + * - `tr-TR` — Turkish (Turkey) + * - `uk-UA` — Ukrainian (Ukraine) + * - `zh-CN` — Chinese (Simplified, China) + * - `de-CH` — German (Switzerland) + * - `en-GB` — English (United Kingdom) + * - `es-MX` — Spanish (Mexico) + * - `fr-BE` — French (Belgium) + * - `it-CH` — Italian (Switzerland) + * - `nl-BE` — Dutch (Belgium) + * - `pt-PT` — Portuguese (Portugal) + * - `ru-MD` — Russian (Moldova) + * - `sv-FI` — Swedish (Finland) + * - `zh-HK` — Chinese (Traditional, Hong Kong SAR) + * - `de-AT` — German (Austria) + * - `en-AU` — English (Australia) + * - `es-ES` — Spanish (Spain, International Sort) + * - `fr-CA` — French (Canada) + * - `zh-SG` — Chinese (Simplified, Singapore) + * - `de-LU` — German (Luxembourg) + * - `en-CA` — English (Canada) + * - `es-GT` — Spanish (Guatemala) + * - `fr-CH` — French (Switzerland) + * - `zh-MO` — Chinese (Traditional, Macao SAR) + * - `de-LI` — German (Liechtenstein) + * - `en-NZ` — English (New Zealand) + * - `es-CR` — Spanish (Costa Rica) + * - `fr-LU` — French (Luxembourg) + * - `en-IE` — English (Ireland) + * - `es-PA` — Spanish (Panama) + * - `fr-MC` — French (Monaco) + * - `en-ZA` — English (South Africa) + * - `es-DO` — Spanish (Dominican Republic) + * - `fr-029` — French (Caribbean) + * - `en-JM` — English (Jamaica) + * - `es-VE` — Spanish (Venezuela) + * - `fr-RE` — French (Réunion) + * - `en-029` — English (Caribbean) + * - `es-CO` — Spanish (Colombia) + * - `fr-CD` — French Congo (DRC) + * - `en-BZ` — English (Belize) + * - `es-PE` — Spanish (Peru) + * - `fr-SN` — French (Senegal) + * - `en-TT` — English (Trinidad and Tobago) + * - `es-AR` — Spanish (Argentina) + * - `fr-CM` — French (Cameroon) + * - `en-ZW` — English (Zimbabwe) + * - `es-EC` — Spanish (Ecuador) + * - `fr-CI` — French (Côte d'Ivoire) + * - `en-PH` — English (Philippines) + * - `es-CL` — Spanish (Chile) + * - `fr-ML` — French (Mali) + * - `en-ID` — English (Indonesia) + * - `es-UY` — Spanish (Uruguay) + * - `fr-MA` — French (Morocco) + * - `en-HK` — English (Hong Kong SAR) + * - `es-PY` — Spanish (Paraguay) + * - `fr-HT` — French (Haiti) + * - `en-IN` — English (India) + * - `es-BO` — Spanish (Bolivia) + * - `en-MY` — English (Malaysia) + * - `es-SV` — Spanish (El Salvador) + * - `en-SG` — English (Singapore) + * - `es-HN` — Spanish (Honduras) + * - `es-NI` — Spanish (Nicaragua) + * - `es-PR` — Spanish (Puerto Rico) + * - `es-US` — Spanish (United States) + * - `es-419` — Spanish (Latin America) + * - `es-CU` — Spanish (Cuba) + * - `zh-CHT` — Chinese (Traditional) Legacy + */ + public Optional locale() { + return Optional.ofNullable(this.locale); + } + + /** + * Notification and role configuration for a lead catcher contact. + */ + public Optional config() { + return Optional.ofNullable(this.config); + } + + /** + * Additional information about the lead catcher contact. + */ + public Optional additionalInfo() { + return Optional.ofNullable(this.additionalInfo); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * First name of the lead catcher contact. + */ + public LeadCatcher withFirstName(@Nonnull String firstName) { + this.firstName = Utils.checkNotNull(firstName, "firstName"); + return this; + } + + /** + * Last name of the lead catcher contact. + */ + public LeadCatcher withLastName(@Nonnull String lastName) { + this.lastName = Utils.checkNotNull(lastName, "lastName"); + return this; + } + + /** + * Job title of the lead catcher contact. + */ + public LeadCatcher withTitle(@Nullable String title) { + this.title = title; + return this; + } + + /** + * Email address of the lead catcher contact. RFP notifications are sent to this address. + */ + public LeadCatcher withEmail(@Nonnull String email) { + this.email = Utils.checkNotNull(email, "email"); + return this; + } + + /** + * Phone number of the lead catcher contact. + */ + public LeadCatcher withPhone(@Nonnull String phone) { + this.phone = Utils.checkNotNull(phone, "phone"); + return this; + } + + /** + * Fax number of the lead catcher contact. + */ + public LeadCatcher withFax(@Nullable String fax) { + this.fax = fax; + return this; + } + + /** + * Address information for a lead catcher contact. + */ + public LeadCatcher withAddress(@Nullable LeadCatcherAddress address) { + this.address = address; + return this; + } + + /** + * Language locale of a Lead Catcher contact. + * + *

Values: + * - `zh-CHS` — Chinese (Simplified) Legacy + * - `zh-TW` — Chinese (Traditional, Taiwan) + * - `de-DE` — German (Germany) + * - `en-US` — English (United States) + * - `fi-FI` — Finnish (Finland) + * - `fr-FR` — French (France) + * - `it-IT` — Italian (Italy) + * - `ja-JP` — Japanese (Japan) + * - `ko-KR` — Korean (Korea) + * - `nl-NL` — Dutch (Netherlands) + * - `pt-BR` — Portuguese (Brazil) + * - `ru-RU` — Russian (Russia) + * - `sv-SE` — Swedish (Sweden) + * - `th-TH` — Thai (Thailand) + * - `tr-TR` — Turkish (Turkey) + * - `uk-UA` — Ukrainian (Ukraine) + * - `zh-CN` — Chinese (Simplified, China) + * - `de-CH` — German (Switzerland) + * - `en-GB` — English (United Kingdom) + * - `es-MX` — Spanish (Mexico) + * - `fr-BE` — French (Belgium) + * - `it-CH` — Italian (Switzerland) + * - `nl-BE` — Dutch (Belgium) + * - `pt-PT` — Portuguese (Portugal) + * - `ru-MD` — Russian (Moldova) + * - `sv-FI` — Swedish (Finland) + * - `zh-HK` — Chinese (Traditional, Hong Kong SAR) + * - `de-AT` — German (Austria) + * - `en-AU` — English (Australia) + * - `es-ES` — Spanish (Spain, International Sort) + * - `fr-CA` — French (Canada) + * - `zh-SG` — Chinese (Simplified, Singapore) + * - `de-LU` — German (Luxembourg) + * - `en-CA` — English (Canada) + * - `es-GT` — Spanish (Guatemala) + * - `fr-CH` — French (Switzerland) + * - `zh-MO` — Chinese (Traditional, Macao SAR) + * - `de-LI` — German (Liechtenstein) + * - `en-NZ` — English (New Zealand) + * - `es-CR` — Spanish (Costa Rica) + * - `fr-LU` — French (Luxembourg) + * - `en-IE` — English (Ireland) + * - `es-PA` — Spanish (Panama) + * - `fr-MC` — French (Monaco) + * - `en-ZA` — English (South Africa) + * - `es-DO` — Spanish (Dominican Republic) + * - `fr-029` — French (Caribbean) + * - `en-JM` — English (Jamaica) + * - `es-VE` — Spanish (Venezuela) + * - `fr-RE` — French (Réunion) + * - `en-029` — English (Caribbean) + * - `es-CO` — Spanish (Colombia) + * - `fr-CD` — French Congo (DRC) + * - `en-BZ` — English (Belize) + * - `es-PE` — Spanish (Peru) + * - `fr-SN` — French (Senegal) + * - `en-TT` — English (Trinidad and Tobago) + * - `es-AR` — Spanish (Argentina) + * - `fr-CM` — French (Cameroon) + * - `en-ZW` — English (Zimbabwe) + * - `es-EC` — Spanish (Ecuador) + * - `fr-CI` — French (Côte d'Ivoire) + * - `en-PH` — English (Philippines) + * - `es-CL` — Spanish (Chile) + * - `fr-ML` — French (Mali) + * - `en-ID` — English (Indonesia) + * - `es-UY` — Spanish (Uruguay) + * - `fr-MA` — French (Morocco) + * - `en-HK` — English (Hong Kong SAR) + * - `es-PY` — Spanish (Paraguay) + * - `fr-HT` — French (Haiti) + * - `en-IN` — English (India) + * - `es-BO` — Spanish (Bolivia) + * - `en-MY` — English (Malaysia) + * - `es-SV` — Spanish (El Salvador) + * - `en-SG` — English (Singapore) + * - `es-HN` — Spanish (Honduras) + * - `es-NI` — Spanish (Nicaragua) + * - `es-PR` — Spanish (Puerto Rico) + * - `es-US` — Spanish (United States) + * - `es-419` — Spanish (Latin America) + * - `es-CU` — Spanish (Cuba) + * - `zh-CHT` — Chinese (Traditional) Legacy + */ + public LeadCatcher withLocale(@Nullable LocaleLanguageVariant locale) { + this.locale = locale; + return this; + } + + /** + * Notification and role configuration for a lead catcher contact. + */ + public LeadCatcher withConfig(@Nullable LeadCatcherConfig config) { + this.config = config; + return this; + } + + /** + * Additional information about the lead catcher contact. + */ + public LeadCatcher withAdditionalInfo(@Nullable String additionalInfo) { + this.additionalInfo = additionalInfo; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LeadCatcher other = (LeadCatcher) o; + return Utils.enhancedDeepEquals(this.firstName, other.firstName) + && Utils.enhancedDeepEquals(this.lastName, other.lastName) + && Utils.enhancedDeepEquals(this.title, other.title) + && Utils.enhancedDeepEquals(this.email, other.email) + && Utils.enhancedDeepEquals(this.phone, other.phone) + && Utils.enhancedDeepEquals(this.fax, other.fax) + && Utils.enhancedDeepEquals(this.address, other.address) + && Utils.enhancedDeepEquals(this.locale, other.locale) + && Utils.enhancedDeepEquals(this.config, other.config) + && Utils.enhancedDeepEquals(this.additionalInfo, other.additionalInfo); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + firstName, lastName, title, email, phone, fax, address, locale, config, additionalInfo); + } + + @Override + public String toString() { + return Utils.toString( + LeadCatcher.class, + "firstName", + firstName, + "lastName", + lastName, + "title", + title, + "email", + email, + "phone", + phone, + "fax", + fax, + "address", + address, + "locale", + locale, + "config", + config, + "additionalInfo", + additionalInfo); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String firstName; + + private String lastName; + + private String title; + + private String email; + + private String phone; + + private String fax; + + private LeadCatcherAddress address; + + private LocaleLanguageVariant locale; + + private LeadCatcherConfig config; + + private String additionalInfo; + + private Builder() { + // force use of static builder() method + } + + /** + * First name of the lead catcher contact. + */ + public Builder firstName(@Nonnull String firstName) { + this.firstName = Utils.checkNotNull(firstName, "firstName"); + return this; + } + + /** + * Last name of the lead catcher contact. + */ + public Builder lastName(@Nonnull String lastName) { + this.lastName = Utils.checkNotNull(lastName, "lastName"); + return this; + } + + /** + * Job title of the lead catcher contact. + */ + public Builder title(@Nullable String title) { + this.title = title; + return this; + } + + /** + * Email address of the lead catcher contact. RFP notifications are sent to this address. + */ + public Builder email(@Nonnull String email) { + this.email = Utils.checkNotNull(email, "email"); + return this; + } + + /** + * Phone number of the lead catcher contact. + */ + public Builder phone(@Nonnull String phone) { + this.phone = Utils.checkNotNull(phone, "phone"); + return this; + } + + /** + * Fax number of the lead catcher contact. + */ + public Builder fax(@Nullable String fax) { + this.fax = fax; + return this; + } + + /** + * Address information for a lead catcher contact. + */ + public Builder address(@Nullable LeadCatcherAddress address) { + this.address = address; + return this; + } + + /** + * Language locale of a Lead Catcher contact. + * + *

Values: + * - `zh-CHS` — Chinese (Simplified) Legacy + * - `zh-TW` — Chinese (Traditional, Taiwan) + * - `de-DE` — German (Germany) + * - `en-US` — English (United States) + * - `fi-FI` — Finnish (Finland) + * - `fr-FR` — French (France) + * - `it-IT` — Italian (Italy) + * - `ja-JP` — Japanese (Japan) + * - `ko-KR` — Korean (Korea) + * - `nl-NL` — Dutch (Netherlands) + * - `pt-BR` — Portuguese (Brazil) + * - `ru-RU` — Russian (Russia) + * - `sv-SE` — Swedish (Sweden) + * - `th-TH` — Thai (Thailand) + * - `tr-TR` — Turkish (Turkey) + * - `uk-UA` — Ukrainian (Ukraine) + * - `zh-CN` — Chinese (Simplified, China) + * - `de-CH` — German (Switzerland) + * - `en-GB` — English (United Kingdom) + * - `es-MX` — Spanish (Mexico) + * - `fr-BE` — French (Belgium) + * - `it-CH` — Italian (Switzerland) + * - `nl-BE` — Dutch (Belgium) + * - `pt-PT` — Portuguese (Portugal) + * - `ru-MD` — Russian (Moldova) + * - `sv-FI` — Swedish (Finland) + * - `zh-HK` — Chinese (Traditional, Hong Kong SAR) + * - `de-AT` — German (Austria) + * - `en-AU` — English (Australia) + * - `es-ES` — Spanish (Spain, International Sort) + * - `fr-CA` — French (Canada) + * - `zh-SG` — Chinese (Simplified, Singapore) + * - `de-LU` — German (Luxembourg) + * - `en-CA` — English (Canada) + * - `es-GT` — Spanish (Guatemala) + * - `fr-CH` — French (Switzerland) + * - `zh-MO` — Chinese (Traditional, Macao SAR) + * - `de-LI` — German (Liechtenstein) + * - `en-NZ` — English (New Zealand) + * - `es-CR` — Spanish (Costa Rica) + * - `fr-LU` — French (Luxembourg) + * - `en-IE` — English (Ireland) + * - `es-PA` — Spanish (Panama) + * - `fr-MC` — French (Monaco) + * - `en-ZA` — English (South Africa) + * - `es-DO` — Spanish (Dominican Republic) + * - `fr-029` — French (Caribbean) + * - `en-JM` — English (Jamaica) + * - `es-VE` — Spanish (Venezuela) + * - `fr-RE` — French (Réunion) + * - `en-029` — English (Caribbean) + * - `es-CO` — Spanish (Colombia) + * - `fr-CD` — French Congo (DRC) + * - `en-BZ` — English (Belize) + * - `es-PE` — Spanish (Peru) + * - `fr-SN` — French (Senegal) + * - `en-TT` — English (Trinidad and Tobago) + * - `es-AR` — Spanish (Argentina) + * - `fr-CM` — French (Cameroon) + * - `en-ZW` — English (Zimbabwe) + * - `es-EC` — Spanish (Ecuador) + * - `fr-CI` — French (Côte d'Ivoire) + * - `en-PH` — English (Philippines) + * - `es-CL` — Spanish (Chile) + * - `fr-ML` — French (Mali) + * - `en-ID` — English (Indonesia) + * - `es-UY` — Spanish (Uruguay) + * - `fr-MA` — French (Morocco) + * - `en-HK` — English (Hong Kong SAR) + * - `es-PY` — Spanish (Paraguay) + * - `fr-HT` — French (Haiti) + * - `en-IN` — English (India) + * - `es-BO` — Spanish (Bolivia) + * - `en-MY` — English (Malaysia) + * - `es-SV` — Spanish (El Salvador) + * - `en-SG` — English (Singapore) + * - `es-HN` — Spanish (Honduras) + * - `es-NI` — Spanish (Nicaragua) + * - `es-PR` — Spanish (Puerto Rico) + * - `es-US` — Spanish (United States) + * - `es-419` — Spanish (Latin America) + * - `es-CU` — Spanish (Cuba) + * - `zh-CHT` — Chinese (Traditional) Legacy + */ + public Builder locale(@Nullable LocaleLanguageVariant locale) { + this.locale = locale; + return this; + } + + /** + * Notification and role configuration for a lead catcher contact. + */ + public Builder config(@Nullable LeadCatcherConfig config) { + this.config = config; + return this; + } + + /** + * Additional information about the lead catcher contact. + */ + public Builder additionalInfo(@Nullable String additionalInfo) { + this.additionalInfo = additionalInfo; + return this; + } + + public LeadCatcher build() { + return new LeadCatcher( + firstName, lastName, title, email, phone, fax, address, locale, config, additionalInfo); + } + + private static final LazySingletonValue _SINGLETON_VALUE_Locale = + new LazySingletonValue<>("locale", "\"en-US\"", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadCatcherAddress.java b/packages/java/src/main/java/com/cvent/models/components/LeadCatcherAddress.java new file mode 100644 index 000000000..d91e65f07 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/LeadCatcherAddress.java @@ -0,0 +1,289 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * LeadCatcherAddress + * + *

Address information for a lead catcher contact. + */ +public class LeadCatcherAddress { + /** + * Street address line 1. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("streetAddress1") + private String streetAddress1; + + /** + * Street address line 2. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("streetAddress2") + private String streetAddress2; + + /** + * City. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("city") + private String city; + + /** + * State or province code for the contact address (ISO 3166-2). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("stateProvince") + private LeadCatcherAddressStateProvince stateProvince; + + /** + * ZIP or postal code. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("zipPostalCode") + private String zipPostalCode; + + /** + * Country code for the contact address (ISO 3166-1 alpha-2). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("country") + private LeadCatcherAddressCountry country; + + @JsonCreator + public LeadCatcherAddress( + @JsonProperty("streetAddress1") @Nullable String streetAddress1, + @JsonProperty("streetAddress2") @Nullable String streetAddress2, + @JsonProperty("city") @Nullable String city, + @JsonProperty("stateProvince") @Nullable LeadCatcherAddressStateProvince stateProvince, + @JsonProperty("zipPostalCode") @Nullable String zipPostalCode, + @JsonProperty("country") @Nullable LeadCatcherAddressCountry country) { + this.streetAddress1 = streetAddress1; + this.streetAddress2 = streetAddress2; + this.city = city; + this.stateProvince = stateProvince; + this.zipPostalCode = zipPostalCode; + this.country = country; + } + + public LeadCatcherAddress() { + this(null, null, null, null, null, null); + } + + /** + * Street address line 1. + */ + public Optional streetAddress1() { + return Optional.ofNullable(this.streetAddress1); + } + + /** + * Street address line 2. + */ + public Optional streetAddress2() { + return Optional.ofNullable(this.streetAddress2); + } + + /** + * City. + */ + public Optional city() { + return Optional.ofNullable(this.city); + } + + /** + * State or province code for the contact address (ISO 3166-2). + */ + public Optional stateProvince() { + return Optional.ofNullable(this.stateProvince); + } + + /** + * ZIP or postal code. + */ + public Optional zipPostalCode() { + return Optional.ofNullable(this.zipPostalCode); + } + + /** + * Country code for the contact address (ISO 3166-1 alpha-2). + */ + public Optional country() { + return Optional.ofNullable(this.country); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Street address line 1. + */ + public LeadCatcherAddress withStreetAddress1(@Nullable String streetAddress1) { + this.streetAddress1 = streetAddress1; + return this; + } + + /** + * Street address line 2. + */ + public LeadCatcherAddress withStreetAddress2(@Nullable String streetAddress2) { + this.streetAddress2 = streetAddress2; + return this; + } + + /** + * City. + */ + public LeadCatcherAddress withCity(@Nullable String city) { + this.city = city; + return this; + } + + /** + * State or province code for the contact address (ISO 3166-2). + */ + public LeadCatcherAddress withStateProvince(@Nullable LeadCatcherAddressStateProvince stateProvince) { + this.stateProvince = stateProvince; + return this; + } + + /** + * ZIP or postal code. + */ + public LeadCatcherAddress withZipPostalCode(@Nullable String zipPostalCode) { + this.zipPostalCode = zipPostalCode; + return this; + } + + /** + * Country code for the contact address (ISO 3166-1 alpha-2). + */ + public LeadCatcherAddress withCountry(@Nullable LeadCatcherAddressCountry country) { + this.country = country; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LeadCatcherAddress other = (LeadCatcherAddress) o; + return Utils.enhancedDeepEquals(this.streetAddress1, other.streetAddress1) + && Utils.enhancedDeepEquals(this.streetAddress2, other.streetAddress2) + && Utils.enhancedDeepEquals(this.city, other.city) + && Utils.enhancedDeepEquals(this.stateProvince, other.stateProvince) + && Utils.enhancedDeepEquals(this.zipPostalCode, other.zipPostalCode) + && Utils.enhancedDeepEquals(this.country, other.country); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(streetAddress1, streetAddress2, city, stateProvince, zipPostalCode, country); + } + + @Override + public String toString() { + return Utils.toString( + LeadCatcherAddress.class, + "streetAddress1", + streetAddress1, + "streetAddress2", + streetAddress2, + "city", + city, + "stateProvince", + stateProvince, + "zipPostalCode", + zipPostalCode, + "country", + country); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String streetAddress1; + + private String streetAddress2; + + private String city; + + private LeadCatcherAddressStateProvince stateProvince; + + private String zipPostalCode; + + private LeadCatcherAddressCountry country; + + private Builder() { + // force use of static builder() method + } + + /** + * Street address line 1. + */ + public Builder streetAddress1(@Nullable String streetAddress1) { + this.streetAddress1 = streetAddress1; + return this; + } + + /** + * Street address line 2. + */ + public Builder streetAddress2(@Nullable String streetAddress2) { + this.streetAddress2 = streetAddress2; + return this; + } + + /** + * City. + */ + public Builder city(@Nullable String city) { + this.city = city; + return this; + } + + /** + * State or province code for the contact address (ISO 3166-2). + */ + public Builder stateProvince(@Nullable LeadCatcherAddressStateProvince stateProvince) { + this.stateProvince = stateProvince; + return this; + } + + /** + * ZIP or postal code. + */ + public Builder zipPostalCode(@Nullable String zipPostalCode) { + this.zipPostalCode = zipPostalCode; + return this; + } + + /** + * Country code for the contact address (ISO 3166-1 alpha-2). + */ + public Builder country(@Nullable LeadCatcherAddressCountry country) { + this.country = country; + return this; + } + + public LeadCatcherAddress build() { + return new LeadCatcherAddress(streetAddress1, streetAddress2, city, stateProvince, zipPostalCode, country); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadCatcherAddressCountry.java b/packages/java/src/main/java/com/cvent/models/components/LeadCatcherAddressCountry.java new file mode 100644 index 000000000..29dc004f3 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/LeadCatcherAddressCountry.java @@ -0,0 +1,294 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * LeadCatcherAddressCountry + * + *

Country code for the contact address (ISO 3166-1 alpha-2). + */ +public enum LeadCatcherAddressCountry { + BLANK("BLANK"), + AD("AD"), + AE("AE"), + AF("AF"), + AG("AG"), + AI("AI"), + AL("AL"), + AM("AM"), + AN("AN"), + AO("AO"), + AQ("AQ"), + AR("AR"), + AS("AS"), + AT("AT"), + AU("AU"), + AW("AW"), + AX("AX"), + AZ("AZ"), + BA("BA"), + BB("BB"), + BD("BD"), + BE("BE"), + BF("BF"), + BG("BG"), + BH("BH"), + BI("BI"), + BJ("BJ"), + BL("BL"), + BM("BM"), + BN("BN"), + BO("BO"), + BQ("BQ"), + BR("BR"), + BS("BS"), + BT("BT"), + BV("BV"), + BW("BW"), + BY("BY"), + BZ("BZ"), + CA("CA"), + CC("CC"), + CD("CD"), + CF("CF"), + CG("CG"), + CH("CH"), + CI("CI"), + CK("CK"), + CL("CL"), + CM("CM"), + CN("CN"), + CO("CO"), + CR("CR"), + CU("CU"), + CV("CV"), + CW("CW"), + CX("CX"), + CY("CY"), + CZ("CZ"), + DE("DE"), + DJ("DJ"), + DK("DK"), + DM("DM"), + DO("DO"), + DZ("DZ"), + EC("EC"), + EE("EE"), + EG("EG"), + EH("EH"), + ER("ER"), + ES("ES"), + ET("ET"), + FI("FI"), + FJ("FJ"), + FK("FK"), + FM("FM"), + FO("FO"), + FR("FR"), + GA("GA"), + GB("GB"), + GB1("GB_1"), + GB2("GB_2"), + GB3("GB_3"), + GB4("GB_4"), + GD("GD"), + GE("GE"), + GF("GF"), + GG("GG"), + GH("GH"), + GI("GI"), + GL("GL"), + GM("GM"), + GN("GN"), + GP("GP"), + GQ("GQ"), + GR("GR"), + GS("GS"), + GT("GT"), + GU("GU"), + GW("GW"), + GY("GY"), + HK("HK"), + HM("HM"), + HN("HN"), + HR("HR"), + HT("HT"), + HU("HU"), + ID("ID"), + IE("IE"), + IL("IL"), + IM("IM"), + IN("IN"), + IO("IO"), + IQ("IQ"), + IR("IR"), + IS("IS"), + IT("IT"), + JE("JE"), + JM("JM"), + JO("JO"), + JP("JP"), + KE("KE"), + KG("KG"), + KH("KH"), + KI("KI"), + KM("KM"), + KN("KN"), + KO("KO"), + KP("KP"), + KR("KR"), + KW("KW"), + KY("KY"), + KZ("KZ"), + LA("LA"), + LB("LB"), + LC("LC"), + LI("LI"), + LK("LK"), + LR("LR"), + LS("LS"), + LT("LT"), + LU("LU"), + LV("LV"), + LY("LY"), + MA("MA"), + MC("MC"), + MD("MD"), + ME("ME"), + MF("MF"), + MG("MG"), + MH("MH"), + MK("MK"), + ML("ML"), + MM("MM"), + MN("MN"), + MO("MO"), + MP("MP"), + MQ("MQ"), + MR("MR"), + MS("MS"), + MT("MT"), + MU("MU"), + MV("MV"), + MW("MW"), + MX("MX"), + MY("MY"), + MZ("MZ"), + NA("NA"), + NC("NC"), + NE("NE"), + NF("NF"), + NG("NG"), + NI("NI"), + NL("NL"), + NO("NO"), + NP("NP"), + NR("NR"), + NU("NU"), + NZ("NZ"), + OM("OM"), + PA("PA"), + PE("PE"), + PF("PF"), + PG("PG"), + PH("PH"), + PK("PK"), + PL("PL"), + PM("PM"), + PN("PN"), + PR("PR"), + PS("PS"), + PT("PT"), + PW("PW"), + PY("PY"), + QA("QA"), + RE("RE"), + RO("RO"), + RS("RS"), + RU("RU"), + RW("RW"), + SA("SA"), + SB("SB"), + SC("SC"), + SD("SD"), + SE("SE"), + SG("SG"), + SH("SH"), + SI("SI"), + SJ("SJ"), + SK("SK"), + SL("SL"), + SM("SM"), + SN("SN"), + SO("SO"), + SR("SR"), + SS("SS"), + ST("ST"), + SV("SV"), + SX("SX"), + SY("SY"), + SZ("SZ"), + TC("TC"), + TD("TD"), + TF("TF"), + TG("TG"), + TH("TH"), + TJ("TJ"), + TK("TK"), + TL("TL"), + TM("TM"), + TN("TN"), + TO("TO"), + TP("TP"), + TR("TR"), + TT("TT"), + TV("TV"), + TW("TW"), + TZ("TZ"), + UA("UA"), + UG("UG"), + UM("UM"), + US("US"), + UY("UY"), + UZ("UZ"), + VA("VA"), + VC("VC"), + VE("VE"), + VG("VG"), + VI("VI"), + VN("VN"), + VU("VU"), + WF("WF"), + WS("WS"), + YE("YE"), + YT("YT"), + ZA("ZA"), + ZM("ZM"), + ZW("ZW"); + + @JsonValue + private final String value; + + LeadCatcherAddressCountry(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (LeadCatcherAddressCountry o : LeadCatcherAddressCountry.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadCatcherAddressPatch.java b/packages/java/src/main/java/com/cvent/models/components/LeadCatcherAddressPatch.java new file mode 100644 index 000000000..f3cd7fec3 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/LeadCatcherAddressPatch.java @@ -0,0 +1,292 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; +import org.openapitools.jackson.nullable.JsonNullable; + +/** + * LeadCatcherAddressPatch + * + *

Address information for the lead catcher contact. Only the address sub-fields supplied are updated; + * omitted sub-fields are left unchanged. + */ +public class LeadCatcherAddressPatch { + /** + * Street address line 1. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("streetAddress1") + private JsonNullable streetAddress1; + + /** + * Street address line 2. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("streetAddress2") + private JsonNullable streetAddress2; + + /** + * City. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("city") + private JsonNullable city; + + /** + * The state province code used for contact information. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("stateProvince") + private JsonNullable stateProvince; + + /** + * ZIP or postal code. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("zipPostalCode") + private JsonNullable zipPostalCode; + + /** + * ISO 3166 two-letter (alpha-2) country code used for contact information. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("country") + private JsonNullable country; + + @JsonCreator + public LeadCatcherAddressPatch( + @JsonProperty("streetAddress1") @Nullable JsonNullable streetAddress1, + @JsonProperty("streetAddress2") @Nullable JsonNullable streetAddress2, + @JsonProperty("city") @Nullable JsonNullable city, + @JsonProperty("stateProvince") @Nullable JsonNullable stateProvince, + @JsonProperty("zipPostalCode") @Nullable JsonNullable zipPostalCode, + @JsonProperty("country") @Nullable JsonNullable country) { + this.streetAddress1 = Optional.ofNullable(streetAddress1).orElse(JsonNullable.undefined()); + this.streetAddress2 = Optional.ofNullable(streetAddress2).orElse(JsonNullable.undefined()); + this.city = Optional.ofNullable(city).orElse(JsonNullable.undefined()); + this.stateProvince = Optional.ofNullable(stateProvince).orElse(JsonNullable.undefined()); + this.zipPostalCode = Optional.ofNullable(zipPostalCode).orElse(JsonNullable.undefined()); + this.country = Optional.ofNullable(country).orElse(JsonNullable.undefined()); + } + + public LeadCatcherAddressPatch() { + this(null, null, null, null, null, null); + } + + /** + * Street address line 1. + */ + public JsonNullable streetAddress1() { + return this.streetAddress1; + } + + /** + * Street address line 2. + */ + public JsonNullable streetAddress2() { + return this.streetAddress2; + } + + /** + * City. + */ + public JsonNullable city() { + return this.city; + } + + /** + * The state province code used for contact information. + */ + public JsonNullable stateProvince() { + return this.stateProvince; + } + + /** + * ZIP or postal code. + */ + public JsonNullable zipPostalCode() { + return this.zipPostalCode; + } + + /** + * ISO 3166 two-letter (alpha-2) country code used for contact information. + */ + public JsonNullable country() { + return this.country; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Street address line 1. + */ + public LeadCatcherAddressPatch withStreetAddress1(@Nullable String streetAddress1) { + this.streetAddress1 = JsonNullable.of(streetAddress1); + return this; + } + + /** + * Street address line 2. + */ + public LeadCatcherAddressPatch withStreetAddress2(@Nullable String streetAddress2) { + this.streetAddress2 = JsonNullable.of(streetAddress2); + return this; + } + + /** + * City. + */ + public LeadCatcherAddressPatch withCity(@Nullable String city) { + this.city = JsonNullable.of(city); + return this; + } + + /** + * The state province code used for contact information. + */ + public LeadCatcherAddressPatch withStateProvince(@Nullable LeadCatcherPatchStateProvince stateProvince) { + this.stateProvince = JsonNullable.of(stateProvince); + return this; + } + + /** + * ZIP or postal code. + */ + public LeadCatcherAddressPatch withZipPostalCode(@Nullable String zipPostalCode) { + this.zipPostalCode = JsonNullable.of(zipPostalCode); + return this; + } + + /** + * ISO 3166 two-letter (alpha-2) country code used for contact information. + */ + public LeadCatcherAddressPatch withCountry(@Nullable LeadCatcherPatchCountry country) { + this.country = JsonNullable.of(country); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LeadCatcherAddressPatch other = (LeadCatcherAddressPatch) o; + return Utils.enhancedDeepEquals(this.streetAddress1, other.streetAddress1) + && Utils.enhancedDeepEquals(this.streetAddress2, other.streetAddress2) + && Utils.enhancedDeepEquals(this.city, other.city) + && Utils.enhancedDeepEquals(this.stateProvince, other.stateProvince) + && Utils.enhancedDeepEquals(this.zipPostalCode, other.zipPostalCode) + && Utils.enhancedDeepEquals(this.country, other.country); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(streetAddress1, streetAddress2, city, stateProvince, zipPostalCode, country); + } + + @Override + public String toString() { + return Utils.toString( + LeadCatcherAddressPatch.class, + "streetAddress1", + streetAddress1, + "streetAddress2", + streetAddress2, + "city", + city, + "stateProvince", + stateProvince, + "zipPostalCode", + zipPostalCode, + "country", + country); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private JsonNullable streetAddress1; + + private JsonNullable streetAddress2; + + private JsonNullable city; + + private JsonNullable stateProvince; + + private JsonNullable zipPostalCode; + + private JsonNullable country; + + private Builder() { + // force use of static builder() method + } + + /** + * Street address line 1. + */ + public Builder streetAddress1(@Nullable String streetAddress1) { + this.streetAddress1 = JsonNullable.of(streetAddress1); + return this; + } + + /** + * Street address line 2. + */ + public Builder streetAddress2(@Nullable String streetAddress2) { + this.streetAddress2 = JsonNullable.of(streetAddress2); + return this; + } + + /** + * City. + */ + public Builder city(@Nullable String city) { + this.city = JsonNullable.of(city); + return this; + } + + /** + * The state province code used for contact information. + */ + public Builder stateProvince(@Nullable LeadCatcherPatchStateProvince stateProvince) { + this.stateProvince = JsonNullable.of(stateProvince); + return this; + } + + /** + * ZIP or postal code. + */ + public Builder zipPostalCode(@Nullable String zipPostalCode) { + this.zipPostalCode = JsonNullable.of(zipPostalCode); + return this; + } + + /** + * ISO 3166 two-letter (alpha-2) country code used for contact information. + */ + public Builder country(@Nullable LeadCatcherPatchCountry country) { + this.country = JsonNullable.of(country); + return this; + } + + public LeadCatcherAddressPatch build() { + return new LeadCatcherAddressPatch( + streetAddress1, streetAddress2, city, stateProvince, zipPostalCode, country); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadCatcherAddressStateProvince.java b/packages/java/src/main/java/com/cvent/models/components/LeadCatcherAddressStateProvince.java new file mode 100644 index 000000000..d16261193 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/LeadCatcherAddressStateProvince.java @@ -0,0 +1,859 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * LeadCatcherAddressStateProvince + * + *

State or province code for the contact address (ISO 3166-2). + */ +public enum LeadCatcherAddressStateProvince { + BLANK("BLANK"), + AA("AA"), + AB("AB"), + ABD("ABD"), + ABE("ABE"), + ACT_AUS("ACT_AUS"), + AE("AE"), + AGB("AGB"), + AGY("AGY"), + AK("AK"), + AL("AL"), + ANS("ANS"), + ANT("ANT"), + AP("AP"), + AR("AR"), + ARD("ARD"), + ARM("ARM"), + AS("AS"), + AT1("AT_1"), + AT2("AT_2"), + AT3("AT_3"), + AT4("AT_4"), + AT5("AT_5"), + AT6("AT_6"), + AT7("AT_7"), + AT8("AT_8"), + AT9("AT_9"), + AZ("AZ"), + BAN("BAN"), + BAS("BAS"), + BBD("BBD"), + BC("BC"), + BDF("BDF"), + BE_BRU("BE_BRU"), + BEN("BEN"), + BE_VAN("BE_VAN"), + BE_VBR("BE_VBR"), + BE_VLI("BE_VLI"), + BE_VOV("BE_VOV"), + BE_VWV("BE_VWV"), + BE_WBR("BE_WBR"), + BE_WHT("BE_WHT"), + BE_WLG("BE_WLG"), + BE_WLX("BE_WLX"), + BE_WNA("BE_WNA"), + BEX("BEX"), + BFS("BFS"), + BGE("BGE"), + BGW("BGW"), + BIR("BIR"), + BKM("BKM"), + BLA("BLA"), + BLY("BLY"), + BMH("BMH"), + BNB("BNB"), + BNE("BNE"), + BNH("BNH"), + BNS("BNS"), + BOL("BOL"), + BPL("BPL"), + BR_AC("BR_AC"), + BR_AL("BR_AL"), + BR_AM("BR_AM"), + BR_AP("BR_AP"), + BR_BA("BR_BA"), + BRC("BRC"), + BR_CE("BR_CE"), + BRD("BRD"), + BR_DF("BR_DF"), + BR_ES("BR_ES"), + BR_GO("BR_GO"), + BRK("BRK"), + BR_MA("BR_MA"), + BR_MG("BR_MG"), + BR_MS("BR_MS"), + BR_MT("BR_MT"), + BR_PA("BR_PA"), + BR_PB("BR_PB"), + BR_PE("BR_PE"), + BR_PI("BR_PI"), + BR_PR("BR_PR"), + BR_RJ("BR_RJ"), + BR_RN("BR_RN"), + BR_RO("BR_RO"), + BR_RR("BR_RR"), + BR_RS("BR_RS"), + BR_SC("BR_SC"), + BR_SE("BR_SE"), + BR_SP("BR_SP"), + BR_TO("BR_TO"), + BRY("BRY"), + BST("BST"), + BUR("BUR"), + CA("CA"), + CAM("CAM"), + CAY("CAY"), + CGN("CGN"), + CGV("CGV"), + CH_AG("CH_AG"), + CH_AI("CH_AI"), + CH_AR("CH_AR"), + CH_BE("CH_BE"), + CH_BL("CH_BL"), + CH_BS("CH_BS"), + CH_FR("CH_FR"), + CH_GE("CH_GE"), + CH_GL("CH_GL"), + CH_GR("CH_GR"), + CHI("CHI"), + CH_JU("CH_JU"), + CH_LU("CH_LU"), + CH_NE("CH_NE"), + CH_NW("CH_NW"), + CH_OW("CH_OW"), + CHS("CHS"), + CH_SG("CH_SG"), + CH_SH("CH_SH"), + CH_SO("CH_SO"), + CH_SZ("CH_SZ"), + CH_TG("CH_TG"), + CH_TI("CH_TI"), + CH_UR("CH_UR"), + CH_VD("CH_VD"), + CH_VS("CH_VS"), + CH_ZG("CH_ZG"), + CH_ZH("CH_ZH"), + CKF("CKF"), + CKT("CKT"), + CLD("CLD"), + CLK("CLK"), + CLR("CLR"), + CMA("CMA"), + CMD("CMD"), + CMN("CMN"), + CN11("CN_11"), + CN12("CN_12"), + CN13("CN_13"), + CN14("CN_14"), + CN15("CN_15"), + CN21("CN_21"), + CN22("CN_22"), + CN23("CN_23"), + CN31("CN_31"), + CN32("CN_32"), + CN33("CN_33"), + CN34("CN_34"), + CN35("CN_35"), + CN36("CN_36"), + CN37("CN_37"), + CN41("CN_41"), + CN42("CN_42"), + CN43("CN_43"), + CN44("CN_44"), + CN45("CN_45"), + CN46("CN_46"), + CN50("CN_50"), + CN51("CN_51"), + CN52("CN_52"), + CN53("CN_53"), + CN54("CN_54"), + CN61("CN_61"), + CN62("CN_62"), + CN63("CN_63"), + CN64("CN_64"), + CN65("CN_65"), + CN91("CN_91"), + CN92("CN_92"), + CO("CO"), + CON("CON"), + COV("COV"), + CRF("CRF"), + CRY("CRY"), + CSR("CSR"), + CT("CT"), + CWD("CWD"), + CWY("CWY"), + DAL("DAL"), + DBY("DBY"), + DC("DC"), + DE("DE"), + DEN("DEN"), + DER("DER"), + DEV("DEV"), + DGN("DGN"), + DGY("DGY"), + DK015("DK_015"), + DK020("DK_020"), + DK025("DK_025"), + DK030("DK_030"), + DK035("DK_035"), + DK040("DK_040"), + DK042("DK_042"), + DK050("DK_050"), + DK055("DK_055"), + DK060("DK_060"), + DK065("DK_065"), + DK070("DK_070"), + DK076("DK_076"), + DK080("DK_080"), + DK101("DK_101"), + DK147("DK_147"), + DK81("DK_81"), + DK82("DK_82"), + DK83("DK_83"), + DK84("DK_84"), + DK85("DK_85"), + DNC("DNC"), + DND("DND"), + DOR("DOR"), + DOW("DOW"), + DRY("DRY"), + DUD("DUD"), + DUR("DUR"), + EAL("EAL"), + EAY("EAY"), + EDH("EDH"), + EDU("EDU"), + ELN("ELN"), + ELS("ELS"), + ENF("ENF"), + ERW("ERW"), + ERY("ERY"), + ESS("ESS"), + ESX("ESX"), + FAL("FAL"), + FER("FER"), + FIF("FIF"), + FL("FL"), + FLN("FLN"), + FM("FM"), + GA("GA"), + GAT("GAT"), + GB("GB"), + GLG("GLG"), + GLN("GLN"), + GLS("GLS"), + GR01("GR_01"), + GR03("GR_03"), + GR04("GR_04"), + GR05("GR_05"), + GR06("GR_06"), + GR07("GR_07"), + GR11("GR_11"), + GR12("GR_12"), + GR13("GR_13"), + GR14("GR_14"), + GR15("GR_15"), + GR16("GR_16"), + GR17("GR_17"), + GR21("GR_21"), + GR22("GR_22"), + GR23("GR_23"), + GR24("GR_24"), + GR31("GR_31"), + GR32("GR_32"), + GR33("GR_33"), + GR34("GR_34"), + GR41("GR_41"), + GR42("GR_42"), + GR43("GR_43"), + GR44("GR_44"), + GR51("GR_51"), + GR52("GR_52"), + GR53("GR_53"), + GR54("GR_54"), + GR55("GR_55"), + GR56("GR_56"), + GR57("GR_57"), + GR58("GR_58"), + GR59("GR_59"), + GR61("GR_61"), + GR62("GR_62"), + GR63("GR_63"), + GR64("GR_64"), + GR69("GR_69"), + GR71("GR_71"), + GR72("GR_72"), + GR73("GR_73"), + GR81("GR_81"), + GR82("GR_82"), + GR83("GR_83"), + GR84("GR_84"), + GR85("GR_85"), + GR91("GR_91"), + GR92("GR_92"), + GR93("GR_93"), + GR94("GR_94"), + GR_A1("GR_A_1"), + GRE("GRE"), + GTM("GTM"), + GU("GU"), + GWN("GWN"), + HAL("HAL"), + HAM("HAM"), + HAV("HAV"), + HCK("HCK"), + HEF("HEF"), + HI("HI"), + HIL("HIL"), + HLD("HLD"), + HMF("HMF"), + HNS("HNS"), + HPL("HPL"), + HRT("HRT"), + HRW("HRW"), + HRY("HRY"), + IA("IA"), + ID("ID"), + IE_C("IE_C"), + IE_CE("IE_CE"), + IE_CN("IE_CN"), + IE_CW("IE_CW"), + IE_D("IE_D"), + IE_DL("IE_DL"), + IE_G("IE_G"), + IE_KE("IE_KE"), + IE_KK("IE_KK"), + IE_KY("IE_KY"), + IE_LD("IE_LD"), + IE_LH("IE_LH"), + IE_LK("IE_LK"), + IE_LM("IE_LM"), + IE_LS("IE_LS"), + IE_MH("IE_MH"), + IE_MN("IE_MN"), + IE_MO("IE_MO"), + IE_OY("IE_OY"), + IE_RN("IE_RN"), + IE_SO("IE_SO"), + IE_TA("IE_TA"), + IE_WD("IE_WD"), + IE_WH("IE_WH"), + IE_WW("IE_WW"), + IE_WX("IE_WX"), + IL("IL"), + IN("IN"), + IN_AN("IN_AN"), + IN_AP("IN_AP"), + IN_AR("IN_AR"), + IN_AS("IN_AS"), + IN_BR("IN_BR"), + IN_CH("IN_CH"), + IN_CT("IN_CT"), + IN_DD("IN_DD"), + IN_DL("IN_DL"), + IN_DN("IN_DN"), + IN_GA("IN_GA"), + IN_GJ("IN_GJ"), + IN_HP("IN_HP"), + IN_HR("IN_HR"), + IN_JH("IN_JH"), + IN_JK("IN_JK"), + IN_KA("IN_KA"), + IN_KL("IN_KL"), + IN_LD("IN_LD"), + IN_MH("IN_MH"), + IN_ML("IN_ML"), + IN_MN("IN_MN"), + IN_MP("IN_MP"), + IN_MZ("IN_MZ"), + IN_NL("IN_NL"), + IN_OR("IN_OR"), + IN_PB("IN_PB"), + IN_PY("IN_PY"), + IN_RJ("IN_RJ"), + IN_SK("IN_SK"), + IN_TG("IN_TG"), + IN_TN("IN_TN"), + IN_TR("IN_TR"), + IN_UL("IN_UL"), + IN_UP("IN_UP"), + IN_WB("IN_WB"), + IOA("IOA"), + IOI("IOI"), + IOL("IOL"), + IOM("IOM"), + IOS("IOS"), + IOW("IOW"), + IOY("IOY"), + ISL("ISL"), + IT21("IT_21"), + IT23("IT_23"), + IT25("IT_25"), + IT32("IT_32"), + IT34("IT_34"), + IT36("IT_36"), + IT42("IT_42"), + IT45("IT_45"), + IT52("IT_52"), + IT55("IT_55"), + IT57("IT_57"), + IT62("IT_62"), + IT65("IT_65"), + IT67("IT_67"), + IT72("IT_72"), + IT75("IT_75"), + IT77("IT_77"), + IT78("IT_78"), + IT82("IT_82"), + IT88("IT_88"), + IT_AG("IT_AG"), + IT_AL("IT_AL"), + IT_AN("IT_AN"), + IT_AO("IT_AO"), + IT_AP("IT_AP"), + IT_AQ("IT_AQ"), + IT_AR("IT_AR"), + IT_AT("IT_AT"), + IT_AV("IT_AV"), + IT_BA("IT_BA"), + IT_BG("IT_BG"), + IT_BI("IT_BI"), + IT_BL("IT_BL"), + IT_BN("IT_BN"), + IT_BO("IT_BO"), + IT_BR("IT_BR"), + IT_BS("IT_BS"), + IT_BT("IT_BT"), + IT_BZ("IT_BZ"), + IT_CA("IT_CA"), + IT_CB("IT_CB"), + IT_CE("IT_CE"), + IT_CH("IT_CH"), + IT_CI("IT_CI"), + IT_CL("IT_CL"), + IT_CN("IT_CN"), + IT_CO("IT_CO"), + IT_CR("IT_CR"), + IT_CS("IT_CS"), + IT_CT("IT_CT"), + IT_CZ("IT_CZ"), + IT_EN("IT_EN"), + IT_FC("IT_FC"), + IT_FE("IT_FE"), + IT_FG("IT_FG"), + IT_FI("IT_FI"), + IT_FM("IT_FM"), + IT_FR("IT_FR"), + IT_GE("IT_GE"), + IT_GO("IT_GO"), + IT_GR("IT_GR"), + IT_IM("IT_IM"), + IT_IS("IT_IS"), + IT_KR("IT_KR"), + IT_LC("IT_LC"), + IT_LE("IT_LE"), + IT_LI("IT_LI"), + IT_LO("IT_LO"), + IT_LT("IT_LT"), + IT_LU("IT_LU"), + IT_MB("IT_MB"), + IT_MC("IT_MC"), + IT_ME("IT_ME"), + IT_MI("IT_MI"), + IT_MN("IT_MN"), + IT_MO("IT_MO"), + IT_MS("IT_MS"), + IT_MT("IT_MT"), + IT_NA("IT_NA"), + IT_NO("IT_NO"), + IT_NU("IT_NU"), + IT_OG("IT_OG"), + IT_OR("IT_OR"), + IT_OT("IT_OT"), + IT_PA("IT_PA"), + IT_PC("IT_PC"), + IT_PD("IT_PD"), + IT_PE("IT_PE"), + IT_PG("IT_PG"), + IT_PI("IT_PI"), + IT_PN("IT_PN"), + IT_PO("IT_PO"), + IT_PR("IT_PR"), + IT_PT("IT_PT"), + IT_PU("IT_PU"), + IT_PV("IT_PV"), + IT_PZ("IT_PZ"), + IT_RA("IT_RA"), + IT_RC("IT_RC"), + IT_RE("IT_RE"), + IT_RG("IT_RG"), + IT_RI("IT_RI"), + IT_RM("IT_RM"), + IT_RN("IT_RN"), + IT_RO("IT_RO"), + IT_SA("IT_SA"), + IT_SI("IT_SI"), + IT_SO("IT_SO"), + IT_SP("IT_SP"), + IT_SR("IT_SR"), + IT_SS("IT_SS"), + IT_SV("IT_SV"), + IT_TA("IT_TA"), + IT_TE("IT_TE"), + IT_TN("IT_TN"), + IT_TO("IT_TO"), + IT_TP("IT_TP"), + IT_TR("IT_TR"), + IT_TS("IT_TS"), + IT_TV("IT_TV"), + IT_UD("IT_UD"), + IT_VA("IT_VA"), + IT_VB("IT_VB"), + IT_VC("IT_VC"), + IT_VE("IT_VE"), + IT_VI("IT_VI"), + IT_VR("IT_VR"), + IT_VS("IT_VS"), + IT_VT("IT_VT"), + IT_VV("IT_VV"), + IVK("IVK"), + JP01("JP_01"), + JP02("JP_02"), + JP03("JP_03"), + JP04("JP_04"), + JP05("JP_05"), + JP06("JP_06"), + JP07("JP_07"), + JP08("JP_08"), + JP09("JP_09"), + JP10("JP_10"), + JP11("JP_11"), + JP12("JP_12"), + JP13("JP_13"), + JP14("JP_14"), + JP15("JP_15"), + JP16("JP_16"), + JP17("JP_17"), + JP18("JP_18"), + JP19("JP_19"), + JP20("JP_20"), + JP21("JP_21"), + JP22("JP_22"), + JP23("JP_23"), + JP24("JP_24"), + JP25("JP_25"), + JP26("JP_26"), + JP27("JP_27"), + JP28("JP_28"), + JP29("JP_29"), + JP30("JP_30"), + JP31("JP_31"), + JP32("JP_32"), + JP33("JP_33"), + JP34("JP_34"), + JP35("JP_35"), + JP36("JP_36"), + JP37("JP_37"), + JP38("JP_38"), + JP39("JP_39"), + JP40("JP_40"), + JP41("JP_41"), + JP42("JP_42"), + JP43("JP_43"), + JP44("JP_44"), + JP45("JP_45"), + JP46("JP_46"), + JP47("JP_47"), + KEC("KEC"), + KEN("KEN"), + KHL("KHL"), + KIR("KIR"), + KS("KS"), + KTT("KTT"), + KWL("KWL"), + KY("KY"), + LA("LA"), + LAN("LAN"), + LBH("LBH"), + LCE("LCE"), + LDS("LDS"), + LEC("LEC"), + LEW("LEW"), + LIN("LIN"), + LIV("LIV"), + LMV("LMV"), + LND("LND"), + LRN("LRN"), + LSB("LSB"), + LU_D("LU_D"), + LU_G("LU_G"), + LU_L("LU_L"), + LUT("LUT"), + MA("MA"), + MAN("MAN"), + MB("MB"), + MD("MD"), + MDB("MDB"), + MDS("MDS"), + MDW("MDW"), + ME("ME"), + MFT("MFT"), + MGM("MGM"), + MH("MH"), + MI("MI"), + MIK("MIK"), + MLN("MLN"), + MN("MN"), + MO("MO"), + MON("MON"), + MP("MP"), + MRT("MRT"), + MRY("MRY"), + MS("MS"), + MSY("MSY"), + MT("MT"), + MTY("MTY"), + MX_AGU("MX_AGU"), + MX_BCN("MX_BCN"), + MX_BCS("MX_BCS"), + MX_CAM("MX_CAM"), + MX_CHH("MX_CHH"), + MX_CHP("MX_CHP"), + MX_COA("MX_COA"), + MX_COL("MX_COL"), + MX_DIF("MX_DIF"), + MX_DUR("MX_DUR"), + MX_GRO("MX_GRO"), + MX_GUA("MX_GUA"), + MX_HID("MX_HID"), + MX_JAL("MX_JAL"), + MX_MEX("MX_MEX"), + MX_MIC("MX_MIC"), + MX_MOR("MX_MOR"), + MX_NAY("MX_NAY"), + MX_NLE("MX_NLE"), + MX_OAX("MX_OAX"), + MX_PUE("MX_PUE"), + MX_QUE("MX_QUE"), + MX_ROO("MX_ROO"), + MX_SIN("MX_SIN"), + MX_SLP("MX_SLP"), + MX_SON("MX_SON"), + MX_TAB("MX_TAB"), + MX_TAM("MX_TAM"), + MX_TLA("MX_TLA"), + MX_VER("MX_VER"), + MX_YUC("MX_YUC"), + MX_ZAC("MX_ZAC"), + MYL("MYL"), + NAY("NAY"), + NB("NB"), + NBL("NBL"), + NC("NC"), + ND("ND"), + NDN("NDN"), + NE("NE"), + NEL("NEL"), + NET("NET"), + NFK("NFK"), + NGM("NGM"), + NH("NH"), + NJ("NJ"), + NL("NL"), + NL_DR("NL_DR"), + NL_FL("NL_FL"), + NL_FR("NL_FR"), + NL_GE("NL_GE"), + NL_GR("NL_GR"), + NLK("NLK"), + NL_LI("NL_LI"), + NLN("NLN"), + NL_NB("NL_NB"), + NL_NH("NL_NH"), + NL_OV("NL_OV"), + NL_UT("NL_UT"), + NL_ZE("NL_ZE"), + NL_ZH("NL_ZH"), + NM("NM"), + NO01("NO_01"), + NO02("NO_02"), + NO03("NO_03"), + NO04("NO_04"), + NO05("NO_05"), + NO06("NO_06"), + NO07("NO_07"), + NO08("NO_08"), + NO09("NO_09"), + NO10("NO_10"), + NO11("NO_11"), + NO12("NO_12"), + NO14("NO_14"), + NO15("NO_15"), + NO16("NO_16"), + NO17("NO_17"), + NO18("NO_18"), + NO19("NO_19"), + NO20("NO_20"), + NO21("NO_21"), + NO22("NO_22"), + NRY("NRY"), + NS("NS"), + NSM("NSM"), + NSW_AUS("NSW_AUS"), + NT("NT"), + NT_AUS("NT_AUS"), + NTA("NTA"), + NTH("NTH"), + NTL("NTL"), + NTT("NTT"), + NTY("NTY"), + NU("NU"), + NV("NV"), + NWM("NWM"), + NWP("NWP"), + NY("NY"), + NYK("NYK"), + NYM("NYM"), + OH("OH"), + OK("OK"), + OLD("OLD"), + OMH("OMH"), + ON("ON"), + OR("OR"), + ORK("ORK"), + OXF("OXF"), + PA("PA"), + PE("PE"), + PEM("PEM"), + PKN("PKN"), + PLY("PLY"), + POL("POL"), + POR("POR"), + POW("POW"), + PR("PR"), + PTE("PTE"), + PW("PW"), + QC("QC"), + QLD_AUS("QLD_AUS"), + RCC("RCC"), + RCH("RCH"), + RCT("RCT"), + RDB("RDB"), + RDG("RDG"), + RFW("RFW"), + RI("RI"), + RIC("RIC"), + ROT("ROT"), + RUT("RUT"), + SA_AUS("SA_AUS"), + SAW("SAW"), + SAY("SAY"), + SC("SC"), + SCB("SCB"), + SD("SD"), + SFK("SFK"), + SFT("SFT"), + SGC("SGC"), + SGM("SGM"), + SHF("SHF"), + SHN("SHN"), + SHR("SHR"), + SK("SK"), + SKP("SKP"), + SLF("SLF"), + SLG("SLG"), + SLK("SLK"), + SOL("SOL"), + SOM("SOM"), + SOS("SOS"), + SRY("SRY"), + STB("STB"), + STE("STE"), + STG("STG"), + STH("STH"), + STN("STN"), + STS("STS"), + STT("STT"), + STY("STY"), + SWA("SWA"), + SWD("SWD"), + SWK("SWK"), + SYK("SYK"), + TAM("TAM"), + TAS_AUS("TAS_AUS"), + TFW("TFW"), + THR("THR"), + TN("TN"), + TOB("TOB"), + TOF("TOF"), + TRF("TRF"), + TWH("TWH"), + TWR("TWR"), + TX("TX"), + TYR("TYR"), + UT("UT"), + VA("VA"), + VGL("VGL"), + VI("VI"), + VIC_AUS("VIC_AUS"), + VT("VT"), + WA("WA"), + WA_AUS("WA_AUS"), + WAR("WAR"), + WBK("WBK"), + WDU("WDU"), + WFT("WFT"), + WGM("WGM"), + WGN("WGN"), + WI("WI"), + WIL("WIL"), + WIS("WIS"), + WKF("WKF"), + WLL("WLL"), + WLN("WLN"), + WLV("WLV"), + WMD("WMD"), + WND("WND"), + WNM("WNM"), + WOK("WOK"), + WOR("WOR"), + WRL("WRL"), + WRT("WRT"), + WRX("WRX"), + WSM("WSM"), + WSX("WSX"), + WV("WV"), + WY("WY"), + WYK("WYK"), + YOR("YOR"), + YT("YT"), + ZET("ZET"); + + @JsonValue + private final String value; + + LeadCatcherAddressStateProvince(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (LeadCatcherAddressStateProvince o : LeadCatcherAddressStateProvince.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadCatcherConfig.java b/packages/java/src/main/java/com/cvent/models/components/LeadCatcherConfig.java new file mode 100644 index 000000000..d1e545467 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/LeadCatcherConfig.java @@ -0,0 +1,193 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.LazySingletonValue; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nullable; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * LeadCatcherConfig + * + *

Notification and role configuration for a lead catcher contact. + */ +public class LeadCatcherConfig { + /** + * True indicates this contact receives email notifications when an RFP is submitted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("rfpEmailEnabled") + private Boolean rfpEmailEnabled; + + /** + * True indicates the RFP notification email includes a PDF link. Only meaningful when + * `rfpEmailEnabled` is `true`. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("pdfLinkEnabled") + private Boolean pdfLinkEnabled; + + /** + * Name of the supplier contact role assigned to this contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("supplierContactRole") + private String supplierContactRole; + + @JsonCreator + public LeadCatcherConfig( + @JsonProperty("rfpEmailEnabled") @Nullable Boolean rfpEmailEnabled, + @JsonProperty("pdfLinkEnabled") @Nullable Boolean pdfLinkEnabled, + @JsonProperty("supplierContactRole") @Nullable String supplierContactRole) { + this.rfpEmailEnabled = + Optional.ofNullable(rfpEmailEnabled).orElse(Builder._SINGLETON_VALUE_RfpEmailEnabled.value()); + this.pdfLinkEnabled = + Optional.ofNullable(pdfLinkEnabled).orElse(Builder._SINGLETON_VALUE_PdfLinkEnabled.value()); + this.supplierContactRole = supplierContactRole; + } + + public LeadCatcherConfig() { + this(null, null, null); + } + + /** + * True indicates this contact receives email notifications when an RFP is submitted. + */ + public Optional rfpEmailEnabled() { + return Optional.ofNullable(this.rfpEmailEnabled); + } + + /** + * True indicates the RFP notification email includes a PDF link. Only meaningful when + * `rfpEmailEnabled` is `true`. + */ + public Optional pdfLinkEnabled() { + return Optional.ofNullable(this.pdfLinkEnabled); + } + + /** + * Name of the supplier contact role assigned to this contact. + */ + public Optional supplierContactRole() { + return Optional.ofNullable(this.supplierContactRole); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * True indicates this contact receives email notifications when an RFP is submitted. + */ + public LeadCatcherConfig withRfpEmailEnabled(@Nullable Boolean rfpEmailEnabled) { + this.rfpEmailEnabled = rfpEmailEnabled; + return this; + } + + /** + * True indicates the RFP notification email includes a PDF link. Only meaningful when + * `rfpEmailEnabled` is `true`. + */ + public LeadCatcherConfig withPdfLinkEnabled(@Nullable Boolean pdfLinkEnabled) { + this.pdfLinkEnabled = pdfLinkEnabled; + return this; + } + + /** + * Name of the supplier contact role assigned to this contact. + */ + public LeadCatcherConfig withSupplierContactRole(@Nullable String supplierContactRole) { + this.supplierContactRole = supplierContactRole; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LeadCatcherConfig other = (LeadCatcherConfig) o; + return Utils.enhancedDeepEquals(this.rfpEmailEnabled, other.rfpEmailEnabled) + && Utils.enhancedDeepEquals(this.pdfLinkEnabled, other.pdfLinkEnabled) + && Utils.enhancedDeepEquals(this.supplierContactRole, other.supplierContactRole); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(rfpEmailEnabled, pdfLinkEnabled, supplierContactRole); + } + + @Override + public String toString() { + return Utils.toString( + LeadCatcherConfig.class, + "rfpEmailEnabled", + rfpEmailEnabled, + "pdfLinkEnabled", + pdfLinkEnabled, + "supplierContactRole", + supplierContactRole); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Boolean rfpEmailEnabled; + + private Boolean pdfLinkEnabled; + + private String supplierContactRole; + + private Builder() { + // force use of static builder() method + } + + /** + * True indicates this contact receives email notifications when an RFP is submitted. + */ + public Builder rfpEmailEnabled(@Nullable Boolean rfpEmailEnabled) { + this.rfpEmailEnabled = rfpEmailEnabled; + return this; + } + + /** + * True indicates the RFP notification email includes a PDF link. Only meaningful when + * `rfpEmailEnabled` is `true`. + */ + public Builder pdfLinkEnabled(@Nullable Boolean pdfLinkEnabled) { + this.pdfLinkEnabled = pdfLinkEnabled; + return this; + } + + /** + * Name of the supplier contact role assigned to this contact. + */ + public Builder supplierContactRole(@Nullable String supplierContactRole) { + this.supplierContactRole = supplierContactRole; + return this; + } + + public LeadCatcherConfig build() { + return new LeadCatcherConfig(rfpEmailEnabled, pdfLinkEnabled, supplierContactRole); + } + + private static final LazySingletonValue _SINGLETON_VALUE_RfpEmailEnabled = + new LazySingletonValue<>("rfpEmailEnabled", "true", new TypeReference() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_PdfLinkEnabled = + new LazySingletonValue<>("pdfLinkEnabled", "true", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadCatcherConfigPatch.java b/packages/java/src/main/java/com/cvent/models/components/LeadCatcherConfigPatch.java new file mode 100644 index 000000000..a6d10cf67 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/LeadCatcherConfigPatch.java @@ -0,0 +1,185 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; +import org.openapitools.jackson.nullable.JsonNullable; + +/** + * LeadCatcherConfigPatch + * + *

Notification and role configuration for the lead catcher contact. Only the config sub-fields + * supplied are updated; omitted sub-fields are left unchanged. + */ +public class LeadCatcherConfigPatch { + /** + * True indicates this contact receives email notifications when an RFP is submitted. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("rfpEmailEnabled") + private JsonNullable rfpEmailEnabled; + + /** + * True indicates the RFP notification email includes a PDF link. Only meaningful when + * `rfpEmailEnabled` is `true`. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("pdfLinkEnabled") + private JsonNullable pdfLinkEnabled; + + /** + * Name of the supplier contact role assigned to this contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("supplierContactRole") + private JsonNullable supplierContactRole; + + @JsonCreator + public LeadCatcherConfigPatch( + @JsonProperty("rfpEmailEnabled") @Nullable JsonNullable rfpEmailEnabled, + @JsonProperty("pdfLinkEnabled") @Nullable JsonNullable pdfLinkEnabled, + @JsonProperty("supplierContactRole") @Nullable JsonNullable supplierContactRole) { + this.rfpEmailEnabled = Optional.ofNullable(rfpEmailEnabled).orElse(JsonNullable.undefined()); + this.pdfLinkEnabled = Optional.ofNullable(pdfLinkEnabled).orElse(JsonNullable.undefined()); + this.supplierContactRole = Optional.ofNullable(supplierContactRole).orElse(JsonNullable.undefined()); + } + + public LeadCatcherConfigPatch() { + this(null, null, null); + } + + /** + * True indicates this contact receives email notifications when an RFP is submitted. + */ + public JsonNullable rfpEmailEnabled() { + return this.rfpEmailEnabled; + } + + /** + * True indicates the RFP notification email includes a PDF link. Only meaningful when + * `rfpEmailEnabled` is `true`. + */ + public JsonNullable pdfLinkEnabled() { + return this.pdfLinkEnabled; + } + + /** + * Name of the supplier contact role assigned to this contact. + */ + public JsonNullable supplierContactRole() { + return this.supplierContactRole; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * True indicates this contact receives email notifications when an RFP is submitted. + */ + public LeadCatcherConfigPatch withRfpEmailEnabled(@Nullable Boolean rfpEmailEnabled) { + this.rfpEmailEnabled = JsonNullable.of(rfpEmailEnabled); + return this; + } + + /** + * True indicates the RFP notification email includes a PDF link. Only meaningful when + * `rfpEmailEnabled` is `true`. + */ + public LeadCatcherConfigPatch withPdfLinkEnabled(@Nullable Boolean pdfLinkEnabled) { + this.pdfLinkEnabled = JsonNullable.of(pdfLinkEnabled); + return this; + } + + /** + * Name of the supplier contact role assigned to this contact. + */ + public LeadCatcherConfigPatch withSupplierContactRole(@Nullable String supplierContactRole) { + this.supplierContactRole = JsonNullable.of(supplierContactRole); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LeadCatcherConfigPatch other = (LeadCatcherConfigPatch) o; + return Utils.enhancedDeepEquals(this.rfpEmailEnabled, other.rfpEmailEnabled) + && Utils.enhancedDeepEquals(this.pdfLinkEnabled, other.pdfLinkEnabled) + && Utils.enhancedDeepEquals(this.supplierContactRole, other.supplierContactRole); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(rfpEmailEnabled, pdfLinkEnabled, supplierContactRole); + } + + @Override + public String toString() { + return Utils.toString( + LeadCatcherConfigPatch.class, + "rfpEmailEnabled", + rfpEmailEnabled, + "pdfLinkEnabled", + pdfLinkEnabled, + "supplierContactRole", + supplierContactRole); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private JsonNullable rfpEmailEnabled; + + private JsonNullable pdfLinkEnabled; + + private JsonNullable supplierContactRole; + + private Builder() { + // force use of static builder() method + } + + /** + * True indicates this contact receives email notifications when an RFP is submitted. + */ + public Builder rfpEmailEnabled(@Nullable Boolean rfpEmailEnabled) { + this.rfpEmailEnabled = JsonNullable.of(rfpEmailEnabled); + return this; + } + + /** + * True indicates the RFP notification email includes a PDF link. Only meaningful when + * `rfpEmailEnabled` is `true`. + */ + public Builder pdfLinkEnabled(@Nullable Boolean pdfLinkEnabled) { + this.pdfLinkEnabled = JsonNullable.of(pdfLinkEnabled); + return this; + } + + /** + * Name of the supplier contact role assigned to this contact. + */ + public Builder supplierContactRole(@Nullable String supplierContactRole) { + this.supplierContactRole = JsonNullable.of(supplierContactRole); + return this; + } + + public LeadCatcherConfigPatch build() { + return new LeadCatcherConfigPatch(rfpEmailEnabled, pdfLinkEnabled, supplierContactRole); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadCatcherOverview.java b/packages/java/src/main/java/com/cvent/models/components/LeadCatcherOverview.java new file mode 100644 index 000000000..3990639c1 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/LeadCatcherOverview.java @@ -0,0 +1,164 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * LeadCatcherOverview + * + *

A lightweight, non-PII overview of a lead catcher contact. + */ +public class LeadCatcherOverview { + /** + * Lead catcher ID. + */ + @JsonProperty("id") + private String id; + + /** + * First name of the lead catcher contact. + */ + @JsonProperty("firstName") + private String firstName; + + /** + * Last name of the lead catcher contact. + */ + @JsonProperty("lastName") + private String lastName; + + @JsonCreator + public LeadCatcherOverview( + @JsonProperty("id") @Nonnull String id, + @JsonProperty("firstName") @Nonnull String firstName, + @JsonProperty("lastName") @Nonnull String lastName) { + this.id = Optional.ofNullable(id).orElseThrow(() -> new IllegalArgumentException("id cannot be null")); + this.firstName = Optional.ofNullable(firstName) + .orElseThrow(() -> new IllegalArgumentException("firstName cannot be null")); + this.lastName = Optional.ofNullable(lastName) + .orElseThrow(() -> new IllegalArgumentException("lastName cannot be null")); + } + + /** + * Lead catcher ID. + */ + public String id() { + return this.id; + } + + /** + * First name of the lead catcher contact. + */ + public String firstName() { + return this.firstName; + } + + /** + * Last name of the lead catcher contact. + */ + public String lastName() { + return this.lastName; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Lead catcher ID. + */ + public LeadCatcherOverview withId(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * First name of the lead catcher contact. + */ + public LeadCatcherOverview withFirstName(@Nonnull String firstName) { + this.firstName = Utils.checkNotNull(firstName, "firstName"); + return this; + } + + /** + * Last name of the lead catcher contact. + */ + public LeadCatcherOverview withLastName(@Nonnull String lastName) { + this.lastName = Utils.checkNotNull(lastName, "lastName"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LeadCatcherOverview other = (LeadCatcherOverview) o; + return Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.firstName, other.firstName) + && Utils.enhancedDeepEquals(this.lastName, other.lastName); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(id, firstName, lastName); + } + + @Override + public String toString() { + return Utils.toString(LeadCatcherOverview.class, "id", id, "firstName", firstName, "lastName", lastName); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String id; + + private String firstName; + + private String lastName; + + private Builder() { + // force use of static builder() method + } + + /** + * Lead catcher ID. + */ + public Builder id(@Nonnull String id) { + this.id = Utils.checkNotNull(id, "id"); + return this; + } + + /** + * First name of the lead catcher contact. + */ + public Builder firstName(@Nonnull String firstName) { + this.firstName = Utils.checkNotNull(firstName, "firstName"); + return this; + } + + /** + * Last name of the lead catcher contact. + */ + public Builder lastName(@Nonnull String lastName) { + this.lastName = Utils.checkNotNull(lastName, "lastName"); + return this; + } + + public LeadCatcherOverview build() { + return new LeadCatcherOverview(id, firstName, lastName); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadCatcherPatch.java b/packages/java/src/main/java/com/cvent/models/components/LeadCatcherPatch.java new file mode 100644 index 000000000..0734682bd --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/LeadCatcherPatch.java @@ -0,0 +1,448 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; +import org.openapitools.jackson.nullable.JsonNullable; + +/** + * LeadCatcherPatch + * + *

Partial update payload for a lead catcher contact. + */ +public class LeadCatcherPatch { + /** + * First name of the lead catcher contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("firstName") + private JsonNullable firstName; + + /** + * Last name of the lead catcher contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastName") + private JsonNullable lastName; + + /** + * Job title of the lead catcher contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("title") + private JsonNullable title; + + /** + * Email address of the lead catcher contact. RFP notifications are sent to this address. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("email") + private JsonNullable email; + + /** + * Phone number of the lead catcher contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("phone") + private JsonNullable phone; + + /** + * Fax number of the lead catcher contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("fax") + private JsonNullable fax; + + /** + * Address information for the lead catcher contact. Only the address sub-fields supplied are updated; + * omitted sub-fields are left unchanged. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address") + private JsonNullable address; + + /** + * Locale used for planner communications sent to this contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("locale") + private JsonNullable locale; + + /** + * Notification and role configuration for the lead catcher contact. Only the config sub-fields + * supplied are updated; omitted sub-fields are left unchanged. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("config") + private JsonNullable config; + + /** + * Additional information about the lead catcher contact. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("additionalInfo") + private JsonNullable additionalInfo; + + @JsonCreator + public LeadCatcherPatch( + @JsonProperty("firstName") @Nullable JsonNullable firstName, + @JsonProperty("lastName") @Nullable JsonNullable lastName, + @JsonProperty("title") @Nullable JsonNullable title, + @JsonProperty("email") @Nullable JsonNullable email, + @JsonProperty("phone") @Nullable JsonNullable phone, + @JsonProperty("fax") @Nullable JsonNullable fax, + @JsonProperty("address") @Nullable JsonNullable address, + @JsonProperty("locale") @Nullable JsonNullable locale, + @JsonProperty("config") @Nullable JsonNullable config, + @JsonProperty("additionalInfo") @Nullable JsonNullable additionalInfo) { + this.firstName = Optional.ofNullable(firstName).orElse(JsonNullable.undefined()); + this.lastName = Optional.ofNullable(lastName).orElse(JsonNullable.undefined()); + this.title = Optional.ofNullable(title).orElse(JsonNullable.undefined()); + this.email = Optional.ofNullable(email).orElse(JsonNullable.undefined()); + this.phone = Optional.ofNullable(phone).orElse(JsonNullable.undefined()); + this.fax = Optional.ofNullable(fax).orElse(JsonNullable.undefined()); + this.address = Optional.ofNullable(address).orElse(JsonNullable.undefined()); + this.locale = Optional.ofNullable(locale).orElse(JsonNullable.undefined()); + this.config = Optional.ofNullable(config).orElse(JsonNullable.undefined()); + this.additionalInfo = Optional.ofNullable(additionalInfo).orElse(JsonNullable.undefined()); + } + + public LeadCatcherPatch() { + this(null, null, null, null, null, null, null, null, null, null); + } + + /** + * First name of the lead catcher contact. + */ + public JsonNullable firstName() { + return this.firstName; + } + + /** + * Last name of the lead catcher contact. + */ + public JsonNullable lastName() { + return this.lastName; + } + + /** + * Job title of the lead catcher contact. + */ + public JsonNullable title() { + return this.title; + } + + /** + * Email address of the lead catcher contact. RFP notifications are sent to this address. + */ + public JsonNullable email() { + return this.email; + } + + /** + * Phone number of the lead catcher contact. + */ + public JsonNullable phone() { + return this.phone; + } + + /** + * Fax number of the lead catcher contact. + */ + public JsonNullable fax() { + return this.fax; + } + + /** + * Address information for the lead catcher contact. Only the address sub-fields supplied are updated; + * omitted sub-fields are left unchanged. + */ + public JsonNullable address() { + return this.address; + } + + /** + * Locale used for planner communications sent to this contact. + */ + public JsonNullable locale() { + return this.locale; + } + + /** + * Notification and role configuration for the lead catcher contact. Only the config sub-fields + * supplied are updated; omitted sub-fields are left unchanged. + */ + public JsonNullable config() { + return this.config; + } + + /** + * Additional information about the lead catcher contact. + */ + public JsonNullable additionalInfo() { + return this.additionalInfo; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * First name of the lead catcher contact. + */ + public LeadCatcherPatch withFirstName(@Nullable String firstName) { + this.firstName = JsonNullable.of(firstName); + return this; + } + + /** + * Last name of the lead catcher contact. + */ + public LeadCatcherPatch withLastName(@Nullable String lastName) { + this.lastName = JsonNullable.of(lastName); + return this; + } + + /** + * Job title of the lead catcher contact. + */ + public LeadCatcherPatch withTitle(@Nullable String title) { + this.title = JsonNullable.of(title); + return this; + } + + /** + * Email address of the lead catcher contact. RFP notifications are sent to this address. + */ + public LeadCatcherPatch withEmail(@Nullable String email) { + this.email = JsonNullable.of(email); + return this; + } + + /** + * Phone number of the lead catcher contact. + */ + public LeadCatcherPatch withPhone(@Nullable String phone) { + this.phone = JsonNullable.of(phone); + return this; + } + + /** + * Fax number of the lead catcher contact. + */ + public LeadCatcherPatch withFax(@Nullable String fax) { + this.fax = JsonNullable.of(fax); + return this; + } + + /** + * Address information for the lead catcher contact. Only the address sub-fields supplied are updated; + * omitted sub-fields are left unchanged. + */ + public LeadCatcherPatch withAddress(@Nullable LeadCatcherAddressPatch address) { + this.address = JsonNullable.of(address); + return this; + } + + /** + * Locale used for planner communications sent to this contact. + */ + public LeadCatcherPatch withLocale(@Nullable String locale) { + this.locale = JsonNullable.of(locale); + return this; + } + + /** + * Notification and role configuration for the lead catcher contact. Only the config sub-fields + * supplied are updated; omitted sub-fields are left unchanged. + */ + public LeadCatcherPatch withConfig(@Nullable LeadCatcherConfigPatch config) { + this.config = JsonNullable.of(config); + return this; + } + + /** + * Additional information about the lead catcher contact. + */ + public LeadCatcherPatch withAdditionalInfo(@Nullable String additionalInfo) { + this.additionalInfo = JsonNullable.of(additionalInfo); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LeadCatcherPatch other = (LeadCatcherPatch) o; + return Utils.enhancedDeepEquals(this.firstName, other.firstName) + && Utils.enhancedDeepEquals(this.lastName, other.lastName) + && Utils.enhancedDeepEquals(this.title, other.title) + && Utils.enhancedDeepEquals(this.email, other.email) + && Utils.enhancedDeepEquals(this.phone, other.phone) + && Utils.enhancedDeepEquals(this.fax, other.fax) + && Utils.enhancedDeepEquals(this.address, other.address) + && Utils.enhancedDeepEquals(this.locale, other.locale) + && Utils.enhancedDeepEquals(this.config, other.config) + && Utils.enhancedDeepEquals(this.additionalInfo, other.additionalInfo); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + firstName, lastName, title, email, phone, fax, address, locale, config, additionalInfo); + } + + @Override + public String toString() { + return Utils.toString( + LeadCatcherPatch.class, + "firstName", + firstName, + "lastName", + lastName, + "title", + title, + "email", + email, + "phone", + phone, + "fax", + fax, + "address", + address, + "locale", + locale, + "config", + config, + "additionalInfo", + additionalInfo); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private JsonNullable firstName; + + private JsonNullable lastName; + + private JsonNullable title; + + private JsonNullable email; + + private JsonNullable phone; + + private JsonNullable fax; + + private JsonNullable address; + + private JsonNullable locale; + + private JsonNullable config; + + private JsonNullable additionalInfo; + + private Builder() { + // force use of static builder() method + } + + /** + * First name of the lead catcher contact. + */ + public Builder firstName(@Nullable String firstName) { + this.firstName = JsonNullable.of(firstName); + return this; + } + + /** + * Last name of the lead catcher contact. + */ + public Builder lastName(@Nullable String lastName) { + this.lastName = JsonNullable.of(lastName); + return this; + } + + /** + * Job title of the lead catcher contact. + */ + public Builder title(@Nullable String title) { + this.title = JsonNullable.of(title); + return this; + } + + /** + * Email address of the lead catcher contact. RFP notifications are sent to this address. + */ + public Builder email(@Nullable String email) { + this.email = JsonNullable.of(email); + return this; + } + + /** + * Phone number of the lead catcher contact. + */ + public Builder phone(@Nullable String phone) { + this.phone = JsonNullable.of(phone); + return this; + } + + /** + * Fax number of the lead catcher contact. + */ + public Builder fax(@Nullable String fax) { + this.fax = JsonNullable.of(fax); + return this; + } + + /** + * Address information for the lead catcher contact. Only the address sub-fields supplied are updated; + * omitted sub-fields are left unchanged. + */ + public Builder address(@Nullable LeadCatcherAddressPatch address) { + this.address = JsonNullable.of(address); + return this; + } + + /** + * Locale used for planner communications sent to this contact. + */ + public Builder locale(@Nullable String locale) { + this.locale = JsonNullable.of(locale); + return this; + } + + /** + * Notification and role configuration for the lead catcher contact. Only the config sub-fields + * supplied are updated; omitted sub-fields are left unchanged. + */ + public Builder config(@Nullable LeadCatcherConfigPatch config) { + this.config = JsonNullable.of(config); + return this; + } + + /** + * Additional information about the lead catcher contact. + */ + public Builder additionalInfo(@Nullable String additionalInfo) { + this.additionalInfo = JsonNullable.of(additionalInfo); + return this; + } + + public LeadCatcherPatch build() { + return new LeadCatcherPatch( + firstName, lastName, title, email, phone, fax, address, locale, config, additionalInfo); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadCatcherPatchCountry.java b/packages/java/src/main/java/com/cvent/models/components/LeadCatcherPatchCountry.java new file mode 100644 index 000000000..a4e1ed299 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/LeadCatcherPatchCountry.java @@ -0,0 +1,294 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * LeadCatcherPatchCountry + * + *

ISO 3166 two-letter (alpha-2) country code used for contact information. + */ +public enum LeadCatcherPatchCountry { + BLANK("BLANK"), + AD("AD"), + AE("AE"), + AF("AF"), + AG("AG"), + AI("AI"), + AL("AL"), + AM("AM"), + AN("AN"), + AO("AO"), + AQ("AQ"), + AR("AR"), + AS("AS"), + AT("AT"), + AU("AU"), + AW("AW"), + AX("AX"), + AZ("AZ"), + BA("BA"), + BB("BB"), + BD("BD"), + BE("BE"), + BF("BF"), + BG("BG"), + BH("BH"), + BI("BI"), + BJ("BJ"), + BL("BL"), + BM("BM"), + BN("BN"), + BO("BO"), + BQ("BQ"), + BR("BR"), + BS("BS"), + BT("BT"), + BV("BV"), + BW("BW"), + BY("BY"), + BZ("BZ"), + CA("CA"), + CC("CC"), + CD("CD"), + CF("CF"), + CG("CG"), + CH("CH"), + CI("CI"), + CK("CK"), + CL("CL"), + CM("CM"), + CN("CN"), + CO("CO"), + CR("CR"), + CU("CU"), + CV("CV"), + CW("CW"), + CX("CX"), + CY("CY"), + CZ("CZ"), + DE("DE"), + DJ("DJ"), + DK("DK"), + DM("DM"), + DO("DO"), + DZ("DZ"), + EC("EC"), + EE("EE"), + EG("EG"), + EH("EH"), + ER("ER"), + ES("ES"), + ET("ET"), + FI("FI"), + FJ("FJ"), + FK("FK"), + FM("FM"), + FO("FO"), + FR("FR"), + GA("GA"), + GB("GB"), + GB1("GB_1"), + GB2("GB_2"), + GB3("GB_3"), + GB4("GB_4"), + GD("GD"), + GE("GE"), + GF("GF"), + GG("GG"), + GH("GH"), + GI("GI"), + GL("GL"), + GM("GM"), + GN("GN"), + GP("GP"), + GQ("GQ"), + GR("GR"), + GS("GS"), + GT("GT"), + GU("GU"), + GW("GW"), + GY("GY"), + HK("HK"), + HM("HM"), + HN("HN"), + HR("HR"), + HT("HT"), + HU("HU"), + ID("ID"), + IE("IE"), + IL("IL"), + IM("IM"), + IN("IN"), + IO("IO"), + IQ("IQ"), + IR("IR"), + IS("IS"), + IT("IT"), + JE("JE"), + JM("JM"), + JO("JO"), + JP("JP"), + KE("KE"), + KG("KG"), + KH("KH"), + KI("KI"), + KM("KM"), + KN("KN"), + KO("KO"), + KP("KP"), + KR("KR"), + KW("KW"), + KY("KY"), + KZ("KZ"), + LA("LA"), + LB("LB"), + LC("LC"), + LI("LI"), + LK("LK"), + LR("LR"), + LS("LS"), + LT("LT"), + LU("LU"), + LV("LV"), + LY("LY"), + MA("MA"), + MC("MC"), + MD("MD"), + ME("ME"), + MF("MF"), + MG("MG"), + MH("MH"), + MK("MK"), + ML("ML"), + MM("MM"), + MN("MN"), + MO("MO"), + MP("MP"), + MQ("MQ"), + MR("MR"), + MS("MS"), + MT("MT"), + MU("MU"), + MV("MV"), + MW("MW"), + MX("MX"), + MY("MY"), + MZ("MZ"), + NA("NA"), + NC("NC"), + NE("NE"), + NF("NF"), + NG("NG"), + NI("NI"), + NL("NL"), + NO("NO"), + NP("NP"), + NR("NR"), + NU("NU"), + NZ("NZ"), + OM("OM"), + PA("PA"), + PE("PE"), + PF("PF"), + PG("PG"), + PH("PH"), + PK("PK"), + PL("PL"), + PM("PM"), + PN("PN"), + PR("PR"), + PS("PS"), + PT("PT"), + PW("PW"), + PY("PY"), + QA("QA"), + RE("RE"), + RO("RO"), + RS("RS"), + RU("RU"), + RW("RW"), + SA("SA"), + SB("SB"), + SC("SC"), + SD("SD"), + SE("SE"), + SG("SG"), + SH("SH"), + SI("SI"), + SJ("SJ"), + SK("SK"), + SL("SL"), + SM("SM"), + SN("SN"), + SO("SO"), + SR("SR"), + SS("SS"), + ST("ST"), + SV("SV"), + SX("SX"), + SY("SY"), + SZ("SZ"), + TC("TC"), + TD("TD"), + TF("TF"), + TG("TG"), + TH("TH"), + TJ("TJ"), + TK("TK"), + TL("TL"), + TM("TM"), + TN("TN"), + TO("TO"), + TP("TP"), + TR("TR"), + TT("TT"), + TV("TV"), + TW("TW"), + TZ("TZ"), + UA("UA"), + UG("UG"), + UM("UM"), + US("US"), + UY("UY"), + UZ("UZ"), + VA("VA"), + VC("VC"), + VE("VE"), + VG("VG"), + VI("VI"), + VN("VN"), + VU("VU"), + WF("WF"), + WS("WS"), + YE("YE"), + YT("YT"), + ZA("ZA"), + ZM("ZM"), + ZW("ZW"); + + @JsonValue + private final String value; + + LeadCatcherPatchCountry(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (LeadCatcherPatchCountry o : LeadCatcherPatchCountry.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadCatcherPatchStateProvince.java b/packages/java/src/main/java/com/cvent/models/components/LeadCatcherPatchStateProvince.java new file mode 100644 index 000000000..1f8239502 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/LeadCatcherPatchStateProvince.java @@ -0,0 +1,859 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * LeadCatcherPatchStateProvince + * + *

The state province code used for contact information. + */ +public enum LeadCatcherPatchStateProvince { + BLANK("BLANK"), + AA("AA"), + AB("AB"), + ABD("ABD"), + ABE("ABE"), + ACT_AUS("ACT_AUS"), + AE("AE"), + AGB("AGB"), + AGY("AGY"), + AK("AK"), + AL("AL"), + ANS("ANS"), + ANT("ANT"), + AP("AP"), + AR("AR"), + ARD("ARD"), + ARM("ARM"), + AS("AS"), + AT1("AT_1"), + AT2("AT_2"), + AT3("AT_3"), + AT4("AT_4"), + AT5("AT_5"), + AT6("AT_6"), + AT7("AT_7"), + AT8("AT_8"), + AT9("AT_9"), + AZ("AZ"), + BAN("BAN"), + BAS("BAS"), + BBD("BBD"), + BC("BC"), + BDF("BDF"), + BE_BRU("BE_BRU"), + BEN("BEN"), + BE_VAN("BE_VAN"), + BE_VBR("BE_VBR"), + BE_VLI("BE_VLI"), + BE_VOV("BE_VOV"), + BE_VWV("BE_VWV"), + BE_WBR("BE_WBR"), + BE_WHT("BE_WHT"), + BE_WLG("BE_WLG"), + BE_WLX("BE_WLX"), + BE_WNA("BE_WNA"), + BEX("BEX"), + BFS("BFS"), + BGE("BGE"), + BGW("BGW"), + BIR("BIR"), + BKM("BKM"), + BLA("BLA"), + BLY("BLY"), + BMH("BMH"), + BNB("BNB"), + BNE("BNE"), + BNH("BNH"), + BNS("BNS"), + BOL("BOL"), + BPL("BPL"), + BR_AC("BR_AC"), + BR_AL("BR_AL"), + BR_AM("BR_AM"), + BR_AP("BR_AP"), + BR_BA("BR_BA"), + BRC("BRC"), + BR_CE("BR_CE"), + BRD("BRD"), + BR_DF("BR_DF"), + BR_ES("BR_ES"), + BR_GO("BR_GO"), + BRK("BRK"), + BR_MA("BR_MA"), + BR_MG("BR_MG"), + BR_MS("BR_MS"), + BR_MT("BR_MT"), + BR_PA("BR_PA"), + BR_PB("BR_PB"), + BR_PE("BR_PE"), + BR_PI("BR_PI"), + BR_PR("BR_PR"), + BR_RJ("BR_RJ"), + BR_RN("BR_RN"), + BR_RO("BR_RO"), + BR_RR("BR_RR"), + BR_RS("BR_RS"), + BR_SC("BR_SC"), + BR_SE("BR_SE"), + BR_SP("BR_SP"), + BR_TO("BR_TO"), + BRY("BRY"), + BST("BST"), + BUR("BUR"), + CA("CA"), + CAM("CAM"), + CAY("CAY"), + CGN("CGN"), + CGV("CGV"), + CH_AG("CH_AG"), + CH_AI("CH_AI"), + CH_AR("CH_AR"), + CH_BE("CH_BE"), + CH_BL("CH_BL"), + CH_BS("CH_BS"), + CH_FR("CH_FR"), + CH_GE("CH_GE"), + CH_GL("CH_GL"), + CH_GR("CH_GR"), + CHI("CHI"), + CH_JU("CH_JU"), + CH_LU("CH_LU"), + CH_NE("CH_NE"), + CH_NW("CH_NW"), + CH_OW("CH_OW"), + CHS("CHS"), + CH_SG("CH_SG"), + CH_SH("CH_SH"), + CH_SO("CH_SO"), + CH_SZ("CH_SZ"), + CH_TG("CH_TG"), + CH_TI("CH_TI"), + CH_UR("CH_UR"), + CH_VD("CH_VD"), + CH_VS("CH_VS"), + CH_ZG("CH_ZG"), + CH_ZH("CH_ZH"), + CKF("CKF"), + CKT("CKT"), + CLD("CLD"), + CLK("CLK"), + CLR("CLR"), + CMA("CMA"), + CMD("CMD"), + CMN("CMN"), + CN11("CN_11"), + CN12("CN_12"), + CN13("CN_13"), + CN14("CN_14"), + CN15("CN_15"), + CN21("CN_21"), + CN22("CN_22"), + CN23("CN_23"), + CN31("CN_31"), + CN32("CN_32"), + CN33("CN_33"), + CN34("CN_34"), + CN35("CN_35"), + CN36("CN_36"), + CN37("CN_37"), + CN41("CN_41"), + CN42("CN_42"), + CN43("CN_43"), + CN44("CN_44"), + CN45("CN_45"), + CN46("CN_46"), + CN50("CN_50"), + CN51("CN_51"), + CN52("CN_52"), + CN53("CN_53"), + CN54("CN_54"), + CN61("CN_61"), + CN62("CN_62"), + CN63("CN_63"), + CN64("CN_64"), + CN65("CN_65"), + CN91("CN_91"), + CN92("CN_92"), + CO("CO"), + CON("CON"), + COV("COV"), + CRF("CRF"), + CRY("CRY"), + CSR("CSR"), + CT("CT"), + CWD("CWD"), + CWY("CWY"), + DAL("DAL"), + DBY("DBY"), + DC("DC"), + DE("DE"), + DEN("DEN"), + DER("DER"), + DEV("DEV"), + DGN("DGN"), + DGY("DGY"), + DK015("DK_015"), + DK020("DK_020"), + DK025("DK_025"), + DK030("DK_030"), + DK035("DK_035"), + DK040("DK_040"), + DK042("DK_042"), + DK050("DK_050"), + DK055("DK_055"), + DK060("DK_060"), + DK065("DK_065"), + DK070("DK_070"), + DK076("DK_076"), + DK080("DK_080"), + DK101("DK_101"), + DK147("DK_147"), + DK81("DK_81"), + DK82("DK_82"), + DK83("DK_83"), + DK84("DK_84"), + DK85("DK_85"), + DNC("DNC"), + DND("DND"), + DOR("DOR"), + DOW("DOW"), + DRY("DRY"), + DUD("DUD"), + DUR("DUR"), + EAL("EAL"), + EAY("EAY"), + EDH("EDH"), + EDU("EDU"), + ELN("ELN"), + ELS("ELS"), + ENF("ENF"), + ERW("ERW"), + ERY("ERY"), + ESS("ESS"), + ESX("ESX"), + FAL("FAL"), + FER("FER"), + FIF("FIF"), + FL("FL"), + FLN("FLN"), + FM("FM"), + GA("GA"), + GAT("GAT"), + GB("GB"), + GLG("GLG"), + GLN("GLN"), + GLS("GLS"), + GR01("GR_01"), + GR03("GR_03"), + GR04("GR_04"), + GR05("GR_05"), + GR06("GR_06"), + GR07("GR_07"), + GR11("GR_11"), + GR12("GR_12"), + GR13("GR_13"), + GR14("GR_14"), + GR15("GR_15"), + GR16("GR_16"), + GR17("GR_17"), + GR21("GR_21"), + GR22("GR_22"), + GR23("GR_23"), + GR24("GR_24"), + GR31("GR_31"), + GR32("GR_32"), + GR33("GR_33"), + GR34("GR_34"), + GR41("GR_41"), + GR42("GR_42"), + GR43("GR_43"), + GR44("GR_44"), + GR51("GR_51"), + GR52("GR_52"), + GR53("GR_53"), + GR54("GR_54"), + GR55("GR_55"), + GR56("GR_56"), + GR57("GR_57"), + GR58("GR_58"), + GR59("GR_59"), + GR61("GR_61"), + GR62("GR_62"), + GR63("GR_63"), + GR64("GR_64"), + GR69("GR_69"), + GR71("GR_71"), + GR72("GR_72"), + GR73("GR_73"), + GR81("GR_81"), + GR82("GR_82"), + GR83("GR_83"), + GR84("GR_84"), + GR85("GR_85"), + GR91("GR_91"), + GR92("GR_92"), + GR93("GR_93"), + GR94("GR_94"), + GR_A1("GR_A_1"), + GRE("GRE"), + GTM("GTM"), + GU("GU"), + GWN("GWN"), + HAL("HAL"), + HAM("HAM"), + HAV("HAV"), + HCK("HCK"), + HEF("HEF"), + HI("HI"), + HIL("HIL"), + HLD("HLD"), + HMF("HMF"), + HNS("HNS"), + HPL("HPL"), + HRT("HRT"), + HRW("HRW"), + HRY("HRY"), + IA("IA"), + ID("ID"), + IE_C("IE_C"), + IE_CE("IE_CE"), + IE_CN("IE_CN"), + IE_CW("IE_CW"), + IE_D("IE_D"), + IE_DL("IE_DL"), + IE_G("IE_G"), + IE_KE("IE_KE"), + IE_KK("IE_KK"), + IE_KY("IE_KY"), + IE_LD("IE_LD"), + IE_LH("IE_LH"), + IE_LK("IE_LK"), + IE_LM("IE_LM"), + IE_LS("IE_LS"), + IE_MH("IE_MH"), + IE_MN("IE_MN"), + IE_MO("IE_MO"), + IE_OY("IE_OY"), + IE_RN("IE_RN"), + IE_SO("IE_SO"), + IE_TA("IE_TA"), + IE_WD("IE_WD"), + IE_WH("IE_WH"), + IE_WW("IE_WW"), + IE_WX("IE_WX"), + IL("IL"), + IN("IN"), + IN_AN("IN_AN"), + IN_AP("IN_AP"), + IN_AR("IN_AR"), + IN_AS("IN_AS"), + IN_BR("IN_BR"), + IN_CH("IN_CH"), + IN_CT("IN_CT"), + IN_DD("IN_DD"), + IN_DL("IN_DL"), + IN_DN("IN_DN"), + IN_GA("IN_GA"), + IN_GJ("IN_GJ"), + IN_HP("IN_HP"), + IN_HR("IN_HR"), + IN_JH("IN_JH"), + IN_JK("IN_JK"), + IN_KA("IN_KA"), + IN_KL("IN_KL"), + IN_LD("IN_LD"), + IN_MH("IN_MH"), + IN_ML("IN_ML"), + IN_MN("IN_MN"), + IN_MP("IN_MP"), + IN_MZ("IN_MZ"), + IN_NL("IN_NL"), + IN_OR("IN_OR"), + IN_PB("IN_PB"), + IN_PY("IN_PY"), + IN_RJ("IN_RJ"), + IN_SK("IN_SK"), + IN_TG("IN_TG"), + IN_TN("IN_TN"), + IN_TR("IN_TR"), + IN_UL("IN_UL"), + IN_UP("IN_UP"), + IN_WB("IN_WB"), + IOA("IOA"), + IOI("IOI"), + IOL("IOL"), + IOM("IOM"), + IOS("IOS"), + IOW("IOW"), + IOY("IOY"), + ISL("ISL"), + IT21("IT_21"), + IT23("IT_23"), + IT25("IT_25"), + IT32("IT_32"), + IT34("IT_34"), + IT36("IT_36"), + IT42("IT_42"), + IT45("IT_45"), + IT52("IT_52"), + IT55("IT_55"), + IT57("IT_57"), + IT62("IT_62"), + IT65("IT_65"), + IT67("IT_67"), + IT72("IT_72"), + IT75("IT_75"), + IT77("IT_77"), + IT78("IT_78"), + IT82("IT_82"), + IT88("IT_88"), + IT_AG("IT_AG"), + IT_AL("IT_AL"), + IT_AN("IT_AN"), + IT_AO("IT_AO"), + IT_AP("IT_AP"), + IT_AQ("IT_AQ"), + IT_AR("IT_AR"), + IT_AT("IT_AT"), + IT_AV("IT_AV"), + IT_BA("IT_BA"), + IT_BG("IT_BG"), + IT_BI("IT_BI"), + IT_BL("IT_BL"), + IT_BN("IT_BN"), + IT_BO("IT_BO"), + IT_BR("IT_BR"), + IT_BS("IT_BS"), + IT_BT("IT_BT"), + IT_BZ("IT_BZ"), + IT_CA("IT_CA"), + IT_CB("IT_CB"), + IT_CE("IT_CE"), + IT_CH("IT_CH"), + IT_CI("IT_CI"), + IT_CL("IT_CL"), + IT_CN("IT_CN"), + IT_CO("IT_CO"), + IT_CR("IT_CR"), + IT_CS("IT_CS"), + IT_CT("IT_CT"), + IT_CZ("IT_CZ"), + IT_EN("IT_EN"), + IT_FC("IT_FC"), + IT_FE("IT_FE"), + IT_FG("IT_FG"), + IT_FI("IT_FI"), + IT_FM("IT_FM"), + IT_FR("IT_FR"), + IT_GE("IT_GE"), + IT_GO("IT_GO"), + IT_GR("IT_GR"), + IT_IM("IT_IM"), + IT_IS("IT_IS"), + IT_KR("IT_KR"), + IT_LC("IT_LC"), + IT_LE("IT_LE"), + IT_LI("IT_LI"), + IT_LO("IT_LO"), + IT_LT("IT_LT"), + IT_LU("IT_LU"), + IT_MB("IT_MB"), + IT_MC("IT_MC"), + IT_ME("IT_ME"), + IT_MI("IT_MI"), + IT_MN("IT_MN"), + IT_MO("IT_MO"), + IT_MS("IT_MS"), + IT_MT("IT_MT"), + IT_NA("IT_NA"), + IT_NO("IT_NO"), + IT_NU("IT_NU"), + IT_OG("IT_OG"), + IT_OR("IT_OR"), + IT_OT("IT_OT"), + IT_PA("IT_PA"), + IT_PC("IT_PC"), + IT_PD("IT_PD"), + IT_PE("IT_PE"), + IT_PG("IT_PG"), + IT_PI("IT_PI"), + IT_PN("IT_PN"), + IT_PO("IT_PO"), + IT_PR("IT_PR"), + IT_PT("IT_PT"), + IT_PU("IT_PU"), + IT_PV("IT_PV"), + IT_PZ("IT_PZ"), + IT_RA("IT_RA"), + IT_RC("IT_RC"), + IT_RE("IT_RE"), + IT_RG("IT_RG"), + IT_RI("IT_RI"), + IT_RM("IT_RM"), + IT_RN("IT_RN"), + IT_RO("IT_RO"), + IT_SA("IT_SA"), + IT_SI("IT_SI"), + IT_SO("IT_SO"), + IT_SP("IT_SP"), + IT_SR("IT_SR"), + IT_SS("IT_SS"), + IT_SV("IT_SV"), + IT_TA("IT_TA"), + IT_TE("IT_TE"), + IT_TN("IT_TN"), + IT_TO("IT_TO"), + IT_TP("IT_TP"), + IT_TR("IT_TR"), + IT_TS("IT_TS"), + IT_TV("IT_TV"), + IT_UD("IT_UD"), + IT_VA("IT_VA"), + IT_VB("IT_VB"), + IT_VC("IT_VC"), + IT_VE("IT_VE"), + IT_VI("IT_VI"), + IT_VR("IT_VR"), + IT_VS("IT_VS"), + IT_VT("IT_VT"), + IT_VV("IT_VV"), + IVK("IVK"), + JP01("JP_01"), + JP02("JP_02"), + JP03("JP_03"), + JP04("JP_04"), + JP05("JP_05"), + JP06("JP_06"), + JP07("JP_07"), + JP08("JP_08"), + JP09("JP_09"), + JP10("JP_10"), + JP11("JP_11"), + JP12("JP_12"), + JP13("JP_13"), + JP14("JP_14"), + JP15("JP_15"), + JP16("JP_16"), + JP17("JP_17"), + JP18("JP_18"), + JP19("JP_19"), + JP20("JP_20"), + JP21("JP_21"), + JP22("JP_22"), + JP23("JP_23"), + JP24("JP_24"), + JP25("JP_25"), + JP26("JP_26"), + JP27("JP_27"), + JP28("JP_28"), + JP29("JP_29"), + JP30("JP_30"), + JP31("JP_31"), + JP32("JP_32"), + JP33("JP_33"), + JP34("JP_34"), + JP35("JP_35"), + JP36("JP_36"), + JP37("JP_37"), + JP38("JP_38"), + JP39("JP_39"), + JP40("JP_40"), + JP41("JP_41"), + JP42("JP_42"), + JP43("JP_43"), + JP44("JP_44"), + JP45("JP_45"), + JP46("JP_46"), + JP47("JP_47"), + KEC("KEC"), + KEN("KEN"), + KHL("KHL"), + KIR("KIR"), + KS("KS"), + KTT("KTT"), + KWL("KWL"), + KY("KY"), + LA("LA"), + LAN("LAN"), + LBH("LBH"), + LCE("LCE"), + LDS("LDS"), + LEC("LEC"), + LEW("LEW"), + LIN("LIN"), + LIV("LIV"), + LMV("LMV"), + LND("LND"), + LRN("LRN"), + LSB("LSB"), + LU_D("LU_D"), + LU_G("LU_G"), + LU_L("LU_L"), + LUT("LUT"), + MA("MA"), + MAN("MAN"), + MB("MB"), + MD("MD"), + MDB("MDB"), + MDS("MDS"), + MDW("MDW"), + ME("ME"), + MFT("MFT"), + MGM("MGM"), + MH("MH"), + MI("MI"), + MIK("MIK"), + MLN("MLN"), + MN("MN"), + MO("MO"), + MON("MON"), + MP("MP"), + MRT("MRT"), + MRY("MRY"), + MS("MS"), + MSY("MSY"), + MT("MT"), + MTY("MTY"), + MX_AGU("MX_AGU"), + MX_BCN("MX_BCN"), + MX_BCS("MX_BCS"), + MX_CAM("MX_CAM"), + MX_CHH("MX_CHH"), + MX_CHP("MX_CHP"), + MX_COA("MX_COA"), + MX_COL("MX_COL"), + MX_DIF("MX_DIF"), + MX_DUR("MX_DUR"), + MX_GRO("MX_GRO"), + MX_GUA("MX_GUA"), + MX_HID("MX_HID"), + MX_JAL("MX_JAL"), + MX_MEX("MX_MEX"), + MX_MIC("MX_MIC"), + MX_MOR("MX_MOR"), + MX_NAY("MX_NAY"), + MX_NLE("MX_NLE"), + MX_OAX("MX_OAX"), + MX_PUE("MX_PUE"), + MX_QUE("MX_QUE"), + MX_ROO("MX_ROO"), + MX_SIN("MX_SIN"), + MX_SLP("MX_SLP"), + MX_SON("MX_SON"), + MX_TAB("MX_TAB"), + MX_TAM("MX_TAM"), + MX_TLA("MX_TLA"), + MX_VER("MX_VER"), + MX_YUC("MX_YUC"), + MX_ZAC("MX_ZAC"), + MYL("MYL"), + NAY("NAY"), + NB("NB"), + NBL("NBL"), + NC("NC"), + ND("ND"), + NDN("NDN"), + NE("NE"), + NEL("NEL"), + NET("NET"), + NFK("NFK"), + NGM("NGM"), + NH("NH"), + NJ("NJ"), + NL("NL"), + NL_DR("NL_DR"), + NL_FL("NL_FL"), + NL_FR("NL_FR"), + NL_GE("NL_GE"), + NL_GR("NL_GR"), + NLK("NLK"), + NL_LI("NL_LI"), + NLN("NLN"), + NL_NB("NL_NB"), + NL_NH("NL_NH"), + NL_OV("NL_OV"), + NL_UT("NL_UT"), + NL_ZE("NL_ZE"), + NL_ZH("NL_ZH"), + NM("NM"), + NO01("NO_01"), + NO02("NO_02"), + NO03("NO_03"), + NO04("NO_04"), + NO05("NO_05"), + NO06("NO_06"), + NO07("NO_07"), + NO08("NO_08"), + NO09("NO_09"), + NO10("NO_10"), + NO11("NO_11"), + NO12("NO_12"), + NO14("NO_14"), + NO15("NO_15"), + NO16("NO_16"), + NO17("NO_17"), + NO18("NO_18"), + NO19("NO_19"), + NO20("NO_20"), + NO21("NO_21"), + NO22("NO_22"), + NRY("NRY"), + NS("NS"), + NSM("NSM"), + NSW_AUS("NSW_AUS"), + NT("NT"), + NT_AUS("NT_AUS"), + NTA("NTA"), + NTH("NTH"), + NTL("NTL"), + NTT("NTT"), + NTY("NTY"), + NU("NU"), + NV("NV"), + NWM("NWM"), + NWP("NWP"), + NY("NY"), + NYK("NYK"), + NYM("NYM"), + OH("OH"), + OK("OK"), + OLD("OLD"), + OMH("OMH"), + ON("ON"), + OR("OR"), + ORK("ORK"), + OXF("OXF"), + PA("PA"), + PE("PE"), + PEM("PEM"), + PKN("PKN"), + PLY("PLY"), + POL("POL"), + POR("POR"), + POW("POW"), + PR("PR"), + PTE("PTE"), + PW("PW"), + QC("QC"), + QLD_AUS("QLD_AUS"), + RCC("RCC"), + RCH("RCH"), + RCT("RCT"), + RDB("RDB"), + RDG("RDG"), + RFW("RFW"), + RI("RI"), + RIC("RIC"), + ROT("ROT"), + RUT("RUT"), + SA_AUS("SA_AUS"), + SAW("SAW"), + SAY("SAY"), + SC("SC"), + SCB("SCB"), + SD("SD"), + SFK("SFK"), + SFT("SFT"), + SGC("SGC"), + SGM("SGM"), + SHF("SHF"), + SHN("SHN"), + SHR("SHR"), + SK("SK"), + SKP("SKP"), + SLF("SLF"), + SLG("SLG"), + SLK("SLK"), + SOL("SOL"), + SOM("SOM"), + SOS("SOS"), + SRY("SRY"), + STB("STB"), + STE("STE"), + STG("STG"), + STH("STH"), + STN("STN"), + STS("STS"), + STT("STT"), + STY("STY"), + SWA("SWA"), + SWD("SWD"), + SWK("SWK"), + SYK("SYK"), + TAM("TAM"), + TAS_AUS("TAS_AUS"), + TFW("TFW"), + THR("THR"), + TN("TN"), + TOB("TOB"), + TOF("TOF"), + TRF("TRF"), + TWH("TWH"), + TWR("TWR"), + TX("TX"), + TYR("TYR"), + UT("UT"), + VA("VA"), + VGL("VGL"), + VI("VI"), + VIC_AUS("VIC_AUS"), + VT("VT"), + WA("WA"), + WA_AUS("WA_AUS"), + WAR("WAR"), + WBK("WBK"), + WDU("WDU"), + WFT("WFT"), + WGM("WGM"), + WGN("WGN"), + WI("WI"), + WIL("WIL"), + WIS("WIS"), + WKF("WKF"), + WLL("WLL"), + WLN("WLN"), + WLV("WLV"), + WMD("WMD"), + WND("WND"), + WNM("WNM"), + WOK("WOK"), + WOR("WOR"), + WRL("WRL"), + WRT("WRT"), + WRX("WRX"), + WSM("WSM"), + WSX("WSX"), + WV("WV"), + WY("WY"), + WYK("WYK"), + YOR("YOR"), + YT("YT"), + ZET("ZET"); + + @JsonValue + private final String value; + + LeadCatcherPatchStateProvince(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (LeadCatcherPatchStateProvince o : LeadCatcherPatchStateProvince.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/LeadCatchersOverviewResponse.java b/packages/java/src/main/java/com/cvent/models/components/LeadCatchersOverviewResponse.java new file mode 100644 index 000000000..a8c3d7839 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/LeadCatchersOverviewResponse.java @@ -0,0 +1,133 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Optional; + +/** + * LeadCatchersOverviewResponse + * + *

Paginated overview of lead catchers for a venue. + */ +public class LeadCatchersOverviewResponse { + /** + * Represents pagination information for a collection of resources. + */ + @JsonProperty("paging") + private Paging paging; + + /** + * Each item is a lightweight, non-PII overview of a lead catcher for the venue, containing only the + * `id`, `firstName`, and `lastName`. + */ + @JsonProperty("data") + private List data; + + @JsonCreator + public LeadCatchersOverviewResponse( + @JsonProperty("paging") @Nonnull Paging paging, + @JsonProperty("data") @Nonnull List data) { + this.paging = + Optional.ofNullable(paging).orElseThrow(() -> new IllegalArgumentException("paging cannot be null")); + this.data = Optional.ofNullable(data).orElseThrow(() -> new IllegalArgumentException("data cannot be null")); + } + + /** + * Represents pagination information for a collection of resources. + */ + public Paging paging() { + return this.paging; + } + + /** + * Each item is a lightweight, non-PII overview of a lead catcher for the venue, containing only the + * `id`, `firstName`, and `lastName`. + */ + public List data() { + return this.data; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Represents pagination information for a collection of resources. + */ + public LeadCatchersOverviewResponse withPaging(@Nonnull Paging paging) { + this.paging = Utils.checkNotNull(paging, "paging"); + return this; + } + + /** + * Each item is a lightweight, non-PII overview of a lead catcher for the venue, containing only the + * `id`, `firstName`, and `lastName`. + */ + public LeadCatchersOverviewResponse withData(@Nonnull List data) { + this.data = Utils.checkNotNull(data, "data"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LeadCatchersOverviewResponse other = (LeadCatchersOverviewResponse) o; + return Utils.enhancedDeepEquals(this.paging, other.paging) && Utils.enhancedDeepEquals(this.data, other.data); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(paging, data); + } + + @Override + public String toString() { + return Utils.toString(LeadCatchersOverviewResponse.class, "paging", paging, "data", data); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private Paging paging; + + private List data; + + private Builder() { + // force use of static builder() method + } + + /** + * Represents pagination information for a collection of resources. + */ + public Builder paging(@Nonnull Paging paging) { + this.paging = Utils.checkNotNull(paging, "paging"); + return this; + } + + /** + * Each item is a lightweight, non-PII overview of a lead catcher for the venue, containing only the + * `id`, `firstName`, and `lastName`. + */ + public Builder data(@Nonnull List data) { + this.data = Utils.checkNotNull(data, "data"); + return this; + } + + public LeadCatchersOverviewResponse build() { + return new LeadCatchersOverviewResponse(paging, data); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/LocaleLanguageVariant.java b/packages/java/src/main/java/com/cvent/models/components/LocaleLanguageVariant.java new file mode 100644 index 000000000..fe9b0c7c7 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/LocaleLanguageVariant.java @@ -0,0 +1,205 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * LocaleLanguageVariant + * + *

Language locale of a Lead Catcher contact. + * + *

Values: + * - `zh-CHS` — Chinese (Simplified) Legacy + * - `zh-TW` — Chinese (Traditional, Taiwan) + * - `de-DE` — German (Germany) + * - `en-US` — English (United States) + * - `fi-FI` — Finnish (Finland) + * - `fr-FR` — French (France) + * - `it-IT` — Italian (Italy) + * - `ja-JP` — Japanese (Japan) + * - `ko-KR` — Korean (Korea) + * - `nl-NL` — Dutch (Netherlands) + * - `pt-BR` — Portuguese (Brazil) + * - `ru-RU` — Russian (Russia) + * - `sv-SE` — Swedish (Sweden) + * - `th-TH` — Thai (Thailand) + * - `tr-TR` — Turkish (Turkey) + * - `uk-UA` — Ukrainian (Ukraine) + * - `zh-CN` — Chinese (Simplified, China) + * - `de-CH` — German (Switzerland) + * - `en-GB` — English (United Kingdom) + * - `es-MX` — Spanish (Mexico) + * - `fr-BE` — French (Belgium) + * - `it-CH` — Italian (Switzerland) + * - `nl-BE` — Dutch (Belgium) + * - `pt-PT` — Portuguese (Portugal) + * - `ru-MD` — Russian (Moldova) + * - `sv-FI` — Swedish (Finland) + * - `zh-HK` — Chinese (Traditional, Hong Kong SAR) + * - `de-AT` — German (Austria) + * - `en-AU` — English (Australia) + * - `es-ES` — Spanish (Spain, International Sort) + * - `fr-CA` — French (Canada) + * - `zh-SG` — Chinese (Simplified, Singapore) + * - `de-LU` — German (Luxembourg) + * - `en-CA` — English (Canada) + * - `es-GT` — Spanish (Guatemala) + * - `fr-CH` — French (Switzerland) + * - `zh-MO` — Chinese (Traditional, Macao SAR) + * - `de-LI` — German (Liechtenstein) + * - `en-NZ` — English (New Zealand) + * - `es-CR` — Spanish (Costa Rica) + * - `fr-LU` — French (Luxembourg) + * - `en-IE` — English (Ireland) + * - `es-PA` — Spanish (Panama) + * - `fr-MC` — French (Monaco) + * - `en-ZA` — English (South Africa) + * - `es-DO` — Spanish (Dominican Republic) + * - `fr-029` — French (Caribbean) + * - `en-JM` — English (Jamaica) + * - `es-VE` — Spanish (Venezuela) + * - `fr-RE` — French (Réunion) + * - `en-029` — English (Caribbean) + * - `es-CO` — Spanish (Colombia) + * - `fr-CD` — French Congo (DRC) + * - `en-BZ` — English (Belize) + * - `es-PE` — Spanish (Peru) + * - `fr-SN` — French (Senegal) + * - `en-TT` — English (Trinidad and Tobago) + * - `es-AR` — Spanish (Argentina) + * - `fr-CM` — French (Cameroon) + * - `en-ZW` — English (Zimbabwe) + * - `es-EC` — Spanish (Ecuador) + * - `fr-CI` — French (Côte d'Ivoire) + * - `en-PH` — English (Philippines) + * - `es-CL` — Spanish (Chile) + * - `fr-ML` — French (Mali) + * - `en-ID` — English (Indonesia) + * - `es-UY` — Spanish (Uruguay) + * - `fr-MA` — French (Morocco) + * - `en-HK` — English (Hong Kong SAR) + * - `es-PY` — Spanish (Paraguay) + * - `fr-HT` — French (Haiti) + * - `en-IN` — English (India) + * - `es-BO` — Spanish (Bolivia) + * - `en-MY` — English (Malaysia) + * - `es-SV` — Spanish (El Salvador) + * - `en-SG` — English (Singapore) + * - `es-HN` — Spanish (Honduras) + * - `es-NI` — Spanish (Nicaragua) + * - `es-PR` — Spanish (Puerto Rico) + * - `es-US` — Spanish (United States) + * - `es-419` — Spanish (Latin America) + * - `es-CU` — Spanish (Cuba) + * - `zh-CHT` — Chinese (Traditional) Legacy + */ +public enum LocaleLanguageVariant { + ZH_CHS("zh-CHS"), + ZH_TW("zh-TW"), + DEDE("de-DE"), + EN_US("en-US"), + FIFI("fi-FI"), + FRFR("fr-FR"), + ITIT("it-IT"), + JA_JP("ja-JP"), + KO_KR("ko-KR"), + NLNL("nl-NL"), + PT_BR("pt-BR"), + RURU("ru-RU"), + SV_SE("sv-SE"), + THTH("th-TH"), + TRTR("tr-TR"), + UK_UA("uk-UA"), + ZH_CN("zh-CN"), + DE_CH("de-CH"), + EN_GB("en-GB"), + ES_MX("es-MX"), + FR_BE("fr-BE"), + IT_CH("it-CH"), + NL_BE("nl-BE"), + PTPT("pt-PT"), + RU_MD("ru-MD"), + SV_FI("sv-FI"), + ZH_HK("zh-HK"), + DE_AT("de-AT"), + EN_AU("en-AU"), + ESES("es-ES"), + FR_CA("fr-CA"), + ZH_SG("zh-SG"), + DE_LU("de-LU"), + EN_CA("en-CA"), + ES_GT("es-GT"), + FR_CH("fr-CH"), + ZH_MO("zh-MO"), + DE_LI("de-LI"), + EN_NZ("en-NZ"), + ES_CR("es-CR"), + FR_LU("fr-LU"), + EN_IE("en-IE"), + ES_PA("es-PA"), + FR_MC("fr-MC"), + EN_ZA("en-ZA"), + ES_DO("es-DO"), + FR029("fr-029"), + EN_JM("en-JM"), + ES_VE("es-VE"), + FR_RE("fr-RE"), + EN029("en-029"), + ES_CO("es-CO"), + FR_CD("fr-CD"), + EN_BZ("en-BZ"), + ES_PE("es-PE"), + FR_SN("fr-SN"), + EN_TT("en-TT"), + ES_AR("es-AR"), + FR_CM("fr-CM"), + EN_ZW("en-ZW"), + ES_EC("es-EC"), + FR_CI("fr-CI"), + EN_PH("en-PH"), + ES_CL("es-CL"), + FR_ML("fr-ML"), + EN_ID("en-ID"), + ES_UY("es-UY"), + FR_MA("fr-MA"), + EN_HK("en-HK"), + ES_PY("es-PY"), + FR_HT("fr-HT"), + EN_IN("en-IN"), + ES_BO("es-BO"), + EN_MY("en-MY"), + ES_SV("es-SV"), + EN_SG("en-SG"), + ES_HN("es-HN"), + ES_NI("es-NI"), + ES_PR("es-PR"), + ES_US("es-US"), + ES419("es-419"), + ES_CU("es-CU"), + ZH_CHT("zh-CHT"); + + @JsonValue + private final String value; + + LocaleLanguageVariant(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (LocaleLanguageVariant o : LocaleLanguageVariant.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionWithProgramId.java b/packages/java/src/main/java/com/cvent/models/components/QuestionWithProgramId.java new file mode 100644 index 000000000..384f4aabf --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionWithProgramId.java @@ -0,0 +1,542 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nullable; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.List; +import java.util.Optional; + +/** + * QuestionWithProgramId + * + *

A question, defined by the program, for the supplier to answer as part of their proposal. + */ +public class QuestionWithProgramId { + /** + * The ISO 8601 zoned date time when this record was created. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("created") + private OffsetDateTime created; + + /** + * The identifier of the user that created this record. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("createdBy") + private String createdBy; + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastModified") + private OffsetDateTime lastModified; + + /** + * The identifier of the user that last updated this record. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastModifiedBy") + private String lastModifiedBy; + + /** + * Travel program that the question belongs to. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("travelProgram") + private QuestionWithProgramIdTravelProgram travelProgram; + + /** + * The unique ID of the question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private String id; + + /** + * The text of the question. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("text") + private String text; + + /** + * Is this question required by default? + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("required") + private Boolean required; + + /** + * Code representing the type of response supported. Single represents a simple single value response, + * and choice means the user will be given a set of options for selection. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("responseType") + private QuestionResponseType responseType; + + /** + * Code representing the expected data type of the question response. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("responseDataType") + private QuestionResponseDataType responseDataType; + + /** + * Code representing the format the text of the response will be in. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("responseFormat") + private QuestionResponseFormat responseFormat; + + /** + * A list of options for the question. This only applies when responseType is 'choice' + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("responseChoices") + private List responseChoices; + + @JsonCreator + public QuestionWithProgramId( + @JsonProperty("created") @Nullable OffsetDateTime created, + @JsonProperty("createdBy") @Nullable String createdBy, + @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, + @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, + @JsonProperty("travelProgram") @Nullable QuestionWithProgramIdTravelProgram travelProgram, + @JsonProperty("id") @Nullable String id, + @JsonProperty("text") @Nullable String text, + @JsonProperty("required") @Nullable Boolean required, + @JsonProperty("responseType") @Nullable QuestionResponseType responseType, + @JsonProperty("responseDataType") @Nullable QuestionResponseDataType responseDataType, + @JsonProperty("responseFormat") @Nullable QuestionResponseFormat responseFormat, + @JsonProperty("responseChoices") @Nullable List responseChoices) { + this.created = created; + this.createdBy = createdBy; + this.lastModified = lastModified; + this.lastModifiedBy = lastModifiedBy; + this.travelProgram = travelProgram; + this.id = id; + this.text = text; + this.required = required; + this.responseType = responseType; + this.responseDataType = responseDataType; + this.responseFormat = responseFormat; + this.responseChoices = responseChoices; + } + + public QuestionWithProgramId() { + this(null, null, null, null, null, null, null, null, null, null, null, null); + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public Optional created() { + return Optional.ofNullable(this.created); + } + + /** + * The identifier of the user that created this record. + */ + public Optional createdBy() { + return Optional.ofNullable(this.createdBy); + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public Optional lastModified() { + return Optional.ofNullable(this.lastModified); + } + + /** + * The identifier of the user that last updated this record. + */ + public Optional lastModifiedBy() { + return Optional.ofNullable(this.lastModifiedBy); + } + + /** + * Travel program that the question belongs to. + */ + public Optional travelProgram() { + return Optional.ofNullable(this.travelProgram); + } + + /** + * The unique ID of the question. + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * The text of the question. + */ + public Optional text() { + return Optional.ofNullable(this.text); + } + + /** + * Is this question required by default? + */ + public Optional required() { + return Optional.ofNullable(this.required); + } + + /** + * Code representing the type of response supported. Single represents a simple single value response, + * and choice means the user will be given a set of options for selection. + */ + public Optional responseType() { + return Optional.ofNullable(this.responseType); + } + + /** + * Code representing the expected data type of the question response. + */ + public Optional responseDataType() { + return Optional.ofNullable(this.responseDataType); + } + + /** + * Code representing the format the text of the response will be in. + */ + public Optional responseFormat() { + return Optional.ofNullable(this.responseFormat); + } + + /** + * A list of options for the question. This only applies when responseType is 'choice' + */ + public Optional> responseChoices() { + return Optional.ofNullable(this.responseChoices); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public QuestionWithProgramId withCreated(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The identifier of the user that created this record. + */ + public QuestionWithProgramId withCreatedBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public QuestionWithProgramId withLastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The identifier of the user that last updated this record. + */ + public QuestionWithProgramId withLastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * Travel program that the question belongs to. + */ + public QuestionWithProgramId withTravelProgram(@Nullable QuestionWithProgramIdTravelProgram travelProgram) { + this.travelProgram = travelProgram; + return this; + } + + /** + * The unique ID of the question. + */ + public QuestionWithProgramId withId(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The text of the question. + */ + public QuestionWithProgramId withText(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Is this question required by default? + */ + public QuestionWithProgramId withRequired(@Nullable Boolean required) { + this.required = required; + return this; + } + + /** + * Code representing the type of response supported. Single represents a simple single value response, + * and choice means the user will be given a set of options for selection. + */ + public QuestionWithProgramId withResponseType(@Nullable QuestionResponseType responseType) { + this.responseType = responseType; + return this; + } + + /** + * Code representing the expected data type of the question response. + */ + public QuestionWithProgramId withResponseDataType(@Nullable QuestionResponseDataType responseDataType) { + this.responseDataType = responseDataType; + return this; + } + + /** + * Code representing the format the text of the response will be in. + */ + public QuestionWithProgramId withResponseFormat(@Nullable QuestionResponseFormat responseFormat) { + this.responseFormat = responseFormat; + return this; + } + + /** + * A list of options for the question. This only applies when responseType is 'choice' + */ + public QuestionWithProgramId withResponseChoices(@Nullable List responseChoices) { + this.responseChoices = responseChoices; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + QuestionWithProgramId other = (QuestionWithProgramId) o; + return Utils.enhancedDeepEquals(this.created, other.created) + && Utils.enhancedDeepEquals(this.createdBy, other.createdBy) + && Utils.enhancedDeepEquals(this.lastModified, other.lastModified) + && Utils.enhancedDeepEquals(this.lastModifiedBy, other.lastModifiedBy) + && Utils.enhancedDeepEquals(this.travelProgram, other.travelProgram) + && Utils.enhancedDeepEquals(this.id, other.id) + && Utils.enhancedDeepEquals(this.text, other.text) + && Utils.enhancedDeepEquals(this.required, other.required) + && Utils.enhancedDeepEquals(this.responseType, other.responseType) + && Utils.enhancedDeepEquals(this.responseDataType, other.responseDataType) + && Utils.enhancedDeepEquals(this.responseFormat, other.responseFormat) + && Utils.enhancedDeepEquals(this.responseChoices, other.responseChoices); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + created, + createdBy, + lastModified, + lastModifiedBy, + travelProgram, + id, + text, + required, + responseType, + responseDataType, + responseFormat, + responseChoices); + } + + @Override + public String toString() { + return Utils.toString( + QuestionWithProgramId.class, + "created", + created, + "createdBy", + createdBy, + "lastModified", + lastModified, + "lastModifiedBy", + lastModifiedBy, + "travelProgram", + travelProgram, + "id", + id, + "text", + text, + "required", + required, + "responseType", + responseType, + "responseDataType", + responseDataType, + "responseFormat", + responseFormat, + "responseChoices", + responseChoices); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private OffsetDateTime created; + + private String createdBy; + + private OffsetDateTime lastModified; + + private String lastModifiedBy; + + private QuestionWithProgramIdTravelProgram travelProgram; + + private String id; + + private String text; + + private Boolean required; + + private QuestionResponseType responseType; + + private QuestionResponseDataType responseDataType; + + private QuestionResponseFormat responseFormat; + + private List responseChoices; + + private Builder() { + // force use of static builder() method + } + + /** + * The ISO 8601 zoned date time when this record was created. + */ + public Builder created(@Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * The identifier of the user that created this record. + */ + public Builder createdBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * The ISO 8601 zoned date time when this record was updated. + */ + public Builder lastModified(@Nullable OffsetDateTime lastModified) { + this.lastModified = lastModified; + return this; + } + + /** + * The identifier of the user that last updated this record. + */ + public Builder lastModifiedBy(@Nullable String lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + * Travel program that the question belongs to. + */ + public Builder travelProgram(@Nullable QuestionWithProgramIdTravelProgram travelProgram) { + this.travelProgram = travelProgram; + return this; + } + + /** + * The unique ID of the question. + */ + public Builder id(@Nullable String id) { + this.id = id; + return this; + } + + /** + * The text of the question. + */ + public Builder text(@Nullable String text) { + this.text = text; + return this; + } + + /** + * Is this question required by default? + */ + public Builder required(@Nullable Boolean required) { + this.required = required; + return this; + } + + /** + * Code representing the type of response supported. Single represents a simple single value response, + * and choice means the user will be given a set of options for selection. + */ + public Builder responseType(@Nullable QuestionResponseType responseType) { + this.responseType = responseType; + return this; + } + + /** + * Code representing the expected data type of the question response. + */ + public Builder responseDataType(@Nullable QuestionResponseDataType responseDataType) { + this.responseDataType = responseDataType; + return this; + } + + /** + * Code representing the format the text of the response will be in. + */ + public Builder responseFormat(@Nullable QuestionResponseFormat responseFormat) { + this.responseFormat = responseFormat; + return this; + } + + /** + * A list of options for the question. This only applies when responseType is 'choice' + */ + public Builder responseChoices(@Nullable List responseChoices) { + this.responseChoices = responseChoices; + return this; + } + + public QuestionWithProgramId build() { + return new QuestionWithProgramId( + created, + createdBy, + lastModified, + lastModifiedBy, + travelProgram, + id, + text, + required, + responseType, + responseDataType, + responseFormat, + responseChoices); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestionTravelProgram.java b/packages/java/src/main/java/com/cvent/models/components/QuestionWithProgramIdTravelProgram.java similarity index 78% rename from packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestionTravelProgram.java rename to packages/java/src/main/java/com/cvent/models/components/QuestionWithProgramIdTravelProgram.java index e24706fd3..95f25c88a 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestionTravelProgram.java +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionWithProgramIdTravelProgram.java @@ -14,11 +14,11 @@ import java.util.Optional; /** - * TravelProgramQuestionTravelProgram + * QuestionWithProgramIdTravelProgram * *

Travel program that the question belongs to. */ -public class TravelProgramQuestionTravelProgram { +public class QuestionWithProgramIdTravelProgram { /** * The unique ID of the travel program. */ @@ -27,11 +27,11 @@ public class TravelProgramQuestionTravelProgram { private String id; @JsonCreator - public TravelProgramQuestionTravelProgram(@JsonProperty("id") @Nullable String id) { + public QuestionWithProgramIdTravelProgram(@JsonProperty("id") @Nullable String id) { this.id = id; } - public TravelProgramQuestionTravelProgram() { + public QuestionWithProgramIdTravelProgram() { this(null); } @@ -49,7 +49,7 @@ public static Builder builder() { /** * The unique ID of the travel program. */ - public TravelProgramQuestionTravelProgram withId(@Nullable String id) { + public QuestionWithProgramIdTravelProgram withId(@Nullable String id) { this.id = id; return this; } @@ -62,7 +62,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - TravelProgramQuestionTravelProgram other = (TravelProgramQuestionTravelProgram) o; + QuestionWithProgramIdTravelProgram other = (QuestionWithProgramIdTravelProgram) o; return Utils.enhancedDeepEquals(this.id, other.id); } @@ -73,7 +73,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(TravelProgramQuestionTravelProgram.class, "id", id); + return Utils.toString(QuestionWithProgramIdTravelProgram.class, "id", id); } @SuppressWarnings("UnusedReturnValue") @@ -93,8 +93,8 @@ public Builder id(@Nullable String id) { return this; } - public TravelProgramQuestionTravelProgram build() { - return new TravelProgramQuestionTravelProgram(id); + public QuestionWithProgramIdTravelProgram build() { + return new QuestionWithProgramIdTravelProgram(id); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/QuestionsPaginatedResponse1.java b/packages/java/src/main/java/com/cvent/models/components/QuestionsPaginatedResponse1.java index c8c84c75d..d0440612a 100644 --- a/packages/java/src/main/java/com/cvent/models/components/QuestionsPaginatedResponse1.java +++ b/packages/java/src/main/java/com/cvent/models/components/QuestionsPaginatedResponse1.java @@ -32,12 +32,12 @@ public class QuestionsPaginatedResponse1 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("data") - private List data; + private List data; @JsonCreator public QuestionsPaginatedResponse1( @JsonProperty("paging") @Nullable Paging paging, - @JsonProperty("data") @Nullable List data) { + @JsonProperty("data") @Nullable List data) { this.paging = paging; this.data = data; } @@ -56,7 +56,7 @@ public Optional paging() { /** * Collection of Questions. */ - public Optional> data() { + public Optional> data() { return Optional.ofNullable(this.data); } @@ -75,7 +75,7 @@ public QuestionsPaginatedResponse1 withPaging(@Nullable Paging paging) { /** * Collection of Questions. */ - public QuestionsPaginatedResponse1 withData(@Nullable List data) { + public QuestionsPaginatedResponse1 withData(@Nullable List data) { this.data = data; return this; } @@ -107,7 +107,7 @@ public static final class Builder { private Paging paging; - private List data; + private List data; private Builder() { // force use of static builder() method @@ -124,7 +124,7 @@ public Builder paging(@Nullable Paging paging) { /** * Collection of Questions. */ - public Builder data(@Nullable List data) { + public Builder data(@Nullable List data) { this.data = data; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/Rfp2.java b/packages/java/src/main/java/com/cvent/models/components/Rfp2.java index 152aff208..0a20ff700 100644 --- a/packages/java/src/main/java/com/cvent/models/components/Rfp2.java +++ b/packages/java/src/main/java/com/cvent/models/components/Rfp2.java @@ -291,9 +291,8 @@ public class Rfp2 { private Boolean feeTransparencyEnabled; /** - * DEPRECATED: Use [venueIntegrationPreference](#schema/VenueIntegrationPreference) instead. Venue - * integrations the planner prefers when sourcing venues. An empty array or absent field indicates no - * preference has been recorded. + * DEPRECATED: Use `venueIntegrationPreference` instead. Venue integrations the planner prefers when + * sourcing venues. An empty array or absent field indicates no preference has been recorded. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ @@ -329,12 +328,9 @@ public class Rfp2 { @JsonProperty("status") private RfpStatus1 status; - /** - * RFP types based on event requirements. - */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("type") - private RfpType1 type; + private RfpType type; /** * Details of the user who approved the RFP. @@ -467,7 +463,7 @@ public Rfp2( @JsonProperty("id") @Nonnull String id, @JsonProperty("code") @Nullable String code, @JsonProperty("status") @Nullable RfpStatus1 status, - @JsonProperty("type") @Nullable RfpType1 type, + @JsonProperty("type") @Nullable RfpType type, @JsonProperty("approvedBy") @Nullable String approvedBy, @JsonProperty("approvedDateTime") @Nullable OffsetDateTime approvedDateTime, @JsonProperty("approved") @Nullable Boolean approved, @@ -863,9 +859,8 @@ public Optional feeTransparencyEnabled() { } /** - * DEPRECATED: Use [venueIntegrationPreference](#schema/VenueIntegrationPreference) instead. Venue - * integrations the planner prefers when sourcing venues. An empty array or absent field indicates no - * preference has been recorded. + * DEPRECATED: Use `venueIntegrationPreference` instead. Venue integrations the planner prefers when + * sourcing venues. An empty array or absent field indicates no preference has been recorded. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ @@ -902,10 +897,7 @@ public Optional status() { return Optional.ofNullable(this.status); } - /** - * RFP types based on event requirements. - */ - public Optional type() { + public Optional type() { return Optional.ofNullable(this.type); } @@ -1301,9 +1293,8 @@ public Rfp2 withFeeTransparencyEnabled(@Nullable Boolean feeTransparencyEnabled) } /** - * DEPRECATED: Use [venueIntegrationPreference](#schema/VenueIntegrationPreference) instead. Venue - * integrations the planner prefers when sourcing venues. An empty array or absent field indicates no - * preference has been recorded. + * DEPRECATED: Use `venueIntegrationPreference` instead. Venue integrations the planner prefers when + * sourcing venues. An empty array or absent field indicates no preference has been recorded. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ @@ -1345,10 +1336,7 @@ public Rfp2 withStatus(@Nullable RfpStatus1 status) { return this; } - /** - * RFP types based on event requirements. - */ - public Rfp2 withType(@Nullable RfpType1 type) { + public Rfp2 withType(@Nullable RfpType type) { this.type = type; return this; } @@ -1776,7 +1764,7 @@ public static final class Builder { private RfpStatus1 status; - private RfpType1 type; + private RfpType type; private String approvedBy; @@ -2107,9 +2095,8 @@ public Builder feeTransparencyEnabled(@Nullable Boolean feeTransparencyEnabled) } /** - * DEPRECATED: Use [venueIntegrationPreference](#schema/VenueIntegrationPreference) instead. Venue - * integrations the planner prefers when sourcing venues. An empty array or absent field indicates no - * preference has been recorded. + * DEPRECATED: Use `venueIntegrationPreference` instead. Venue integrations the planner prefers when + * sourcing venues. An empty array or absent field indicates no preference has been recorded. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ @@ -2151,10 +2138,7 @@ public Builder status(@Nullable RfpStatus1 status) { return this; } - /** - * RFP types based on event requirements. - */ - public Builder type(@Nullable RfpType1 type) { + public Builder type(@Nullable RfpType type) { this.type = type; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpQuestion.java b/packages/java/src/main/java/com/cvent/models/components/RfpQuestion.java index 3c79ec618..3cb666e84 100644 --- a/packages/java/src/main/java/com/cvent/models/components/RfpQuestion.java +++ b/packages/java/src/main/java/com/cvent/models/components/RfpQuestion.java @@ -10,6 +10,7 @@ import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; import jakarta.annotation.Nullable; import java.lang.Boolean; import java.lang.Double; @@ -303,7 +304,6 @@ public class RfpQuestion { /** * List of supplier types that can view the question on the RFP. */ - @JsonInclude(Include.NON_ABSENT) @JsonProperty("supplierTypes") private List supplierTypes; @@ -314,7 +314,6 @@ public class RfpQuestion { * *

`ALL_RFPS`: All RFPs can be assigned this custom question. */ - @JsonInclude(Include.NON_ABSENT) @JsonProperty("classificationType") private QuestionClassificationType classificationType; @@ -379,8 +378,8 @@ public RfpQuestion( @JsonProperty("maxLength") @Nullable Long maxLength, @JsonProperty("textAnswerFormat") @Nullable TextAnswerFormat textAnswerFormat, @JsonProperty("customAnswerFormat") @Nullable CustomAnswerFormat customAnswerFormat, - @JsonProperty("supplierTypes") @Nullable List supplierTypes, - @JsonProperty("classificationType") @Nullable QuestionClassificationType classificationType, + @JsonProperty("supplierTypes") @Nonnull List supplierTypes, + @JsonProperty("classificationType") @Nonnull QuestionClassificationType classificationType, @JsonProperty("order") @Nullable Long order, @JsonProperty("standardQuestion") @Nullable StandardQuestion standardQuestion, @JsonProperty("aiQuestionGenerationSource") @Nullable String aiQuestionGenerationSource) { @@ -421,14 +420,17 @@ public RfpQuestion( this.maxLength = Optional.ofNullable(maxLength).orElse(Builder._SINGLETON_VALUE_MaxLength.value()); this.textAnswerFormat = textAnswerFormat; this.customAnswerFormat = customAnswerFormat; - this.supplierTypes = supplierTypes; - this.classificationType = classificationType; + this.supplierTypes = Optional.ofNullable(supplierTypes) + .orElseThrow(() -> new IllegalArgumentException("supplierTypes cannot be null")); + this.classificationType = Optional.ofNullable(classificationType) + .orElseThrow(() -> new IllegalArgumentException("classificationType cannot be null")); this.order = order; this.standardQuestion = standardQuestion; this.aiQuestionGenerationSource = aiQuestionGenerationSource; } - public RfpQuestion() { + public RfpQuestion( + @Nonnull List supplierTypes, @Nonnull QuestionClassificationType classificationType) { this( null, null, @@ -466,8 +468,8 @@ public RfpQuestion() { null, null, null, - null, - null, + supplierTypes, + classificationType, null, null, null); @@ -749,8 +751,8 @@ public Optional customAnswerFormat() { /** * List of supplier types that can view the question on the RFP. */ - public Optional> supplierTypes() { - return Optional.ofNullable(this.supplierTypes); + public List supplierTypes() { + return this.supplierTypes; } /** @@ -760,8 +762,8 @@ public Optional> supplierTypes() { * *

`ALL_RFPS`: All RFPs can be assigned this custom question. */ - public Optional classificationType() { - return Optional.ofNullable(this.classificationType); + public QuestionClassificationType classificationType() { + return this.classificationType; } /** @@ -1103,8 +1105,8 @@ public RfpQuestion withCustomAnswerFormat(@Nullable CustomAnswerFormat customAns /** * List of supplier types that can view the question on the RFP. */ - public RfpQuestion withSupplierTypes(@Nullable List supplierTypes) { - this.supplierTypes = supplierTypes; + public RfpQuestion withSupplierTypes(@Nonnull List supplierTypes) { + this.supplierTypes = Utils.checkNotNull(supplierTypes, "supplierTypes"); return this; } @@ -1115,8 +1117,8 @@ public RfpQuestion withSupplierTypes(@Nullable List supplierTypes) * *

`ALL_RFPS`: All RFPs can be assigned this custom question. */ - public RfpQuestion withClassificationType(@Nullable QuestionClassificationType classificationType) { - this.classificationType = classificationType; + public RfpQuestion withClassificationType(@Nonnull QuestionClassificationType classificationType) { + this.classificationType = Utils.checkNotNull(classificationType, "classificationType"); return this; } @@ -1733,8 +1735,8 @@ public Builder customAnswerFormat(@Nullable CustomAnswerFormat customAnswerForma /** * List of supplier types that can view the question on the RFP. */ - public Builder supplierTypes(@Nullable List supplierTypes) { - this.supplierTypes = supplierTypes; + public Builder supplierTypes(@Nonnull List supplierTypes) { + this.supplierTypes = Utils.checkNotNull(supplierTypes, "supplierTypes"); return this; } @@ -1745,8 +1747,8 @@ public Builder supplierTypes(@Nullable List supplierTypes) { * *

`ALL_RFPS`: All RFPs can be assigned this custom question. */ - public Builder classificationType(@Nullable QuestionClassificationType classificationType) { - this.classificationType = classificationType; + public Builder classificationType(@Nonnull QuestionClassificationType classificationType) { + this.classificationType = Utils.checkNotNull(classificationType, "classificationType"); return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/RfpType1.java b/packages/java/src/main/java/com/cvent/models/components/RfpType.java similarity index 82% rename from packages/java/src/main/java/com/cvent/models/components/RfpType1.java rename to packages/java/src/main/java/com/cvent/models/components/RfpType.java index 84e82d5f3..4715fbe3f 100644 --- a/packages/java/src/main/java/com/cvent/models/components/RfpType1.java +++ b/packages/java/src/main/java/com/cvent/models/components/RfpType.java @@ -9,11 +9,11 @@ import java.util.Optional; /** - * RfpType1 + * RfpType * *

RFP types based on event requirements. */ -public enum RfpType1 { +public enum RfpType { MEETING_SPACE_AND_GUEST_ROOMS("MEETING_SPACE_AND_GUEST_ROOMS"), MEETING_SPACE_ONLY("MEETING_SPACE_ONLY"), GUEST_ROOMS_ONLY("GUEST_ROOMS_ONLY"), @@ -23,7 +23,7 @@ public enum RfpType1 { @JsonValue private final String value; - RfpType1(String value) { + RfpType(String value) { this.value = value; } @@ -31,8 +31,8 @@ public String value() { return value; } - public static Optional fromValue(String value) { - for (RfpType1 o : RfpType1.values()) { + public static Optional fromValue(String value) { + for (RfpType o : RfpType.values()) { if (Objects.deepEquals(o.value, value)) { return Optional.of(o); } diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProgram.java b/packages/java/src/main/java/com/cvent/models/components/TravelProgram.java index 3d7acafb0..57cfac0bf 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TravelProgram.java +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProgram.java @@ -141,7 +141,7 @@ public class TravelProgram { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("questions") - private List questions; + private List questions; @JsonCreator public TravelProgram( @@ -161,7 +161,7 @@ public TravelProgram( @JsonProperty("endDate") @Nullable LocalDate endDate, @JsonProperty("dueDate") @Nullable LocalDate dueDate, @JsonProperty("closeoutDate") @Nullable LocalDate closeoutDate, - @JsonProperty("questions") @Nullable List questions) { + @JsonProperty("questions") @Nullable List questions) { this.created = created; this.createdBy = createdBy; this.lastModified = lastModified; @@ -301,7 +301,7 @@ public Optional closeoutDate() { /** * A list of program specific questions for the supplier to answer as part of their proposal. */ - public Optional> questions() { + public Optional> questions() { return Optional.ofNullable(this.questions); } @@ -441,7 +441,7 @@ public TravelProgram withCloseoutDate(@Nullable LocalDate closeoutDate) { /** * A list of program specific questions for the supplier to answer as part of their proposal. */ - public TravelProgram withQuestions(@Nullable List questions) { + public TravelProgram withQuestions(@Nullable List questions) { this.questions = questions; return this; } @@ -571,7 +571,7 @@ public static final class Builder { private LocalDate closeoutDate; - private List questions; + private List questions; private Builder() { // force use of static builder() method @@ -709,7 +709,7 @@ public Builder closeoutDate(@Nullable LocalDate closeoutDate) { /** * A list of program specific questions for the supplier to answer as part of their proposal. */ - public Builder questions(@Nullable List questions) { + public Builder questions(@Nullable List questions) { this.questions = questions; return this; } diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestion.java b/packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestion.java index faef95d8e..8985e1d6e 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestion.java +++ b/packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestion.java @@ -10,218 +10,89 @@ import com.fasterxml.jackson.annotation.JsonProperty; import jakarta.annotation.Nullable; import java.lang.Boolean; +import java.lang.Long; import java.lang.Override; import java.lang.String; -import java.time.OffsetDateTime; -import java.util.List; import java.util.Optional; /** * TravelProgramQuestion * - *

A question, defined by the program, for the supplier to answer as part of their proposal. + *

A question, defined by the account, for the supplier to answer as part of their proposal. */ public class TravelProgramQuestion { /** - * The ISO 8601 zoned date time when this record was created. + * The unique ID of the custom question. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("created") - private OffsetDateTime created; + @JsonProperty("questionId") + private String questionId; /** - * The identifier of the user that created this record. + * Code representing the section where the question belongs. Currently, program_client (client + * specific) and program_g_and_m (group and meeting) are supported. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("createdBy") - private String createdBy; + @JsonProperty("section") + private QuestionSection section; /** - * The ISO 8601 zoned date time when this record was updated. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("lastModified") - private OffsetDateTime lastModified; - - /** - * The identifier of the user that last updated this record. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("lastModifiedBy") - private String lastModifiedBy; - - /** - * Travel program that the question belongs to. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("travelProgram") - private TravelProgramQuestionTravelProgram travelProgram; - - /** - * The unique ID of the question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("id") - private String id; - - /** - * The text of the question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("text") - private String text; - - /** - * Is this question required by default? + * Is it required for suppliers to answer this question in their proposal? */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("required") private Boolean required; /** - * Code representing the type of response supported. Single represents a simple single value response, - * and choice means the user will be given a set of options for selection. + * The sequence number of the question within the proposal. */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("responseType") - private QuestionResponseType responseType; - - /** - * Code representing the expected data type of the question response. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("responseDataType") - private QuestionResponseDataType responseDataType; - - /** - * Code representing the format the text of the response will be in. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("responseFormat") - private QuestionResponseFormat responseFormat; - - /** - * A list of options for the question. This only applies when responseType is 'choice' - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("responseChoices") - private List responseChoices; + @JsonProperty("sequence") + private Long sequence; @JsonCreator public TravelProgramQuestion( - @JsonProperty("created") @Nullable OffsetDateTime created, - @JsonProperty("createdBy") @Nullable String createdBy, - @JsonProperty("lastModified") @Nullable OffsetDateTime lastModified, - @JsonProperty("lastModifiedBy") @Nullable String lastModifiedBy, - @JsonProperty("travelProgram") @Nullable TravelProgramQuestionTravelProgram travelProgram, - @JsonProperty("id") @Nullable String id, - @JsonProperty("text") @Nullable String text, + @JsonProperty("questionId") @Nullable String questionId, + @JsonProperty("section") @Nullable QuestionSection section, @JsonProperty("required") @Nullable Boolean required, - @JsonProperty("responseType") @Nullable QuestionResponseType responseType, - @JsonProperty("responseDataType") @Nullable QuestionResponseDataType responseDataType, - @JsonProperty("responseFormat") @Nullable QuestionResponseFormat responseFormat, - @JsonProperty("responseChoices") @Nullable List responseChoices) { - this.created = created; - this.createdBy = createdBy; - this.lastModified = lastModified; - this.lastModifiedBy = lastModifiedBy; - this.travelProgram = travelProgram; - this.id = id; - this.text = text; + @JsonProperty("sequence") @Nullable Long sequence) { + this.questionId = questionId; + this.section = section; this.required = required; - this.responseType = responseType; - this.responseDataType = responseDataType; - this.responseFormat = responseFormat; - this.responseChoices = responseChoices; + this.sequence = sequence; } public TravelProgramQuestion() { - this(null, null, null, null, null, null, null, null, null, null, null, null); + this(null, null, null, null); } /** - * The ISO 8601 zoned date time when this record was created. + * The unique ID of the custom question. */ - public Optional created() { - return Optional.ofNullable(this.created); + public Optional questionId() { + return Optional.ofNullable(this.questionId); } /** - * The identifier of the user that created this record. + * Code representing the section where the question belongs. Currently, program_client (client + * specific) and program_g_and_m (group and meeting) are supported. */ - public Optional createdBy() { - return Optional.ofNullable(this.createdBy); + public Optional section() { + return Optional.ofNullable(this.section); } /** - * The ISO 8601 zoned date time when this record was updated. - */ - public Optional lastModified() { - return Optional.ofNullable(this.lastModified); - } - - /** - * The identifier of the user that last updated this record. - */ - public Optional lastModifiedBy() { - return Optional.ofNullable(this.lastModifiedBy); - } - - /** - * Travel program that the question belongs to. - */ - public Optional travelProgram() { - return Optional.ofNullable(this.travelProgram); - } - - /** - * The unique ID of the question. - */ - public Optional id() { - return Optional.ofNullable(this.id); - } - - /** - * The text of the question. - */ - public Optional text() { - return Optional.ofNullable(this.text); - } - - /** - * Is this question required by default? + * Is it required for suppliers to answer this question in their proposal? */ public Optional required() { return Optional.ofNullable(this.required); } /** - * Code representing the type of response supported. Single represents a simple single value response, - * and choice means the user will be given a set of options for selection. - */ - public Optional responseType() { - return Optional.ofNullable(this.responseType); - } - - /** - * Code representing the expected data type of the question response. - */ - public Optional responseDataType() { - return Optional.ofNullable(this.responseDataType); - } - - /** - * Code representing the format the text of the response will be in. - */ - public Optional responseFormat() { - return Optional.ofNullable(this.responseFormat); - } - - /** - * A list of options for the question. This only applies when responseType is 'choice' + * The sequence number of the question within the proposal. */ - public Optional> responseChoices() { - return Optional.ofNullable(this.responseChoices); + public Optional sequence() { + return Optional.ofNullable(this.sequence); } public static Builder builder() { @@ -229,63 +100,24 @@ public static Builder builder() { } /** - * The ISO 8601 zoned date time when this record was created. + * The unique ID of the custom question. */ - public TravelProgramQuestion withCreated(@Nullable OffsetDateTime created) { - this.created = created; + public TravelProgramQuestion withQuestionId(@Nullable String questionId) { + this.questionId = questionId; return this; } /** - * The identifier of the user that created this record. + * Code representing the section where the question belongs. Currently, program_client (client + * specific) and program_g_and_m (group and meeting) are supported. */ - public TravelProgramQuestion withCreatedBy(@Nullable String createdBy) { - this.createdBy = createdBy; + public TravelProgramQuestion withSection(@Nullable QuestionSection section) { + this.section = section; return this; } /** - * The ISO 8601 zoned date time when this record was updated. - */ - public TravelProgramQuestion withLastModified(@Nullable OffsetDateTime lastModified) { - this.lastModified = lastModified; - return this; - } - - /** - * The identifier of the user that last updated this record. - */ - public TravelProgramQuestion withLastModifiedBy(@Nullable String lastModifiedBy) { - this.lastModifiedBy = lastModifiedBy; - return this; - } - - /** - * Travel program that the question belongs to. - */ - public TravelProgramQuestion withTravelProgram(@Nullable TravelProgramQuestionTravelProgram travelProgram) { - this.travelProgram = travelProgram; - return this; - } - - /** - * The unique ID of the question. - */ - public TravelProgramQuestion withId(@Nullable String id) { - this.id = id; - return this; - } - - /** - * The text of the question. - */ - public TravelProgramQuestion withText(@Nullable String text) { - this.text = text; - return this; - } - - /** - * Is this question required by default? + * Is it required for suppliers to answer this question in their proposal? */ public TravelProgramQuestion withRequired(@Nullable Boolean required) { this.required = required; @@ -293,35 +125,10 @@ public TravelProgramQuestion withRequired(@Nullable Boolean required) { } /** - * Code representing the type of response supported. Single represents a simple single value response, - * and choice means the user will be given a set of options for selection. - */ - public TravelProgramQuestion withResponseType(@Nullable QuestionResponseType responseType) { - this.responseType = responseType; - return this; - } - - /** - * Code representing the expected data type of the question response. - */ - public TravelProgramQuestion withResponseDataType(@Nullable QuestionResponseDataType responseDataType) { - this.responseDataType = responseDataType; - return this; - } - - /** - * Code representing the format the text of the response will be in. - */ - public TravelProgramQuestion withResponseFormat(@Nullable QuestionResponseFormat responseFormat) { - this.responseFormat = responseFormat; - return this; - } - - /** - * A list of options for the question. This only applies when responseType is 'choice' + * The sequence number of the question within the proposal. */ - public TravelProgramQuestion withResponseChoices(@Nullable List responseChoices) { - this.responseChoices = responseChoices; + public TravelProgramQuestion withSequence(@Nullable Long sequence) { + this.sequence = sequence; return this; } @@ -334,156 +141,65 @@ public boolean equals(java.lang.Object o) { return false; } TravelProgramQuestion other = (TravelProgramQuestion) o; - return Utils.enhancedDeepEquals(this.created, other.created) - && Utils.enhancedDeepEquals(this.createdBy, other.createdBy) - && Utils.enhancedDeepEquals(this.lastModified, other.lastModified) - && Utils.enhancedDeepEquals(this.lastModifiedBy, other.lastModifiedBy) - && Utils.enhancedDeepEquals(this.travelProgram, other.travelProgram) - && Utils.enhancedDeepEquals(this.id, other.id) - && Utils.enhancedDeepEquals(this.text, other.text) + return Utils.enhancedDeepEquals(this.questionId, other.questionId) + && Utils.enhancedDeepEquals(this.section, other.section) && Utils.enhancedDeepEquals(this.required, other.required) - && Utils.enhancedDeepEquals(this.responseType, other.responseType) - && Utils.enhancedDeepEquals(this.responseDataType, other.responseDataType) - && Utils.enhancedDeepEquals(this.responseFormat, other.responseFormat) - && Utils.enhancedDeepEquals(this.responseChoices, other.responseChoices); + && Utils.enhancedDeepEquals(this.sequence, other.sequence); } @Override public int hashCode() { - return Utils.enhancedHash( - created, - createdBy, - lastModified, - lastModifiedBy, - travelProgram, - id, - text, - required, - responseType, - responseDataType, - responseFormat, - responseChoices); + return Utils.enhancedHash(questionId, section, required, sequence); } @Override public String toString() { return Utils.toString( TravelProgramQuestion.class, - "created", - created, - "createdBy", - createdBy, - "lastModified", - lastModified, - "lastModifiedBy", - lastModifiedBy, - "travelProgram", - travelProgram, - "id", - id, - "text", - text, + "questionId", + questionId, + "section", + section, "required", required, - "responseType", - responseType, - "responseDataType", - responseDataType, - "responseFormat", - responseFormat, - "responseChoices", - responseChoices); + "sequence", + sequence); } @SuppressWarnings("UnusedReturnValue") public static final class Builder { - private OffsetDateTime created; - - private String createdBy; + private String questionId; - private OffsetDateTime lastModified; - - private String lastModifiedBy; - - private TravelProgramQuestionTravelProgram travelProgram; - - private String id; - - private String text; + private QuestionSection section; private Boolean required; - private QuestionResponseType responseType; - - private QuestionResponseDataType responseDataType; - - private QuestionResponseFormat responseFormat; - - private List responseChoices; + private Long sequence; private Builder() { // force use of static builder() method } /** - * The ISO 8601 zoned date time when this record was created. - */ - public Builder created(@Nullable OffsetDateTime created) { - this.created = created; - return this; - } - - /** - * The identifier of the user that created this record. - */ - public Builder createdBy(@Nullable String createdBy) { - this.createdBy = createdBy; - return this; - } - - /** - * The ISO 8601 zoned date time when this record was updated. - */ - public Builder lastModified(@Nullable OffsetDateTime lastModified) { - this.lastModified = lastModified; - return this; - } - - /** - * The identifier of the user that last updated this record. - */ - public Builder lastModifiedBy(@Nullable String lastModifiedBy) { - this.lastModifiedBy = lastModifiedBy; - return this; - } - - /** - * Travel program that the question belongs to. - */ - public Builder travelProgram(@Nullable TravelProgramQuestionTravelProgram travelProgram) { - this.travelProgram = travelProgram; - return this; - } - - /** - * The unique ID of the question. + * The unique ID of the custom question. */ - public Builder id(@Nullable String id) { - this.id = id; + public Builder questionId(@Nullable String questionId) { + this.questionId = questionId; return this; } /** - * The text of the question. + * Code representing the section where the question belongs. Currently, program_client (client + * specific) and program_g_and_m (group and meeting) are supported. */ - public Builder text(@Nullable String text) { - this.text = text; + public Builder section(@Nullable QuestionSection section) { + this.section = section; return this; } /** - * Is this question required by default? + * Is it required for suppliers to answer this question in their proposal? */ public Builder required(@Nullable Boolean required) { this.required = required; @@ -491,52 +207,15 @@ public Builder required(@Nullable Boolean required) { } /** - * Code representing the type of response supported. Single represents a simple single value response, - * and choice means the user will be given a set of options for selection. - */ - public Builder responseType(@Nullable QuestionResponseType responseType) { - this.responseType = responseType; - return this; - } - - /** - * Code representing the expected data type of the question response. - */ - public Builder responseDataType(@Nullable QuestionResponseDataType responseDataType) { - this.responseDataType = responseDataType; - return this; - } - - /** - * Code representing the format the text of the response will be in. - */ - public Builder responseFormat(@Nullable QuestionResponseFormat responseFormat) { - this.responseFormat = responseFormat; - return this; - } - - /** - * A list of options for the question. This only applies when responseType is 'choice' + * The sequence number of the question within the proposal. */ - public Builder responseChoices(@Nullable List responseChoices) { - this.responseChoices = responseChoices; + public Builder sequence(@Nullable Long sequence) { + this.sequence = sequence; return this; } public TravelProgramQuestion build() { - return new TravelProgramQuestion( - created, - createdBy, - lastModified, - lastModifiedBy, - travelProgram, - id, - text, - required, - responseType, - responseDataType, - responseFormat, - responseChoices); + return new TravelProgramQuestion(questionId, section, required, sequence); } } } diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestion1.java b/packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestion1.java deleted file mode 100644 index ff1d70d43..000000000 --- a/packages/java/src/main/java/com/cvent/models/components/TravelProgramQuestion1.java +++ /dev/null @@ -1,221 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.cvent.models.components; - -import com.cvent.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonProperty; -import jakarta.annotation.Nullable; -import java.lang.Boolean; -import java.lang.Long; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - -/** - * TravelProgramQuestion1 - * - *

A question, defined by the account, for the supplier to answer as part of their proposal. - */ -public class TravelProgramQuestion1 { - /** - * The unique ID of the custom question. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("questionId") - private String questionId; - - /** - * Code representing the section where the question belongs. Currently, program_client (client - * specific) and program_g_and_m (group and meeting) are supported. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("section") - private QuestionSection section; - - /** - * Is it required for suppliers to answer this question in their proposal? - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("required") - private Boolean required; - - /** - * The sequence number of the question within the proposal. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("sequence") - private Long sequence; - - @JsonCreator - public TravelProgramQuestion1( - @JsonProperty("questionId") @Nullable String questionId, - @JsonProperty("section") @Nullable QuestionSection section, - @JsonProperty("required") @Nullable Boolean required, - @JsonProperty("sequence") @Nullable Long sequence) { - this.questionId = questionId; - this.section = section; - this.required = required; - this.sequence = sequence; - } - - public TravelProgramQuestion1() { - this(null, null, null, null); - } - - /** - * The unique ID of the custom question. - */ - public Optional questionId() { - return Optional.ofNullable(this.questionId); - } - - /** - * Code representing the section where the question belongs. Currently, program_client (client - * specific) and program_g_and_m (group and meeting) are supported. - */ - public Optional section() { - return Optional.ofNullable(this.section); - } - - /** - * Is it required for suppliers to answer this question in their proposal? - */ - public Optional required() { - return Optional.ofNullable(this.required); - } - - /** - * The sequence number of the question within the proposal. - */ - public Optional sequence() { - return Optional.ofNullable(this.sequence); - } - - public static Builder builder() { - return new Builder(); - } - - /** - * The unique ID of the custom question. - */ - public TravelProgramQuestion1 withQuestionId(@Nullable String questionId) { - this.questionId = questionId; - return this; - } - - /** - * Code representing the section where the question belongs. Currently, program_client (client - * specific) and program_g_and_m (group and meeting) are supported. - */ - public TravelProgramQuestion1 withSection(@Nullable QuestionSection section) { - this.section = section; - return this; - } - - /** - * Is it required for suppliers to answer this question in their proposal? - */ - public TravelProgramQuestion1 withRequired(@Nullable Boolean required) { - this.required = required; - return this; - } - - /** - * The sequence number of the question within the proposal. - */ - public TravelProgramQuestion1 withSequence(@Nullable Long sequence) { - this.sequence = sequence; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TravelProgramQuestion1 other = (TravelProgramQuestion1) o; - return Utils.enhancedDeepEquals(this.questionId, other.questionId) - && Utils.enhancedDeepEquals(this.section, other.section) - && Utils.enhancedDeepEquals(this.required, other.required) - && Utils.enhancedDeepEquals(this.sequence, other.sequence); - } - - @Override - public int hashCode() { - return Utils.enhancedHash(questionId, section, required, sequence); - } - - @Override - public String toString() { - return Utils.toString( - TravelProgramQuestion1.class, - "questionId", - questionId, - "section", - section, - "required", - required, - "sequence", - sequence); - } - - @SuppressWarnings("UnusedReturnValue") - public static final class Builder { - - private String questionId; - - private QuestionSection section; - - private Boolean required; - - private Long sequence; - - private Builder() { - // force use of static builder() method - } - - /** - * The unique ID of the custom question. - */ - public Builder questionId(@Nullable String questionId) { - this.questionId = questionId; - return this; - } - - /** - * Code representing the section where the question belongs. Currently, program_client (client - * specific) and program_g_and_m (group and meeting) are supported. - */ - public Builder section(@Nullable QuestionSection section) { - this.section = section; - return this; - } - - /** - * Is it required for suppliers to answer this question in their proposal? - */ - public Builder required(@Nullable Boolean required) { - this.required = required; - return this; - } - - /** - * The sequence number of the question within the proposal. - */ - public Builder sequence(@Nullable Long sequence) { - this.sequence = sequence; - return this; - } - - public TravelProgramQuestion1 build() { - return new TravelProgramQuestion1(questionId, section, required, sequence); - } - } -} diff --git a/packages/java/src/main/java/com/cvent/models/components/TravelType.java b/packages/java/src/main/java/com/cvent/models/components/TravelType.java index bbec7c375..bc1bf27ff 100644 --- a/packages/java/src/main/java/com/cvent/models/components/TravelType.java +++ b/packages/java/src/main/java/com/cvent/models/components/TravelType.java @@ -11,13 +11,18 @@ /** * TravelType * - *

Type of travel alternate question + *

Type of travel alternate question. Supported values: AirRequest = attendee requested air travel; + * HotelRequest = attendee requested hotel travel; AirActual = actual air travel booked; GroupFlight = + * group flight booking; TrainRequest = attendee requested train travel; AirAndTrainRequest = attendee + * did not want air or train travel and submitted an alternate response. */ public enum TravelType { AIR_REQUEST("AirRequest"), HOTEL_REQUEST("HotelRequest"), AIR_ACTUAL("AirActual"), - GROUP_FLIGHT("GroupFlight"); + GROUP_FLIGHT("GroupFlight"), + TRAIN_REQUEST("TrainRequest"), + AIR_AND_TRAIN_REQUEST("AirAndTrainRequest"); @JsonValue private final String value; diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueAmenityAVCapability.java b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityAVCapability.java new file mode 100644 index 000000000..4fde4fcd1 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityAVCapability.java @@ -0,0 +1,45 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * VenueAmenityAVCapability + * + *

Audio-visual capability available at a venue. + * + *

Values: + * - `AV_EQUIPMENT` — AV Equipment + * - `HIGH_SPEED_INTERNET` — High Speed Internet + * - `ONSITE_AV_STAFF` — Onsite AV Staff + */ +public enum VenueAmenityAVCapability { + AV_EQUIPMENT("AV_EQUIPMENT"), + HIGH_SPEED_INTERNET("HIGH_SPEED_INTERNET"), + ONSITE_AV_STAFF("ONSITE_AV_STAFF"); + + @JsonValue + private final String value; + + VenueAmenityAVCapability(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VenueAmenityAVCapability o : VenueAmenityAVCapability.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueAmenityAlcohol.java b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityAlcohol.java new file mode 100644 index 000000000..ab9b30ec2 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityAlcohol.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * VenueAmenityAlcohol + * + *

Alcohol-related policy at a venue. + */ +public enum VenueAmenityAlcohol { + ALCOHOL_ALLOWED("ALCOHOL_ALLOWED"), + BRING_YOUR_OWN("BRING_YOUR_OWN"), + PREFERRED_VENDORS_ONLY("PREFERRED_VENDORS_ONLY"); + + @JsonValue + private final String value; + + VenueAmenityAlcohol(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VenueAmenityAlcohol o : VenueAmenityAlcohol.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueAmenityAvCapabilityItem.java b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityAvCapabilityItem.java new file mode 100644 index 000000000..bfecf574e --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityAvCapabilityItem.java @@ -0,0 +1,158 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * VenueAmenityAvCapabilityItem + * + *

An AV capability selection for a venue. An internet speed may be provided when the selected amenity + * is `HIGH_SPEED_INTERNET`. + */ +public class VenueAmenityAvCapabilityItem { + /** + * Audio-visual capability available at a venue. + * + *

Values: + * - `AV_EQUIPMENT` — AV Equipment + * - `HIGH_SPEED_INTERNET` — High Speed Internet + * - `ONSITE_AV_STAFF` — Onsite AV Staff + */ + @JsonProperty("amenity") + private VenueAmenityAVCapability amenity; + + /** + * Internet connection speed in Mbps. Applicable only when `amenity` is `HIGH_SPEED_INTERNET`. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("speed") + private Long speed; + + @JsonCreator + public VenueAmenityAvCapabilityItem( + @JsonProperty("amenity") @Nonnull VenueAmenityAVCapability amenity, + @JsonProperty("speed") @Nullable Long speed) { + this.amenity = + Optional.ofNullable(amenity).orElseThrow(() -> new IllegalArgumentException("amenity cannot be null")); + this.speed = speed; + } + + public VenueAmenityAvCapabilityItem(@Nonnull VenueAmenityAVCapability amenity) { + this(amenity, null); + } + + /** + * Audio-visual capability available at a venue. + * + *

Values: + * - `AV_EQUIPMENT` — AV Equipment + * - `HIGH_SPEED_INTERNET` — High Speed Internet + * - `ONSITE_AV_STAFF` — Onsite AV Staff + */ + public VenueAmenityAVCapability amenity() { + return this.amenity; + } + + /** + * Internet connection speed in Mbps. Applicable only when `amenity` is `HIGH_SPEED_INTERNET`. + */ + public Optional speed() { + return Optional.ofNullable(this.speed); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Audio-visual capability available at a venue. + * + *

Values: + * - `AV_EQUIPMENT` — AV Equipment + * - `HIGH_SPEED_INTERNET` — High Speed Internet + * - `ONSITE_AV_STAFF` — Onsite AV Staff + */ + public VenueAmenityAvCapabilityItem withAmenity(@Nonnull VenueAmenityAVCapability amenity) { + this.amenity = Utils.checkNotNull(amenity, "amenity"); + return this; + } + + /** + * Internet connection speed in Mbps. Applicable only when `amenity` is `HIGH_SPEED_INTERNET`. + */ + public VenueAmenityAvCapabilityItem withSpeed(@Nullable Long speed) { + this.speed = speed; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VenueAmenityAvCapabilityItem other = (VenueAmenityAvCapabilityItem) o; + return Utils.enhancedDeepEquals(this.amenity, other.amenity) && Utils.enhancedDeepEquals(this.speed, other.speed); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(amenity, speed); + } + + @Override + public String toString() { + return Utils.toString(VenueAmenityAvCapabilityItem.class, "amenity", amenity, "speed", speed); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private VenueAmenityAVCapability amenity; + + private Long speed; + + private Builder() { + // force use of static builder() method + } + + /** + * Audio-visual capability available at a venue. + * + *

Values: + * - `AV_EQUIPMENT` — AV Equipment + * - `HIGH_SPEED_INTERNET` — High Speed Internet + * - `ONSITE_AV_STAFF` — Onsite AV Staff + */ + public Builder amenity(@Nonnull VenueAmenityAVCapability amenity) { + this.amenity = Utils.checkNotNull(amenity, "amenity"); + return this; + } + + /** + * Internet connection speed in Mbps. Applicable only when `amenity` is `HIGH_SPEED_INTERNET`. + */ + public Builder speed(@Nullable Long speed) { + this.speed = speed; + return this; + } + + public VenueAmenityAvCapabilityItem build() { + return new VenueAmenityAvCapabilityItem(amenity, speed); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueAmenityBusinessService.java b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityBusinessService.java new file mode 100644 index 000000000..7306850af --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityBusinessService.java @@ -0,0 +1,41 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * VenueAmenityBusinessService + * + *

Business or communications service available at a venue. + */ +public enum VenueAmenityBusinessService { + AUDIOVIDEO_CAPABILITIES("AUDIOVIDEO_CAPABILITIES"), + BUSINESS_CENTER("BUSINESS_CENTER"), + VIDEO_CONFERENCING("VIDEO_CONFERENCING"), + VIP_SERVICES("VIP_SERVICES"); + + @JsonValue + private final String value; + + VenueAmenityBusinessService(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VenueAmenityBusinessService o : VenueAmenityBusinessService.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueAmenityCateringDetail.java b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityCateringDetail.java new file mode 100644 index 000000000..68d130b85 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityCateringDetail.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * VenueAmenityCateringDetail + * + *

Catering option or policy offered at a venue. + */ +public enum VenueAmenityCateringDetail { + KITCHEN_ONSITE("KITCHEN_ONSITE"), + ONSITE_CATERING("ONSITE_CATERING"), + OUTSIDE_CATERERS_ALLOWED("OUTSIDE_CATERERS_ALLOWED"); + + @JsonValue + private final String value; + + VenueAmenityCateringDetail(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VenueAmenityCateringDetail o : VenueAmenityCateringDetail.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueAmenityEquipment.java b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityEquipment.java new file mode 100644 index 000000000..c06bda36c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityEquipment.java @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * VenueAmenityEquipment + * + *

Physical equipment or staging resource available for event use at a venue. + */ +public enum VenueAmenityEquipment { + DANCE_FLOORS("DANCE_FLOORS"), + LOADING_DOCK_AVAILABLE("LOADING_DOCK_AVAILABLE"), + PIANO("PIANO"), + PORTABLE_HEATERS("PORTABLE_HEATERS"), + PORTABLE_WALLS("PORTABLE_WALLS"), + STAGING("STAGING"); + + @JsonValue + private final String value; + + VenueAmenityEquipment(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VenueAmenityEquipment o : VenueAmenityEquipment.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueAmenityFacilityInfo.java b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityFacilityInfo.java new file mode 100644 index 000000000..cd03cf3d8 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityFacilityInfo.java @@ -0,0 +1,51 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * VenueAmenityFacilityInfo + * + *

General facility feature or on-site service available at a venue. + */ +public enum VenueAmenityFacilityInfo { + ALL_INCLUSIVE("ALL_INCLUSIVE"), + BUSINESS_CENTER("BUSINESS_CENTER"), + CASINO("CASINO"), + EXTENDED_STAY("EXTENDED_STAY"), + FREE_AIRPORT_SHUTTLE("FREE_AIRPORT_SHUTTLE"), + GIFT_SHOP_ON_SITE("GIFT_SHOP_ON_SITE"), + INTERNET("INTERNET"), + ONSITE_CATERING("ONSITE_CATERING"), + OUTSIDE_CATERERS_ALLOWED("OUTSIDE_CATERERS_ALLOWED"), + PETS_WELCOME("PETS_WELCOME"), + RENTAL_CAR_SERVICES("RENTAL_CAR_SERVICES"), + RESTAURANT_ON_SITE("RESTAURANT_ON_SITE"), + SECURITY_STAFF_ONSITE("SECURITY_STAFF_ONSITE"), + WHEELCHAIR_ACCESSIBLE("WHEELCHAIR_ACCESSIBLE"); + + @JsonValue + private final String value; + + VenueAmenityFacilityInfo(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VenueAmenityFacilityInfo o : VenueAmenityFacilityInfo.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueAmenityFacilitySpace.java b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityFacilitySpace.java new file mode 100644 index 000000000..8b208e24c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityFacilitySpace.java @@ -0,0 +1,45 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * VenueAmenityFacilitySpace + * + *

Facility space type available at a venue. + * + *

Values: + * - `OUTDOOR_SPACE` — Outdoor Space + * - `PRIVATE_SPACE` — Private Space + * - `SEMI_PRIVATE_SPACE` — Semi-Private Space + */ +public enum VenueAmenityFacilitySpace { + OUTDOOR_SPACE("OUTDOOR_SPACE"), + PRIVATE_SPACE("PRIVATE_SPACE"), + SEMI_PRIVATE_SPACE("SEMI_PRIVATE_SPACE"); + + @JsonValue + private final String value; + + VenueAmenityFacilitySpace(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VenueAmenityFacilitySpace o : VenueAmenityFacilitySpace.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueAmenityFacilitySpaceItem.java b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityFacilitySpaceItem.java new file mode 100644 index 000000000..2cb49ba55 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityFacilitySpaceItem.java @@ -0,0 +1,158 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * VenueAmenityFacilitySpaceItem + * + *

A facility space entry for a venue, with an optional area measurement expressed in the venue's + * configured unit of measurement. + */ +public class VenueAmenityFacilitySpaceItem { + /** + * Facility space type available at a venue. + * + *

Values: + * - `OUTDOOR_SPACE` — Outdoor Space + * - `PRIVATE_SPACE` — Private Space + * - `SEMI_PRIVATE_SPACE` — Semi-Private Space + */ + @JsonProperty("amenity") + private VenueAmenityFacilitySpace amenity; + + /** + * Area of the space in the venue's configured unit of measurement. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("value") + private Long value; + + @JsonCreator + public VenueAmenityFacilitySpaceItem( + @JsonProperty("amenity") @Nonnull VenueAmenityFacilitySpace amenity, + @JsonProperty("value") @Nullable Long value) { + this.amenity = + Optional.ofNullable(amenity).orElseThrow(() -> new IllegalArgumentException("amenity cannot be null")); + this.value = value; + } + + public VenueAmenityFacilitySpaceItem(@Nonnull VenueAmenityFacilitySpace amenity) { + this(amenity, null); + } + + /** + * Facility space type available at a venue. + * + *

Values: + * - `OUTDOOR_SPACE` — Outdoor Space + * - `PRIVATE_SPACE` — Private Space + * - `SEMI_PRIVATE_SPACE` — Semi-Private Space + */ + public VenueAmenityFacilitySpace amenity() { + return this.amenity; + } + + /** + * Area of the space in the venue's configured unit of measurement. + */ + public Optional value() { + return Optional.ofNullable(this.value); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Facility space type available at a venue. + * + *

Values: + * - `OUTDOOR_SPACE` — Outdoor Space + * - `PRIVATE_SPACE` — Private Space + * - `SEMI_PRIVATE_SPACE` — Semi-Private Space + */ + public VenueAmenityFacilitySpaceItem withAmenity(@Nonnull VenueAmenityFacilitySpace amenity) { + this.amenity = Utils.checkNotNull(amenity, "amenity"); + return this; + } + + /** + * Area of the space in the venue's configured unit of measurement. + */ + public VenueAmenityFacilitySpaceItem withValue(@Nullable Long value) { + this.value = value; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VenueAmenityFacilitySpaceItem other = (VenueAmenityFacilitySpaceItem) o; + return Utils.enhancedDeepEquals(this.amenity, other.amenity) && Utils.enhancedDeepEquals(this.value, other.value); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(amenity, value); + } + + @Override + public String toString() { + return Utils.toString(VenueAmenityFacilitySpaceItem.class, "amenity", amenity, "value", value); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private VenueAmenityFacilitySpace amenity; + + private Long value; + + private Builder() { + // force use of static builder() method + } + + /** + * Facility space type available at a venue. + * + *

Values: + * - `OUTDOOR_SPACE` — Outdoor Space + * - `PRIVATE_SPACE` — Private Space + * - `SEMI_PRIVATE_SPACE` — Semi-Private Space + */ + public Builder amenity(@Nonnull VenueAmenityFacilitySpace amenity) { + this.amenity = Utils.checkNotNull(amenity, "amenity"); + return this; + } + + /** + * Area of the space in the venue's configured unit of measurement. + */ + public Builder value(@Nullable Long value) { + this.value = value; + return this; + } + + public VenueAmenityFacilitySpaceItem build() { + return new VenueAmenityFacilitySpaceItem(amenity, value); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueAmenityParking.java b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityParking.java new file mode 100644 index 000000000..20b135494 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityParking.java @@ -0,0 +1,49 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * VenueAmenityParking + * + *

Parking type available at or near a venue. + * + *

Values: + * - `BUS_PARKING_AVAILABLE` — Bus Parking + * - `COMPLIMENTARY_PARKING_PROVIDED` — Complimentary Parking + * - `PAID_PARKING_AVAILABLE` — Paid Parking + * - `STREET_PARKING` — Street Parking + * - `VALET_PARKING_AVAILABLE` — Valet Parking + */ +public enum VenueAmenityParking { + BUS_PARKING_AVAILABLE("BUS_PARKING_AVAILABLE"), + COMPLIMENTARY_PARKING_PROVIDED("COMPLIMENTARY_PARKING_PROVIDED"), + PAID_PARKING_AVAILABLE("PAID_PARKING_AVAILABLE"), + STREET_PARKING("STREET_PARKING"), + VALET_PARKING_AVAILABLE("VALET_PARKING_AVAILABLE"); + + @JsonValue + private final String value; + + VenueAmenityParking(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VenueAmenityParking o : VenueAmenityParking.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueAmenityParkingItem.java b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityParkingItem.java new file mode 100644 index 000000000..2d56f0662 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityParkingItem.java @@ -0,0 +1,170 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +/** + * VenueAmenityParkingItem + * + *

A parking amenity selection for a venue. An optional daily rate may be provided for paid parking + * types. + */ +public class VenueAmenityParkingItem { + /** + * Parking type available at or near a venue. + * + *

Values: + * - `BUS_PARKING_AVAILABLE` — Bus Parking + * - `COMPLIMENTARY_PARKING_PROVIDED` — Complimentary Parking + * - `PAID_PARKING_AVAILABLE` — Paid Parking + * - `STREET_PARKING` — Street Parking + * - `VALET_PARKING_AVAILABLE` — Valet Parking + */ + @JsonProperty("amenity") + private VenueAmenityParking amenity; + + /** + * Daily parking cost per vehicle, in the venue's local currency. Applicable only when `amenity` is + * `PAID_PARKING_AVAILABLE` or `VALET_PARKING_AVAILABLE`. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("cost") + private Double cost; + + @JsonCreator + public VenueAmenityParkingItem( + @JsonProperty("amenity") @Nonnull VenueAmenityParking amenity, + @JsonProperty("cost") @Nullable Double cost) { + this.amenity = + Optional.ofNullable(amenity).orElseThrow(() -> new IllegalArgumentException("amenity cannot be null")); + this.cost = cost; + } + + public VenueAmenityParkingItem(@Nonnull VenueAmenityParking amenity) { + this(amenity, null); + } + + /** + * Parking type available at or near a venue. + * + *

Values: + * - `BUS_PARKING_AVAILABLE` — Bus Parking + * - `COMPLIMENTARY_PARKING_PROVIDED` — Complimentary Parking + * - `PAID_PARKING_AVAILABLE` — Paid Parking + * - `STREET_PARKING` — Street Parking + * - `VALET_PARKING_AVAILABLE` — Valet Parking + */ + public VenueAmenityParking amenity() { + return this.amenity; + } + + /** + * Daily parking cost per vehicle, in the venue's local currency. Applicable only when `amenity` is + * `PAID_PARKING_AVAILABLE` or `VALET_PARKING_AVAILABLE`. + */ + public Optional cost() { + return Optional.ofNullable(this.cost); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Parking type available at or near a venue. + * + *

Values: + * - `BUS_PARKING_AVAILABLE` — Bus Parking + * - `COMPLIMENTARY_PARKING_PROVIDED` — Complimentary Parking + * - `PAID_PARKING_AVAILABLE` — Paid Parking + * - `STREET_PARKING` — Street Parking + * - `VALET_PARKING_AVAILABLE` — Valet Parking + */ + public VenueAmenityParkingItem withAmenity(@Nonnull VenueAmenityParking amenity) { + this.amenity = Utils.checkNotNull(amenity, "amenity"); + return this; + } + + /** + * Daily parking cost per vehicle, in the venue's local currency. Applicable only when `amenity` is + * `PAID_PARKING_AVAILABLE` or `VALET_PARKING_AVAILABLE`. + */ + public VenueAmenityParkingItem withCost(@Nullable Double cost) { + this.cost = cost; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VenueAmenityParkingItem other = (VenueAmenityParkingItem) o; + return Utils.enhancedDeepEquals(this.amenity, other.amenity) && Utils.enhancedDeepEquals(this.cost, other.cost); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(amenity, cost); + } + + @Override + public String toString() { + return Utils.toString(VenueAmenityParkingItem.class, "amenity", amenity, "cost", cost); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private VenueAmenityParking amenity; + + private Double cost; + + private Builder() { + // force use of static builder() method + } + + /** + * Parking type available at or near a venue. + * + *

Values: + * - `BUS_PARKING_AVAILABLE` — Bus Parking + * - `COMPLIMENTARY_PARKING_PROVIDED` — Complimentary Parking + * - `PAID_PARKING_AVAILABLE` — Paid Parking + * - `STREET_PARKING` — Street Parking + * - `VALET_PARKING_AVAILABLE` — Valet Parking + */ + public Builder amenity(@Nonnull VenueAmenityParking amenity) { + this.amenity = Utils.checkNotNull(amenity, "amenity"); + return this; + } + + /** + * Daily parking cost per vehicle, in the venue's local currency. Applicable only when `amenity` is + * `PAID_PARKING_AVAILABLE` or `VALET_PARKING_AVAILABLE`. + */ + public Builder cost(@Nullable Double cost) { + this.cost = cost; + return this; + } + + public VenueAmenityParkingItem build() { + return new VenueAmenityParkingItem(amenity, cost); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueAmenityProvisionPolicy.java b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityProvisionPolicy.java new file mode 100644 index 000000000..63f03bd31 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityProvisionPolicy.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * VenueAmenityProvisionPolicy + * + *

Provision policy for a venue amenity or service. + */ +public enum VenueAmenityProvisionPolicy { + AVAILABLE("AVAILABLE"), + BRING_YOUR_OWN("BRING_YOUR_OWN"), + PREFERRED_VENDORS_ONLY("PREFERRED_VENDORS_ONLY"); + + @JsonValue + private final String value; + + VenueAmenityProvisionPolicy(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VenueAmenityProvisionPolicy o : VenueAmenityProvisionPolicy.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueAmenityRecreationalActivity.java b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityRecreationalActivity.java new file mode 100644 index 000000000..89b527b38 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityRecreationalActivity.java @@ -0,0 +1,46 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * VenueAmenityRecreationalActivity + * + *

Recreational facility or leisure activity available at a venue. + */ +public enum VenueAmenityRecreationalActivity { + GOLF_ON_GROUNDS("GOLF_ON_GROUNDS"), + HEALTH_CLUB("HEALTH_CLUB"), + INDOOR_POOL("INDOOR_POOL"), + OUTDOOR_POOL("OUTDOOR_POOL"), + SKIING("SKIING"), + SPASALON("SPASALON"), + TENNIS("TENNIS"), + WATER_SPORTS("WATER_SPORTS"), + WHIRLPOOL("WHIRLPOOL"); + + @JsonValue + private final String value; + + VenueAmenityRecreationalActivity(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VenueAmenityRecreationalActivity o : VenueAmenityRecreationalActivity.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueAmenityRoomFeature.java b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityRoomFeature.java new file mode 100644 index 000000000..0e3b5a9f5 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityRoomFeature.java @@ -0,0 +1,49 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * VenueAmenityRoomFeature + * + *

In-room feature or guest service available at a venue. + */ +public enum VenueAmenityRoomFeature { + CONCIERGE_SERVICES("CONCIERGE_SERVICES"), + FREE_LOCAL_CALLS("FREE_LOCAL_CALLS"), + FREE_TOLL_FREE_CALLS("FREE_TOLL_FREE_CALLS"), + GARDEN_VIEWS("GARDEN_VIEWS"), + INTERNET("INTERNET"), + LAUNDRY("LAUNDRY"), + LUGGAGE_STORAGE("LUGGAGE_STORAGE"), + MOUNTAIN_VIEWS("MOUNTAIN_VIEWS"), + OCEANWATER_VIEWS("OCEANWATER_VIEWS"), + ROOM_SERVICE("ROOM_SERVICE"), + URBAN_VIEWS("URBAN_VIEWS"), + VOICE_MAIL_BOX("VOICE_MAIL_BOX"); + + @JsonValue + private final String value; + + VenueAmenityRoomFeature(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VenueAmenityRoomFeature o : VenueAmenityRoomFeature.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/components/VenueAmenityTransportation.java b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityTransportation.java new file mode 100644 index 000000000..1f7f95823 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/components/VenueAmenityTransportation.java @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +/** + * VenueAmenityTransportation + * + *

Transportation option by which a venue is accessible. + */ +public enum VenueAmenityTransportation { + BUS("BUS"), + SHUTTLE("SHUTTLE"), + SUBWAY("SUBWAY"), + TAXI("TAXI"), + TRAIN("TRAIN"); + + @JsonValue + private final String value; + + VenueAmenityTransportation(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (VenueAmenityTransportation o : VenueAmenityTransportation.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/CreateLeadCatcherRequest.java b/packages/java/src/main/java/com/cvent/models/operations/CreateLeadCatcherRequest.java new file mode 100644 index 000000000..bb944aa6d --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/CreateLeadCatcherRequest.java @@ -0,0 +1,112 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.LeadCatcher; +import com.cvent.utils.SpeakeasyMetadata; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +public class CreateLeadCatcherRequest { + /** + * Unique Cvent based identifier for a Venue. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId") + private String venueId; + + @SpeakeasyMetadata("request:mediaType=application/json") + private LeadCatcher leadCatcher; + + @JsonCreator + public CreateLeadCatcherRequest(@Nonnull String venueId, @Nonnull LeadCatcher leadCatcher) { + this.venueId = + Optional.ofNullable(venueId).orElseThrow(() -> new IllegalArgumentException("venueId cannot be null")); + this.leadCatcher = Optional.ofNullable(leadCatcher) + .orElseThrow(() -> new IllegalArgumentException("leadCatcher cannot be null")); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public String venueId() { + return this.venueId; + } + + public LeadCatcher leadCatcher() { + return this.leadCatcher; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public CreateLeadCatcherRequest withVenueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + public CreateLeadCatcherRequest withLeadCatcher(@Nonnull LeadCatcher leadCatcher) { + this.leadCatcher = Utils.checkNotNull(leadCatcher, "leadCatcher"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateLeadCatcherRequest other = (CreateLeadCatcherRequest) o; + return Utils.enhancedDeepEquals(this.venueId, other.venueId) + && Utils.enhancedDeepEquals(this.leadCatcher, other.leadCatcher); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(venueId, leadCatcher); + } + + @Override + public String toString() { + return Utils.toString(CreateLeadCatcherRequest.class, "venueId", venueId, "leadCatcher", leadCatcher); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String venueId; + + private LeadCatcher leadCatcher; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public Builder venueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + public Builder leadCatcher(@Nonnull LeadCatcher leadCatcher) { + this.leadCatcher = Utils.checkNotNull(leadCatcher, "leadCatcher"); + return this; + } + + public CreateLeadCatcherRequest build() { + return new CreateLeadCatcherRequest(venueId, leadCatcher); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/CreateLeadCatcherRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/CreateLeadCatcherRequestBuilder.java new file mode 100644 index 000000000..a642396f0 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/CreateLeadCatcherRequestBuilder.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import static com.cvent.operations.Operations.RequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.operations.CreateLeadCatcher; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; + +public class CreateLeadCatcherRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private CreateLeadCatcherRequest request; + private final Options.Builder optionsBuilder; + + public CreateLeadCatcherRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public CreateLeadCatcherRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public CreateLeadCatcherRequestBuilder request(@Nonnull CreateLeadCatcherRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private CreateLeadCatcherRequest _buildRequest() { + return this.request; + } + + public CreateLeadCatcherRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public CreateLeadCatcherResponse call() { + Options options = optionsBuilder.build(); + RequestOperation operation = + new CreateLeadCatcher.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(this._buildRequest())); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/CreateLeadCatcherResponse.java b/packages/java/src/main/java/com/cvent/models/operations/CreateLeadCatcherResponse.java new file mode 100644 index 000000000..acf535ef8 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/CreateLeadCatcherResponse.java @@ -0,0 +1,237 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.ExistingLeadCatcher; +import com.cvent.utils.Response; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Map; +import java.util.Optional; + +public class CreateLeadCatcherResponse implements Response { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Lead catcher created successfully. + */ + private ExistingLeadCatcher existingLeadCatcher; + + private Map> headers; + + @JsonCreator + public CreateLeadCatcherResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable ExistingLeadCatcher existingLeadCatcher, + @Nonnull Map> headers) { + headers = Utils.emptyMapIfNull(headers); + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.existingLeadCatcher = existingLeadCatcher; + this.headers = + Optional.ofNullable(headers).orElseThrow(() -> new IllegalArgumentException("headers cannot be null")); + } + + public CreateLeadCatcherResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nonnull Map> headers) { + this(contentType, statusCode, rawResponse, null, headers); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Lead catcher created successfully. + */ + public Optional existingLeadCatcher() { + return Optional.ofNullable(this.existingLeadCatcher); + } + + public Map> headers() { + return this.headers; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public CreateLeadCatcherResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public CreateLeadCatcherResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public CreateLeadCatcherResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Lead catcher created successfully. + */ + public CreateLeadCatcherResponse withExistingLeadCatcher(@Nullable ExistingLeadCatcher existingLeadCatcher) { + this.existingLeadCatcher = existingLeadCatcher; + return this; + } + + public CreateLeadCatcherResponse withHeaders(@Nonnull Map> headers) { + this.headers = Utils.checkNotNull(headers, "headers"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateLeadCatcherResponse other = (CreateLeadCatcherResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.existingLeadCatcher, other.existingLeadCatcher) + && Utils.enhancedDeepEquals(this.headers, other.headers); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, existingLeadCatcher, headers); + } + + @Override + public String toString() { + return Utils.toString( + CreateLeadCatcherResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "existingLeadCatcher", + existingLeadCatcher, + "headers", + headers); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private ExistingLeadCatcher existingLeadCatcher; + + private Map> headers; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Lead catcher created successfully. + */ + public Builder existingLeadCatcher(@Nullable ExistingLeadCatcher existingLeadCatcher) { + this.existingLeadCatcher = existingLeadCatcher; + return this; + } + + public Builder headers(@Nonnull Map> headers) { + this.headers = Utils.checkNotNull(headers, "headers"); + return this; + } + + public CreateLeadCatcherResponse build() { + return new CreateLeadCatcherResponse(contentType, statusCode, rawResponse, existingLeadCatcher, headers); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/DeleteLeadCatcherRequest.java b/packages/java/src/main/java/com/cvent/models/operations/DeleteLeadCatcherRequest.java new file mode 100644 index 000000000..4f53f05b6 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/DeleteLeadCatcherRequest.java @@ -0,0 +1,123 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.utils.SpeakeasyMetadata; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +public class DeleteLeadCatcherRequest { + /** + * Unique Cvent based identifier for a Venue. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId") + private String venueId; + + /** + * Unique identifier for a lead catcher. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=leadCatcherId") + private String leadCatcherId; + + @JsonCreator + public DeleteLeadCatcherRequest(@Nonnull String venueId, @Nonnull String leadCatcherId) { + this.venueId = + Optional.ofNullable(venueId).orElseThrow(() -> new IllegalArgumentException("venueId cannot be null")); + this.leadCatcherId = Optional.ofNullable(leadCatcherId) + .orElseThrow(() -> new IllegalArgumentException("leadCatcherId cannot be null")); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public String venueId() { + return this.venueId; + } + + /** + * Unique identifier for a lead catcher. + */ + public String leadCatcherId() { + return this.leadCatcherId; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public DeleteLeadCatcherRequest withVenueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + /** + * Unique identifier for a lead catcher. + */ + public DeleteLeadCatcherRequest withLeadCatcherId(@Nonnull String leadCatcherId) { + this.leadCatcherId = Utils.checkNotNull(leadCatcherId, "leadCatcherId"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DeleteLeadCatcherRequest other = (DeleteLeadCatcherRequest) o; + return Utils.enhancedDeepEquals(this.venueId, other.venueId) + && Utils.enhancedDeepEquals(this.leadCatcherId, other.leadCatcherId); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(venueId, leadCatcherId); + } + + @Override + public String toString() { + return Utils.toString(DeleteLeadCatcherRequest.class, "venueId", venueId, "leadCatcherId", leadCatcherId); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String venueId; + + private String leadCatcherId; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public Builder venueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + /** + * Unique identifier for a lead catcher. + */ + public Builder leadCatcherId(@Nonnull String leadCatcherId) { + this.leadCatcherId = Utils.checkNotNull(leadCatcherId, "leadCatcherId"); + return this; + } + + public DeleteLeadCatcherRequest build() { + return new DeleteLeadCatcherRequest(venueId, leadCatcherId); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/DeleteLeadCatcherRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/DeleteLeadCatcherRequestBuilder.java new file mode 100644 index 000000000..0951c9a5f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/DeleteLeadCatcherRequestBuilder.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import static com.cvent.operations.Operations.RequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.operations.DeleteLeadCatcher; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; + +public class DeleteLeadCatcherRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private DeleteLeadCatcherRequest request; + private final Options.Builder optionsBuilder; + + public DeleteLeadCatcherRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public DeleteLeadCatcherRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public DeleteLeadCatcherRequestBuilder request(@Nonnull DeleteLeadCatcherRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private DeleteLeadCatcherRequest _buildRequest() { + return this.request; + } + + public DeleteLeadCatcherRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public DeleteLeadCatcherResponse call() { + Options options = optionsBuilder.build(); + RequestOperation operation = + new DeleteLeadCatcher.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(this._buildRequest())); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/DeleteLeadCatcherResponse.java b/packages/java/src/main/java/com/cvent/models/operations/DeleteLeadCatcherResponse.java new file mode 100644 index 000000000..37ae55740 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/DeleteLeadCatcherResponse.java @@ -0,0 +1,163 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.utils.Response; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class DeleteLeadCatcherResponse implements Response { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + @JsonCreator + public DeleteLeadCatcherResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public DeleteLeadCatcherResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public DeleteLeadCatcherResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public DeleteLeadCatcherResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DeleteLeadCatcherResponse other = (DeleteLeadCatcherResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse); + } + + @Override + public String toString() { + return Utils.toString( + DeleteLeadCatcherResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + public DeleteLeadCatcherResponse build() { + return new DeleteLeadCatcherResponse(contentType, statusCode, rawResponse); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetHousingEventHotelAvailabilityRequest.java b/packages/java/src/main/java/com/cvent/models/operations/GetHousingEventHotelAvailabilityRequest.java index b883bbe8d..e95d89309 100644 --- a/packages/java/src/main/java/com/cvent/models/operations/GetHousingEventHotelAvailabilityRequest.java +++ b/packages/java/src/main/java/com/cvent/models/operations/GetHousingEventHotelAvailabilityRequest.java @@ -54,7 +54,7 @@ public class GetHousingEventHotelAvailabilityRequest { private String filter; /** - * Limit to this number of search results. Maximum of 50, default of 10. + * Limit to this number of search results. Maximum of 200, default of 10. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=limit") private Long limit; @@ -122,7 +122,7 @@ public Optional filter() { } /** - * Limit to this number of search results. Maximum of 50, default of 10. + * Limit to this number of search results. Maximum of 200, default of 10. */ public Optional limit() { return Optional.ofNullable(this.limit); @@ -185,7 +185,7 @@ public GetHousingEventHotelAvailabilityRequest withFilter(@Nullable String filte } /** - * Limit to this number of search results. Maximum of 50, default of 10. + * Limit to this number of search results. Maximum of 200, default of 10. */ public GetHousingEventHotelAvailabilityRequest withLimit(@Nullable Long limit) { this.limit = limit; @@ -300,7 +300,7 @@ public Builder filter(@Nullable String filter) { } /** - * Limit to this number of search results. Maximum of 50, default of 10. + * Limit to this number of search results. Maximum of 200, default of 10. */ public Builder limit(@Nullable Long limit) { this.limit = limit; diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetLeadCatcherOverviewRequest.java b/packages/java/src/main/java/com/cvent/models/operations/GetLeadCatcherOverviewRequest.java new file mode 100644 index 000000000..384713e3a --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/GetLeadCatcherOverviewRequest.java @@ -0,0 +1,123 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.utils.SpeakeasyMetadata; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +public class GetLeadCatcherOverviewRequest { + /** + * Unique Cvent based identifier for a Venue. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId") + private String venueId; + + /** + * Unique identifier for a lead catcher. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=leadCatcherId") + private String leadCatcherId; + + @JsonCreator + public GetLeadCatcherOverviewRequest(@Nonnull String venueId, @Nonnull String leadCatcherId) { + this.venueId = + Optional.ofNullable(venueId).orElseThrow(() -> new IllegalArgumentException("venueId cannot be null")); + this.leadCatcherId = Optional.ofNullable(leadCatcherId) + .orElseThrow(() -> new IllegalArgumentException("leadCatcherId cannot be null")); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public String venueId() { + return this.venueId; + } + + /** + * Unique identifier for a lead catcher. + */ + public String leadCatcherId() { + return this.leadCatcherId; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public GetLeadCatcherOverviewRequest withVenueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + /** + * Unique identifier for a lead catcher. + */ + public GetLeadCatcherOverviewRequest withLeadCatcherId(@Nonnull String leadCatcherId) { + this.leadCatcherId = Utils.checkNotNull(leadCatcherId, "leadCatcherId"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetLeadCatcherOverviewRequest other = (GetLeadCatcherOverviewRequest) o; + return Utils.enhancedDeepEquals(this.venueId, other.venueId) + && Utils.enhancedDeepEquals(this.leadCatcherId, other.leadCatcherId); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(venueId, leadCatcherId); + } + + @Override + public String toString() { + return Utils.toString(GetLeadCatcherOverviewRequest.class, "venueId", venueId, "leadCatcherId", leadCatcherId); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String venueId; + + private String leadCatcherId; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public Builder venueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + /** + * Unique identifier for a lead catcher. + */ + public Builder leadCatcherId(@Nonnull String leadCatcherId) { + this.leadCatcherId = Utils.checkNotNull(leadCatcherId, "leadCatcherId"); + return this; + } + + public GetLeadCatcherOverviewRequest build() { + return new GetLeadCatcherOverviewRequest(venueId, leadCatcherId); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetLeadCatcherOverviewRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/GetLeadCatcherOverviewRequestBuilder.java new file mode 100644 index 000000000..56f4e3f95 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/GetLeadCatcherOverviewRequestBuilder.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import static com.cvent.operations.Operations.RequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.operations.GetLeadCatcherOverview; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; + +public class GetLeadCatcherOverviewRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private GetLeadCatcherOverviewRequest request; + private final Options.Builder optionsBuilder; + + public GetLeadCatcherOverviewRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public GetLeadCatcherOverviewRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public GetLeadCatcherOverviewRequestBuilder request(@Nonnull GetLeadCatcherOverviewRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private GetLeadCatcherOverviewRequest _buildRequest() { + return this.request; + } + + public GetLeadCatcherOverviewRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public GetLeadCatcherOverviewResponse call() { + Options options = optionsBuilder.build(); + RequestOperation operation = + new GetLeadCatcherOverview.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(this._buildRequest())); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetLeadCatcherOverviewResponse.java b/packages/java/src/main/java/com/cvent/models/operations/GetLeadCatcherOverviewResponse.java new file mode 100644 index 000000000..d493ebb7d --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/GetLeadCatcherOverviewResponse.java @@ -0,0 +1,207 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.LeadCatcherOverview; +import com.cvent.utils.Response; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class GetLeadCatcherOverviewResponse implements Response { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully retrieved the lead catcher overview. + */ + private LeadCatcherOverview leadCatcherOverview; + + @JsonCreator + public GetLeadCatcherOverviewResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable LeadCatcherOverview leadCatcherOverview) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.leadCatcherOverview = leadCatcherOverview; + } + + public GetLeadCatcherOverviewResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully retrieved the lead catcher overview. + */ + public Optional leadCatcherOverview() { + return Optional.ofNullable(this.leadCatcherOverview); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public GetLeadCatcherOverviewResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public GetLeadCatcherOverviewResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public GetLeadCatcherOverviewResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved the lead catcher overview. + */ + public GetLeadCatcherOverviewResponse withLeadCatcherOverview(@Nullable LeadCatcherOverview leadCatcherOverview) { + this.leadCatcherOverview = leadCatcherOverview; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetLeadCatcherOverviewResponse other = (GetLeadCatcherOverviewResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.leadCatcherOverview, other.leadCatcherOverview); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, leadCatcherOverview); + } + + @Override + public String toString() { + return Utils.toString( + GetLeadCatcherOverviewResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "leadCatcherOverview", + leadCatcherOverview); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private LeadCatcherOverview leadCatcherOverview; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved the lead catcher overview. + */ + public Builder leadCatcherOverview(@Nullable LeadCatcherOverview leadCatcherOverview) { + this.leadCatcherOverview = leadCatcherOverview; + return this; + } + + public GetLeadCatcherOverviewResponse build() { + return new GetLeadCatcherOverviewResponse(contentType, statusCode, rawResponse, leadCatcherOverview); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetVenueAmenitiesRequest.java b/packages/java/src/main/java/com/cvent/models/operations/GetVenueAmenitiesRequest.java new file mode 100644 index 000000000..4c6b7dd12 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/GetVenueAmenitiesRequest.java @@ -0,0 +1,89 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.utils.SpeakeasyMetadata; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +public class GetVenueAmenitiesRequest { + /** + * Unique Cvent based identifier for a Venue. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId") + private String venueId; + + @JsonCreator + public GetVenueAmenitiesRequest(@Nonnull String venueId) { + this.venueId = + Optional.ofNullable(venueId).orElseThrow(() -> new IllegalArgumentException("venueId cannot be null")); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public String venueId() { + return this.venueId; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public GetVenueAmenitiesRequest withVenueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetVenueAmenitiesRequest other = (GetVenueAmenitiesRequest) o; + return Utils.enhancedDeepEquals(this.venueId, other.venueId); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(venueId); + } + + @Override + public String toString() { + return Utils.toString(GetVenueAmenitiesRequest.class, "venueId", venueId); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String venueId; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public Builder venueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + public GetVenueAmenitiesRequest build() { + return new GetVenueAmenitiesRequest(venueId); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetVenueAmenitiesRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/GetVenueAmenitiesRequestBuilder.java new file mode 100644 index 000000000..45ee9f148 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/GetVenueAmenitiesRequestBuilder.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import static com.cvent.operations.Operations.RequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.operations.GetVenueAmenities; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; + +public class GetVenueAmenitiesRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private GetVenueAmenitiesRequest request; + private final Options.Builder optionsBuilder; + + public GetVenueAmenitiesRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public GetVenueAmenitiesRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public GetVenueAmenitiesRequestBuilder request(@Nonnull GetVenueAmenitiesRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private GetVenueAmenitiesRequest _buildRequest() { + return this.request; + } + + public GetVenueAmenitiesRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public GetVenueAmenitiesResponse call() { + Options options = optionsBuilder.build(); + RequestOperation operation = + new GetVenueAmenities.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(this._buildRequest())); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/GetVenueAmenitiesResponse.java b/packages/java/src/main/java/com/cvent/models/operations/GetVenueAmenitiesResponse.java new file mode 100644 index 000000000..5454e3c25 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/GetVenueAmenitiesResponse.java @@ -0,0 +1,208 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.ExistingVenueAmenities; +import com.cvent.utils.Response; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class GetVenueAmenitiesResponse implements Response { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully retrieved the venue amenities. + */ + private ExistingVenueAmenities existingVenueAmenities; + + @JsonCreator + public GetVenueAmenitiesResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable ExistingVenueAmenities existingVenueAmenities) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.existingVenueAmenities = existingVenueAmenities; + } + + public GetVenueAmenitiesResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully retrieved the venue amenities. + */ + public Optional existingVenueAmenities() { + return Optional.ofNullable(this.existingVenueAmenities); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public GetVenueAmenitiesResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public GetVenueAmenitiesResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public GetVenueAmenitiesResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved the venue amenities. + */ + public GetVenueAmenitiesResponse withExistingVenueAmenities( + @Nullable ExistingVenueAmenities existingVenueAmenities) { + this.existingVenueAmenities = existingVenueAmenities; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetVenueAmenitiesResponse other = (GetVenueAmenitiesResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.existingVenueAmenities, other.existingVenueAmenities); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, existingVenueAmenities); + } + + @Override + public String toString() { + return Utils.toString( + GetVenueAmenitiesResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "existingVenueAmenities", + existingVenueAmenities); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private ExistingVenueAmenities existingVenueAmenities; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved the venue amenities. + */ + public Builder existingVenueAmenities(@Nullable ExistingVenueAmenities existingVenueAmenities) { + this.existingVenueAmenities = existingVenueAmenities; + return this; + } + + public GetVenueAmenitiesResponse build() { + return new GetVenueAmenitiesResponse(contentType, statusCode, rawResponse, existingVenueAmenities); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/ListLeadCatchersOverviewRequest.java b/packages/java/src/main/java/com/cvent/models/operations/ListLeadCatchersOverviewRequest.java new file mode 100644 index 000000000..1f1ac1006 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/ListLeadCatchersOverviewRequest.java @@ -0,0 +1,171 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.utils.LazySingletonValue; +import com.cvent.utils.SpeakeasyMetadata; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +public class ListLeadCatchersOverviewRequest { + /** + * Unique Cvent based identifier for a Venue. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId") + private String venueId; + + /** + * The maximum number of records to return per page. + */ + @SpeakeasyMetadata("queryParam:style=form,explode=true,name=limit") + private Long limit; + + /** + * The continuation token returned from a previous class. This must be a valid UUID v4 if provided. + * This will override any other pageable parameters provided. + */ + @SpeakeasyMetadata("queryParam:style=form,explode=true,name=token") + private String token; + + @JsonCreator + public ListLeadCatchersOverviewRequest(@Nonnull String venueId, @Nullable Long limit, @Nullable String token) { + this.venueId = + Optional.ofNullable(venueId).orElseThrow(() -> new IllegalArgumentException("venueId cannot be null")); + this.limit = Optional.ofNullable(limit).orElse(Builder._SINGLETON_VALUE_Limit.value()); + this.token = token; + } + + public ListLeadCatchersOverviewRequest(@Nonnull String venueId) { + this(venueId, null, null); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public String venueId() { + return this.venueId; + } + + /** + * The maximum number of records to return per page. + */ + public Optional limit() { + return Optional.ofNullable(this.limit); + } + + /** + * The continuation token returned from a previous class. This must be a valid UUID v4 if provided. + * This will override any other pageable parameters provided. + */ + public Optional token() { + return Optional.ofNullable(this.token); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public ListLeadCatchersOverviewRequest withVenueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + /** + * The maximum number of records to return per page. + */ + public ListLeadCatchersOverviewRequest withLimit(@Nullable Long limit) { + this.limit = limit; + return this; + } + + /** + * The continuation token returned from a previous class. This must be a valid UUID v4 if provided. + * This will override any other pageable parameters provided. + */ + public ListLeadCatchersOverviewRequest withToken(@Nullable String token) { + this.token = token; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListLeadCatchersOverviewRequest other = (ListLeadCatchersOverviewRequest) o; + return Utils.enhancedDeepEquals(this.venueId, other.venueId) + && Utils.enhancedDeepEquals(this.limit, other.limit) + && Utils.enhancedDeepEquals(this.token, other.token); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(venueId, limit, token); + } + + @Override + public String toString() { + return Utils.toString( + ListLeadCatchersOverviewRequest.class, "venueId", venueId, "limit", limit, "token", token); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String venueId; + + private Long limit; + + private String token; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public Builder venueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + /** + * The maximum number of records to return per page. + */ + public Builder limit(@Nullable Long limit) { + this.limit = limit; + return this; + } + + /** + * The continuation token returned from a previous class. This must be a valid UUID v4 if provided. + * This will override any other pageable parameters provided. + */ + public Builder token(@Nullable String token) { + this.token = token; + return this; + } + + public ListLeadCatchersOverviewRequest build() { + return new ListLeadCatchersOverviewRequest(venueId, limit, token); + } + + private static final LazySingletonValue _SINGLETON_VALUE_Limit = + new LazySingletonValue<>("limit", "100", new TypeReference() {}); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/ListLeadCatchersOverviewRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/ListLeadCatchersOverviewRequestBuilder.java new file mode 100644 index 000000000..95cad5417 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/ListLeadCatchersOverviewRequestBuilder.java @@ -0,0 +1,107 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import static com.cvent.operations.Operations.RequestOperation; +import static com.cvent.utils.Exceptions.unchecked; +import static com.cvent.utils.Utils.toStream; +import static com.cvent.utils.Utils.transform; + +import com.cvent.SDKConfiguration; +import com.cvent.operations.ListLeadCatchersOverview; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import com.cvent.utils.pagination.CursorTracker; +import com.cvent.utils.pagination.Paginator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Iterable; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Iterator; +import java.util.stream.Stream; + +public class ListLeadCatchersOverviewRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private ListLeadCatchersOverviewRequest request; + private final Options.Builder optionsBuilder; + + public ListLeadCatchersOverviewRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public ListLeadCatchersOverviewRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public ListLeadCatchersOverviewRequestBuilder request(@Nonnull ListLeadCatchersOverviewRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private ListLeadCatchersOverviewRequest _buildRequest() { + return this.request; + } + + public ListLeadCatchersOverviewRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public ListLeadCatchersOverviewResponse call() { + Options options = optionsBuilder.build(); + RequestOperation operation = + new ListLeadCatchersOverview.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(this._buildRequest())); + } + + /** + * Returns an iterable that performs next page calls till no more pages + * are returned. + * + *

The returned iterable can be used in a for-each loop: + *


+     * for (ListLeadCatchersOverviewResponse page : builder.callAsIterable()) {
+     *     // Process each page
+     * }
+     * 
+ * + * @return An iterable that can be used to iterate through all pages + */ + public Iterable callAsIterable() { + ListLeadCatchersOverviewRequest request = this.request; + Options options = optionsBuilder.build(); + RequestOperation operation = + new ListLeadCatchersOverview.Sync(sdkConfiguration, options, _headers); + + Iterator> iterator = new Paginator<>( + request, new CursorTracker<>("$.paging.nextToken", String.class), (req, pos) -> { + var modifiedReq = pos == null ? req : req.withToken(pos); + return unchecked(() -> operation.doRequest(modifiedReq)).get(); + }); + + return () -> transform(iterator, operation::handleResponse); + } + + /** + * Returns a stream that performs next page calls till no more pages + * are returned. + **/ + public Stream callAsStream() { + return toStream(callAsIterable()); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/ListLeadCatchersOverviewResponse.java b/packages/java/src/main/java/com/cvent/models/operations/ListLeadCatchersOverviewResponse.java new file mode 100644 index 000000000..1fff377af --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/ListLeadCatchersOverviewResponse.java @@ -0,0 +1,210 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.LeadCatchersOverviewResponse; +import com.cvent.utils.Response; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class ListLeadCatchersOverviewResponse implements Response { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully retrieved the overview of lead catchers. + */ + private LeadCatchersOverviewResponse leadCatchersOverviewResponse; + + @JsonCreator + public ListLeadCatchersOverviewResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable LeadCatchersOverviewResponse leadCatchersOverviewResponse) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.leadCatchersOverviewResponse = leadCatchersOverviewResponse; + } + + public ListLeadCatchersOverviewResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully retrieved the overview of lead catchers. + */ + public Optional leadCatchersOverviewResponse() { + return Optional.ofNullable(this.leadCatchersOverviewResponse); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public ListLeadCatchersOverviewResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public ListLeadCatchersOverviewResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public ListLeadCatchersOverviewResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved the overview of lead catchers. + */ + public ListLeadCatchersOverviewResponse withLeadCatchersOverviewResponse( + @Nullable LeadCatchersOverviewResponse leadCatchersOverviewResponse) { + this.leadCatchersOverviewResponse = leadCatchersOverviewResponse; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListLeadCatchersOverviewResponse other = (ListLeadCatchersOverviewResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.leadCatchersOverviewResponse, other.leadCatchersOverviewResponse); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, leadCatchersOverviewResponse); + } + + @Override + public String toString() { + return Utils.toString( + ListLeadCatchersOverviewResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "leadCatchersOverviewResponse", + leadCatchersOverviewResponse); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private LeadCatchersOverviewResponse leadCatchersOverviewResponse; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved the overview of lead catchers. + */ + public Builder leadCatchersOverviewResponse( + @Nullable LeadCatchersOverviewResponse leadCatchersOverviewResponse) { + this.leadCatchersOverviewResponse = leadCatchersOverviewResponse; + return this; + } + + public ListLeadCatchersOverviewResponse build() { + return new ListLeadCatchersOverviewResponse( + contentType, statusCode, rawResponse, leadCatchersOverviewResponse); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/PatchLeadCatcherRequest.java b/packages/java/src/main/java/com/cvent/models/operations/PatchLeadCatcherRequest.java new file mode 100644 index 000000000..7d6c09c35 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/PatchLeadCatcherRequest.java @@ -0,0 +1,154 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.LeadCatcherPatch; +import com.cvent.utils.SpeakeasyMetadata; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +public class PatchLeadCatcherRequest { + /** + * Unique Cvent based identifier for a Venue. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId") + private String venueId; + + /** + * Unique identifier for a lead catcher. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=leadCatcherId") + private String leadCatcherId; + + @SpeakeasyMetadata("request:mediaType=application/merge-patch+json") + private LeadCatcherPatch leadCatcherPatch; + + @JsonCreator + public PatchLeadCatcherRequest( + @Nonnull String venueId, @Nonnull String leadCatcherId, @Nonnull LeadCatcherPatch leadCatcherPatch) { + this.venueId = + Optional.ofNullable(venueId).orElseThrow(() -> new IllegalArgumentException("venueId cannot be null")); + this.leadCatcherId = Optional.ofNullable(leadCatcherId) + .orElseThrow(() -> new IllegalArgumentException("leadCatcherId cannot be null")); + this.leadCatcherPatch = Optional.ofNullable(leadCatcherPatch) + .orElseThrow(() -> new IllegalArgumentException("leadCatcherPatch cannot be null")); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public String venueId() { + return this.venueId; + } + + /** + * Unique identifier for a lead catcher. + */ + public String leadCatcherId() { + return this.leadCatcherId; + } + + public LeadCatcherPatch leadCatcherPatch() { + return this.leadCatcherPatch; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public PatchLeadCatcherRequest withVenueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + /** + * Unique identifier for a lead catcher. + */ + public PatchLeadCatcherRequest withLeadCatcherId(@Nonnull String leadCatcherId) { + this.leadCatcherId = Utils.checkNotNull(leadCatcherId, "leadCatcherId"); + return this; + } + + public PatchLeadCatcherRequest withLeadCatcherPatch(@Nonnull LeadCatcherPatch leadCatcherPatch) { + this.leadCatcherPatch = Utils.checkNotNull(leadCatcherPatch, "leadCatcherPatch"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PatchLeadCatcherRequest other = (PatchLeadCatcherRequest) o; + return Utils.enhancedDeepEquals(this.venueId, other.venueId) + && Utils.enhancedDeepEquals(this.leadCatcherId, other.leadCatcherId) + && Utils.enhancedDeepEquals(this.leadCatcherPatch, other.leadCatcherPatch); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(venueId, leadCatcherId, leadCatcherPatch); + } + + @Override + public String toString() { + return Utils.toString( + PatchLeadCatcherRequest.class, + "venueId", + venueId, + "leadCatcherId", + leadCatcherId, + "leadCatcherPatch", + leadCatcherPatch); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String venueId; + + private String leadCatcherId; + + private LeadCatcherPatch leadCatcherPatch; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public Builder venueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + /** + * Unique identifier for a lead catcher. + */ + public Builder leadCatcherId(@Nonnull String leadCatcherId) { + this.leadCatcherId = Utils.checkNotNull(leadCatcherId, "leadCatcherId"); + return this; + } + + public Builder leadCatcherPatch(@Nonnull LeadCatcherPatch leadCatcherPatch) { + this.leadCatcherPatch = Utils.checkNotNull(leadCatcherPatch, "leadCatcherPatch"); + return this; + } + + public PatchLeadCatcherRequest build() { + return new PatchLeadCatcherRequest(venueId, leadCatcherId, leadCatcherPatch); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/PatchLeadCatcherRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/PatchLeadCatcherRequestBuilder.java new file mode 100644 index 000000000..f9487fe32 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/PatchLeadCatcherRequestBuilder.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import static com.cvent.operations.Operations.RequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.operations.PatchLeadCatcher; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; + +public class PatchLeadCatcherRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private PatchLeadCatcherRequest request; + private final Options.Builder optionsBuilder; + + public PatchLeadCatcherRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public PatchLeadCatcherRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public PatchLeadCatcherRequestBuilder request(@Nonnull PatchLeadCatcherRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private PatchLeadCatcherRequest _buildRequest() { + return this.request; + } + + public PatchLeadCatcherRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public PatchLeadCatcherResponse call() { + Options options = optionsBuilder.build(); + RequestOperation operation = + new PatchLeadCatcher.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(this._buildRequest())); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/PatchLeadCatcherResponse.java b/packages/java/src/main/java/com/cvent/models/operations/PatchLeadCatcherResponse.java new file mode 100644 index 000000000..afe358489 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/PatchLeadCatcherResponse.java @@ -0,0 +1,211 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.LeadCatcherPatch; +import com.cvent.utils.Response; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class PatchLeadCatcherResponse implements Response { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully updated the lead catcher. The response contains only the fields that were provided in + * the request payload. + */ + private LeadCatcherPatch leadCatcherPatch; + + @JsonCreator + public PatchLeadCatcherResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable LeadCatcherPatch leadCatcherPatch) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.leadCatcherPatch = leadCatcherPatch; + } + + public PatchLeadCatcherResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully updated the lead catcher. The response contains only the fields that were provided in + * the request payload. + */ + public Optional leadCatcherPatch() { + return Optional.ofNullable(this.leadCatcherPatch); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public PatchLeadCatcherResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public PatchLeadCatcherResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public PatchLeadCatcherResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the lead catcher. The response contains only the fields that were provided in + * the request payload. + */ + public PatchLeadCatcherResponse withLeadCatcherPatch(@Nullable LeadCatcherPatch leadCatcherPatch) { + this.leadCatcherPatch = leadCatcherPatch; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PatchLeadCatcherResponse other = (PatchLeadCatcherResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.leadCatcherPatch, other.leadCatcherPatch); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, leadCatcherPatch); + } + + @Override + public String toString() { + return Utils.toString( + PatchLeadCatcherResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "leadCatcherPatch", + leadCatcherPatch); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private LeadCatcherPatch leadCatcherPatch; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the lead catcher. The response contains only the fields that were provided in + * the request payload. + */ + public Builder leadCatcherPatch(@Nullable LeadCatcherPatch leadCatcherPatch) { + this.leadCatcherPatch = leadCatcherPatch; + return this; + } + + public PatchLeadCatcherResponse build() { + return new PatchLeadCatcherResponse(contentType, statusCode, rawResponse, leadCatcherPatch); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/UpdateLeadCatcherRequest.java b/packages/java/src/main/java/com/cvent/models/operations/UpdateLeadCatcherRequest.java new file mode 100644 index 000000000..a89d46aa8 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/UpdateLeadCatcherRequest.java @@ -0,0 +1,156 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.ExistingLeadCatcherInput; +import com.cvent.utils.SpeakeasyMetadata; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +public class UpdateLeadCatcherRequest { + /** + * Unique Cvent based identifier for a Venue. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId") + private String venueId; + + /** + * Unique identifier for a lead catcher. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=leadCatcherId") + private String leadCatcherId; + + @SpeakeasyMetadata("request:mediaType=application/json") + private ExistingLeadCatcherInput existingLeadCatcher; + + @JsonCreator + public UpdateLeadCatcherRequest( + @Nonnull String venueId, + @Nonnull String leadCatcherId, + @Nonnull ExistingLeadCatcherInput existingLeadCatcher) { + this.venueId = + Optional.ofNullable(venueId).orElseThrow(() -> new IllegalArgumentException("venueId cannot be null")); + this.leadCatcherId = Optional.ofNullable(leadCatcherId) + .orElseThrow(() -> new IllegalArgumentException("leadCatcherId cannot be null")); + this.existingLeadCatcher = Optional.ofNullable(existingLeadCatcher) + .orElseThrow(() -> new IllegalArgumentException("existingLeadCatcher cannot be null")); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public String venueId() { + return this.venueId; + } + + /** + * Unique identifier for a lead catcher. + */ + public String leadCatcherId() { + return this.leadCatcherId; + } + + public ExistingLeadCatcherInput existingLeadCatcher() { + return this.existingLeadCatcher; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public UpdateLeadCatcherRequest withVenueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + /** + * Unique identifier for a lead catcher. + */ + public UpdateLeadCatcherRequest withLeadCatcherId(@Nonnull String leadCatcherId) { + this.leadCatcherId = Utils.checkNotNull(leadCatcherId, "leadCatcherId"); + return this; + } + + public UpdateLeadCatcherRequest withExistingLeadCatcher(@Nonnull ExistingLeadCatcherInput existingLeadCatcher) { + this.existingLeadCatcher = Utils.checkNotNull(existingLeadCatcher, "existingLeadCatcher"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateLeadCatcherRequest other = (UpdateLeadCatcherRequest) o; + return Utils.enhancedDeepEquals(this.venueId, other.venueId) + && Utils.enhancedDeepEquals(this.leadCatcherId, other.leadCatcherId) + && Utils.enhancedDeepEquals(this.existingLeadCatcher, other.existingLeadCatcher); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(venueId, leadCatcherId, existingLeadCatcher); + } + + @Override + public String toString() { + return Utils.toString( + UpdateLeadCatcherRequest.class, + "venueId", + venueId, + "leadCatcherId", + leadCatcherId, + "existingLeadCatcher", + existingLeadCatcher); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String venueId; + + private String leadCatcherId; + + private ExistingLeadCatcherInput existingLeadCatcher; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public Builder venueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + /** + * Unique identifier for a lead catcher. + */ + public Builder leadCatcherId(@Nonnull String leadCatcherId) { + this.leadCatcherId = Utils.checkNotNull(leadCatcherId, "leadCatcherId"); + return this; + } + + public Builder existingLeadCatcher(@Nonnull ExistingLeadCatcherInput existingLeadCatcher) { + this.existingLeadCatcher = Utils.checkNotNull(existingLeadCatcher, "existingLeadCatcher"); + return this; + } + + public UpdateLeadCatcherRequest build() { + return new UpdateLeadCatcherRequest(venueId, leadCatcherId, existingLeadCatcher); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/UpdateLeadCatcherRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/UpdateLeadCatcherRequestBuilder.java new file mode 100644 index 000000000..d27af53ff --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/UpdateLeadCatcherRequestBuilder.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import static com.cvent.operations.Operations.RequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.operations.UpdateLeadCatcher; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; + +public class UpdateLeadCatcherRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private UpdateLeadCatcherRequest request; + private final Options.Builder optionsBuilder; + + public UpdateLeadCatcherRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public UpdateLeadCatcherRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public UpdateLeadCatcherRequestBuilder request(@Nonnull UpdateLeadCatcherRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private UpdateLeadCatcherRequest _buildRequest() { + return this.request; + } + + public UpdateLeadCatcherRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public UpdateLeadCatcherResponse call() { + Options options = optionsBuilder.build(); + RequestOperation operation = + new UpdateLeadCatcher.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(this._buildRequest())); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/UpdateLeadCatcherResponse.java b/packages/java/src/main/java/com/cvent/models/operations/UpdateLeadCatcherResponse.java new file mode 100644 index 000000000..0cc455da7 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/UpdateLeadCatcherResponse.java @@ -0,0 +1,207 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.ExistingLeadCatcher; +import com.cvent.utils.Response; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class UpdateLeadCatcherResponse implements Response { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully updated the lead catcher. + */ + private ExistingLeadCatcher existingLeadCatcher; + + @JsonCreator + public UpdateLeadCatcherResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable ExistingLeadCatcher existingLeadCatcher) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.existingLeadCatcher = existingLeadCatcher; + } + + public UpdateLeadCatcherResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully updated the lead catcher. + */ + public Optional existingLeadCatcher() { + return Optional.ofNullable(this.existingLeadCatcher); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public UpdateLeadCatcherResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public UpdateLeadCatcherResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public UpdateLeadCatcherResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the lead catcher. + */ + public UpdateLeadCatcherResponse withExistingLeadCatcher(@Nullable ExistingLeadCatcher existingLeadCatcher) { + this.existingLeadCatcher = existingLeadCatcher; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateLeadCatcherResponse other = (UpdateLeadCatcherResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.existingLeadCatcher, other.existingLeadCatcher); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, existingLeadCatcher); + } + + @Override + public String toString() { + return Utils.toString( + UpdateLeadCatcherResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "existingLeadCatcher", + existingLeadCatcher); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private ExistingLeadCatcher existingLeadCatcher; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the lead catcher. + */ + public Builder existingLeadCatcher(@Nullable ExistingLeadCatcher existingLeadCatcher) { + this.existingLeadCatcher = existingLeadCatcher; + return this; + } + + public UpdateLeadCatcherResponse build() { + return new UpdateLeadCatcherResponse(contentType, statusCode, rawResponse, existingLeadCatcher); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueAmenitiesRequest.java b/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueAmenitiesRequest.java new file mode 100644 index 000000000..488fdaf61 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueAmenitiesRequest.java @@ -0,0 +1,119 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.ExistingVenueAmenitiesInput; +import com.cvent.utils.SpeakeasyMetadata; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import java.lang.Override; +import java.lang.String; +import java.util.Optional; + +public class UpdateVenueAmenitiesRequest { + /** + * Unique Cvent based identifier for a Venue. + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=venueId") + private String venueId; + + @SpeakeasyMetadata("request:mediaType=application/json") + private ExistingVenueAmenitiesInput existingVenueAmenities; + + @JsonCreator + public UpdateVenueAmenitiesRequest( + @Nonnull String venueId, @Nonnull ExistingVenueAmenitiesInput existingVenueAmenities) { + this.venueId = + Optional.ofNullable(venueId).orElseThrow(() -> new IllegalArgumentException("venueId cannot be null")); + this.existingVenueAmenities = Optional.ofNullable(existingVenueAmenities) + .orElseThrow(() -> new IllegalArgumentException("existingVenueAmenities cannot be null")); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public String venueId() { + return this.venueId; + } + + public ExistingVenueAmenitiesInput existingVenueAmenities() { + return this.existingVenueAmenities; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public UpdateVenueAmenitiesRequest withVenueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + public UpdateVenueAmenitiesRequest withExistingVenueAmenities( + @Nonnull ExistingVenueAmenitiesInput existingVenueAmenities) { + this.existingVenueAmenities = Utils.checkNotNull(existingVenueAmenities, "existingVenueAmenities"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateVenueAmenitiesRequest other = (UpdateVenueAmenitiesRequest) o; + return Utils.enhancedDeepEquals(this.venueId, other.venueId) + && Utils.enhancedDeepEquals(this.existingVenueAmenities, other.existingVenueAmenities); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(venueId, existingVenueAmenities); + } + + @Override + public String toString() { + return Utils.toString( + UpdateVenueAmenitiesRequest.class, + "venueId", + venueId, + "existingVenueAmenities", + existingVenueAmenities); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String venueId; + + private ExistingVenueAmenitiesInput existingVenueAmenities; + + private Builder() { + // force use of static builder() method + } + + /** + * Unique Cvent based identifier for a Venue. + */ + public Builder venueId(@Nonnull String venueId) { + this.venueId = Utils.checkNotNull(venueId, "venueId"); + return this; + } + + public Builder existingVenueAmenities(@Nonnull ExistingVenueAmenitiesInput existingVenueAmenities) { + this.existingVenueAmenities = Utils.checkNotNull(existingVenueAmenities, "existingVenueAmenities"); + return this; + } + + public UpdateVenueAmenitiesRequest build() { + return new UpdateVenueAmenitiesRequest(venueId, existingVenueAmenities); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueAmenitiesRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueAmenitiesRequestBuilder.java new file mode 100644 index 000000000..ea8085860 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueAmenitiesRequestBuilder.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import static com.cvent.operations.Operations.RequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.operations.UpdateVenueAmenities; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; + +public class UpdateVenueAmenitiesRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private UpdateVenueAmenitiesRequest request; + private final Options.Builder optionsBuilder; + + public UpdateVenueAmenitiesRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public UpdateVenueAmenitiesRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public UpdateVenueAmenitiesRequestBuilder request(@Nonnull UpdateVenueAmenitiesRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private UpdateVenueAmenitiesRequest _buildRequest() { + return this.request; + } + + public UpdateVenueAmenitiesRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public UpdateVenueAmenitiesResponse call() { + Options options = optionsBuilder.build(); + RequestOperation operation = + new UpdateVenueAmenities.Sync(sdkConfiguration, options, _headers); + return operation.handleResponse(operation.doRequest(this._buildRequest())); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueAmenitiesResponse.java b/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueAmenitiesResponse.java new file mode 100644 index 000000000..1653a6e90 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/UpdateVenueAmenitiesResponse.java @@ -0,0 +1,208 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations; + +import com.cvent.models.components.ExistingVenueAmenities; +import com.cvent.utils.Response; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class UpdateVenueAmenitiesResponse implements Response { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully updated the venue amenities. + */ + private ExistingVenueAmenities existingVenueAmenities; + + @JsonCreator + public UpdateVenueAmenitiesResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable ExistingVenueAmenities existingVenueAmenities) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.existingVenueAmenities = existingVenueAmenities; + } + + public UpdateVenueAmenitiesResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully updated the venue amenities. + */ + public Optional existingVenueAmenities() { + return Optional.ofNullable(this.existingVenueAmenities); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public UpdateVenueAmenitiesResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public UpdateVenueAmenitiesResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public UpdateVenueAmenitiesResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the venue amenities. + */ + public UpdateVenueAmenitiesResponse withExistingVenueAmenities( + @Nullable ExistingVenueAmenities existingVenueAmenities) { + this.existingVenueAmenities = existingVenueAmenities; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateVenueAmenitiesResponse other = (UpdateVenueAmenitiesResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.existingVenueAmenities, other.existingVenueAmenities); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, existingVenueAmenities); + } + + @Override + public String toString() { + return Utils.toString( + UpdateVenueAmenitiesResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "existingVenueAmenities", + existingVenueAmenities); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private ExistingVenueAmenities existingVenueAmenities; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the venue amenities. + */ + public Builder existingVenueAmenities(@Nullable ExistingVenueAmenities existingVenueAmenities) { + this.existingVenueAmenities = existingVenueAmenities; + return this; + } + + public UpdateVenueAmenitiesResponse build() { + return new UpdateVenueAmenitiesResponse(contentType, statusCode, rawResponse, existingVenueAmenities); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/CreateLeadCatcherRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/CreateLeadCatcherRequestBuilder.java new file mode 100644 index 000000000..ce0d5f91d --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/CreateLeadCatcherRequestBuilder.java @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import static com.cvent.operations.Operations.AsyncRequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.models.operations.CreateLeadCatcherRequest; +import com.cvent.operations.CreateLeadCatcher; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.util.concurrent.CompletableFuture; + +public class CreateLeadCatcherRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private CreateLeadCatcherRequest request; + private final Options.Builder optionsBuilder; + + public CreateLeadCatcherRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public CreateLeadCatcherRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public CreateLeadCatcherRequestBuilder request(@Nonnull CreateLeadCatcherRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private CreateLeadCatcherRequest _buildRequest() { + return this.request; + } + + public CreateLeadCatcherRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public CompletableFuture call() { + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new CreateLeadCatcher.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(this._buildRequest()).thenCompose(operation::handleResponse); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/CreateLeadCatcherResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/CreateLeadCatcherResponse.java new file mode 100644 index 000000000..06f90c97c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/CreateLeadCatcherResponse.java @@ -0,0 +1,238 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import com.cvent.models.components.ExistingLeadCatcher; +import com.cvent.utils.AsyncResponse; +import com.cvent.utils.Blob; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Map; +import java.util.Optional; + +public class CreateLeadCatcherResponse implements AsyncResponse { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Lead catcher created successfully. + */ + private ExistingLeadCatcher existingLeadCatcher; + + private Map> headers; + + @JsonCreator + public CreateLeadCatcherResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable ExistingLeadCatcher existingLeadCatcher, + @Nonnull Map> headers) { + headers = Utils.emptyMapIfNull(headers); + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.existingLeadCatcher = existingLeadCatcher; + this.headers = + Optional.ofNullable(headers).orElseThrow(() -> new IllegalArgumentException("headers cannot be null")); + } + + public CreateLeadCatcherResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nonnull Map> headers) { + this(contentType, statusCode, rawResponse, null, headers); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Lead catcher created successfully. + */ + public Optional existingLeadCatcher() { + return Optional.ofNullable(this.existingLeadCatcher); + } + + public Map> headers() { + return this.headers; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public CreateLeadCatcherResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public CreateLeadCatcherResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public CreateLeadCatcherResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Lead catcher created successfully. + */ + public CreateLeadCatcherResponse withExistingLeadCatcher(@Nullable ExistingLeadCatcher existingLeadCatcher) { + this.existingLeadCatcher = existingLeadCatcher; + return this; + } + + public CreateLeadCatcherResponse withHeaders(@Nonnull Map> headers) { + this.headers = Utils.checkNotNull(headers, "headers"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateLeadCatcherResponse other = (CreateLeadCatcherResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.existingLeadCatcher, other.existingLeadCatcher) + && Utils.enhancedDeepEquals(this.headers, other.headers); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, existingLeadCatcher, headers); + } + + @Override + public String toString() { + return Utils.toString( + CreateLeadCatcherResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "existingLeadCatcher", + existingLeadCatcher, + "headers", + headers); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private ExistingLeadCatcher existingLeadCatcher; + + private Map> headers; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Lead catcher created successfully. + */ + public Builder existingLeadCatcher(@Nullable ExistingLeadCatcher existingLeadCatcher) { + this.existingLeadCatcher = existingLeadCatcher; + return this; + } + + public Builder headers(@Nonnull Map> headers) { + this.headers = Utils.checkNotNull(headers, "headers"); + return this; + } + + public CreateLeadCatcherResponse build() { + return new CreateLeadCatcherResponse(contentType, statusCode, rawResponse, existingLeadCatcher, headers); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/DeleteLeadCatcherRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/DeleteLeadCatcherRequestBuilder.java new file mode 100644 index 000000000..dc5203b74 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/DeleteLeadCatcherRequestBuilder.java @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import static com.cvent.operations.Operations.AsyncRequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.models.operations.DeleteLeadCatcherRequest; +import com.cvent.operations.DeleteLeadCatcher; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.util.concurrent.CompletableFuture; + +public class DeleteLeadCatcherRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private DeleteLeadCatcherRequest request; + private final Options.Builder optionsBuilder; + + public DeleteLeadCatcherRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public DeleteLeadCatcherRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public DeleteLeadCatcherRequestBuilder request(@Nonnull DeleteLeadCatcherRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private DeleteLeadCatcherRequest _buildRequest() { + return this.request; + } + + public DeleteLeadCatcherRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public CompletableFuture call() { + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new DeleteLeadCatcher.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(this._buildRequest()).thenCompose(operation::handleResponse); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/DeleteLeadCatcherResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/DeleteLeadCatcherResponse.java new file mode 100644 index 000000000..6382284f2 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/DeleteLeadCatcherResponse.java @@ -0,0 +1,164 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import com.cvent.utils.AsyncResponse; +import com.cvent.utils.Blob; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class DeleteLeadCatcherResponse implements AsyncResponse { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + @JsonCreator + public DeleteLeadCatcherResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public DeleteLeadCatcherResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public DeleteLeadCatcherResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public DeleteLeadCatcherResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DeleteLeadCatcherResponse other = (DeleteLeadCatcherResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse); + } + + @Override + public String toString() { + return Utils.toString( + DeleteLeadCatcherResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + public DeleteLeadCatcherResponse build() { + return new DeleteLeadCatcherResponse(contentType, statusCode, rawResponse); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/GetLeadCatcherOverviewRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/GetLeadCatcherOverviewRequestBuilder.java new file mode 100644 index 000000000..77499f10b --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/GetLeadCatcherOverviewRequestBuilder.java @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import static com.cvent.operations.Operations.AsyncRequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.models.operations.GetLeadCatcherOverviewRequest; +import com.cvent.operations.GetLeadCatcherOverview; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.util.concurrent.CompletableFuture; + +public class GetLeadCatcherOverviewRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private GetLeadCatcherOverviewRequest request; + private final Options.Builder optionsBuilder; + + public GetLeadCatcherOverviewRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public GetLeadCatcherOverviewRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public GetLeadCatcherOverviewRequestBuilder request(@Nonnull GetLeadCatcherOverviewRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private GetLeadCatcherOverviewRequest _buildRequest() { + return this.request; + } + + public GetLeadCatcherOverviewRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public CompletableFuture call() { + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new GetLeadCatcherOverview.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(this._buildRequest()).thenCompose(operation::handleResponse); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/GetLeadCatcherOverviewResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/GetLeadCatcherOverviewResponse.java new file mode 100644 index 000000000..4242b7643 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/GetLeadCatcherOverviewResponse.java @@ -0,0 +1,208 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import com.cvent.models.components.LeadCatcherOverview; +import com.cvent.utils.AsyncResponse; +import com.cvent.utils.Blob; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class GetLeadCatcherOverviewResponse implements AsyncResponse { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully retrieved the lead catcher overview. + */ + private LeadCatcherOverview leadCatcherOverview; + + @JsonCreator + public GetLeadCatcherOverviewResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable LeadCatcherOverview leadCatcherOverview) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.leadCatcherOverview = leadCatcherOverview; + } + + public GetLeadCatcherOverviewResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully retrieved the lead catcher overview. + */ + public Optional leadCatcherOverview() { + return Optional.ofNullable(this.leadCatcherOverview); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public GetLeadCatcherOverviewResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public GetLeadCatcherOverviewResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public GetLeadCatcherOverviewResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved the lead catcher overview. + */ + public GetLeadCatcherOverviewResponse withLeadCatcherOverview(@Nullable LeadCatcherOverview leadCatcherOverview) { + this.leadCatcherOverview = leadCatcherOverview; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetLeadCatcherOverviewResponse other = (GetLeadCatcherOverviewResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.leadCatcherOverview, other.leadCatcherOverview); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, leadCatcherOverview); + } + + @Override + public String toString() { + return Utils.toString( + GetLeadCatcherOverviewResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "leadCatcherOverview", + leadCatcherOverview); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private LeadCatcherOverview leadCatcherOverview; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved the lead catcher overview. + */ + public Builder leadCatcherOverview(@Nullable LeadCatcherOverview leadCatcherOverview) { + this.leadCatcherOverview = leadCatcherOverview; + return this; + } + + public GetLeadCatcherOverviewResponse build() { + return new GetLeadCatcherOverviewResponse(contentType, statusCode, rawResponse, leadCatcherOverview); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/GetVenueAmenitiesRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/GetVenueAmenitiesRequestBuilder.java new file mode 100644 index 000000000..a23981e0f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/GetVenueAmenitiesRequestBuilder.java @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import static com.cvent.operations.Operations.AsyncRequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.models.operations.GetVenueAmenitiesRequest; +import com.cvent.operations.GetVenueAmenities; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.util.concurrent.CompletableFuture; + +public class GetVenueAmenitiesRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private GetVenueAmenitiesRequest request; + private final Options.Builder optionsBuilder; + + public GetVenueAmenitiesRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public GetVenueAmenitiesRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public GetVenueAmenitiesRequestBuilder request(@Nonnull GetVenueAmenitiesRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private GetVenueAmenitiesRequest _buildRequest() { + return this.request; + } + + public GetVenueAmenitiesRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public CompletableFuture call() { + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new GetVenueAmenities.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(this._buildRequest()).thenCompose(operation::handleResponse); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/GetVenueAmenitiesResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/GetVenueAmenitiesResponse.java new file mode 100644 index 000000000..2c319c2b9 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/GetVenueAmenitiesResponse.java @@ -0,0 +1,209 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import com.cvent.models.components.ExistingVenueAmenities; +import com.cvent.utils.AsyncResponse; +import com.cvent.utils.Blob; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class GetVenueAmenitiesResponse implements AsyncResponse { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully retrieved the venue amenities. + */ + private ExistingVenueAmenities existingVenueAmenities; + + @JsonCreator + public GetVenueAmenitiesResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable ExistingVenueAmenities existingVenueAmenities) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.existingVenueAmenities = existingVenueAmenities; + } + + public GetVenueAmenitiesResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully retrieved the venue amenities. + */ + public Optional existingVenueAmenities() { + return Optional.ofNullable(this.existingVenueAmenities); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public GetVenueAmenitiesResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public GetVenueAmenitiesResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public GetVenueAmenitiesResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved the venue amenities. + */ + public GetVenueAmenitiesResponse withExistingVenueAmenities( + @Nullable ExistingVenueAmenities existingVenueAmenities) { + this.existingVenueAmenities = existingVenueAmenities; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetVenueAmenitiesResponse other = (GetVenueAmenitiesResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.existingVenueAmenities, other.existingVenueAmenities); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, existingVenueAmenities); + } + + @Override + public String toString() { + return Utils.toString( + GetVenueAmenitiesResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "existingVenueAmenities", + existingVenueAmenities); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private ExistingVenueAmenities existingVenueAmenities; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved the venue amenities. + */ + public Builder existingVenueAmenities(@Nullable ExistingVenueAmenities existingVenueAmenities) { + this.existingVenueAmenities = existingVenueAmenities; + return this; + } + + public GetVenueAmenitiesResponse build() { + return new GetVenueAmenitiesResponse(contentType, statusCode, rawResponse, existingVenueAmenities); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/ListLeadCatchersOverviewRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/ListLeadCatchersOverviewRequestBuilder.java new file mode 100644 index 000000000..bd436f934 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/ListLeadCatchersOverviewRequestBuilder.java @@ -0,0 +1,106 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import static com.cvent.operations.Operations.AsyncRequestOperation; +import static com.cvent.utils.Exceptions.unchecked; +import static com.cvent.utils.reactive.ReactiveUtils.mapAsync; + +import com.cvent.SDKConfiguration; +import com.cvent.models.operations.ListLeadCatchersOverviewRequest; +import com.cvent.operations.ListLeadCatchersOverview; +import com.cvent.utils.Blob; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import com.cvent.utils.pagination.AsyncPaginator; +import com.cvent.utils.pagination.CursorTracker; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.Flow; +import org.reactivestreams.FlowAdapters; +import org.reactivestreams.Publisher; +import org.reactivestreams.Subscriber; + +public class ListLeadCatchersOverviewRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private ListLeadCatchersOverviewRequest request; + private final Options.Builder optionsBuilder; + + public ListLeadCatchersOverviewRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public ListLeadCatchersOverviewRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public ListLeadCatchersOverviewRequestBuilder request(@Nonnull ListLeadCatchersOverviewRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private ListLeadCatchersOverviewRequest _buildRequest() { + return this.request; + } + + public ListLeadCatchersOverviewRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public CompletableFuture call() { + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new ListLeadCatchersOverview.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(this._buildRequest()).thenCompose(operation::handleResponse); + } + + /** + * Returns a {@link Publisher} that performs next page calls till no more pages + * are returned. + * + *

The returned {@link Publisher} can be used with reactive frameworks: + *


+     * Publisher<ListLeadCatchersOverviewResponse> publisher = builder.callAsPublisher();
+     * publisher.subscribe(new Subscriber<ListLeadCatchersOverviewResponse>() {
+     *     // Handle onNext, onError, onComplete
+     * });
+     * 
+ * + * @return A {@link Publisher} that emits pages asynchronously + */ + public Publisher callAsPublisher() { + ListLeadCatchersOverviewRequest request = this.request; + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new ListLeadCatchersOverview.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + + Flow.Publisher> asyncPaginator = new AsyncPaginator<>( + request, new CursorTracker<>("$.paging.nextToken", String.class), (req, pos) -> { + var modifiedReq = pos == null ? req : req.withToken(pos); + return operation.doRequest(modifiedReq); + }); + + Flow.Publisher flowPublisher = + mapAsync(asyncPaginator, operation::handleResponse); + + // Convert Flow.Publisher to Reactive Streams Publisher at the last stage + return FlowAdapters.toPublisher(flowPublisher); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/ListLeadCatchersOverviewResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/ListLeadCatchersOverviewResponse.java new file mode 100644 index 000000000..fee8b669c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/ListLeadCatchersOverviewResponse.java @@ -0,0 +1,211 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import com.cvent.models.components.LeadCatchersOverviewResponse; +import com.cvent.utils.AsyncResponse; +import com.cvent.utils.Blob; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class ListLeadCatchersOverviewResponse implements AsyncResponse { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully retrieved the overview of lead catchers. + */ + private LeadCatchersOverviewResponse leadCatchersOverviewResponse; + + @JsonCreator + public ListLeadCatchersOverviewResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable LeadCatchersOverviewResponse leadCatchersOverviewResponse) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.leadCatchersOverviewResponse = leadCatchersOverviewResponse; + } + + public ListLeadCatchersOverviewResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully retrieved the overview of lead catchers. + */ + public Optional leadCatchersOverviewResponse() { + return Optional.ofNullable(this.leadCatchersOverviewResponse); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public ListLeadCatchersOverviewResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public ListLeadCatchersOverviewResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public ListLeadCatchersOverviewResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved the overview of lead catchers. + */ + public ListLeadCatchersOverviewResponse withLeadCatchersOverviewResponse( + @Nullable LeadCatchersOverviewResponse leadCatchersOverviewResponse) { + this.leadCatchersOverviewResponse = leadCatchersOverviewResponse; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListLeadCatchersOverviewResponse other = (ListLeadCatchersOverviewResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.leadCatchersOverviewResponse, other.leadCatchersOverviewResponse); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, leadCatchersOverviewResponse); + } + + @Override + public String toString() { + return Utils.toString( + ListLeadCatchersOverviewResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "leadCatchersOverviewResponse", + leadCatchersOverviewResponse); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private LeadCatchersOverviewResponse leadCatchersOverviewResponse; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully retrieved the overview of lead catchers. + */ + public Builder leadCatchersOverviewResponse( + @Nullable LeadCatchersOverviewResponse leadCatchersOverviewResponse) { + this.leadCatchersOverviewResponse = leadCatchersOverviewResponse; + return this; + } + + public ListLeadCatchersOverviewResponse build() { + return new ListLeadCatchersOverviewResponse( + contentType, statusCode, rawResponse, leadCatchersOverviewResponse); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/PatchLeadCatcherRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/PatchLeadCatcherRequestBuilder.java new file mode 100644 index 000000000..5c96de134 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/PatchLeadCatcherRequestBuilder.java @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import static com.cvent.operations.Operations.AsyncRequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.models.operations.PatchLeadCatcherRequest; +import com.cvent.operations.PatchLeadCatcher; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.util.concurrent.CompletableFuture; + +public class PatchLeadCatcherRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private PatchLeadCatcherRequest request; + private final Options.Builder optionsBuilder; + + public PatchLeadCatcherRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public PatchLeadCatcherRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public PatchLeadCatcherRequestBuilder request(@Nonnull PatchLeadCatcherRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private PatchLeadCatcherRequest _buildRequest() { + return this.request; + } + + public PatchLeadCatcherRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public CompletableFuture call() { + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new PatchLeadCatcher.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(this._buildRequest()).thenCompose(operation::handleResponse); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/PatchLeadCatcherResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/PatchLeadCatcherResponse.java new file mode 100644 index 000000000..a07fe39f2 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/PatchLeadCatcherResponse.java @@ -0,0 +1,212 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import com.cvent.models.components.LeadCatcherPatch; +import com.cvent.utils.AsyncResponse; +import com.cvent.utils.Blob; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class PatchLeadCatcherResponse implements AsyncResponse { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully updated the lead catcher. The response contains only the fields that were provided in + * the request payload. + */ + private LeadCatcherPatch leadCatcherPatch; + + @JsonCreator + public PatchLeadCatcherResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable LeadCatcherPatch leadCatcherPatch) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.leadCatcherPatch = leadCatcherPatch; + } + + public PatchLeadCatcherResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully updated the lead catcher. The response contains only the fields that were provided in + * the request payload. + */ + public Optional leadCatcherPatch() { + return Optional.ofNullable(this.leadCatcherPatch); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public PatchLeadCatcherResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public PatchLeadCatcherResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public PatchLeadCatcherResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the lead catcher. The response contains only the fields that were provided in + * the request payload. + */ + public PatchLeadCatcherResponse withLeadCatcherPatch(@Nullable LeadCatcherPatch leadCatcherPatch) { + this.leadCatcherPatch = leadCatcherPatch; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PatchLeadCatcherResponse other = (PatchLeadCatcherResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.leadCatcherPatch, other.leadCatcherPatch); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, leadCatcherPatch); + } + + @Override + public String toString() { + return Utils.toString( + PatchLeadCatcherResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "leadCatcherPatch", + leadCatcherPatch); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private LeadCatcherPatch leadCatcherPatch; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the lead catcher. The response contains only the fields that were provided in + * the request payload. + */ + public Builder leadCatcherPatch(@Nullable LeadCatcherPatch leadCatcherPatch) { + this.leadCatcherPatch = leadCatcherPatch; + return this; + } + + public PatchLeadCatcherResponse build() { + return new PatchLeadCatcherResponse(contentType, statusCode, rawResponse, leadCatcherPatch); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/UpdateLeadCatcherRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateLeadCatcherRequestBuilder.java new file mode 100644 index 000000000..73cd5b312 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateLeadCatcherRequestBuilder.java @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import static com.cvent.operations.Operations.AsyncRequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.models.operations.UpdateLeadCatcherRequest; +import com.cvent.operations.UpdateLeadCatcher; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.util.concurrent.CompletableFuture; + +public class UpdateLeadCatcherRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private UpdateLeadCatcherRequest request; + private final Options.Builder optionsBuilder; + + public UpdateLeadCatcherRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public UpdateLeadCatcherRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public UpdateLeadCatcherRequestBuilder request(@Nonnull UpdateLeadCatcherRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private UpdateLeadCatcherRequest _buildRequest() { + return this.request; + } + + public UpdateLeadCatcherRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public CompletableFuture call() { + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new UpdateLeadCatcher.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(this._buildRequest()).thenCompose(operation::handleResponse); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/UpdateLeadCatcherResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateLeadCatcherResponse.java new file mode 100644 index 000000000..f232c2d1f --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateLeadCatcherResponse.java @@ -0,0 +1,208 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import com.cvent.models.components.ExistingLeadCatcher; +import com.cvent.utils.AsyncResponse; +import com.cvent.utils.Blob; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class UpdateLeadCatcherResponse implements AsyncResponse { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully updated the lead catcher. + */ + private ExistingLeadCatcher existingLeadCatcher; + + @JsonCreator + public UpdateLeadCatcherResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable ExistingLeadCatcher existingLeadCatcher) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.existingLeadCatcher = existingLeadCatcher; + } + + public UpdateLeadCatcherResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully updated the lead catcher. + */ + public Optional existingLeadCatcher() { + return Optional.ofNullable(this.existingLeadCatcher); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public UpdateLeadCatcherResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public UpdateLeadCatcherResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public UpdateLeadCatcherResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the lead catcher. + */ + public UpdateLeadCatcherResponse withExistingLeadCatcher(@Nullable ExistingLeadCatcher existingLeadCatcher) { + this.existingLeadCatcher = existingLeadCatcher; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateLeadCatcherResponse other = (UpdateLeadCatcherResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.existingLeadCatcher, other.existingLeadCatcher); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, existingLeadCatcher); + } + + @Override + public String toString() { + return Utils.toString( + UpdateLeadCatcherResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "existingLeadCatcher", + existingLeadCatcher); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private ExistingLeadCatcher existingLeadCatcher; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the lead catcher. + */ + public Builder existingLeadCatcher(@Nullable ExistingLeadCatcher existingLeadCatcher) { + this.existingLeadCatcher = existingLeadCatcher; + return this; + } + + public UpdateLeadCatcherResponse build() { + return new UpdateLeadCatcherResponse(contentType, statusCode, rawResponse, existingLeadCatcher); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/UpdateVenueAmenitiesRequestBuilder.java b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateVenueAmenitiesRequestBuilder.java new file mode 100644 index 000000000..7a53a2bf0 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateVenueAmenitiesRequestBuilder.java @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import static com.cvent.operations.Operations.AsyncRequestOperation; + +import com.cvent.SDKConfiguration; +import com.cvent.models.operations.UpdateVenueAmenitiesRequest; +import com.cvent.operations.UpdateVenueAmenities; +import com.cvent.utils.Headers; +import com.cvent.utils.Options; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.util.concurrent.CompletableFuture; + +public class UpdateVenueAmenitiesRequestBuilder { + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + private UpdateVenueAmenitiesRequest request; + private final Options.Builder optionsBuilder; + + public UpdateVenueAmenitiesRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.optionsBuilder = Options.builder(); + } + + public UpdateVenueAmenitiesRequestBuilder retryConfig(RetryConfig retryConfig) { + this.optionsBuilder.retryConfig(retryConfig); + return this; + } + + public UpdateVenueAmenitiesRequestBuilder request(@Nonnull UpdateVenueAmenitiesRequest request) { + this.request = Utils.checkNotNull(request, "request"); + return this; + } + + private UpdateVenueAmenitiesRequest _buildRequest() { + return this.request; + } + + public UpdateVenueAmenitiesRequestBuilder header(String name, String value) { + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(value, "value"); + this._headers.add(name, value); + return this; + } + + /** + * Executes the request and returns the response. + * + * @return The response from the server. + */ + public CompletableFuture call() { + Options options = optionsBuilder.build(); + AsyncRequestOperation operation = + new UpdateVenueAmenities.Async(sdkConfiguration, options, sdkConfiguration.retryScheduler(), _headers); + return operation.doRequest(this._buildRequest()).thenCompose(operation::handleResponse); + } +} diff --git a/packages/java/src/main/java/com/cvent/models/operations/async/UpdateVenueAmenitiesResponse.java b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateVenueAmenitiesResponse.java new file mode 100644 index 000000000..340b3bd00 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/models/operations/async/UpdateVenueAmenitiesResponse.java @@ -0,0 +1,209 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.models.operations.async; + +import com.cvent.models.components.ExistingVenueAmenities; +import com.cvent.utils.AsyncResponse; +import com.cvent.utils.Blob; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Override; +import java.lang.String; +import java.net.http.HttpResponse; +import java.util.Optional; + +public class UpdateVenueAmenitiesResponse implements AsyncResponse { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * Successfully updated the venue amenities. + */ + private ExistingVenueAmenities existingVenueAmenities; + + @JsonCreator + public UpdateVenueAmenitiesResponse( + @Nonnull String contentType, + int statusCode, + @Nonnull HttpResponse rawResponse, + @Nullable ExistingVenueAmenities existingVenueAmenities) { + this.contentType = Optional.ofNullable(contentType) + .orElseThrow(() -> new IllegalArgumentException("contentType cannot be null")); + this.statusCode = statusCode; + this.rawResponse = Optional.ofNullable(rawResponse) + .orElseThrow(() -> new IllegalArgumentException("rawResponse cannot be null")); + this.existingVenueAmenities = existingVenueAmenities; + } + + public UpdateVenueAmenitiesResponse( + @Nonnull String contentType, int statusCode, @Nonnull HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, null); + } + + /** + * HTTP response content type for this operation + */ + public String contentType() { + return this.contentType; + } + + /** + * HTTP response status code for this operation + */ + public int statusCode() { + return this.statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public HttpResponse rawResponse() { + return this.rawResponse; + } + + /** + * Successfully updated the venue amenities. + */ + public Optional existingVenueAmenities() { + return Optional.ofNullable(this.existingVenueAmenities); + } + + public static Builder builder() { + return new Builder(); + } + + /** + * HTTP response content type for this operation + */ + public UpdateVenueAmenitiesResponse withContentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public UpdateVenueAmenitiesResponse withStatusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public UpdateVenueAmenitiesResponse withRawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the venue amenities. + */ + public UpdateVenueAmenitiesResponse withExistingVenueAmenities( + @Nullable ExistingVenueAmenities existingVenueAmenities) { + this.existingVenueAmenities = existingVenueAmenities; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateVenueAmenitiesResponse other = (UpdateVenueAmenitiesResponse) o; + return Utils.enhancedDeepEquals(this.contentType, other.contentType) + && Utils.enhancedDeepEquals(this.statusCode, other.statusCode) + && Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) + && Utils.enhancedDeepEquals(this.existingVenueAmenities, other.existingVenueAmenities); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(contentType, statusCode, rawResponse, existingVenueAmenities); + } + + @Override + public String toString() { + return Utils.toString( + UpdateVenueAmenitiesResponse.class, + "contentType", + contentType, + "statusCode", + statusCode, + "rawResponse", + rawResponse, + "existingVenueAmenities", + existingVenueAmenities); + } + + @SuppressWarnings("UnusedReturnValue") + public static final class Builder { + + private String contentType; + + private int statusCode; + + private HttpResponse rawResponse; + + private ExistingVenueAmenities existingVenueAmenities; + + private Builder() { + // force use of static builder() method + } + + /** + * HTTP response content type for this operation + */ + public Builder contentType(@Nonnull String contentType) { + this.contentType = Utils.checkNotNull(contentType, "contentType"); + return this; + } + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(@Nonnull HttpResponse rawResponse) { + this.rawResponse = Utils.checkNotNull(rawResponse, "rawResponse"); + return this; + } + + /** + * Successfully updated the venue amenities. + */ + public Builder existingVenueAmenities(@Nullable ExistingVenueAmenities existingVenueAmenities) { + this.existingVenueAmenities = existingVenueAmenities; + return this; + } + + public UpdateVenueAmenitiesResponse build() { + return new UpdateVenueAmenitiesResponse(contentType, statusCode, rawResponse, existingVenueAmenities); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/operations/CreateLeadCatcher.java b/packages/java/src/main/java/com/cvent/operations/CreateLeadCatcher.java new file mode 100644 index 000000000..21879ee6c --- /dev/null +++ b/packages/java/src/main/java/com/cvent/operations/CreateLeadCatcher.java @@ -0,0 +1,311 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.operations; + +import static com.cvent.operations.Operations.AsyncRequestOperation; +import static com.cvent.operations.Operations.RequestOperation; +import static com.cvent.utils.Exceptions.unchecked; + +import com.cvent.SDKConfiguration; +import com.cvent.SecuritySource; +import com.cvent.models.components.ExistingLeadCatcher; +import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse12; +import com.cvent.models.operations.CreateLeadCatcherRequest; +import com.cvent.models.operations.CreateLeadCatcherResponse; +import com.cvent.utils.AsyncRetries; +import com.cvent.utils.BackoffStrategy; +import com.cvent.utils.Blob; +import com.cvent.utils.HTTPClient; +import com.cvent.utils.HTTPRequest; +import com.cvent.utils.Headers; +import com.cvent.utils.Hook.AfterErrorContextImpl; +import com.cvent.utils.Hook.AfterSuccessContextImpl; +import com.cvent.utils.Hook.BeforeRequestContextImpl; +import com.cvent.utils.NonRetryableException; +import com.cvent.utils.Options; +import com.cvent.utils.Retries; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.SerializedBody; +import com.cvent.utils.Utils; +import com.cvent.utils.Utils.JsonShape; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Exception; +import java.lang.IllegalArgumentException; +import java.lang.Object; +import java.lang.String; +import java.lang.Throwable; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; + +public class CreateLeadCatcher { + + abstract static class Base { + final SDKConfiguration sdkConfiguration; + final String baseUrl; + final SecuritySource securitySource; + final List retryStatusCodes; + final RetryConfig retryConfig; + final HTTPClient client; + final Headers _headers; + + public Base(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + this.sdkConfiguration = sdkConfiguration; + this._headers = _headers; + this.baseUrl = this.sdkConfiguration.serverUrl(); + this.securitySource = this.sdkConfiguration.securitySource(); + Optional.ofNullable(options).ifPresent(o -> o.validate(List.of(Options.Option.RETRY_CONFIG))); + this.retryStatusCodes = List.of("502", "503", "504"); + this.retryConfig = Optional.ofNullable(options) + .flatMap(Options::retryConfig) + .or(sdkConfiguration::retryConfig) + .orElse(RetryConfig.builder() + .backoff(BackoffStrategy.builder() + .initialInterval(2000, TimeUnit.MILLISECONDS) + .maxInterval(16000, TimeUnit.MILLISECONDS) + .baseFactor((double) (2)) + .maxElapsedTime(40000, TimeUnit.MILLISECONDS) + .retryConnectError(true) + .build()) + .build()); + this.client = this.sdkConfiguration.client(); + } + + Optional securitySource() { + return Optional.ofNullable(this.securitySource); + } + + BeforeRequestContextImpl createBeforeRequestContext() { + return new BeforeRequestContextImpl( + this.sdkConfiguration, + this.baseUrl, + "createLeadCatcher", + java.util.Optional.of(java.util.List.of("venue/lead-catchers:write")), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "createLeadCatcher", + java.util.Optional.of(java.util.List.of("venue/lead-catchers:write")), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "createLeadCatcher", + java.util.Optional.of(java.util.List.of("venue/lead-catchers:write")), + securitySource()); + } + + HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { + String url = Utils.generateURL(klass, this.baseUrl, "/venues/{venueId}/lead-catchers", request, null); + HTTPRequest req = new HTTPRequest(url, "POST"); + Object convertedRequest = Utils.convertToShape(request, JsonShape.DEFAULT, typeReference); + SerializedBody serializedRequestBody = + Utils.serializeRequestBody(convertedRequest, "leadCatcher", "json", false); + if (serializedRequestBody == null) { + throw new IllegalArgumentException("Request body is required"); + } + req.setBody(Optional.ofNullable(serializedRequestBody)); + req.addHeader("Accept", "application/json").addHeader("user-agent", SDKConfiguration.USER_AGENT); + _headers.forEach((k, list) -> list.forEach(v -> req.addHeader(k, v))); + Utils.configureSecurity(req, this.sdkConfiguration.securitySource().getSecurity()); + + return req.build(); + } + } + + public static class Sync extends Base + implements RequestOperation { + public Sync(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + super(sdkConfiguration, options, _headers); + } + + private HttpRequest onBuildRequest(CreateLeadCatcherRequest request) throws Exception { + HttpRequest req = buildRequest( + request, CreateLeadCatcherRequest.class, new TypeReference() {}); + return sdkConfiguration.hooks().beforeRequest(createBeforeRequestContext(), req); + } + + private HttpResponse onError(HttpResponse response, Exception error) + throws Exception { + return sdkConfiguration + .hooks() + .afterError(createAfterErrorContext(), Optional.ofNullable(response), Optional.ofNullable(error)); + } + + private HttpResponse onSuccess(HttpResponse response) throws Exception { + return sdkConfiguration.hooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public HttpResponse doRequest(CreateLeadCatcherRequest request) { + Retries retries = Retries.builder() + .action(() -> { + HttpRequest r; + try { + r = onBuildRequest(request); + } catch (Exception e) { + throw new NonRetryableException(e); + } + try { + HttpResponse httpRes = client.send(r); + if (Utils.statusCodeMatches( + httpRes.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(httpRes, null); + } + return httpRes; + } catch (Exception e) { + return onError(null, e); + } + }) + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .build(); + return unchecked(() -> onSuccess(retries.run())).get(); + } + + @Override + public CreateLeadCatcherResponse handleResponse(HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + CreateLeadCatcherResponse.Builder resBuilder = CreateLeadCatcherResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + CreateLeadCatcherResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "201")) { + res.withHeaders(response.headers().map()); + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withExistingLeadCatcher( + Utils.unmarshal(response, new TypeReference() {})); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse12.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + throw APIException.from("API error occurred", response); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + throw APIException.from("API error occurred", response); + } + throw APIException.from("Unexpected status code received: " + response.statusCode(), response); + } + } + + public static class Async extends Base + implements AsyncRequestOperation< + CreateLeadCatcherRequest, com.cvent.models.operations.async.CreateLeadCatcherResponse> { + private final ScheduledExecutorService retryScheduler; + + public Async( + @Nonnull SDKConfiguration sdkConfiguration, + @Nullable Options options, + @Nullable ScheduledExecutorService retryScheduler, + Headers _headers) { + super(sdkConfiguration, options, _headers); + this.retryScheduler = retryScheduler; + } + + private CompletableFuture onBuildRequest(CreateLeadCatcherRequest request) throws Exception { + HttpRequest req = buildRequest( + request, CreateLeadCatcherRequest.class, new TypeReference() {}); + return this.sdkConfiguration.asyncHooks().beforeRequest(createBeforeRequestContext(), req); + } + + private CompletableFuture> onError(HttpResponse response, Throwable error) { + return this.sdkConfiguration.asyncHooks().afterError(createAfterErrorContext(), response, error); + } + + private CompletableFuture> onSuccess(HttpResponse response) { + return this.sdkConfiguration.asyncHooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public CompletableFuture> doRequest(CreateLeadCatcherRequest request) { + AsyncRetries retries = AsyncRetries.builder() + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .scheduler(retryScheduler) + .build(); + return retries.retry(() -> unchecked(() -> onBuildRequest(request)) + .get() + .thenCompose(client::sendAsync) + .handle((resp, err) -> { + if (err != null) { + return onError(null, err); + } + if (Utils.statusCodeMatches(resp.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(resp, null); + } + return CompletableFuture.completedFuture(resp); + }) + .thenCompose(Function.identity())) + .thenCompose(this::onSuccess); + } + + @Override + public CompletableFuture handleResponse( + HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + com.cvent.models.operations.async.CreateLeadCatcherResponse.Builder resBuilder = + com.cvent.models.operations.async.CreateLeadCatcherResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.cvent.models.operations.async.CreateLeadCatcherResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "201")) { + res.withHeaders(response.headers().map()); + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withExistingLeadCatcher); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + return Utils.createAsyncApiError(response, "Unexpected status code received: " + response.statusCode()); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/operations/DeleteLeadCatcher.java b/packages/java/src/main/java/com/cvent/operations/DeleteLeadCatcher.java new file mode 100644 index 000000000..70ddd1c55 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/operations/DeleteLeadCatcher.java @@ -0,0 +1,287 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.operations; + +import static com.cvent.operations.Operations.AsyncRequestOperation; +import static com.cvent.operations.Operations.RequestOperation; +import static com.cvent.utils.Exceptions.unchecked; + +import com.cvent.SDKConfiguration; +import com.cvent.SecuritySource; +import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse12; +import com.cvent.models.operations.DeleteLeadCatcherRequest; +import com.cvent.models.operations.DeleteLeadCatcherResponse; +import com.cvent.utils.AsyncRetries; +import com.cvent.utils.BackoffStrategy; +import com.cvent.utils.Blob; +import com.cvent.utils.HTTPClient; +import com.cvent.utils.HTTPRequest; +import com.cvent.utils.Headers; +import com.cvent.utils.Hook.AfterErrorContextImpl; +import com.cvent.utils.Hook.AfterSuccessContextImpl; +import com.cvent.utils.Hook.BeforeRequestContextImpl; +import com.cvent.utils.NonRetryableException; +import com.cvent.utils.Options; +import com.cvent.utils.Retries; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Exception; +import java.lang.String; +import java.lang.Throwable; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; + +public class DeleteLeadCatcher { + + abstract static class Base { + final SDKConfiguration sdkConfiguration; + final String baseUrl; + final SecuritySource securitySource; + final List retryStatusCodes; + final RetryConfig retryConfig; + final HTTPClient client; + final Headers _headers; + + public Base(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + this.sdkConfiguration = sdkConfiguration; + this._headers = _headers; + this.baseUrl = this.sdkConfiguration.serverUrl(); + this.securitySource = this.sdkConfiguration.securitySource(); + Optional.ofNullable(options).ifPresent(o -> o.validate(List.of(Options.Option.RETRY_CONFIG))); + this.retryStatusCodes = List.of("502", "503", "504"); + this.retryConfig = Optional.ofNullable(options) + .flatMap(Options::retryConfig) + .or(sdkConfiguration::retryConfig) + .orElse(RetryConfig.builder() + .backoff(BackoffStrategy.builder() + .initialInterval(2000, TimeUnit.MILLISECONDS) + .maxInterval(16000, TimeUnit.MILLISECONDS) + .baseFactor((double) (2)) + .maxElapsedTime(40000, TimeUnit.MILLISECONDS) + .retryConnectError(true) + .build()) + .build()); + this.client = this.sdkConfiguration.client(); + } + + Optional securitySource() { + return Optional.ofNullable(this.securitySource); + } + + BeforeRequestContextImpl createBeforeRequestContext() { + return new BeforeRequestContextImpl( + this.sdkConfiguration, + this.baseUrl, + "deleteLeadCatcher", + java.util.Optional.of(java.util.List.of("venue/lead-catchers:delete")), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "deleteLeadCatcher", + java.util.Optional.of(java.util.List.of("venue/lead-catchers:delete")), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "deleteLeadCatcher", + java.util.Optional.of(java.util.List.of("venue/lead-catchers:delete")), + securitySource()); + } + + HttpRequest buildRequest(T request, Class klass) throws Exception { + String url = Utils.generateURL( + klass, this.baseUrl, "/venues/{venueId}/lead-catchers/{leadCatcherId}", request, null); + HTTPRequest req = new HTTPRequest(url, "DELETE"); + req.addHeader("Accept", "application/json").addHeader("user-agent", SDKConfiguration.USER_AGENT); + _headers.forEach((k, list) -> list.forEach(v -> req.addHeader(k, v))); + Utils.configureSecurity(req, this.sdkConfiguration.securitySource().getSecurity()); + + return req.build(); + } + } + + public static class Sync extends Base + implements RequestOperation { + public Sync(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + super(sdkConfiguration, options, _headers); + } + + private HttpRequest onBuildRequest(DeleteLeadCatcherRequest request) throws Exception { + HttpRequest req = buildRequest(request, DeleteLeadCatcherRequest.class); + return sdkConfiguration.hooks().beforeRequest(createBeforeRequestContext(), req); + } + + private HttpResponse onError(HttpResponse response, Exception error) + throws Exception { + return sdkConfiguration + .hooks() + .afterError(createAfterErrorContext(), Optional.ofNullable(response), Optional.ofNullable(error)); + } + + private HttpResponse onSuccess(HttpResponse response) throws Exception { + return sdkConfiguration.hooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public HttpResponse doRequest(DeleteLeadCatcherRequest request) { + Retries retries = Retries.builder() + .action(() -> { + HttpRequest r; + try { + r = onBuildRequest(request); + } catch (Exception e) { + throw new NonRetryableException(e); + } + try { + HttpResponse httpRes = client.send(r); + if (Utils.statusCodeMatches( + httpRes.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(httpRes, null); + } + return httpRes; + } catch (Exception e) { + return onError(null, e); + } + }) + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .build(); + return unchecked(() -> onSuccess(retries.run())).get(); + } + + @Override + public DeleteLeadCatcherResponse handleResponse(HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + DeleteLeadCatcherResponse.Builder resBuilder = DeleteLeadCatcherResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + DeleteLeadCatcherResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "204")) { + // no content + return res; + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse12.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + throw APIException.from("API error occurred", response); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + throw APIException.from("API error occurred", response); + } + throw APIException.from("Unexpected status code received: " + response.statusCode(), response); + } + } + + public static class Async extends Base + implements AsyncRequestOperation< + DeleteLeadCatcherRequest, com.cvent.models.operations.async.DeleteLeadCatcherResponse> { + private final ScheduledExecutorService retryScheduler; + + public Async( + @Nonnull SDKConfiguration sdkConfiguration, + @Nullable Options options, + @Nullable ScheduledExecutorService retryScheduler, + Headers _headers) { + super(sdkConfiguration, options, _headers); + this.retryScheduler = retryScheduler; + } + + private CompletableFuture onBuildRequest(DeleteLeadCatcherRequest request) throws Exception { + HttpRequest req = buildRequest(request, DeleteLeadCatcherRequest.class); + return this.sdkConfiguration.asyncHooks().beforeRequest(createBeforeRequestContext(), req); + } + + private CompletableFuture> onError(HttpResponse response, Throwable error) { + return this.sdkConfiguration.asyncHooks().afterError(createAfterErrorContext(), response, error); + } + + private CompletableFuture> onSuccess(HttpResponse response) { + return this.sdkConfiguration.asyncHooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public CompletableFuture> doRequest(DeleteLeadCatcherRequest request) { + AsyncRetries retries = AsyncRetries.builder() + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .scheduler(retryScheduler) + .build(); + return retries.retry(() -> unchecked(() -> onBuildRequest(request)) + .get() + .thenCompose(client::sendAsync) + .handle((resp, err) -> { + if (err != null) { + return onError(null, err); + } + if (Utils.statusCodeMatches(resp.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(resp, null); + } + return CompletableFuture.completedFuture(resp); + }) + .thenCompose(Function.identity())) + .thenCompose(this::onSuccess); + } + + @Override + public CompletableFuture handleResponse( + HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + com.cvent.models.operations.async.DeleteLeadCatcherResponse.Builder resBuilder = + com.cvent.models.operations.async.DeleteLeadCatcherResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.cvent.models.operations.async.DeleteLeadCatcherResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "204")) { + // no content + return CompletableFuture.completedFuture(res); + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + return Utils.createAsyncApiError(response, "Unexpected status code received: " + response.statusCode()); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/operations/GetLeadCatcherOverview.java b/packages/java/src/main/java/com/cvent/operations/GetLeadCatcherOverview.java new file mode 100644 index 000000000..c226cd197 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/operations/GetLeadCatcherOverview.java @@ -0,0 +1,297 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.operations; + +import static com.cvent.operations.Operations.AsyncRequestOperation; +import static com.cvent.operations.Operations.RequestOperation; +import static com.cvent.utils.Exceptions.unchecked; + +import com.cvent.SDKConfiguration; +import com.cvent.SecuritySource; +import com.cvent.models.components.LeadCatcherOverview; +import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse12; +import com.cvent.models.operations.GetLeadCatcherOverviewRequest; +import com.cvent.models.operations.GetLeadCatcherOverviewResponse; +import com.cvent.utils.AsyncRetries; +import com.cvent.utils.BackoffStrategy; +import com.cvent.utils.Blob; +import com.cvent.utils.HTTPClient; +import com.cvent.utils.HTTPRequest; +import com.cvent.utils.Headers; +import com.cvent.utils.Hook.AfterErrorContextImpl; +import com.cvent.utils.Hook.AfterSuccessContextImpl; +import com.cvent.utils.Hook.BeforeRequestContextImpl; +import com.cvent.utils.NonRetryableException; +import com.cvent.utils.Options; +import com.cvent.utils.Retries; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Exception; +import java.lang.String; +import java.lang.Throwable; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; + +public class GetLeadCatcherOverview { + + abstract static class Base { + final SDKConfiguration sdkConfiguration; + final String baseUrl; + final SecuritySource securitySource; + final List retryStatusCodes; + final RetryConfig retryConfig; + final HTTPClient client; + final Headers _headers; + + public Base(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + this.sdkConfiguration = sdkConfiguration; + this._headers = _headers; + this.baseUrl = this.sdkConfiguration.serverUrl(); + this.securitySource = this.sdkConfiguration.securitySource(); + Optional.ofNullable(options).ifPresent(o -> o.validate(List.of(Options.Option.RETRY_CONFIG))); + this.retryStatusCodes = List.of("502", "503", "504"); + this.retryConfig = Optional.ofNullable(options) + .flatMap(Options::retryConfig) + .or(sdkConfiguration::retryConfig) + .orElse(RetryConfig.builder() + .backoff(BackoffStrategy.builder() + .initialInterval(2000, TimeUnit.MILLISECONDS) + .maxInterval(16000, TimeUnit.MILLISECONDS) + .baseFactor((double) (2)) + .maxElapsedTime(40000, TimeUnit.MILLISECONDS) + .retryConnectError(true) + .build()) + .build()); + this.client = this.sdkConfiguration.client(); + } + + Optional securitySource() { + return Optional.ofNullable(this.securitySource); + } + + BeforeRequestContextImpl createBeforeRequestContext() { + return new BeforeRequestContextImpl( + this.sdkConfiguration, + this.baseUrl, + "getLeadCatcherOverview", + java.util.Optional.of(java.util.List.of("venue/lead-catchers-overview:read")), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "getLeadCatcherOverview", + java.util.Optional.of(java.util.List.of("venue/lead-catchers-overview:read")), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "getLeadCatcherOverview", + java.util.Optional.of(java.util.List.of("venue/lead-catchers-overview:read")), + securitySource()); + } + + HttpRequest buildRequest(T request, Class klass) throws Exception { + String url = Utils.generateURL( + klass, this.baseUrl, "/venues/{venueId}/lead-catchers/{leadCatcherId}/overview", request, null); + HTTPRequest req = new HTTPRequest(url, "GET"); + req.addHeader("Accept", "application/json").addHeader("user-agent", SDKConfiguration.USER_AGENT); + _headers.forEach((k, list) -> list.forEach(v -> req.addHeader(k, v))); + Utils.configureSecurity(req, this.sdkConfiguration.securitySource().getSecurity()); + + return req.build(); + } + } + + public static class Sync extends Base + implements RequestOperation { + public Sync(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + super(sdkConfiguration, options, _headers); + } + + private HttpRequest onBuildRequest(GetLeadCatcherOverviewRequest request) throws Exception { + HttpRequest req = buildRequest(request, GetLeadCatcherOverviewRequest.class); + return sdkConfiguration.hooks().beforeRequest(createBeforeRequestContext(), req); + } + + private HttpResponse onError(HttpResponse response, Exception error) + throws Exception { + return sdkConfiguration + .hooks() + .afterError(createAfterErrorContext(), Optional.ofNullable(response), Optional.ofNullable(error)); + } + + private HttpResponse onSuccess(HttpResponse response) throws Exception { + return sdkConfiguration.hooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public HttpResponse doRequest(GetLeadCatcherOverviewRequest request) { + Retries retries = Retries.builder() + .action(() -> { + HttpRequest r; + try { + r = onBuildRequest(request); + } catch (Exception e) { + throw new NonRetryableException(e); + } + try { + HttpResponse httpRes = client.send(r); + if (Utils.statusCodeMatches( + httpRes.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(httpRes, null); + } + return httpRes; + } catch (Exception e) { + return onError(null, e); + } + }) + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .build(); + return unchecked(() -> onSuccess(retries.run())).get(); + } + + @Override + public GetLeadCatcherOverviewResponse handleResponse(HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + GetLeadCatcherOverviewResponse.Builder resBuilder = GetLeadCatcherOverviewResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + GetLeadCatcherOverviewResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withLeadCatcherOverview( + Utils.unmarshal(response, new TypeReference() {})); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse12.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + throw APIException.from("API error occurred", response); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + throw APIException.from("API error occurred", response); + } + throw APIException.from("Unexpected status code received: " + response.statusCode(), response); + } + } + + public static class Async extends Base + implements AsyncRequestOperation< + GetLeadCatcherOverviewRequest, com.cvent.models.operations.async.GetLeadCatcherOverviewResponse> { + private final ScheduledExecutorService retryScheduler; + + public Async( + @Nonnull SDKConfiguration sdkConfiguration, + @Nullable Options options, + @Nullable ScheduledExecutorService retryScheduler, + Headers _headers) { + super(sdkConfiguration, options, _headers); + this.retryScheduler = retryScheduler; + } + + private CompletableFuture onBuildRequest(GetLeadCatcherOverviewRequest request) throws Exception { + HttpRequest req = buildRequest(request, GetLeadCatcherOverviewRequest.class); + return this.sdkConfiguration.asyncHooks().beforeRequest(createBeforeRequestContext(), req); + } + + private CompletableFuture> onError(HttpResponse response, Throwable error) { + return this.sdkConfiguration.asyncHooks().afterError(createAfterErrorContext(), response, error); + } + + private CompletableFuture> onSuccess(HttpResponse response) { + return this.sdkConfiguration.asyncHooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public CompletableFuture> doRequest(GetLeadCatcherOverviewRequest request) { + AsyncRetries retries = AsyncRetries.builder() + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .scheduler(retryScheduler) + .build(); + return retries.retry(() -> unchecked(() -> onBuildRequest(request)) + .get() + .thenCompose(client::sendAsync) + .handle((resp, err) -> { + if (err != null) { + return onError(null, err); + } + if (Utils.statusCodeMatches(resp.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(resp, null); + } + return CompletableFuture.completedFuture(resp); + }) + .thenCompose(Function.identity())) + .thenCompose(this::onSuccess); + } + + @Override + public CompletableFuture handleResponse( + HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + com.cvent.models.operations.async.GetLeadCatcherOverviewResponse.Builder resBuilder = + com.cvent.models.operations.async.GetLeadCatcherOverviewResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.cvent.models.operations.async.GetLeadCatcherOverviewResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withLeadCatcherOverview); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + return Utils.createAsyncApiError(response, "Unexpected status code received: " + response.statusCode()); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/operations/GetVenueAmenities.java b/packages/java/src/main/java/com/cvent/operations/GetVenueAmenities.java new file mode 100644 index 000000000..941fe3448 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/operations/GetVenueAmenities.java @@ -0,0 +1,296 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.operations; + +import static com.cvent.operations.Operations.AsyncRequestOperation; +import static com.cvent.operations.Operations.RequestOperation; +import static com.cvent.utils.Exceptions.unchecked; + +import com.cvent.SDKConfiguration; +import com.cvent.SecuritySource; +import com.cvent.models.components.ExistingVenueAmenities; +import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse12; +import com.cvent.models.operations.GetVenueAmenitiesRequest; +import com.cvent.models.operations.GetVenueAmenitiesResponse; +import com.cvent.utils.AsyncRetries; +import com.cvent.utils.BackoffStrategy; +import com.cvent.utils.Blob; +import com.cvent.utils.HTTPClient; +import com.cvent.utils.HTTPRequest; +import com.cvent.utils.Headers; +import com.cvent.utils.Hook.AfterErrorContextImpl; +import com.cvent.utils.Hook.AfterSuccessContextImpl; +import com.cvent.utils.Hook.BeforeRequestContextImpl; +import com.cvent.utils.NonRetryableException; +import com.cvent.utils.Options; +import com.cvent.utils.Retries; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Exception; +import java.lang.String; +import java.lang.Throwable; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; + +public class GetVenueAmenities { + + abstract static class Base { + final SDKConfiguration sdkConfiguration; + final String baseUrl; + final SecuritySource securitySource; + final List retryStatusCodes; + final RetryConfig retryConfig; + final HTTPClient client; + final Headers _headers; + + public Base(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + this.sdkConfiguration = sdkConfiguration; + this._headers = _headers; + this.baseUrl = this.sdkConfiguration.serverUrl(); + this.securitySource = this.sdkConfiguration.securitySource(); + Optional.ofNullable(options).ifPresent(o -> o.validate(List.of(Options.Option.RETRY_CONFIG))); + this.retryStatusCodes = List.of("502", "503", "504"); + this.retryConfig = Optional.ofNullable(options) + .flatMap(Options::retryConfig) + .or(sdkConfiguration::retryConfig) + .orElse(RetryConfig.builder() + .backoff(BackoffStrategy.builder() + .initialInterval(2000, TimeUnit.MILLISECONDS) + .maxInterval(16000, TimeUnit.MILLISECONDS) + .baseFactor((double) (2)) + .maxElapsedTime(40000, TimeUnit.MILLISECONDS) + .retryConnectError(true) + .build()) + .build()); + this.client = this.sdkConfiguration.client(); + } + + Optional securitySource() { + return Optional.ofNullable(this.securitySource); + } + + BeforeRequestContextImpl createBeforeRequestContext() { + return new BeforeRequestContextImpl( + this.sdkConfiguration, + this.baseUrl, + "getVenueAmenities", + java.util.Optional.of(java.util.List.of("venue/amenities:read")), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "getVenueAmenities", + java.util.Optional.of(java.util.List.of("venue/amenities:read")), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "getVenueAmenities", + java.util.Optional.of(java.util.List.of("venue/amenities:read")), + securitySource()); + } + + HttpRequest buildRequest(T request, Class klass) throws Exception { + String url = Utils.generateURL(klass, this.baseUrl, "/venues/{venueId}/amenities", request, null); + HTTPRequest req = new HTTPRequest(url, "GET"); + req.addHeader("Accept", "application/json").addHeader("user-agent", SDKConfiguration.USER_AGENT); + _headers.forEach((k, list) -> list.forEach(v -> req.addHeader(k, v))); + Utils.configureSecurity(req, this.sdkConfiguration.securitySource().getSecurity()); + + return req.build(); + } + } + + public static class Sync extends Base + implements RequestOperation { + public Sync(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + super(sdkConfiguration, options, _headers); + } + + private HttpRequest onBuildRequest(GetVenueAmenitiesRequest request) throws Exception { + HttpRequest req = buildRequest(request, GetVenueAmenitiesRequest.class); + return sdkConfiguration.hooks().beforeRequest(createBeforeRequestContext(), req); + } + + private HttpResponse onError(HttpResponse response, Exception error) + throws Exception { + return sdkConfiguration + .hooks() + .afterError(createAfterErrorContext(), Optional.ofNullable(response), Optional.ofNullable(error)); + } + + private HttpResponse onSuccess(HttpResponse response) throws Exception { + return sdkConfiguration.hooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public HttpResponse doRequest(GetVenueAmenitiesRequest request) { + Retries retries = Retries.builder() + .action(() -> { + HttpRequest r; + try { + r = onBuildRequest(request); + } catch (Exception e) { + throw new NonRetryableException(e); + } + try { + HttpResponse httpRes = client.send(r); + if (Utils.statusCodeMatches( + httpRes.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(httpRes, null); + } + return httpRes; + } catch (Exception e) { + return onError(null, e); + } + }) + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .build(); + return unchecked(() -> onSuccess(retries.run())).get(); + } + + @Override + public GetVenueAmenitiesResponse handleResponse(HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + GetVenueAmenitiesResponse.Builder resBuilder = GetVenueAmenitiesResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + GetVenueAmenitiesResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withExistingVenueAmenities( + Utils.unmarshal(response, new TypeReference() {})); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse12.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + throw APIException.from("API error occurred", response); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + throw APIException.from("API error occurred", response); + } + throw APIException.from("Unexpected status code received: " + response.statusCode(), response); + } + } + + public static class Async extends Base + implements AsyncRequestOperation< + GetVenueAmenitiesRequest, com.cvent.models.operations.async.GetVenueAmenitiesResponse> { + private final ScheduledExecutorService retryScheduler; + + public Async( + @Nonnull SDKConfiguration sdkConfiguration, + @Nullable Options options, + @Nullable ScheduledExecutorService retryScheduler, + Headers _headers) { + super(sdkConfiguration, options, _headers); + this.retryScheduler = retryScheduler; + } + + private CompletableFuture onBuildRequest(GetVenueAmenitiesRequest request) throws Exception { + HttpRequest req = buildRequest(request, GetVenueAmenitiesRequest.class); + return this.sdkConfiguration.asyncHooks().beforeRequest(createBeforeRequestContext(), req); + } + + private CompletableFuture> onError(HttpResponse response, Throwable error) { + return this.sdkConfiguration.asyncHooks().afterError(createAfterErrorContext(), response, error); + } + + private CompletableFuture> onSuccess(HttpResponse response) { + return this.sdkConfiguration.asyncHooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public CompletableFuture> doRequest(GetVenueAmenitiesRequest request) { + AsyncRetries retries = AsyncRetries.builder() + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .scheduler(retryScheduler) + .build(); + return retries.retry(() -> unchecked(() -> onBuildRequest(request)) + .get() + .thenCompose(client::sendAsync) + .handle((resp, err) -> { + if (err != null) { + return onError(null, err); + } + if (Utils.statusCodeMatches(resp.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(resp, null); + } + return CompletableFuture.completedFuture(resp); + }) + .thenCompose(Function.identity())) + .thenCompose(this::onSuccess); + } + + @Override + public CompletableFuture handleResponse( + HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + com.cvent.models.operations.async.GetVenueAmenitiesResponse.Builder resBuilder = + com.cvent.models.operations.async.GetVenueAmenitiesResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.cvent.models.operations.async.GetVenueAmenitiesResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withExistingVenueAmenities); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + return Utils.createAsyncApiError(response, "Unexpected status code received: " + response.statusCode()); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/operations/ListLeadCatchersOverview.java b/packages/java/src/main/java/com/cvent/operations/ListLeadCatchersOverview.java new file mode 100644 index 000000000..f01c7ab4e --- /dev/null +++ b/packages/java/src/main/java/com/cvent/operations/ListLeadCatchersOverview.java @@ -0,0 +1,301 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.operations; + +import static com.cvent.operations.Operations.AsyncRequestOperation; +import static com.cvent.operations.Operations.RequestOperation; +import static com.cvent.utils.Exceptions.unchecked; + +import com.cvent.SDKConfiguration; +import com.cvent.SecuritySource; +import com.cvent.models.components.LeadCatchersOverviewResponse; +import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse12; +import com.cvent.models.operations.ListLeadCatchersOverviewRequest; +import com.cvent.models.operations.ListLeadCatchersOverviewResponse; +import com.cvent.utils.AsyncRetries; +import com.cvent.utils.BackoffStrategy; +import com.cvent.utils.Blob; +import com.cvent.utils.HTTPClient; +import com.cvent.utils.HTTPRequest; +import com.cvent.utils.Headers; +import com.cvent.utils.Hook.AfterErrorContextImpl; +import com.cvent.utils.Hook.AfterSuccessContextImpl; +import com.cvent.utils.Hook.BeforeRequestContextImpl; +import com.cvent.utils.NonRetryableException; +import com.cvent.utils.Options; +import com.cvent.utils.Retries; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.Utils; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Exception; +import java.lang.String; +import java.lang.Throwable; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; + +public class ListLeadCatchersOverview { + + abstract static class Base { + final SDKConfiguration sdkConfiguration; + final String baseUrl; + final SecuritySource securitySource; + final List retryStatusCodes; + final RetryConfig retryConfig; + final HTTPClient client; + final Headers _headers; + + public Base(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + this.sdkConfiguration = sdkConfiguration; + this._headers = _headers; + this.baseUrl = this.sdkConfiguration.serverUrl(); + this.securitySource = this.sdkConfiguration.securitySource(); + Optional.ofNullable(options).ifPresent(o -> o.validate(List.of(Options.Option.RETRY_CONFIG))); + this.retryStatusCodes = List.of("502", "503", "504"); + this.retryConfig = Optional.ofNullable(options) + .flatMap(Options::retryConfig) + .or(sdkConfiguration::retryConfig) + .orElse(RetryConfig.builder() + .backoff(BackoffStrategy.builder() + .initialInterval(2000, TimeUnit.MILLISECONDS) + .maxInterval(16000, TimeUnit.MILLISECONDS) + .baseFactor((double) (2)) + .maxElapsedTime(40000, TimeUnit.MILLISECONDS) + .retryConnectError(true) + .build()) + .build()); + this.client = this.sdkConfiguration.client(); + } + + Optional securitySource() { + return Optional.ofNullable(this.securitySource); + } + + BeforeRequestContextImpl createBeforeRequestContext() { + return new BeforeRequestContextImpl( + this.sdkConfiguration, + this.baseUrl, + "listLeadCatchersOverview", + java.util.Optional.of(java.util.List.of("venue/lead-catchers-overview:read")), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "listLeadCatchersOverview", + java.util.Optional.of(java.util.List.of("venue/lead-catchers-overview:read")), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "listLeadCatchersOverview", + java.util.Optional.of(java.util.List.of("venue/lead-catchers-overview:read")), + securitySource()); + } + + HttpRequest buildRequest(T request, Class klass) throws Exception { + String url = + Utils.generateURL(klass, this.baseUrl, "/venues/{venueId}/lead-catchers/overview", request, null); + HTTPRequest req = new HTTPRequest(url, "GET"); + req.addHeader("Accept", "application/json").addHeader("user-agent", SDKConfiguration.USER_AGENT); + _headers.forEach((k, list) -> list.forEach(v -> req.addHeader(k, v))); + + req.addQueryParams(Utils.getQueryParams(klass, request, null)); + Utils.configureSecurity(req, this.sdkConfiguration.securitySource().getSecurity()); + + return req.build(); + } + } + + public static class Sync extends Base + implements RequestOperation { + public Sync(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + super(sdkConfiguration, options, _headers); + } + + private HttpRequest onBuildRequest(ListLeadCatchersOverviewRequest request) throws Exception { + HttpRequest req = buildRequest(request, ListLeadCatchersOverviewRequest.class); + return sdkConfiguration.hooks().beforeRequest(createBeforeRequestContext(), req); + } + + private HttpResponse onError(HttpResponse response, Exception error) + throws Exception { + return sdkConfiguration + .hooks() + .afterError(createAfterErrorContext(), Optional.ofNullable(response), Optional.ofNullable(error)); + } + + private HttpResponse onSuccess(HttpResponse response) throws Exception { + return sdkConfiguration.hooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public HttpResponse doRequest(ListLeadCatchersOverviewRequest request) { + Retries retries = Retries.builder() + .action(() -> { + HttpRequest r; + try { + r = onBuildRequest(request); + } catch (Exception e) { + throw new NonRetryableException(e); + } + try { + HttpResponse httpRes = client.send(r); + if (Utils.statusCodeMatches( + httpRes.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(httpRes, null); + } + return httpRes; + } catch (Exception e) { + return onError(null, e); + } + }) + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .build(); + return unchecked(() -> onSuccess(retries.run())).get(); + } + + @Override + public ListLeadCatchersOverviewResponse handleResponse(HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + ListLeadCatchersOverviewResponse.Builder resBuilder = ListLeadCatchersOverviewResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + ListLeadCatchersOverviewResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withLeadCatchersOverviewResponse( + Utils.unmarshal(response, new TypeReference() {})); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse12.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + throw APIException.from("API error occurred", response); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + throw APIException.from("API error occurred", response); + } + throw APIException.from("Unexpected status code received: " + response.statusCode(), response); + } + } + + public static class Async extends Base + implements AsyncRequestOperation< + ListLeadCatchersOverviewRequest, + com.cvent.models.operations.async.ListLeadCatchersOverviewResponse> { + private final ScheduledExecutorService retryScheduler; + + public Async( + @Nonnull SDKConfiguration sdkConfiguration, + @Nullable Options options, + @Nullable ScheduledExecutorService retryScheduler, + Headers _headers) { + super(sdkConfiguration, options, _headers); + this.retryScheduler = retryScheduler; + } + + private CompletableFuture onBuildRequest(ListLeadCatchersOverviewRequest request) + throws Exception { + HttpRequest req = buildRequest(request, ListLeadCatchersOverviewRequest.class); + return this.sdkConfiguration.asyncHooks().beforeRequest(createBeforeRequestContext(), req); + } + + private CompletableFuture> onError(HttpResponse response, Throwable error) { + return this.sdkConfiguration.asyncHooks().afterError(createAfterErrorContext(), response, error); + } + + private CompletableFuture> onSuccess(HttpResponse response) { + return this.sdkConfiguration.asyncHooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public CompletableFuture> doRequest(ListLeadCatchersOverviewRequest request) { + AsyncRetries retries = AsyncRetries.builder() + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .scheduler(retryScheduler) + .build(); + return retries.retry(() -> unchecked(() -> onBuildRequest(request)) + .get() + .thenCompose(client::sendAsync) + .handle((resp, err) -> { + if (err != null) { + return onError(null, err); + } + if (Utils.statusCodeMatches(resp.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(resp, null); + } + return CompletableFuture.completedFuture(resp); + }) + .thenCompose(Function.identity())) + .thenCompose(this::onSuccess); + } + + @Override + public CompletableFuture handleResponse( + HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + com.cvent.models.operations.async.ListLeadCatchersOverviewResponse.Builder resBuilder = + com.cvent.models.operations.async.ListLeadCatchersOverviewResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.cvent.models.operations.async.ListLeadCatchersOverviewResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withLeadCatchersOverviewResponse); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + return Utils.createAsyncApiError(response, "Unexpected status code received: " + response.statusCode()); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/operations/PatchLeadCatcher.java b/packages/java/src/main/java/com/cvent/operations/PatchLeadCatcher.java new file mode 100644 index 000000000..5854300f7 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/operations/PatchLeadCatcher.java @@ -0,0 +1,310 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.operations; + +import static com.cvent.operations.Operations.AsyncRequestOperation; +import static com.cvent.operations.Operations.RequestOperation; +import static com.cvent.utils.Exceptions.unchecked; + +import com.cvent.SDKConfiguration; +import com.cvent.SecuritySource; +import com.cvent.models.components.LeadCatcherPatch; +import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse12; +import com.cvent.models.operations.PatchLeadCatcherRequest; +import com.cvent.models.operations.PatchLeadCatcherResponse; +import com.cvent.utils.AsyncRetries; +import com.cvent.utils.BackoffStrategy; +import com.cvent.utils.Blob; +import com.cvent.utils.HTTPClient; +import com.cvent.utils.HTTPRequest; +import com.cvent.utils.Headers; +import com.cvent.utils.Hook.AfterErrorContextImpl; +import com.cvent.utils.Hook.AfterSuccessContextImpl; +import com.cvent.utils.Hook.BeforeRequestContextImpl; +import com.cvent.utils.NonRetryableException; +import com.cvent.utils.Options; +import com.cvent.utils.Retries; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.SerializedBody; +import com.cvent.utils.Utils; +import com.cvent.utils.Utils.JsonShape; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Exception; +import java.lang.IllegalArgumentException; +import java.lang.Object; +import java.lang.String; +import java.lang.Throwable; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; + +public class PatchLeadCatcher { + + abstract static class Base { + final SDKConfiguration sdkConfiguration; + final String baseUrl; + final SecuritySource securitySource; + final List retryStatusCodes; + final RetryConfig retryConfig; + final HTTPClient client; + final Headers _headers; + + public Base(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + this.sdkConfiguration = sdkConfiguration; + this._headers = _headers; + this.baseUrl = this.sdkConfiguration.serverUrl(); + this.securitySource = this.sdkConfiguration.securitySource(); + Optional.ofNullable(options).ifPresent(o -> o.validate(List.of(Options.Option.RETRY_CONFIG))); + this.retryStatusCodes = List.of("502", "503", "504"); + this.retryConfig = Optional.ofNullable(options) + .flatMap(Options::retryConfig) + .or(sdkConfiguration::retryConfig) + .orElse(RetryConfig.builder() + .backoff(BackoffStrategy.builder() + .initialInterval(2000, TimeUnit.MILLISECONDS) + .maxInterval(16000, TimeUnit.MILLISECONDS) + .baseFactor((double) (2)) + .maxElapsedTime(40000, TimeUnit.MILLISECONDS) + .retryConnectError(true) + .build()) + .build()); + this.client = this.sdkConfiguration.client(); + } + + Optional securitySource() { + return Optional.ofNullable(this.securitySource); + } + + BeforeRequestContextImpl createBeforeRequestContext() { + return new BeforeRequestContextImpl( + this.sdkConfiguration, + this.baseUrl, + "patchLeadCatcher", + java.util.Optional.of(java.util.List.of("venue/lead-catchers:write")), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "patchLeadCatcher", + java.util.Optional.of(java.util.List.of("venue/lead-catchers:write")), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "patchLeadCatcher", + java.util.Optional.of(java.util.List.of("venue/lead-catchers:write")), + securitySource()); + } + + HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { + String url = Utils.generateURL( + klass, this.baseUrl, "/venues/{venueId}/lead-catchers/{leadCatcherId}", request, null); + HTTPRequest req = new HTTPRequest(url, "PATCH"); + Object convertedRequest = Utils.convertToShape(request, JsonShape.DEFAULT, typeReference); + SerializedBody serializedRequestBody = + Utils.serializeRequestBody(convertedRequest, "leadCatcherPatch", "json", false); + if (serializedRequestBody == null) { + throw new IllegalArgumentException("Request body is required"); + } + req.setBody(Optional.ofNullable(serializedRequestBody)); + req.addHeader("Accept", "application/json").addHeader("user-agent", SDKConfiguration.USER_AGENT); + _headers.forEach((k, list) -> list.forEach(v -> req.addHeader(k, v))); + Utils.configureSecurity(req, this.sdkConfiguration.securitySource().getSecurity()); + + return req.build(); + } + } + + public static class Sync extends Base + implements RequestOperation { + public Sync(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + super(sdkConfiguration, options, _headers); + } + + private HttpRequest onBuildRequest(PatchLeadCatcherRequest request) throws Exception { + HttpRequest req = buildRequest( + request, PatchLeadCatcherRequest.class, new TypeReference() {}); + return sdkConfiguration.hooks().beforeRequest(createBeforeRequestContext(), req); + } + + private HttpResponse onError(HttpResponse response, Exception error) + throws Exception { + return sdkConfiguration + .hooks() + .afterError(createAfterErrorContext(), Optional.ofNullable(response), Optional.ofNullable(error)); + } + + private HttpResponse onSuccess(HttpResponse response) throws Exception { + return sdkConfiguration.hooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public HttpResponse doRequest(PatchLeadCatcherRequest request) { + Retries retries = Retries.builder() + .action(() -> { + HttpRequest r; + try { + r = onBuildRequest(request); + } catch (Exception e) { + throw new NonRetryableException(e); + } + try { + HttpResponse httpRes = client.send(r); + if (Utils.statusCodeMatches( + httpRes.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(httpRes, null); + } + return httpRes; + } catch (Exception e) { + return onError(null, e); + } + }) + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .build(); + return unchecked(() -> onSuccess(retries.run())).get(); + } + + @Override + public PatchLeadCatcherResponse handleResponse(HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + PatchLeadCatcherResponse.Builder resBuilder = PatchLeadCatcherResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + PatchLeadCatcherResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withLeadCatcherPatch( + Utils.unmarshal(response, new TypeReference() {})); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse12.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + throw APIException.from("API error occurred", response); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + throw APIException.from("API error occurred", response); + } + throw APIException.from("Unexpected status code received: " + response.statusCode(), response); + } + } + + public static class Async extends Base + implements AsyncRequestOperation< + PatchLeadCatcherRequest, com.cvent.models.operations.async.PatchLeadCatcherResponse> { + private final ScheduledExecutorService retryScheduler; + + public Async( + @Nonnull SDKConfiguration sdkConfiguration, + @Nullable Options options, + @Nullable ScheduledExecutorService retryScheduler, + Headers _headers) { + super(sdkConfiguration, options, _headers); + this.retryScheduler = retryScheduler; + } + + private CompletableFuture onBuildRequest(PatchLeadCatcherRequest request) throws Exception { + HttpRequest req = buildRequest( + request, PatchLeadCatcherRequest.class, new TypeReference() {}); + return this.sdkConfiguration.asyncHooks().beforeRequest(createBeforeRequestContext(), req); + } + + private CompletableFuture> onError(HttpResponse response, Throwable error) { + return this.sdkConfiguration.asyncHooks().afterError(createAfterErrorContext(), response, error); + } + + private CompletableFuture> onSuccess(HttpResponse response) { + return this.sdkConfiguration.asyncHooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public CompletableFuture> doRequest(PatchLeadCatcherRequest request) { + AsyncRetries retries = AsyncRetries.builder() + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .scheduler(retryScheduler) + .build(); + return retries.retry(() -> unchecked(() -> onBuildRequest(request)) + .get() + .thenCompose(client::sendAsync) + .handle((resp, err) -> { + if (err != null) { + return onError(null, err); + } + if (Utils.statusCodeMatches(resp.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(resp, null); + } + return CompletableFuture.completedFuture(resp); + }) + .thenCompose(Function.identity())) + .thenCompose(this::onSuccess); + } + + @Override + public CompletableFuture handleResponse( + HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + com.cvent.models.operations.async.PatchLeadCatcherResponse.Builder resBuilder = + com.cvent.models.operations.async.PatchLeadCatcherResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.cvent.models.operations.async.PatchLeadCatcherResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withLeadCatcherPatch); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + return Utils.createAsyncApiError(response, "Unexpected status code received: " + response.statusCode()); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/operations/UpdateLeadCatcher.java b/packages/java/src/main/java/com/cvent/operations/UpdateLeadCatcher.java new file mode 100644 index 000000000..1ebfed7d7 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/operations/UpdateLeadCatcher.java @@ -0,0 +1,310 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.operations; + +import static com.cvent.operations.Operations.AsyncRequestOperation; +import static com.cvent.operations.Operations.RequestOperation; +import static com.cvent.utils.Exceptions.unchecked; + +import com.cvent.SDKConfiguration; +import com.cvent.SecuritySource; +import com.cvent.models.components.ExistingLeadCatcher; +import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse12; +import com.cvent.models.operations.UpdateLeadCatcherRequest; +import com.cvent.models.operations.UpdateLeadCatcherResponse; +import com.cvent.utils.AsyncRetries; +import com.cvent.utils.BackoffStrategy; +import com.cvent.utils.Blob; +import com.cvent.utils.HTTPClient; +import com.cvent.utils.HTTPRequest; +import com.cvent.utils.Headers; +import com.cvent.utils.Hook.AfterErrorContextImpl; +import com.cvent.utils.Hook.AfterSuccessContextImpl; +import com.cvent.utils.Hook.BeforeRequestContextImpl; +import com.cvent.utils.NonRetryableException; +import com.cvent.utils.Options; +import com.cvent.utils.Retries; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.SerializedBody; +import com.cvent.utils.Utils; +import com.cvent.utils.Utils.JsonShape; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Exception; +import java.lang.IllegalArgumentException; +import java.lang.Object; +import java.lang.String; +import java.lang.Throwable; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; + +public class UpdateLeadCatcher { + + abstract static class Base { + final SDKConfiguration sdkConfiguration; + final String baseUrl; + final SecuritySource securitySource; + final List retryStatusCodes; + final RetryConfig retryConfig; + final HTTPClient client; + final Headers _headers; + + public Base(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + this.sdkConfiguration = sdkConfiguration; + this._headers = _headers; + this.baseUrl = this.sdkConfiguration.serverUrl(); + this.securitySource = this.sdkConfiguration.securitySource(); + Optional.ofNullable(options).ifPresent(o -> o.validate(List.of(Options.Option.RETRY_CONFIG))); + this.retryStatusCodes = List.of("502", "503", "504"); + this.retryConfig = Optional.ofNullable(options) + .flatMap(Options::retryConfig) + .or(sdkConfiguration::retryConfig) + .orElse(RetryConfig.builder() + .backoff(BackoffStrategy.builder() + .initialInterval(2000, TimeUnit.MILLISECONDS) + .maxInterval(16000, TimeUnit.MILLISECONDS) + .baseFactor((double) (2)) + .maxElapsedTime(40000, TimeUnit.MILLISECONDS) + .retryConnectError(true) + .build()) + .build()); + this.client = this.sdkConfiguration.client(); + } + + Optional securitySource() { + return Optional.ofNullable(this.securitySource); + } + + BeforeRequestContextImpl createBeforeRequestContext() { + return new BeforeRequestContextImpl( + this.sdkConfiguration, + this.baseUrl, + "updateLeadCatcher", + java.util.Optional.of(java.util.List.of("venue/lead-catchers:write")), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "updateLeadCatcher", + java.util.Optional.of(java.util.List.of("venue/lead-catchers:write")), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "updateLeadCatcher", + java.util.Optional.of(java.util.List.of("venue/lead-catchers:write")), + securitySource()); + } + + HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { + String url = Utils.generateURL( + klass, this.baseUrl, "/venues/{venueId}/lead-catchers/{leadCatcherId}", request, null); + HTTPRequest req = new HTTPRequest(url, "PUT"); + Object convertedRequest = Utils.convertToShape(request, JsonShape.DEFAULT, typeReference); + SerializedBody serializedRequestBody = + Utils.serializeRequestBody(convertedRequest, "existingLeadCatcher", "json", false); + if (serializedRequestBody == null) { + throw new IllegalArgumentException("Request body is required"); + } + req.setBody(Optional.ofNullable(serializedRequestBody)); + req.addHeader("Accept", "application/json").addHeader("user-agent", SDKConfiguration.USER_AGENT); + _headers.forEach((k, list) -> list.forEach(v -> req.addHeader(k, v))); + Utils.configureSecurity(req, this.sdkConfiguration.securitySource().getSecurity()); + + return req.build(); + } + } + + public static class Sync extends Base + implements RequestOperation { + public Sync(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + super(sdkConfiguration, options, _headers); + } + + private HttpRequest onBuildRequest(UpdateLeadCatcherRequest request) throws Exception { + HttpRequest req = buildRequest( + request, UpdateLeadCatcherRequest.class, new TypeReference() {}); + return sdkConfiguration.hooks().beforeRequest(createBeforeRequestContext(), req); + } + + private HttpResponse onError(HttpResponse response, Exception error) + throws Exception { + return sdkConfiguration + .hooks() + .afterError(createAfterErrorContext(), Optional.ofNullable(response), Optional.ofNullable(error)); + } + + private HttpResponse onSuccess(HttpResponse response) throws Exception { + return sdkConfiguration.hooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public HttpResponse doRequest(UpdateLeadCatcherRequest request) { + Retries retries = Retries.builder() + .action(() -> { + HttpRequest r; + try { + r = onBuildRequest(request); + } catch (Exception e) { + throw new NonRetryableException(e); + } + try { + HttpResponse httpRes = client.send(r); + if (Utils.statusCodeMatches( + httpRes.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(httpRes, null); + } + return httpRes; + } catch (Exception e) { + return onError(null, e); + } + }) + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .build(); + return unchecked(() -> onSuccess(retries.run())).get(); + } + + @Override + public UpdateLeadCatcherResponse handleResponse(HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + UpdateLeadCatcherResponse.Builder resBuilder = UpdateLeadCatcherResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + UpdateLeadCatcherResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withExistingLeadCatcher( + Utils.unmarshal(response, new TypeReference() {})); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse12.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + throw APIException.from("API error occurred", response); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + throw APIException.from("API error occurred", response); + } + throw APIException.from("Unexpected status code received: " + response.statusCode(), response); + } + } + + public static class Async extends Base + implements AsyncRequestOperation< + UpdateLeadCatcherRequest, com.cvent.models.operations.async.UpdateLeadCatcherResponse> { + private final ScheduledExecutorService retryScheduler; + + public Async( + @Nonnull SDKConfiguration sdkConfiguration, + @Nullable Options options, + @Nullable ScheduledExecutorService retryScheduler, + Headers _headers) { + super(sdkConfiguration, options, _headers); + this.retryScheduler = retryScheduler; + } + + private CompletableFuture onBuildRequest(UpdateLeadCatcherRequest request) throws Exception { + HttpRequest req = buildRequest( + request, UpdateLeadCatcherRequest.class, new TypeReference() {}); + return this.sdkConfiguration.asyncHooks().beforeRequest(createBeforeRequestContext(), req); + } + + private CompletableFuture> onError(HttpResponse response, Throwable error) { + return this.sdkConfiguration.asyncHooks().afterError(createAfterErrorContext(), response, error); + } + + private CompletableFuture> onSuccess(HttpResponse response) { + return this.sdkConfiguration.asyncHooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public CompletableFuture> doRequest(UpdateLeadCatcherRequest request) { + AsyncRetries retries = AsyncRetries.builder() + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .scheduler(retryScheduler) + .build(); + return retries.retry(() -> unchecked(() -> onBuildRequest(request)) + .get() + .thenCompose(client::sendAsync) + .handle((resp, err) -> { + if (err != null) { + return onError(null, err); + } + if (Utils.statusCodeMatches(resp.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(resp, null); + } + return CompletableFuture.completedFuture(resp); + }) + .thenCompose(Function.identity())) + .thenCompose(this::onSuccess); + } + + @Override + public CompletableFuture handleResponse( + HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + com.cvent.models.operations.async.UpdateLeadCatcherResponse.Builder resBuilder = + com.cvent.models.operations.async.UpdateLeadCatcherResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.cvent.models.operations.async.UpdateLeadCatcherResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withExistingLeadCatcher); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + return Utils.createAsyncApiError(response, "Unexpected status code received: " + response.statusCode()); + } + } +} diff --git a/packages/java/src/main/java/com/cvent/operations/UpdateVenueAmenities.java b/packages/java/src/main/java/com/cvent/operations/UpdateVenueAmenities.java new file mode 100644 index 000000000..841587054 --- /dev/null +++ b/packages/java/src/main/java/com/cvent/operations/UpdateVenueAmenities.java @@ -0,0 +1,309 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.cvent.operations; + +import static com.cvent.operations.Operations.AsyncRequestOperation; +import static com.cvent.operations.Operations.RequestOperation; +import static com.cvent.utils.Exceptions.unchecked; + +import com.cvent.SDKConfiguration; +import com.cvent.SecuritySource; +import com.cvent.models.components.ExistingVenueAmenities; +import com.cvent.models.errors.APIException; +import com.cvent.models.errors.ErrorResponse12; +import com.cvent.models.operations.UpdateVenueAmenitiesRequest; +import com.cvent.models.operations.UpdateVenueAmenitiesResponse; +import com.cvent.utils.AsyncRetries; +import com.cvent.utils.BackoffStrategy; +import com.cvent.utils.Blob; +import com.cvent.utils.HTTPClient; +import com.cvent.utils.HTTPRequest; +import com.cvent.utils.Headers; +import com.cvent.utils.Hook.AfterErrorContextImpl; +import com.cvent.utils.Hook.AfterSuccessContextImpl; +import com.cvent.utils.Hook.BeforeRequestContextImpl; +import com.cvent.utils.NonRetryableException; +import com.cvent.utils.Options; +import com.cvent.utils.Retries; +import com.cvent.utils.RetryConfig; +import com.cvent.utils.SerializedBody; +import com.cvent.utils.Utils; +import com.cvent.utils.Utils.JsonShape; +import com.fasterxml.jackson.core.type.TypeReference; +import jakarta.annotation.Nonnull; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Exception; +import java.lang.IllegalArgumentException; +import java.lang.Object; +import java.lang.String; +import java.lang.Throwable; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.util.List; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; + +public class UpdateVenueAmenities { + + abstract static class Base { + final SDKConfiguration sdkConfiguration; + final String baseUrl; + final SecuritySource securitySource; + final List retryStatusCodes; + final RetryConfig retryConfig; + final HTTPClient client; + final Headers _headers; + + public Base(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + this.sdkConfiguration = sdkConfiguration; + this._headers = _headers; + this.baseUrl = this.sdkConfiguration.serverUrl(); + this.securitySource = this.sdkConfiguration.securitySource(); + Optional.ofNullable(options).ifPresent(o -> o.validate(List.of(Options.Option.RETRY_CONFIG))); + this.retryStatusCodes = List.of("502", "503", "504"); + this.retryConfig = Optional.ofNullable(options) + .flatMap(Options::retryConfig) + .or(sdkConfiguration::retryConfig) + .orElse(RetryConfig.builder() + .backoff(BackoffStrategy.builder() + .initialInterval(2000, TimeUnit.MILLISECONDS) + .maxInterval(16000, TimeUnit.MILLISECONDS) + .baseFactor((double) (2)) + .maxElapsedTime(40000, TimeUnit.MILLISECONDS) + .retryConnectError(true) + .build()) + .build()); + this.client = this.sdkConfiguration.client(); + } + + Optional securitySource() { + return Optional.ofNullable(this.securitySource); + } + + BeforeRequestContextImpl createBeforeRequestContext() { + return new BeforeRequestContextImpl( + this.sdkConfiguration, + this.baseUrl, + "updateVenueAmenities", + java.util.Optional.of(java.util.List.of("venue/amenities:write")), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "updateVenueAmenities", + java.util.Optional.of(java.util.List.of("venue/amenities:write")), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "updateVenueAmenities", + java.util.Optional.of(java.util.List.of("venue/amenities:write")), + securitySource()); + } + + HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { + String url = Utils.generateURL(klass, this.baseUrl, "/venues/{venueId}/amenities", request, null); + HTTPRequest req = new HTTPRequest(url, "PUT"); + Object convertedRequest = Utils.convertToShape(request, JsonShape.DEFAULT, typeReference); + SerializedBody serializedRequestBody = + Utils.serializeRequestBody(convertedRequest, "existingVenueAmenities", "json", false); + if (serializedRequestBody == null) { + throw new IllegalArgumentException("Request body is required"); + } + req.setBody(Optional.ofNullable(serializedRequestBody)); + req.addHeader("Accept", "application/json").addHeader("user-agent", SDKConfiguration.USER_AGENT); + _headers.forEach((k, list) -> list.forEach(v -> req.addHeader(k, v))); + Utils.configureSecurity(req, this.sdkConfiguration.securitySource().getSecurity()); + + return req.build(); + } + } + + public static class Sync extends Base + implements RequestOperation { + public Sync(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, Headers _headers) { + super(sdkConfiguration, options, _headers); + } + + private HttpRequest onBuildRequest(UpdateVenueAmenitiesRequest request) throws Exception { + HttpRequest req = buildRequest( + request, UpdateVenueAmenitiesRequest.class, new TypeReference() {}); + return sdkConfiguration.hooks().beforeRequest(createBeforeRequestContext(), req); + } + + private HttpResponse onError(HttpResponse response, Exception error) + throws Exception { + return sdkConfiguration + .hooks() + .afterError(createAfterErrorContext(), Optional.ofNullable(response), Optional.ofNullable(error)); + } + + private HttpResponse onSuccess(HttpResponse response) throws Exception { + return sdkConfiguration.hooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public HttpResponse doRequest(UpdateVenueAmenitiesRequest request) { + Retries retries = Retries.builder() + .action(() -> { + HttpRequest r; + try { + r = onBuildRequest(request); + } catch (Exception e) { + throw new NonRetryableException(e); + } + try { + HttpResponse httpRes = client.send(r); + if (Utils.statusCodeMatches( + httpRes.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(httpRes, null); + } + return httpRes; + } catch (Exception e) { + return onError(null, e); + } + }) + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .build(); + return unchecked(() -> onSuccess(retries.run())).get(); + } + + @Override + public UpdateVenueAmenitiesResponse handleResponse(HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + UpdateVenueAmenitiesResponse.Builder resBuilder = UpdateVenueAmenitiesResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + UpdateVenueAmenitiesResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withExistingVenueAmenities( + Utils.unmarshal(response, new TypeReference() {})); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse12.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + throw APIException.from("API error occurred", response); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + throw APIException.from("API error occurred", response); + } + throw APIException.from("Unexpected status code received: " + response.statusCode(), response); + } + } + + public static class Async extends Base + implements AsyncRequestOperation< + UpdateVenueAmenitiesRequest, com.cvent.models.operations.async.UpdateVenueAmenitiesResponse> { + private final ScheduledExecutorService retryScheduler; + + public Async( + @Nonnull SDKConfiguration sdkConfiguration, + @Nullable Options options, + @Nullable ScheduledExecutorService retryScheduler, + Headers _headers) { + super(sdkConfiguration, options, _headers); + this.retryScheduler = retryScheduler; + } + + private CompletableFuture onBuildRequest(UpdateVenueAmenitiesRequest request) throws Exception { + HttpRequest req = buildRequest( + request, UpdateVenueAmenitiesRequest.class, new TypeReference() {}); + return this.sdkConfiguration.asyncHooks().beforeRequest(createBeforeRequestContext(), req); + } + + private CompletableFuture> onError(HttpResponse response, Throwable error) { + return this.sdkConfiguration.asyncHooks().afterError(createAfterErrorContext(), response, error); + } + + private CompletableFuture> onSuccess(HttpResponse response) { + return this.sdkConfiguration.asyncHooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public CompletableFuture> doRequest(UpdateVenueAmenitiesRequest request) { + AsyncRetries retries = AsyncRetries.builder() + .retryConfig(retryConfig) + .statusCodes(retryStatusCodes) + .scheduler(retryScheduler) + .build(); + return retries.retry(() -> unchecked(() -> onBuildRequest(request)) + .get() + .thenCompose(client::sendAsync) + .handle((resp, err) -> { + if (err != null) { + return onError(null, err); + } + if (Utils.statusCodeMatches(resp.statusCode(), "400", "401", "403", "404", "429", "4XX", "5XX")) { + return onError(resp, null); + } + return CompletableFuture.completedFuture(resp); + }) + .thenCompose(Function.identity())) + .thenCompose(this::onSuccess); + } + + @Override + public CompletableFuture handleResponse( + HttpResponse response) { + String contentType = response.headers().firstValue("Content-Type").orElse("application/octet-stream"); + com.cvent.models.operations.async.UpdateVenueAmenitiesResponse.Builder resBuilder = + com.cvent.models.operations.async.UpdateVenueAmenitiesResponse.builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.cvent.models.operations.async.UpdateVenueAmenitiesResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withExistingVenueAmenities); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "401", "403", "404", "429")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse12.fromAsync(response).thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "4XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + return Utils.createAsyncApiError(response, "Unexpected status code received: " + response.statusCode()); + } + } +} diff --git a/packages/typescript/.speakeasy/gen.lock b/packages/typescript/.speakeasy/gen.lock index ad12b3848..738278c32 100644 --- a/packages/typescript/.speakeasy/gen.lock +++ b/packages/typescript/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: fd015893-3730-4721-bf8d-bb6d3730cc0f management: - docChecksum: 1fd9ebcd59841afef8d06776d975d698 + docChecksum: 983d33abba527021aab132eb1ac91964 docVersion: ea speakeasyVersion: 1.752.0 generationVersion: 2.859.2 - releaseVersion: 1.6.5 - configChecksum: c4c3b05b92e8720c54cda9fda3de72f2 + releaseVersion: 1.6.6 + configChecksum: a7b00208956f1e5097694e5691c9474a repoURL: https://github.com/cvent/rest-sdks repoSubDirectory: packages/typescript published: true @@ -267,7 +267,7 @@ trackedFiles: docs/models/components/alternatequestion.md: last_write_checksum: sha1:29889f0bd8f6fd2307fce9df9600a9f317cfc048 docs/models/components/alternatetraveldetail.md: - last_write_checksum: sha1:a2b653b0d7aa674f9a11820d202e8181efe80226 + last_write_checksum: sha1:1ee620058f8ca1429ba9bfa45575d1a7cec1bd2d docs/models/components/alternatetraveldetailrequestertype.md: last_write_checksum: sha1:b5068a39fcb991b536513d66c30c993bcd2b26b7 docs/models/components/alternatetravelpaginatedresponse.md: @@ -634,7 +634,7 @@ trackedFiles: last_write_checksum: sha1:57507f17ebca93b836f8549cda07c75813f44992 docs/models/components/attendeeupdate.md: id: c467f025b22f - last_write_checksum: sha1:385c45c9a5fbe858b58767b469ecc582e537a08f + last_write_checksum: sha1:300f34d11bfb2e5469b34bcb8d73debc7d317ff4 pristine_git_object: a42d8e724194971bcfb4aa0e29b11273f1bd4091 docs/models/components/attendeeupdateadministrator.md: id: 461db9e0d445 @@ -661,7 +661,7 @@ trackedFiles: last_write_checksum: sha1:7b48d6373b66aa6a31cfcaa3e5800c99d1fb79e9 pristine_git_object: 08c791c554fe91a999627c7ac5d77c760e22c93d docs/models/components/attendeeupdatestatus.md: - last_write_checksum: sha1:44b88359d6bda64df44d03ffc8c938a8e3722854 + last_write_checksum: sha1:82c2cc9944fbdeb8856cc0060b8d2cded9d83d22 docs/models/components/attendeevisibility.md: last_write_checksum: sha1:5e139b564dbd28c423edb5a9d6441dde657d1bf5 docs/models/components/attendeeweblinks.md: @@ -1232,10 +1232,10 @@ trackedFiles: last_write_checksum: sha1:455ad89509ff96cf88cf84fe73824e8a9058a13f docs/models/components/contactfieldinput.md: last_write_checksum: sha1:3f970608927c0fe77bae460932108e456208907e + docs/models/components/contactfields.md: + last_write_checksum: sha1:c3615e739479a7a3652c5da316b7b6be6ca6281a docs/models/components/contactfields1.md: - last_write_checksum: sha1:b8959174f5d06133bd9971dac5d4be4724ead2f9 - docs/models/components/contactfields2.md: - last_write_checksum: sha1:14aa2d0739ba4fc6cd3919ee8efb341f93a5808f + last_write_checksum: sha1:8385180cb024c37b7500e600f7c63fb1415dc770 docs/models/components/contactfieldtype.md: last_write_checksum: sha1:0c157f3d8c2c9dbf2edd13ede3edc794c25736d2 docs/models/components/contactfile.md: @@ -1710,7 +1710,7 @@ trackedFiles: pristine_git_object: c943843621eecdc519809cad68a4508761ccd574 docs/models/components/eventattendeesubstituted.md: id: 2942341ca035 - last_write_checksum: sha1:1d5d546392787ec59963ccae522a634cb35fdd7e + last_write_checksum: sha1:76e92aaba7b78473c31796b13786e3fd37b1f5e7 pristine_git_object: edca8786c0ce3a8424f8c70e21030659d32b7e87 docs/models/components/eventattendeesubstitutedevent.md: last_write_checksum: sha1:6b800cb078b4c9e1b9badc54737fa5f6e5234298 @@ -2188,6 +2188,10 @@ trackedFiles: id: b1c59db599bc last_write_checksum: sha1:de8659224a254ca484477a16e5498ddf95a94d1d pristine_git_object: 428924b7fa5b2240a2a7e84a345d4ea7f6a3b185 + docs/models/components/existingleadcatcher.md: + last_write_checksum: sha1:fd1c93f965ce34f2e54b1560bf134b159135abf4 + docs/models/components/existingleadcatcherinput.md: + last_write_checksum: sha1:bef5fa19d9326527b3480af9c325597c56e57585 docs/models/components/existingmeetingroom.md: last_write_checksum: sha1:9e0f165d2a873ea995c6c8fbcb6e6640cc772a70 docs/models/components/existingmeetingroomdimensions.md: @@ -2266,6 +2270,10 @@ trackedFiles: id: 24f6421bfb26 last_write_checksum: sha1:e0172cf84ae39100159836267f6dc2a50d9be929 pristine_git_object: 1afd0be3d43aa4637007da406851a8b2429418cd + docs/models/components/existingvenueamenities.md: + last_write_checksum: sha1:1cdf74d3314cf5a3b01fb88ce1c143e31fe209ce + docs/models/components/existingvenueamenitiesinput.md: + last_write_checksum: sha1:e56dceb4e26ee53fff3b3b5abe8627634d9ca996 docs/models/components/existingvenueattraction.md: last_write_checksum: sha1:aa39226b195df7e5544621b9f41149b59c32e362 docs/models/components/existingvenueavailabilitysettings.md: @@ -2501,7 +2509,7 @@ trackedFiles: docs/models/components/guestroomoccupancy.md: last_write_checksum: sha1:6f7c8c995960c9541ef1dec24a82f2b47035fe2c docs/models/components/guestroomoccupancyperroomtype.md: - last_write_checksum: sha1:f99b3fae77f3e12d0b7ec23a42085c6cae328d43 + last_write_checksum: sha1:aa3224752e138bdd61dbb348f093d350549a7563 docs/models/components/guestroomtype.md: last_write_checksum: sha1:00c5858c547401a448e4e41f744761531d129b3a docs/models/components/hlsinputwithclips.md: @@ -2686,6 +2694,30 @@ trackedFiles: last_write_checksum: sha1:f177935b8b69c84ad04661e6f94d793abdde2c77 docs/models/components/lead2.md: last_write_checksum: sha1:81680a8ef7b963393105e1b2609a594c0c94977c + docs/models/components/leadcatcher.md: + last_write_checksum: sha1:1cc88b8c6a3b8cb81b1d289d1b8d6b05c40b9c1c + docs/models/components/leadcatcheraddress.md: + last_write_checksum: sha1:b53d7c459bb58296dbe4af1b09f3d8c898b244c0 + docs/models/components/leadcatcheraddresscountry.md: + last_write_checksum: sha1:126747a8a8baf35c757a5d2a36c494fbda2197e8 + docs/models/components/leadcatcheraddresspatch.md: + last_write_checksum: sha1:994cedeab5b6a19f6b89f1f289959e60f9897871 + docs/models/components/leadcatcheraddressstateprovince.md: + last_write_checksum: sha1:47278db04edda678c8ae81da302bf4b6c82b36b7 + docs/models/components/leadcatcherconfig.md: + last_write_checksum: sha1:03feaaf993d49eb19bd49c85176967a11e101d52 + docs/models/components/leadcatcherconfigpatch.md: + last_write_checksum: sha1:514964c6e064f7a78e020fd5531d97002a8b4a27 + docs/models/components/leadcatcheroverview.md: + last_write_checksum: sha1:ca9b5da1dece17ffcd45df918e54ecccd63e046e + docs/models/components/leadcatcherpatch.md: + last_write_checksum: sha1:184de06f26fe15d4768356de27c2f69dafe99942 + docs/models/components/leadcatcherpatchcountry.md: + last_write_checksum: sha1:ed04e5edc5bf227459b2374c99a18e712064c49a + docs/models/components/leadcatcherpatchstateprovince.md: + last_write_checksum: sha1:64e49ffca55eec8bab76884c663e993e40e1aec0 + docs/models/components/leadcatchersoverviewresponse.md: + last_write_checksum: sha1:321935db9b333ce580c057dad6d396da4e225a66 docs/models/components/leadinboundcreated.md: id: d973f76d5169 last_write_checksum: sha1:1d5c840d00659d9313952111374e599a0cdd5bb6 @@ -2750,6 +2782,8 @@ trackedFiles: last_write_checksum: sha1:ecb00da8ead7bded23074226e47459f7751ed867 docs/models/components/livestreamstatus.md: last_write_checksum: sha1:153a6c1b7ba909491d3d4895de27fbc5db2038b4 + docs/models/components/localelanguagevariant.md: + last_write_checksum: sha1:2decc7e550a81d587dc87f182b66c5644d7cdcf8 docs/models/components/location1.md: last_write_checksum: sha1:24dbcd3ffeb27bbfe5b8e68474ced2767e1013b1 docs/models/components/location1input.md: @@ -3001,7 +3035,7 @@ trackedFiles: docs/models/components/paginatedrfpcustomfield.md: last_write_checksum: sha1:10c3ec58f2f2f3c06426b095046d503c31b12585 docs/models/components/paginatedrfpquestions.md: - last_write_checksum: sha1:15b644f0d1b4a59b2bffee94ca1750a2d2af9d5e + last_write_checksum: sha1:fe61c2d878de217e79dd72d5bed9f0ef10bfd007 docs/models/components/paginatedrfprecipientshistory.md: last_write_checksum: sha1:345ec44e0b6ea251ac06f87eb0ab4bd2c5bbb713 docs/models/components/paginatedrfpsuppliers.md: @@ -3334,7 +3368,7 @@ trackedFiles: pristine_git_object: 277575c8eca1352ac8db50bf111bd446729163ed docs/models/components/questionspaginatedresponse1.md: id: a9d0b213e15f - last_write_checksum: sha1:eb83eaef909d8f4a1df3db029376006c5dfd87b2 + last_write_checksum: sha1:155b5c3f2b8f9715a011167a22d02d85414b5a86 pristine_git_object: 78be6cb5bbdfc84ea22f0dab931cf91d3474782e docs/models/components/questiontype.md: last_write_checksum: sha1:fe4060ea265473268410c25412702258936ccc18 @@ -3346,6 +3380,10 @@ trackedFiles: last_write_checksum: sha1:0307fda40e59a33ecdeeefc33a15684c1082550b docs/models/components/questiontypejson.md: last_write_checksum: sha1:4d8275f5c9fa485c8c47aca2521f615595a7717e + docs/models/components/questionwithprogramid.md: + last_write_checksum: sha1:e466fc67a640f482bffb69fe7aff5fc7d485b97b + docs/models/components/questionwithprogramidtravelprogram.md: + last_write_checksum: sha1:fead66e9d7a5a0b2b12e9aa62c4ea740adeee2be docs/models/components/rate.md: id: 2b4408495589 last_write_checksum: sha1:00abb3e0505a977bad5cc0c51e4cd8e67c3ad546 @@ -3565,7 +3603,7 @@ trackedFiles: docs/models/components/rfp1.md: last_write_checksum: sha1:6e11e44918b7c61819a476a67c5d9056a5441e1a docs/models/components/rfp2.md: - last_write_checksum: sha1:a7069d52e68875bd499e679d8e6aaec8668673f1 + last_write_checksum: sha1:fdc72204306c01250b25f44275273e53ec5a6247 docs/models/components/rfpagendaitem.md: last_write_checksum: sha1:2ece2ed85c98d1086a8f9756918979e39c2ca544 docs/models/components/rfpagendaitemschedule.md: @@ -3597,7 +3635,7 @@ trackedFiles: docs/models/components/rfppastevents.md: last_write_checksum: sha1:2f301e98eb39551874ec662fff876be85da5f809 docs/models/components/rfpquestion.md: - last_write_checksum: sha1:71e1aafc8cc88ac4db758e0efba3a94106062f32 + last_write_checksum: sha1:bf7cb646ab327d1bb428907f9bda1918e9b4d5bb docs/models/components/rfprecipientlogentry.md: last_write_checksum: sha1:ac09ef02d1b98a5d047b1d41370dba3f1e2b45ff docs/models/components/rfprecipientlogentrymessage.md: @@ -3616,8 +3654,8 @@ trackedFiles: last_write_checksum: sha1:4880fc8214ad2956d471281127f766bfcda2b1da docs/models/components/rfpsupplierstatus.md: last_write_checksum: sha1:883e38b69b45ad6101297730bff4248c8038c3b8 - docs/models/components/rfptype1.md: - last_write_checksum: sha1:5c88a589c310bb7a21cb6c12b9761fae32d617c0 + docs/models/components/rfptype.md: + last_write_checksum: sha1:6305e61963bd386eb23767e47169f63c93cb8cfa docs/models/components/roomattendeetype.md: last_write_checksum: sha1:613037ba664fb8c74e969dba1808b7464e3f45be docs/models/components/roombedtype1.md: @@ -4362,7 +4400,7 @@ trackedFiles: pristine_git_object: 9c4ab1204b9cacc8e0f249f313775a87c18b87ba docs/models/components/travelprogram.md: id: bf902c1c5eca - last_write_checksum: sha1:b8ae6299cb48acec5c509167cc52fc826cb73408 + last_write_checksum: sha1:97ebb51bb090150e4def98d2f309698b89d8906f pristine_git_object: 7b7a9b3f8d524748a337f993d36a93e1d06d43ec docs/models/components/travelprogramformattype.md: last_write_checksum: sha1:2549cdd20bd809598d20782ae729ef0d30186c33 @@ -4371,11 +4409,7 @@ trackedFiles: last_write_checksum: sha1:1b7e1686926ce291ad0eeb364e52adbead39b72e pristine_git_object: 2817a41589b4e0a7fd98515a1fc66fc086e0fc18 docs/models/components/travelprogramquestion.md: - last_write_checksum: sha1:bc5473e78a8a80340798d26a7a42ff43f2f994d0 - docs/models/components/travelprogramquestion1.md: - last_write_checksum: sha1:5fd941184203c117af7fd64a437c51568bbd743b - docs/models/components/travelprogramquestiontravelprogram.md: - last_write_checksum: sha1:e418499130bfd749e2c093254d3b0e4affe20dd1 + last_write_checksum: sha1:995e9123ea7c8448a274ba580a67d85fb2273ee4 docs/models/components/travelprogramstatus.md: last_write_checksum: sha1:284c4557e84d664a005051c881b12056d8208913 docs/models/components/travelprogramstaytype.md: @@ -4441,7 +4475,7 @@ trackedFiles: docs/models/components/travelrequeststatus.md: last_write_checksum: sha1:bdbe4c6ba42ccd61c38132ede98d1f6e3c22ffe3 docs/models/components/traveltype.md: - last_write_checksum: sha1:c4204ef4ec1cfdcc34c65b6894697e5a2ae39948 + last_write_checksum: sha1:fb0e891b9a62ed147e8c2669d67f0649ef31e42f docs/models/components/typeallof.md: last_write_checksum: sha1:7168db1a763f9751a66bcec0cf09ae9cdd8b3a14 docs/models/components/typeinput.md: @@ -4528,6 +4562,36 @@ trackedFiles: id: f262f29400df last_write_checksum: sha1:464ba9b63ecb1387154b703336cb1aad3b7f8c96 pristine_git_object: 720e571f59d8354e66f30230c3cf0fdd6e87fe66 + docs/models/components/venueamenityalcohol.md: + last_write_checksum: sha1:2e28ecfef10cab1ce74baf7deb4d38597b433bdd + docs/models/components/venueamenityavcapability.md: + last_write_checksum: sha1:89082e971cfeff39a3f9279c22cfbb5ea5039dd8 + docs/models/components/venueamenityavcapabilityitem.md: + last_write_checksum: sha1:eecdde3c37b9bc25d47758bed47561e86636151d + docs/models/components/venueamenitybusinessservice.md: + last_write_checksum: sha1:f7a620dc617f3110883a02fbbef2be611c6f823c + docs/models/components/venueamenitycateringdetail.md: + last_write_checksum: sha1:676eecf8b15b0d44fecf11226474a3075c865d4b + docs/models/components/venueamenityequipment.md: + last_write_checksum: sha1:7487dfe527d9e9bd79ada607c5300e77af3cc93e + docs/models/components/venueamenityfacilityinfo.md: + last_write_checksum: sha1:e21e932e01cec53e45db984ef65761bd3458c0a8 + docs/models/components/venueamenityfacilityspace.md: + last_write_checksum: sha1:de4a13b0431f1df66477effac617fec964db5c25 + docs/models/components/venueamenityfacilityspaceitem.md: + last_write_checksum: sha1:0af3b85beefe8acfb9fbe36d881b599240be365e + docs/models/components/venueamenityparking.md: + last_write_checksum: sha1:ee6219777b516f2e762fee7919febdb985906c7e + docs/models/components/venueamenityparkingitem.md: + last_write_checksum: sha1:0a12c225bb22c0062e73769d9080e5976a2f4f9a + docs/models/components/venueamenityprovisionpolicy.md: + last_write_checksum: sha1:a3d9a14158cbf78126e00aec2468a3c0d25710fe + docs/models/components/venueamenityrecreationalactivity.md: + last_write_checksum: sha1:bf7f45314061cec24b4cbbe67984bc011497e36d + docs/models/components/venueamenityroomfeature.md: + last_write_checksum: sha1:c73314ff4fdca032ac9fd93e378dabae3c54d1ba + docs/models/components/venueamenitytransportation.md: + last_write_checksum: sha1:6daf823912dedf5df6174421d434c57d5dba4b0a docs/models/components/venueattraction.md: last_write_checksum: sha1:d9472a75619ab7c73ce4631967a48854084b2c66 docs/models/components/venueattractionspaginatedresponse.md: @@ -4910,6 +4974,10 @@ trackedFiles: id: bb45ea0fd29d last_write_checksum: sha1:9d1e785fb523051a54ec8da55c28adce2477f19a pristine_git_object: 2a2d85e07a85d8de8387b79f1ee4fb0c0df65f1e + docs/models/operations/createleadcatcherrequest.md: + last_write_checksum: sha1:e81310a81295994be6c4a2b7f8bc5fa73268d74a + docs/models/operations/createleadcatcherresponse.md: + last_write_checksum: sha1:b600b3417d34a005e43e2d26695370de258c6606 docs/models/operations/createmeetingrequestrequest.md: id: 76fd59d1b815 last_write_checksum: sha1:567697385ada8f52aa7d81291a877a102180bd07 @@ -5038,6 +5106,8 @@ trackedFiles: id: 79fe6b9ae533 last_write_checksum: sha1:00bd158195e8bf417ea5cf395f752518e86e9599 pristine_git_object: 91af2ea18b85bb17483dcaeb92435cdb7f576a65 + docs/models/operations/deleteleadcatcherrequest.md: + last_write_checksum: sha1:239c31afe5301b0fe4e1d5929908e0f5b7ddc924 docs/models/operations/deletepaymentrequest.md: id: 56e4c96ffcca last_write_checksum: sha1:011bb1c994fed1b192d3dee901bfa065bff61262 @@ -5612,7 +5682,7 @@ trackedFiles: pristine_git_object: 46de373144ddbdef153e1dda11e486712c235b2f docs/models/operations/gethousingeventhotelavailabilityrequest.md: id: 929d4ba7e823 - last_write_checksum: sha1:957c58c7f15c9154ea70cc0080d28d7ef8679a3d + last_write_checksum: sha1:9dacdb8b4eac49b58cb0d0f99a0f39155afe1ac8 pristine_git_object: 622d739714e03d04c9ab093d09221ec5355a243b docs/models/operations/gethousingeventhotelrequest.md: id: 539df8696c7d @@ -5674,6 +5744,8 @@ trackedFiles: id: 4280aee845e5 last_write_checksum: sha1:804573051abc40ff561911db665aa807f5c8ada1 pristine_git_object: 1f48195bfd3dc182c578007815fb53d1cf4a77f9 + docs/models/operations/getleadcatcheroverviewrequest.md: + last_write_checksum: sha1:99b4412277c2e1904eb590f022c6ff00fd60bda7 docs/models/operations/getleadqualificationanswersrequest.md: id: fa4f9c614d58 last_write_checksum: sha1:7b1ece24719365e16d73bd849f86a699f8fc7b8b @@ -6006,6 +6078,8 @@ trackedFiles: id: a9d484e15f97 last_write_checksum: sha1:55e27d24d5b29106a4b3c3ade1e4f7c045f6cc5d pristine_git_object: d324dc0bccdad50e5cfd1efc652fc7d1ab09c4ed + docs/models/operations/getvenueamenitiesrequest.md: + last_write_checksum: sha1:e43a4700310882f54c303294f00a2e9d448f8b76 docs/models/operations/getvenueattractionrequest.md: last_write_checksum: sha1:e673b68372e9faecb1e554ebe80845a48ea212f8 docs/models/operations/getvenueavailabilitysettingsrequest.md: @@ -6128,7 +6202,7 @@ trackedFiles: pristine_git_object: 1104f5ff90e1c287a2353a073ab4843f4f5549a6 docs/models/operations/listattendeespostfilterrequest.md: id: add611bd45a5 - last_write_checksum: sha1:4d5bed1ae65fc1d1ba956391844f4f9710887c74 + last_write_checksum: sha1:c117431b441e079bf246f2e0f909d9a2a2c3d021 pristine_git_object: 8f89fb0ff8086e20bc93ae9eae2cbe7d60aefb50 docs/models/operations/listattendeespostfilterresponse.md: id: 3195c54a30e8 @@ -6382,6 +6456,10 @@ trackedFiles: id: b9cc102986f7 last_write_checksum: sha1:d3470d1e0a4d59e933caaeae5f561e4cf6663272 pristine_git_object: 5a35083cb6b1e04edb4ce78a92bd824be05a7eb2 + docs/models/operations/listleadcatchersoverviewrequest.md: + last_write_checksum: sha1:a1d54af2158f041b8b13b7bb57e290386b034bcb + docs/models/operations/listleadcatchersoverviewresponse.md: + last_write_checksum: sha1:0cb2b6684521d3b0496941a328be8ca52d229b4e docs/models/operations/listlocationsrequest.md: id: 98bdbda40773 last_write_checksum: sha1:805457f5ff1701c767100d8d3ebd8f6625e2693b @@ -6527,7 +6605,7 @@ trackedFiles: docs/models/operations/listrfpquestionsrequest.md: last_write_checksum: sha1:585b4cc7cf4c2b61ad66060d07b034904a7428f9 docs/models/operations/listrfpquestionsresponse.md: - last_write_checksum: sha1:49495b003d9de713e9785e63e723c4488e81cd16 + last_write_checksum: sha1:4956708752923c3fa1f84ceb89e2e46c0fe5d780 docs/models/operations/listrfprecipientshistoryrequest.md: last_write_checksum: sha1:3089a4caa2f55aa21f59b06f8c66c52f44cd8624 docs/models/operations/listrfprecipientshistoryresponse.md: @@ -6818,6 +6896,8 @@ trackedFiles: id: 98cdd704eb1d last_write_checksum: sha1:bf5ddc9d9391851334e3c5f6882fcf8f86193673 pristine_git_object: 22c3861f1323f24c6320901a204f217b7c5fc970 + docs/models/operations/patchleadcatcherrequest.md: + last_write_checksum: sha1:9f4c4346560e1f1a9a9ff0115abbde09a9882091 docs/models/operations/patchmeetingroomrequest.md: last_write_checksum: sha1:6a59aac99189b8e56e148f9d33a745e46c73e41a docs/models/operations/patchvenuedetailsrequest.md: @@ -7054,6 +7134,8 @@ trackedFiles: id: 3831e2d293b7 last_write_checksum: sha1:b8704ba37acbcb6825796efe2b2e33191e9cc02a pristine_git_object: b0b7e1183107bd99c60dfdbd98a69eddba631909 + docs/models/operations/updateleadcatcherrequest.md: + last_write_checksum: sha1:5266b296994c328c4911024447ca658545dcc56b docs/models/operations/updatemeetingrequestrequest.md: id: 849ea65758a8 last_write_checksum: sha1:beffe22f91594c47cf7cbf9f5d7268983a1b4ead @@ -7120,6 +7202,8 @@ trackedFiles: id: 5d3d618e0abd last_write_checksum: sha1:4f61fa0ca81dd51393bc46709aae849fbaebb4a7 pristine_git_object: 732637f7b05dd7993abb3c861b633ab6621f1abf + docs/models/operations/updatevenueamenitiesrequest.md: + last_write_checksum: sha1:177e326c0315567110e3fdd07e4a539c8c94d562 docs/models/operations/updatevenueattractionrequest.md: last_write_checksum: sha1:301df7611f75a0988bae6868c212abbbfb2bbcab docs/models/operations/updatevenueavailabilitysettingsrequest.md: @@ -7160,7 +7244,7 @@ trackedFiles: pristine_git_object: 218b7aa4fa338ef11fce8fce8d607ea54349bae4 docs/sdks/attendees/README.md: id: 99bffbf21091 - last_write_checksum: sha1:5134d1d47f711168e10bfd3900cfacfdf389336d + last_write_checksum: sha1:4f0171362240fa83c699ecafff48565a193f98f2 pristine_git_object: 4da121cd436059b30317be44ebec532eb5c2fd16 docs/sdks/audiencesegments/README.md: id: a2ccf2d6ee02 @@ -7236,7 +7320,7 @@ trackedFiles: pristine_git_object: 6e8c3cc5e952f1e51b9e5193e804b3bf49239149 docs/sdks/eventtravel/README.md: id: d7533cadf8e6 - last_write_checksum: sha1:23b8ca2ecb7b2209e9a87ec1c1022efa235d3662 + last_write_checksum: sha1:086c4d93f83051f4d128164e1d358322fcc5b2f4 pristine_git_object: ba30d18596ed809f184758fe7bd7f4930ea10bb0 docs/sdks/exhibitor/README.md: id: cb0578099210 @@ -7260,7 +7344,7 @@ trackedFiles: pristine_git_object: 8fcb0f582a0da28cb479d6d834af0b93fe473647 docs/sdks/housing/README.md: id: 23d65d817ab8 - last_write_checksum: sha1:3dac68bd3755d2ba9af1e75432036abd4b27c31b + last_write_checksum: sha1:f50afcbbc6c94d37c86a39285e9a7dff0d7c7dd7 pristine_git_object: ff0b2fc6e7bc9a53f0eafef083353e1ee927d4c0 docs/sdks/housinghotels/README.md: id: d04ff5412c59 @@ -7341,7 +7425,9 @@ trackedFiles: docs/sdks/venueavailability/README.md: last_write_checksum: sha1:95886c2e1fc0fd529f6fb01c9175db1ac09a41b6 docs/sdks/venuecontent/README.md: - last_write_checksum: sha1:86cf5d3a61e268a4192d77cfc0c7fade43bde6fa + last_write_checksum: sha1:47af171c5524927e9761e6a43e72b7b36d692b64 + docs/sdks/venueleads/README.md: + last_write_checksum: sha1:3053df81393e5375d7d035be895b83cf2b67e1bb docs/sdks/venuemeetingrooms/README.md: last_write_checksum: sha1:4ecbca608647821ec21c0803e7c42c23cef9dfc4 docs/sdks/venueprofiles/README.md: @@ -7380,11 +7466,11 @@ trackedFiles: pristine_git_object: 80795a72645811f07559dbfd91e59131f127b3d4 jsr.json: id: 7f6ab7767282 - last_write_checksum: sha1:f2d760f53331d450c58c6360a5a5c98f2d0b0a73 + last_write_checksum: sha1:1ef01b10a0584ae562598b8b74b81d350dd8f33a pristine_git_object: 3f8c18265e80f8c46d349b3a7d92f1a61f1d2dc9 package.json: id: 7030d0b2f71b - last_write_checksum: sha1:c4ad8a816872398dd0f21913bd1b57a73e43a709 + last_write_checksum: sha1:5e0ee3779f37c4e611f15aefb78f3ad50ed72977 pristine_git_object: 3474c00ef1d014883367c7bbeca6cbe6e330ca41 src/core.ts: id: f431fdbcd144 @@ -7520,7 +7606,7 @@ trackedFiles: pristine_git_object: 12c2fd11567593efd79d7b734bb82eec4d5127cd src/funcs/attendeesListAttendeesPostFilter.ts: id: a81e7998b081 - last_write_checksum: sha1:f7e5188d17bcc3f18ea7650cf8bafec5fa32381a + last_write_checksum: sha1:30c6086e9849e44ed3a5833630dcda3150fe81f0 pristine_git_object: 850da487358da0ca91185f70b46dd7a9c88bc05f src/funcs/attendeesListDurations.ts: id: eefe5c02051b @@ -7985,7 +8071,7 @@ trackedFiles: last_write_checksum: sha1:9aeb2f903101d2cdf53f4a31ded627800d06bf00 pristine_git_object: 69221742f66fb8cabac10ba36a1c0c2673700c45 src/funcs/eventTravelGetAlternateTravelAnswers.ts: - last_write_checksum: sha1:f4252fd0e4e42c5839eca369a2bba882d8f4d62d + last_write_checksum: sha1:8413cb3f8867090dcd7c9a8a5fd132e783a36972 src/funcs/eventTravelGetHotelRequests.ts: id: 967b5cdd696e last_write_checksum: sha1:54969c6a13d62dd9d44602d60ab82af7396ae363 @@ -9120,6 +9206,8 @@ trackedFiles: last_write_checksum: sha1:fdf36721b1a43fb0eb4cfa3ed52b3c778519297b src/funcs/venueContentGetAttractionImages.ts: last_write_checksum: sha1:284c8bbced51655bd409d0b13626c14d27cb01c9 + src/funcs/venueContentGetVenueAmenities.ts: + last_write_checksum: sha1:5140c9cef35ab76de66770999e23dfb5c5694aed src/funcs/venueContentGetVenueAttraction.ts: last_write_checksum: sha1:68699e6b3cd844ea8f122367f28c19b3c0c92be4 src/funcs/venueContentGetVenueImageMetadata.ts: @@ -9128,10 +9216,24 @@ trackedFiles: last_write_checksum: sha1:7612b95e43bf72d68854418c29555ed971f851aa src/funcs/venueContentListVenueImagesMetadata.ts: last_write_checksum: sha1:5e01f3d0c2723207f1e7160d8ecbeae47d0a9e69 + src/funcs/venueContentUpdateVenueAmenities.ts: + last_write_checksum: sha1:9a600a6d4d799a6c0244918288de7c51b5b7451d src/funcs/venueContentUpdateVenueAttraction.ts: last_write_checksum: sha1:34b6edbaf341e4712b662e9bd422e543d53c3bdc src/funcs/venueContentUpdateVenueImageMetadata.ts: last_write_checksum: sha1:5dea0d6b0c9e4844bd0699bea8be9d599e6004f4 + src/funcs/venueLeadsCreateLeadCatcher.ts: + last_write_checksum: sha1:2062b588e4f306bb4b27fdaeca33ca2172ad2b66 + src/funcs/venueLeadsDeleteLeadCatcher.ts: + last_write_checksum: sha1:96099722c635898f286930ebe18c9a8721170bd8 + src/funcs/venueLeadsGetLeadCatcherOverview.ts: + last_write_checksum: sha1:214862dd3a789d4944c623c5a55fd89f1c6c3c56 + src/funcs/venueLeadsListLeadCatchersOverview.ts: + last_write_checksum: sha1:59d706a2414c5f5a9c083a9ab35d28c6efe14fc5 + src/funcs/venueLeadsPatchLeadCatcher.ts: + last_write_checksum: sha1:6413fef138c9891a57b50ced72277ec84e162cd7 + src/funcs/venueLeadsUpdateLeadCatcher.ts: + last_write_checksum: sha1:483816940c4d6af59fd44ef498d601598d2f2705 src/funcs/venueMeetingRoomsAssociateMeetingRoomImage.ts: last_write_checksum: sha1:238a2c9bb052a53c6f7ed932963b59a7c000dbb8 src/funcs/venueMeetingRoomsCreateMeetingRoom.ts: @@ -9248,7 +9350,7 @@ trackedFiles: pristine_git_object: f60ec7acd76141a71d78008c5a362eb0236d8335 src/hooks/oauth2scopes.ts: id: a709b8ce2ddb - last_write_checksum: sha1:b0bec6532636c5fd71c88b7638c43043532ce903 + last_write_checksum: sha1:114a1126111e4d274af2700d7a22e89b46b21a1a pristine_git_object: 2833d1e6072486c630391f889efb521f5ff51a91 src/hooks/types.ts: id: 2a02d86ec24f @@ -9264,7 +9366,7 @@ trackedFiles: pristine_git_object: 0aebd8b0a4867e35cb3348fc52921c3c0b4725b7 src/lib/config.ts: id: 320761608fb3 - last_write_checksum: sha1:3be35bb99016b74eff3427660b4a1baed3ca0e62 + last_write_checksum: sha1:61cc053732b9f447f78ecabb6667c88da6b0620c pristine_git_object: 95847bcf50487c6ea615eb470cacdf861e9ba5e2 src/lib/dlv.ts: id: b1988214835a @@ -9361,7 +9463,7 @@ trackedFiles: src/models/components/activitycontact.ts: last_write_checksum: sha1:0426444bbf0e02e058aa191bf02c351cc6f8112f src/models/components/activitydata.ts: - last_write_checksum: sha1:2560d12bddca694d6f6b15f6038b3c5126a99917 + last_write_checksum: sha1:9f4f802bf346794cb5eec5560527919b41cafbb2 src/models/components/activityexhibitor.ts: last_write_checksum: sha1:b741f64a2c942053959362a26ba79e8dd768dc5f src/models/components/activityexhibitordocument.ts: @@ -9475,7 +9577,7 @@ trackedFiles: src/models/components/alternatequestion.ts: last_write_checksum: sha1:5e2c7571ec34c0c1a879eee23d56ac2a5b35431a src/models/components/alternatetraveldetail.ts: - last_write_checksum: sha1:53ccbfca3e9bd4954f2e0b536c094ca561625048 + last_write_checksum: sha1:42ed4626dbac228944ae300f1525f52c5c5090c9 src/models/components/alternatetravelpaginatedresponse.ts: last_write_checksum: sha1:75f0fda42c24e3f0108f64a4dda7b1a4bcd52685 src/models/components/amenitytype.ts: @@ -9718,10 +9820,10 @@ trackedFiles: last_write_checksum: sha1:17f7dc9e96ac9a992000fbd91edd471457b42124 src/models/components/attendeeupdate.ts: id: e86466aa07ac - last_write_checksum: sha1:14638f2448e6cef8f0dd60a3b5671065155b1da9 + last_write_checksum: sha1:fb56432d137fe028b36eca6fe2756bb08a694a67 pristine_git_object: e1f9790b7e8290790946ee91cf4e3f44423702d9 src/models/components/attendeeupdatestatus.ts: - last_write_checksum: sha1:aee0ea0368be1f1e7c472e56d4523e10e9c16515 + last_write_checksum: sha1:3b5bad3a7300b3f39aa2a4645fef1a2b610c2ac1 src/models/components/attendeevisibility.ts: last_write_checksum: sha1:6e99cb67bafbca96e5743bdb0b06f6ffad638483 src/models/components/attendeeweblinks.ts: @@ -10158,10 +10260,10 @@ trackedFiles: last_write_checksum: sha1:b45a3bcdc0f0329c5eaa1f351471fedf18fd0465 src/models/components/contactfieldinput.ts: last_write_checksum: sha1:00652c94cd4bb2824cf34275adfc761c3b0256ed + src/models/components/contactfields.ts: + last_write_checksum: sha1:08ae3fcacf78436a8df70d7b19e6305990104de8 src/models/components/contactfields1.ts: - last_write_checksum: sha1:36afa572d5eeb26f5d10b041a9c6cde72826cfb5 - src/models/components/contactfields2.ts: - last_write_checksum: sha1:0f2c1e42b0705924b4bc9d618d4eb883622b3500 + last_write_checksum: sha1:4ca3765476e4e41fdcbddd30d78e59ff366130ef src/models/components/contactfile.ts: id: 85e68404a84b last_write_checksum: sha1:a2aadbd8a1c28a5b2b8520841cc863686761d50c @@ -10810,6 +10912,10 @@ trackedFiles: id: 0d07a91a769d last_write_checksum: sha1:5c17e47e84fa63dd2ca4d95c9e2020d86caacd48 pristine_git_object: 7efeaf94210dc490844927bcfbe53c6c8470c2b4 + src/models/components/existingleadcatcher.ts: + last_write_checksum: sha1:7aefbac149d346d9bb48860faff2e6fe6462a754 + src/models/components/existingleadcatcherinput.ts: + last_write_checksum: sha1:bc4e3b1c41398f914bf5e93447a25a181ac9113d src/models/components/existingmeetingroom.ts: last_write_checksum: sha1:42ca6ec9e1154cc77beb721bf031c60438068605 src/models/components/existingmember.ts: @@ -10854,6 +10960,10 @@ trackedFiles: id: e36871f1806c last_write_checksum: sha1:d24d102600559305df89d9e49ee6201dfd91fac4 pristine_git_object: e844a62b395e2bd24ec2260bc2d36e7b9fe8f202 + src/models/components/existingvenueamenities.ts: + last_write_checksum: sha1:0347ba21a42b29ed2f11b37779519fc4cea0d321 + src/models/components/existingvenueamenitiesinput.ts: + last_write_checksum: sha1:6a603efa99636ffaecc722888a7ae12faa3acb78 src/models/components/existingvenueattraction.ts: last_write_checksum: sha1:585096ebaf61ec24a3f5533dba76c4d5541e589b src/models/components/existingvenueavailabilitysettings.ts: @@ -11037,7 +11147,7 @@ trackedFiles: src/models/components/guestroomoccupancy.ts: last_write_checksum: sha1:27f7886d4979e39461cfa37dd752cfe39d18c6d6 src/models/components/guestroomoccupancyperroomtype.ts: - last_write_checksum: sha1:3a8f7ef3e748f6cb75ffed3e9b69ab1ded1b6f90 + last_write_checksum: sha1:5ed960d95e41562db4ec70c42c03303d3670f4c0 src/models/components/guestroomtype.ts: last_write_checksum: sha1:72e601c56c054557fb3dedd6a54e7266325db11b src/models/components/hlsinputwithclips.ts: @@ -11138,7 +11248,7 @@ trackedFiles: last_write_checksum: sha1:6e87482e44b3abe1c9faeac44e9a54832224a19f src/models/components/index.ts: id: 0aa842dce54d - last_write_checksum: sha1:952b346a69f87e89a8d7635417f0d07359a42a10 + last_write_checksum: sha1:00b77af7e41eeb9cb88706c6aea0c7e007d2f62a pristine_git_object: 1636a9903e66817622b1ea5a59afd4c1913879a5 src/models/components/industry1.ts: last_write_checksum: sha1:7fb959e90a20eb113fe328f20182355ca618f930 @@ -11190,6 +11300,18 @@ trackedFiles: last_write_checksum: sha1:fe37485419b3165322b7b32a03984f6d0a2b3ed1 src/models/components/lead2.ts: last_write_checksum: sha1:0ae7a45a77a6bca310a8fbee6c140a4423a42aa0 + src/models/components/leadcatcher.ts: + last_write_checksum: sha1:8e298e7546e4830097f9946e34fbf81ce685a015 + src/models/components/leadcatcheraddress.ts: + last_write_checksum: sha1:799f9eebaf7e79c31d4dcfb0572bcc5ae48f16ff + src/models/components/leadcatcherconfig.ts: + last_write_checksum: sha1:26bf8026311dd6a70e9062075f228f11f67d4254 + src/models/components/leadcatcheroverview.ts: + last_write_checksum: sha1:32c707bcf606a331fce24fbb9ddfe7acff28961c + src/models/components/leadcatcherpatch.ts: + last_write_checksum: sha1:05d71337a3773791c3a2e117de1d5cfd83b0f3cb + src/models/components/leadcatchersoverviewresponse.ts: + last_write_checksum: sha1:d298b76f3815fb83898169888f95cad59f7e8b84 src/models/components/leadobject.ts: last_write_checksum: sha1:87b87e3c2185c58944decbe3e66d68111fb20958 src/models/components/leadqualificationanswers.ts: @@ -11236,6 +11358,8 @@ trackedFiles: last_write_checksum: sha1:0332add0d7586c6492d59cc08890acae9742cdf1 src/models/components/livestreamstatus.ts: last_write_checksum: sha1:13a7df8963c94bdf423befba7d20e3591e40ef1b + src/models/components/localelanguagevariant.ts: + last_write_checksum: sha1:93e4e33d1d9e383500e7b60724007111b32545ef src/models/components/location1.ts: last_write_checksum: sha1:31eb38876090ecf249a459a0cb464994b224322a src/models/components/location1input.ts: @@ -11694,7 +11818,7 @@ trackedFiles: pristine_git_object: c3546b896a2ebd3c2841a7a9b1b6f86645e3ffff src/models/components/questionspaginatedresponse1.ts: id: effd20108747 - last_write_checksum: sha1:c67cd81d386a55306ce48d8cc01a70b018f50c9d + last_write_checksum: sha1:0ae5333b655d851161da23c7306f2cfc3aecda10 pristine_git_object: ad827286a21c11c14aae15e54dc367fab6f9e40f src/models/components/questiontype.ts: last_write_checksum: sha1:9b754772b569ccecd2818eae71c6949339b82293 @@ -11706,6 +11830,8 @@ trackedFiles: last_write_checksum: sha1:39112a0c5cb76da26d675544b5a7dfb80011f6c8 src/models/components/questiontypejson.ts: last_write_checksum: sha1:4786952c38b4c28eb7781a4f01e6025f9b844b41 + src/models/components/questionwithprogramid.ts: + last_write_checksum: sha1:7f9221fb33f089c15f3a03b258cac5909a72024a src/models/components/rateapplicationtype.ts: last_write_checksum: sha1:a1e878d68a0bf55475ec96f8da040931bf577b35 src/models/components/rateleveltype.ts: @@ -11853,7 +11979,7 @@ trackedFiles: src/models/components/rfp1.ts: last_write_checksum: sha1:9908d0ead04b7fcba65e0420f24a965e14e610bf src/models/components/rfp2.ts: - last_write_checksum: sha1:c561b0e6dbeb2107b114b3a2f41860ba9a6cca41 + last_write_checksum: sha1:b9b7c2f5cacc2886c1f357fd9e5cbbbf120e7415 src/models/components/rfpagendaitem.ts: last_write_checksum: sha1:919b1895392790a82c08acc5e7e4daf5aa548d6e src/models/components/rfpagendaitemschedule.ts: @@ -11883,7 +12009,7 @@ trackedFiles: src/models/components/rfppastevents.ts: last_write_checksum: sha1:4e82b5604691c8b915bf154ac90060fd64c3b7f4 src/models/components/rfpquestion.ts: - last_write_checksum: sha1:76f80bf7ed6d13973e8334af101394144bd14844 + last_write_checksum: sha1:64669a958bdaa2171722c634c5e05a674a3fb953 src/models/components/rfprecipientlogentry.ts: last_write_checksum: sha1:88b109719a040d3646d1c7155f0894c9fa648b5f src/models/components/rfpresponsereason.ts: @@ -11894,8 +12020,6 @@ trackedFiles: last_write_checksum: sha1:5600ce5d68942b20abc9ef6eaecba42f0094aaab src/models/components/rfpsupplier.ts: last_write_checksum: sha1:cc5d5dd262ca88744b1206c4413cfa1fa356396b - src/models/components/rfptype1.ts: - last_write_checksum: sha1:a5b3ffa69bdb77afbc9fd30492323329865edef9 src/models/components/roomattendeetype.ts: last_write_checksum: sha1:574238b8d6111b8b4a41b3fce4069ee00f02f2ef src/models/components/roombedtype1.ts: @@ -12396,7 +12520,7 @@ trackedFiles: last_write_checksum: sha1:68557d48dc49b569a300c631b9585f29860f2470 src/models/components/travelprogram.ts: id: 148bcb303972 - last_write_checksum: sha1:3ced61fbe24813df7f5cefb02b64201b29141e1f + last_write_checksum: sha1:4c96c571265d541016540ce7b4a6c1459da45909 pristine_git_object: 20f4284d9e44aa2c09ca36b6f47eb00fc6a4ae82 src/models/components/travelprogramformattype.ts: last_write_checksum: sha1:2e05e5196de7f3a7f42980bb2153b60f431be275 @@ -12405,9 +12529,7 @@ trackedFiles: last_write_checksum: sha1:56be4912e48ef986e2df67bb3f13e916a4c71759 pristine_git_object: 54a83a800fcd51dbac6bdee587fd858f30b21a98 src/models/components/travelprogramquestion.ts: - last_write_checksum: sha1:29f3f5185a539593cd43467d17a48ce4492e389c - src/models/components/travelprogramquestion1.ts: - last_write_checksum: sha1:b43dd41bbcb4999693aaf41c2c27e2fd1601a7d7 + last_write_checksum: sha1:5f539e5fcd27a8d11418b11fe681d69c8d23a7e7 src/models/components/travelprogramstatus.ts: last_write_checksum: sha1:9ae1f08b788d122e6001edd239be772e5ad69f90 src/models/components/travelprogramstaytype.ts: @@ -12536,6 +12658,36 @@ trackedFiles: id: d9dea7f5a4d2 last_write_checksum: sha1:442b7fa2f1eb80d1254e7d40c30e87c36c8ca047 pristine_git_object: 0e47bc80735f3ee2418ec83a59d9b702f57d2811 + src/models/components/venueamenityalcohol.ts: + last_write_checksum: sha1:cc612cec59d884525d61458fbe959c32c96ce98f + src/models/components/venueamenityavcapability.ts: + last_write_checksum: sha1:52c54632ad1f3ec483241113e26f98ae0af4a939 + src/models/components/venueamenityavcapabilityitem.ts: + last_write_checksum: sha1:15ae213cd25bd11043e0a578a44259ad4e5d6518 + src/models/components/venueamenitybusinessservice.ts: + last_write_checksum: sha1:b747cdc0e3d91ff568cc05ab0972a444df7c6758 + src/models/components/venueamenitycateringdetail.ts: + last_write_checksum: sha1:2a3b34d03bd94a6c6a9066d98bc6c83c3bcdc13b + src/models/components/venueamenityequipment.ts: + last_write_checksum: sha1:e182d7db3c2fa1995d33ef3e2e62706cb6a1fb14 + src/models/components/venueamenityfacilityinfo.ts: + last_write_checksum: sha1:a18765d59d2b6075aa15894e042893e1985cf938 + src/models/components/venueamenityfacilityspace.ts: + last_write_checksum: sha1:5903750cb4777abdb13a0c80b86b355773bb030f + src/models/components/venueamenityfacilityspaceitem.ts: + last_write_checksum: sha1:1b510e0d231b0327d8d27518f64b335f29f036e5 + src/models/components/venueamenityparking.ts: + last_write_checksum: sha1:98a65db5134b9b0d16ea5e88e7b0d1b93631a706 + src/models/components/venueamenityparkingitem.ts: + last_write_checksum: sha1:86b417c9d0194b2fcb35c453a3b6cbd108f3d0da + src/models/components/venueamenityprovisionpolicy.ts: + last_write_checksum: sha1:416877fc69d9881dc5e4d1718e8305299f3855ad + src/models/components/venueamenityrecreationalactivity.ts: + last_write_checksum: sha1:460e10529a66673d6d91c2f316721518bda09dfb + src/models/components/venueamenityroomfeature.ts: + last_write_checksum: sha1:fcd7e3ab0148364a409478410838a3c1f70005f1 + src/models/components/venueamenitytransportation.ts: + last_write_checksum: sha1:002e9a4f0e7928b513be26e5ad6eb9bbf5de39c3 src/models/components/venueattraction.ts: last_write_checksum: sha1:0202122da8331e1f339da447b81a53f55eaf6f5a src/models/components/venueattractionspaginatedresponse.ts: @@ -12890,6 +13042,8 @@ trackedFiles: id: 7235fdbdf594 last_write_checksum: sha1:c9fa2dc20429647e199b419ec27cca80e5bb8161 pristine_git_object: ebdc7d98da1f9972f02c65ba72ec9d587578e7c6 + src/models/operations/createleadcatcher.ts: + last_write_checksum: sha1:ab94c6926dee4c01b820c2976f7b19b03fe006f0 src/models/operations/createmeetingrequest.ts: id: 48c26a3808eb last_write_checksum: sha1:67d18e5e7a51a29381c4d6bae3e79cf0f5d00d30 @@ -13010,6 +13164,8 @@ trackedFiles: id: ea59d54d8e45 last_write_checksum: sha1:5f99bbc1f43527e695bd0d2e539da064f1a8b953 pristine_git_object: 5097afde8ea0427173e8db9e64a73c777f82b8db + src/models/operations/deleteleadcatcher.ts: + last_write_checksum: sha1:78b7e0f29f0511e128311d196a47d5142c2c13d3 src/models/operations/deletepayment.ts: id: 2c3d106d826d last_write_checksum: sha1:7e65c635385a393a619204d728cbc9b7011a5155 @@ -13414,7 +13570,7 @@ trackedFiles: pristine_git_object: a0d3c2994a3c60bdf7ca5d5a7eedb487a0827fa4 src/models/operations/gethousingeventhotelavailability.ts: id: 39bdebe3643d - last_write_checksum: sha1:34a2c3a7a0771d97305110ec0b19bb9b8b3874f7 + last_write_checksum: sha1:a52f64b282d7c4a49c997e74ff1df041ab8fcdc9 pristine_git_object: a8d4842b7490ffbb61e9316863e1127e39deba3b src/models/operations/gethousingeventhotels.ts: id: 96afb94dd588 @@ -13456,6 +13612,8 @@ trackedFiles: id: d3ea932ad2f5 last_write_checksum: sha1:4b9b5a688706847aa92205a543e3354b1964990c pristine_git_object: d110c8ed0e1813a27290cd96c9ab0361f2e1c370 + src/models/operations/getleadcatcheroverview.ts: + last_write_checksum: sha1:26d62636340110138802a9b90cc21a775c16294e src/models/operations/getleadqualificationanswers.ts: id: 5a0682dbc3a5 last_write_checksum: sha1:6b16b609296097be47d9d0d0dd61675c9754f460 @@ -13698,6 +13856,8 @@ trackedFiles: id: 772d1499899c last_write_checksum: sha1:f6b4243f1fbe0f8d63415b0856176ed04a982bde pristine_git_object: b6bf6125de8baf2a09878d48141e446286856fdb + src/models/operations/getvenueamenities.ts: + last_write_checksum: sha1:c2772ea2b761dbc6f7c2506d47f51b1218a37af2 src/models/operations/getvenueattraction.ts: last_write_checksum: sha1:89e41d5592475d65058e41d0b52b0b9ce428fa84 src/models/operations/getvenueavailabilitysettings.ts: @@ -13720,7 +13880,7 @@ trackedFiles: pristine_git_object: d6b13780a2a4052c16b56f17ccb2e26c3e53ead0 src/models/operations/index.ts: id: 0d9ffaf774d2 - last_write_checksum: sha1:1c9542ed0cf34672edc4a55d64cf36224ae7714f + last_write_checksum: sha1:227bbe58f198c9fc61df4fefa0854db8e95bb12a pristine_git_object: d6029218a80f5414ff9998b5ebd1d283ca45ea4e src/models/operations/launcheventfeatures.ts: id: 1b0201a14151 @@ -13782,7 +13942,7 @@ trackedFiles: pristine_git_object: 4a655b4f822fd4f4f2b8bb7a88decc45e512b643 src/models/operations/listattendeespostfilter.ts: id: 091f5e61d17c - last_write_checksum: sha1:4612f21a213c943dcf6697a0afe8957452a91b9d + last_write_checksum: sha1:f6b8cdda021758287ea6357304d03b25627c5016 pristine_git_object: 072657ba2d0e4f8ce5c748891e63ac002781cb85 src/models/operations/listaudiencesegments.ts: id: ebbf17db4ddd @@ -13910,6 +14070,8 @@ trackedFiles: id: 771e4bb92a24 last_write_checksum: sha1:00f1fa2d3b723ac5d1b0f57abebfb3212a53f6ce pristine_git_object: 11f8824d36fb9902dc2fb5d06ac5c84861ac0221 + src/models/operations/listleadcatchersoverview.ts: + last_write_checksum: sha1:b3dc22b2d46b4c6b1878a683c3461cf2b36d0aa6 src/models/operations/listlocations.ts: id: afbad8d531fb last_write_checksum: sha1:e48a03d782820a5bba63db8864907a4fc53d5dfa @@ -14144,6 +14306,8 @@ trackedFiles: id: 8406fc4cbf19 last_write_checksum: sha1:0be906c4164050b67d614d02120bb58bdde6ad26 pristine_git_object: c1beee1c44581d88a8c6d00513e9941f231bc53d + src/models/operations/patchleadcatcher.ts: + last_write_checksum: sha1:10af87ffd4ae9f70b7e7888d2ed0a8c8a3538dae src/models/operations/patchmeetingroom.ts: last_write_checksum: sha1:455f734d5524209c6226d3c890483c7039365d22 src/models/operations/patchvenuedetails.ts: @@ -14364,6 +14528,8 @@ trackedFiles: id: 05edb02e5aa4 last_write_checksum: sha1:382a11423be97004829ac970ec6c395fec1be2e9 pristine_git_object: 7708ca8578d8776aa74f0214fe2fccd56c841a36 + src/models/operations/updateleadcatcher.ts: + last_write_checksum: sha1:0bfcf14bab679a246c5c675eea7e8b0d9a4ec106 src/models/operations/updatemeetingrequest.ts: id: f5a4ef8afd4d last_write_checksum: sha1:ee782972b86bf3ea3e559d81103fcacf314e569a @@ -14430,6 +14596,8 @@ trackedFiles: id: 8ccb597e7aa7 last_write_checksum: sha1:abf937e0111ddb68985c33862aa8e8a0d8c4c73b pristine_git_object: b2a1826a74229326597c06f1d843185087581f80 + src/models/operations/updatevenueamenities.ts: + last_write_checksum: sha1:db2a1e911a3fdfb3c4d1b8d69c512db9d16a3e29 src/models/operations/updatevenueattraction.ts: last_write_checksum: sha1:ceb3ead7f5487dc48fbde9c1e7711d0c3b933d7e src/models/operations/updatevenueavailabilitysettings.ts: @@ -14470,7 +14638,7 @@ trackedFiles: pristine_git_object: 8935840805f16b79c5c0d626b5dab7fa78407b02 src/sdk/attendees.ts: id: a14d28e54a20 - last_write_checksum: sha1:498cccaf9237a0568f8c5ce228f0786741b73dd1 + last_write_checksum: sha1:af703315fb92376a4a212bb96801bed65680644d pristine_git_object: 96b8adb8476d124412fe04ca1a8af5afe23940ba src/sdk/audiencesegments.ts: id: 46b1ee6894c1 @@ -14546,7 +14714,7 @@ trackedFiles: pristine_git_object: 2cefd56c049695a4dc8f8faa6780c57127414e6f src/sdk/eventtravel.ts: id: 44e08bdc6b52 - last_write_checksum: sha1:18a34a405727e9b29b7d195b6ddf3cf337a20df8 + last_write_checksum: sha1:4e8b4d30f4af285339afce6a071e1603bcf854f0 pristine_git_object: b3c45975f59763ab8c0765ec2864c7fe635cc64c src/sdk/exhibitor.ts: id: be87898a8ee6 @@ -14608,7 +14776,7 @@ trackedFiles: last_write_checksum: sha1:cf1e2121b3b7be2da29f337c21001559137c2925 src/sdk/sdk.ts: id: 784571af2f69 - last_write_checksum: sha1:266f6f2279f5ec02e3ffb37d4deb65fb297535e4 + last_write_checksum: sha1:597f6fc5d12b9662e3ff19d377d2caa6f38248ee pristine_git_object: c11d17f670dc8928b91f0ef09fc965ae56247f03 src/sdk/seating.ts: id: 1106401b4826 @@ -14659,7 +14827,9 @@ trackedFiles: src/sdk/venueavailability.ts: last_write_checksum: sha1:05151718d74978a20941dabec9131598dc542e69 src/sdk/venuecontent.ts: - last_write_checksum: sha1:a0d94b2a08375eee95676133824da5e714dc2d2d + last_write_checksum: sha1:957dd0c64016070560001d2a2461a7c157183cc2 + src/sdk/venueleads.ts: + last_write_checksum: sha1:14216bf0db961129a016c1b632f6f7ac142b9226 src/sdk/venuemeetingrooms.ts: last_write_checksum: sha1:9aa128c11b5cdcbf7ad327a51920fed6dbcb3617 src/sdk/venueprofiles.ts: @@ -20069,7 +20239,7 @@ examples: token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a" responses: "200": - application/json: {"paging": {"previousToken": "1a2b3c4d5e6f7g8h9i10j11k", "nextToken": "1a2b3c4d5e6f7g8h9i10j11k", "currentToken": "1a2b3c4d5e6f7g8h9i10j11k", "limit": 100, "totalCount": 2, "_links": {"next": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "self": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "prev": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}}, "data": [{"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "htmlText": "Question Html", "code": "4l6x", "type": "SingleChoice", "choices": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "label": "Choice A"}], "categories": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "required": true}], "subCategories": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?"}], "notApplicableAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "otherAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "comments": "Comments Text", "required": true, "fields": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "choices": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "label": "Choice A"}], "notApplicableAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "otherAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "required": true}], "maxScore": 20, "totalSum": 45, "minSelection": 1, "maxSelection": 3, "minDate": "2020-01-01", "maxDate": "2020-12-31", "showDateSelector": true, "showCurrentDate": true, "dateAnswerFormat": "DateTime", "unitLabel": "miles", "minLength": 5, "maxLength": 100, "customAnswerFormat": {"id": 104}, "supplierTypes": ["CVB", "HOTEL"], "order": 1, "standardQuestion": {"id": "50dc08af-24a9-4d01-84be-3d43133dc945"}, "aiQuestionGenerationSource": "MCP-Visual Studio Code/1.107.1"}]} + application/json: {"paging": {"previousToken": "1a2b3c4d5e6f7g8h9i10j11k", "nextToken": "1a2b3c4d5e6f7g8h9i10j11k", "currentToken": "1a2b3c4d5e6f7g8h9i10j11k", "limit": 100, "totalCount": 2, "_links": {"next": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "self": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "prev": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}}, "data": [{"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "htmlText": "Question Html", "code": "4l6x", "type": "SingleChoice", "choices": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "label": "Choice A"}], "categories": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "required": true}], "subCategories": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?"}], "notApplicableAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "otherAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "comments": "Comments Text", "required": true, "fields": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "choices": [{"text": "Are you spending any significant time offsite and need transportation?", "shortText": "Needs offsite transportation?", "label": "Choice A"}], "notApplicableAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "otherAnswer": {"text": "Dietary Restriction - Other", "shortText": "Dietary Preference - Other Allergies"}, "required": true}], "maxScore": 20, "totalSum": 45, "minSelection": 1, "maxSelection": 3, "minDate": "2020-01-01", "maxDate": "2020-12-31", "showDateSelector": true, "showCurrentDate": true, "dateAnswerFormat": "DateTime", "unitLabel": "miles", "minLength": 5, "maxLength": 100, "customAnswerFormat": {"id": 104}, "supplierTypes": ["CVB", "HOTEL"], "classificationType": "MEETING_ROOM", "order": 1, "standardQuestion": {"id": "50dc08af-24a9-4d01-84be-3d43133dc945"}, "aiQuestionGenerationSource": "MCP-Visual Studio Code/1.107.1"}]} "400": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} listRfpPastEvents: @@ -20874,6 +21044,99 @@ examples: application/json: {"id": "501fbc6a-cfd4-468f-a2f7-14e521d33c71", "platformUserId": "00ad83olslLwIeKcW1m8", "username": "jsmith@example.com", "federatedSsoLoginName": "jsmith@example.com", "contact": {"honorificPrefix": "Mr.", "firstName": "Jack", "middleName": "John", "lastName": "Tripper", "title": "Senior Software Engineer", "organization": "Cvent", "email": "jack.tripper@example.com", "homePhone": "+17035551234", "homeFax": "+17035551234", "mobilePhone": "+17035551234", "workPhone": "+17035551234", "workFax": "+17035551234", "pager": "+17035551234", "address": {"address1": "1765 Greensboro Station Pl", "address2": "7th Floor", "address3": "", "city": "McLean", "countryCode": "US", "regionCode": "VA", "postalCode": "22102"}}, "locale": "en-US", "timezone": "America/New_York", "active": false, "usernameVerified": true, "emailVerified": "VERIFIED", "lockedOut": false, "termsOfUseAccepted": true, "failedLoginCount": 1, "markDocumentsAsInternal": false, "visibilityAccess": [], "audit": {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "lockedOutDate": "2017-01-02T02:00:00Z", "termsOfUseAcceptedDate": "2017-01-02T02:00:00Z", "lastLoginDate": "2017-01-02T02:00:00Z", "passwordLastModifiedDate": "2017-01-02T02:00:00Z"}, "customFields": [{"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "name": "What is your favorite color?", "type": "Choice - Multiple Answers", "values": ["Choice C", "Choice A"], "order": 1}], "role": {"id": "946505f6-6b29-421a-bda2-0815fcdea73c"}} "401": application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + getVenueAmenities: + speakeasy-default-get-venue-amenities: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + responses: + "200": + application/json: {"avCapabilities": [{"amenity": "ONSITE_AV_STAFF", "speed": 1000}], "parking": [{"amenity": "COMPLIMENTARY_PARKING_PROVIDED", "cost": 25}], "facilitySpaceInfo": [{"amenity": "OUTDOOR_SPACE", "value": 5000}], "id": "6bb0e2db-861f-46e3-a923-eb4d959ffa00", "name": "Harbor View Convention Center"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + updateVenueAmenities: + speakeasy-default-update-venue-amenities: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + requestBody: + application/json: {"avCapabilities": [{"amenity": "ONSITE_AV_STAFF", "speed": 1000}], "parking": [{"amenity": "BUS_PARKING_AVAILABLE", "cost": 25}], "facilitySpaceInfo": [{"amenity": "OUTDOOR_SPACE", "value": 5000}]} + responses: + "200": + application/json: {"avCapabilities": [{"amenity": "ONSITE_AV_STAFF", "speed": 1000}], "parking": [{"amenity": "BUS_PARKING_AVAILABLE", "cost": 25}], "facilitySpaceInfo": [{"amenity": "OUTDOOR_SPACE", "value": 5000}], "id": "6bb0e2db-861f-46e3-a923-eb4d959ffa00", "name": "Harbor View Convention Center"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + createLeadCatcher: + speakeasy-default-create-lead-catcher: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + requestBody: + application/json: {"firstName": "Jane", "lastName": "Smith", "title": "Director of Sales", "email": "jane.smith@example.com", "phone": "+1-555-555-0101", "fax": "+1-555-555-0101", "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182"}, "locale": "en-US", "config": {"rfpEmailEnabled": true, "pdfLinkEnabled": true, "supplierContactRole": "Sales Manager"}, "additionalInfo": "Preferred contact for APAC venues."} + responses: + "201": + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "firstName": "Jane", "lastName": "Smith", "title": "Director of Sales", "email": "jane.smith@example.com", "phone": "+1-555-555-0101", "fax": "+1-555-555-0101", "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182"}, "locale": "en-US", "config": {"rfpEmailEnabled": true, "pdfLinkEnabled": true, "supplierContactRole": "Sales Manager"}, "additionalInfo": "Preferred contact for APAC venues.", "id": "7e5c2c23-b2bb-461a-adc9-025184988519"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + listLeadCatchersOverview: + speakeasy-default-list-lead-catchers-overview: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + query: + limit: 100 + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a" + responses: + "200": + application/json: {"paging": {"previousToken": "1a2b3c4d5e6f7g8h9i10j11k", "nextToken": "1a2b3c4d5e6f7g8h9i10j11k", "currentToken": "1a2b3c4d5e6f7g8h9i10j11k", "limit": 100, "totalCount": 2, "_links": {"next": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "self": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}, "prev": {"href": "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}}, "data": [{"id": "7e5c2c23-b2bb-461a-adc9-025184988519", "firstName": "Jane", "lastName": "Smith"}]} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + updateLeadCatcher: + speakeasy-default-update-lead-catcher: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + leadCatcherId: "6e7d0d64-13f7-4472-8308-fa7067dba173" + requestBody: + application/json: {"firstName": "Jane", "lastName": "Smith", "title": "Director of Sales", "email": "jane.smith@example.com", "phone": "+1-555-555-0101", "fax": "+1-555-555-0101", "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182"}, "locale": "en-US", "config": {"rfpEmailEnabled": true, "pdfLinkEnabled": true, "supplierContactRole": "Sales Manager"}, "additionalInfo": "Preferred contact for APAC venues."} + responses: + "200": + application/json: {"created": "2017-01-02T02:00:00Z", "createdBy": "hporter", "lastModified": "2019-02-12T03:00:00Z", "lastModifiedBy": "hporter", "firstName": "Jane", "lastName": "Smith", "title": "Director of Sales", "email": "jane.smith@example.com", "phone": "+1-555-555-0101", "fax": "+1-555-555-0101", "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182"}, "locale": "en-US", "config": {"rfpEmailEnabled": true, "pdfLinkEnabled": true, "supplierContactRole": "Sales Manager"}, "additionalInfo": "Preferred contact for APAC venues.", "id": "7e5c2c23-b2bb-461a-adc9-025184988519"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + patchLeadCatcher: + speakeasy-default-patch-lead-catcher: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + leadCatcherId: "f72c984a-4f55-4563-90e5-7e34a3be1552" + requestBody: + application/merge-patch+json: {"firstName": "Jane", "lastName": "Smith", "title": "Director of Sales", "email": "jane.smith@example.com", "phone": "+1-555-0100", "fax": "+1-555-0101", "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182"}, "locale": "en-US", "config": {"rfpEmailEnabled": true, "pdfLinkEnabled": true, "supplierContactRole": "roleName"}, "additionalInfo": "Preferred contact for APAC venues."} + responses: + "200": + application/json: {"firstName": "Jane", "lastName": "Smith", "title": "Director of Sales", "email": "jane.smith@example.com", "phone": "+1-555-0100", "fax": "+1-555-0101", "address": {"streetAddress1": "1234 Trap Road", "streetAddress2": "Suite 100", "city": "Vienna", "zipPostalCode": "22182"}, "locale": "en-US", "config": {"rfpEmailEnabled": true, "pdfLinkEnabled": true, "supplierContactRole": "roleName"}, "additionalInfo": "Preferred contact for APAC venues."} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + deleteLeadCatcher: + speakeasy-default-delete-lead-catcher: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + leadCatcherId: "d7aa3fa0-4c8f-4353-9810-3984886b6a9d" + responses: + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} + getLeadCatcherOverview: + speakeasy-default-get-lead-catcher-overview: + parameters: + path: + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00" + leadCatcherId: "7de41b14-8083-46d4-91b6-5a3239d59277" + responses: + "200": + application/json: {"id": "7e5c2c23-b2bb-461a-adc9-025184988519", "firstName": "Jane", "lastName": "Smith"} + "400": + application/json: {"code": 400, "message": "Bad Request", "target": "example target", "details": [{"code": 400, "message": "Bad Request", "target": "example target"}]} examplesVersion: 1.0.2 generatedTests: getAccountUserGroups: "2025-12-09T16:06:19-06:00" @@ -21315,3 +21578,10 @@ generatedTests: listAccountUsers-combined: "2026-10-15T14:32:14-04:00" listAccountUsers: "2026-10-15T14:32:14-04:00" getAccountUser: "2026-10-15T14:32:14-04:00" + getVenueAmenities: "2026-10-23T14:15:37-04:00" + updateVenueAmenities: "2026-10-23T14:15:37-04:00" + createLeadCatcher: "2026-10-23T14:15:37-04:00" + listLeadCatchersOverview: "2026-10-23T14:15:37-04:00" + updateLeadCatcher: "2026-10-23T14:15:37-04:00" + patchLeadCatcher: "2026-10-23T14:15:37-04:00" + getLeadCatcherOverview: "2026-10-23T14:15:37-04:00" diff --git a/packages/typescript/.speakeasy/gen.yaml b/packages/typescript/.speakeasy/gen.yaml index 8806c0620..5f1988d1e 100644 --- a/packages/typescript/.speakeasy/gen.yaml +++ b/packages/typescript/.speakeasy/gen.yaml @@ -34,7 +34,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: false typescript: - version: 1.6.5 + version: 1.6.6 acceptHeaderEnum: true additionalDependencies: dependencies: {} diff --git a/packages/typescript/.speakeasy/tests.arazzo.yaml b/packages/typescript/.speakeasy/tests.arazzo.yaml index e0b6c3ed0..78948b036 100644 --- a/packages/typescript/.speakeasy/tests.arazzo.yaml +++ b/packages/typescript/.speakeasy/tests.arazzo.yaml @@ -10571,7 +10571,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - {"paging":{"previousToken":"1a2b3c4d5e6f7g8h9i10j11k","nextToken":"1a2b3c4d5e6f7g8h9i10j11k","currentToken":"1a2b3c4d5e6f7g8h9i10j11k","limit":100,"totalCount":2,"_links":{"next":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"self":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"prev":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}},"data":[{"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","htmlText":"Question Html","code":"4l6x","type":"SingleChoice","choices":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","label":"Choice A"}],"categories":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","required":true}],"subCategories":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?"}],"notApplicableAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"otherAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"comments":"Comments Text","required":true,"fields":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","choices":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","label":"Choice A"}],"notApplicableAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"otherAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"required":true}],"maxScore":20,"totalSum":45,"minSelection":1,"maxSelection":3,"minDate":"2020-01-01","maxDate":"2020-12-31","showDateSelector":true,"showCurrentDate":true,"dateAnswerFormat":"DateTime","unitLabel":"miles","minLength":5,"maxLength":100,"customAnswerFormat":{"id":104},"supplierTypes":["CVB","HOTEL"],"order":1,"standardQuestion":{"id":"50dc08af-24a9-4d01-84be-3d43133dc945"},"aiQuestionGenerationSource":"MCP-Visual Studio Code/1.107.1"}]} + {"paging":{"previousToken":"1a2b3c4d5e6f7g8h9i10j11k","nextToken":"1a2b3c4d5e6f7g8h9i10j11k","currentToken":"1a2b3c4d5e6f7g8h9i10j11k","limit":100,"totalCount":2,"_links":{"next":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"self":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"prev":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}},"data":[{"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","htmlText":"Question Html","code":"4l6x","type":"SingleChoice","choices":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","label":"Choice A"}],"categories":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","required":true}],"subCategories":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?"}],"notApplicableAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"otherAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"comments":"Comments Text","required":true,"fields":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","choices":[{"text":"Are you spending any significant time offsite and need transportation?","shortText":"Needs offsite transportation?","label":"Choice A"}],"notApplicableAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"otherAnswer":{"text":"Dietary Restriction - Other","shortText":"Dietary Preference - Other Allergies"},"required":true}],"maxScore":20,"totalSum":45,"minSelection":1,"maxSelection":3,"minDate":"2020-01-01","maxDate":"2020-12-31","showDateSelector":true,"showCurrentDate":true,"dateAnswerFormat":"DateTime","unitLabel":"miles","minLength":5,"maxLength":100,"customAnswerFormat":{"id":104},"supplierTypes":["CVB","HOTEL"],"classificationType":"MEETING_ROOM","order":1,"standardQuestion":{"id":"50dc08af-24a9-4d01-84be-3d43133dc945"},"aiQuestionGenerationSource":"MCP-Visual Studio Code/1.107.1"}]} type: simple x-speakeasy-test-group: RFP Requirements x-speakeasy-test-rebuild: true @@ -12205,3 +12205,209 @@ workflows: type: simple x-speakeasy-test-group: Users x-speakeasy-test-rebuild: true + - workflowId: getVenueAmenities + steps: + - stepId: test + operationId: getVenueAmenities + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"avCapabilities":[{"amenity":"ONSITE_AV_STAFF","speed":1000}],"parking":[{"amenity":"COMPLIMENTARY_PARKING_PROVIDED","cost":25}],"facilitySpaceInfo":[{"amenity":"OUTDOOR_SPACE","value":5000}],"id":"6bb0e2db-861f-46e3-a923-eb4d959ffa00","name":"Harbor View Convention Center"} + type: simple + x-speakeasy-test-group: Venue Content + x-speakeasy-test-rebuild: true + - workflowId: updateVenueAmenities + steps: + - stepId: test + operationId: updateVenueAmenities + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + requestBody: + contentType: application/json + payload: + avCapabilities: + - amenity: ONSITE_AV_STAFF + speed: 1000 + facilitySpaceInfo: + - amenity: OUTDOOR_SPACE + value: 5000 + parking: + - amenity: BUS_PARKING_AVAILABLE + cost: 25 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"avCapabilities":[{"amenity":"ONSITE_AV_STAFF","speed":1000}],"parking":[{"amenity":"BUS_PARKING_AVAILABLE","cost":25}],"facilitySpaceInfo":[{"amenity":"OUTDOOR_SPACE","value":5000}],"id":"6bb0e2db-861f-46e3-a923-eb4d959ffa00","name":"Harbor View Convention Center"} + type: simple + x-speakeasy-test-group: Venue Content + x-speakeasy-test-rebuild: true + - workflowId: createLeadCatcher + steps: + - stepId: test + operationId: createLeadCatcher + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + requestBody: + contentType: application/json + payload: + additionalInfo: Preferred contact for APAC venues. + address: + city: Vienna + streetAddress1: 1234 Trap Road + streetAddress2: Suite 100 + zipPostalCode: "22182" + config: + pdfLinkEnabled: true + rfpEmailEnabled: true + supplierContactRole: Sales Manager + email: jane.smith@example.com + fax: +1-555-555-0101 + firstName: Jane + lastName: Smith + locale: en-US + phone: +1-555-555-0101 + title: Director of Sales + successCriteria: + - condition: $statusCode == 201 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","firstName":"Jane","lastName":"Smith","title":"Director of Sales","email":"jane.smith@example.com","phone":"+1-555-555-0101","fax":"+1-555-555-0101","address":{"streetAddress1":"1234 Trap Road","streetAddress2":"Suite 100","city":"Vienna","zipPostalCode":"22182"},"locale":"en-US","config":{"rfpEmailEnabled":true,"pdfLinkEnabled":true,"supplierContactRole":"Sales Manager"},"additionalInfo":"Preferred contact for APAC venues.","id":"7e5c2c23-b2bb-461a-adc9-025184988519"} + type: simple + x-speakeasy-test-group: Venue Leads + x-speakeasy-test-rebuild: true + - workflowId: listLeadCatchersOverview + steps: + - stepId: test + operationId: listLeadCatchersOverview + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: limit + in: query + value: 100 + - name: token + in: query + value: 0e28af57-511f-47ab-ae46-46cd1ca51a1a + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"paging":{"previousToken":"1a2b3c4d5e6f7g8h9i10j11k","nextToken":"1a2b3c4d5e6f7g8h9i10j11k","currentToken":"1a2b3c4d5e6f7g8h9i10j11k","limit":100,"totalCount":2,"_links":{"next":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"self":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"},"prev":{"href":"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262"}}},"data":[{"id":"7e5c2c23-b2bb-461a-adc9-025184988519","firstName":"Jane","lastName":"Smith"}]} + type: simple + x-speakeasy-test-group: Venue Leads + x-speakeasy-test-rebuild: true + - workflowId: updateLeadCatcher + steps: + - stepId: test + operationId: updateLeadCatcher + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: leadCatcherId + in: path + value: 6e7d0d64-13f7-4472-8308-fa7067dba173 + requestBody: + contentType: application/json + payload: + additionalInfo: Preferred contact for APAC venues. + address: + city: Vienna + streetAddress1: 1234 Trap Road + streetAddress2: Suite 100 + zipPostalCode: "22182" + config: + pdfLinkEnabled: true + rfpEmailEnabled: true + supplierContactRole: Sales Manager + email: jane.smith@example.com + fax: +1-555-555-0101 + firstName: Jane + lastName: Smith + locale: en-US + phone: +1-555-555-0101 + title: Director of Sales + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"created":"2017-01-02T02:00:00Z","createdBy":"hporter","lastModified":"2019-02-12T03:00:00Z","lastModifiedBy":"hporter","firstName":"Jane","lastName":"Smith","title":"Director of Sales","email":"jane.smith@example.com","phone":"+1-555-555-0101","fax":"+1-555-555-0101","address":{"streetAddress1":"1234 Trap Road","streetAddress2":"Suite 100","city":"Vienna","zipPostalCode":"22182"},"locale":"en-US","config":{"rfpEmailEnabled":true,"pdfLinkEnabled":true,"supplierContactRole":"Sales Manager"},"additionalInfo":"Preferred contact for APAC venues.","id":"7e5c2c23-b2bb-461a-adc9-025184988519"} + type: simple + x-speakeasy-test-group: Venue Leads + x-speakeasy-test-rebuild: true + - workflowId: patchLeadCatcher + steps: + - stepId: test + operationId: patchLeadCatcher + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: leadCatcherId + in: path + value: f72c984a-4f55-4563-90e5-7e34a3be1552 + requestBody: + contentType: application/merge-patch+json + payload: + additionalInfo: Preferred contact for APAC venues. + address: + city: Vienna + streetAddress1: 1234 Trap Road + streetAddress2: Suite 100 + zipPostalCode: "22182" + config: + pdfLinkEnabled: true + rfpEmailEnabled: true + supplierContactRole: roleName + email: jane.smith@example.com + fax: +1-555-0101 + firstName: Jane + lastName: Smith + locale: en-US + phone: +1-555-0100 + title: Director of Sales + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"firstName":"Jane","lastName":"Smith","title":"Director of Sales","email":"jane.smith@example.com","phone":"+1-555-0100","fax":"+1-555-0101","address":{"streetAddress1":"1234 Trap Road","streetAddress2":"Suite 100","city":"Vienna","zipPostalCode":"22182"},"locale":"en-US","config":{"rfpEmailEnabled":true,"pdfLinkEnabled":true,"supplierContactRole":"roleName"},"additionalInfo":"Preferred contact for APAC venues."} + type: simple + x-speakeasy-test-group: Venue Leads + x-speakeasy-test-rebuild: true + - workflowId: getLeadCatcherOverview + steps: + - stepId: test + operationId: getLeadCatcherOverview + parameters: + - name: venueId + in: path + value: 6bb0e2db-861f-46e3-a923-eb4d959ffa00 + - name: leadCatcherId + in: path + value: 7de41b14-8083-46d4-91b6-5a3239d59277 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"id":"7e5c2c23-b2bb-461a-adc9-025184988519","firstName":"Jane","lastName":"Smith"} + type: simple + x-speakeasy-test-group: Venue Leads + x-speakeasy-test-rebuild: true diff --git a/packages/typescript/README.md b/packages/typescript/README.md index bbd175353..7f56cd92c 100644 --- a/packages/typescript/README.md +++ b/packages/typescript/README.md @@ -801,6 +801,8 @@ run(); ### [VenueContent](docs/sdks/venuecontent/README.md) +* [getVenueAmenities](docs/sdks/venuecontent/README.md#getvenueamenities) - Get Venue Amenities +* [updateVenueAmenities](docs/sdks/venuecontent/README.md#updatevenueamenities) - Update Venue Amenities * [listVenueAttractions](docs/sdks/venuecontent/README.md#listvenueattractions) - List Venue Attractions * [createVenueAttraction](docs/sdks/venuecontent/README.md#createvenueattraction) - Create Venue Attraction * [getVenueAttraction](docs/sdks/venuecontent/README.md#getvenueattraction) - Get Venue Attraction @@ -816,6 +818,15 @@ run(); * [associateVenueImage](docs/sdks/venuecontent/README.md#associatevenueimage) - Associate Venue Image * [disassociateVenueImage](docs/sdks/venuecontent/README.md#disassociatevenueimage) - Remove Venue Image +### [VenueLeads](docs/sdks/venueleads/README.md) + +* [createLeadCatcher](docs/sdks/venueleads/README.md#createleadcatcher) - Create Lead Catcher +* [listLeadCatchersOverview](docs/sdks/venueleads/README.md#listleadcatchersoverview) - List Lead Catchers Overview +* [updateLeadCatcher](docs/sdks/venueleads/README.md#updateleadcatcher) - Update Lead Catcher +* [patchLeadCatcher](docs/sdks/venueleads/README.md#patchleadcatcher) - Patch Lead Catcher +* [deleteLeadCatcher](docs/sdks/venueleads/README.md#deleteleadcatcher) - Delete Lead Catcher +* [getLeadCatcherOverview](docs/sdks/venueleads/README.md#getleadcatcheroverview) - Get Lead Catcher Overview + ### [VenueMeetingRooms](docs/sdks/venuemeetingrooms/README.md) * [createMeetingRoom](docs/sdks/venuemeetingrooms/README.md#createmeetingroom) - Create Meeting Room @@ -1340,12 +1351,20 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`venueContentDisassociateAttractionImage`](docs/sdks/venuecontent/README.md#disassociateattractionimage) - Remove Attraction Image - [`venueContentDisassociateVenueImage`](docs/sdks/venuecontent/README.md#disassociatevenueimage) - Remove Venue Image - [`venueContentGetAttractionImages`](docs/sdks/venuecontent/README.md#getattractionimages) - Get Attraction Images +- [`venueContentGetVenueAmenities`](docs/sdks/venuecontent/README.md#getvenueamenities) - Get Venue Amenities - [`venueContentGetVenueAttraction`](docs/sdks/venuecontent/README.md#getvenueattraction) - Get Venue Attraction - [`venueContentGetVenueImageMetadata`](docs/sdks/venuecontent/README.md#getvenueimagemetadata) - Get Venue Image Metadata - [`venueContentListVenueAttractions`](docs/sdks/venuecontent/README.md#listvenueattractions) - List Venue Attractions - [`venueContentListVenueImagesMetadata`](docs/sdks/venuecontent/README.md#listvenueimagesmetadata) - List Venue Images Metadata +- [`venueContentUpdateVenueAmenities`](docs/sdks/venuecontent/README.md#updatevenueamenities) - Update Venue Amenities - [`venueContentUpdateVenueAttraction`](docs/sdks/venuecontent/README.md#updatevenueattraction) - Update Venue Attraction - [`venueContentUpdateVenueImageMetadata`](docs/sdks/venuecontent/README.md#updatevenueimagemetadata) - Update Venue Image Metadata +- [`venueLeadsCreateLeadCatcher`](docs/sdks/venueleads/README.md#createleadcatcher) - Create Lead Catcher +- [`venueLeadsDeleteLeadCatcher`](docs/sdks/venueleads/README.md#deleteleadcatcher) - Delete Lead Catcher +- [`venueLeadsGetLeadCatcherOverview`](docs/sdks/venueleads/README.md#getleadcatcheroverview) - Get Lead Catcher Overview +- [`venueLeadsListLeadCatchersOverview`](docs/sdks/venueleads/README.md#listleadcatchersoverview) - List Lead Catchers Overview +- [`venueLeadsPatchLeadCatcher`](docs/sdks/venueleads/README.md#patchleadcatcher) - Patch Lead Catcher +- [`venueLeadsUpdateLeadCatcher`](docs/sdks/venueleads/README.md#updateleadcatcher) - Update Lead Catcher - [`venueMeetingRoomsAssociateMeetingRoomImage`](docs/sdks/venuemeetingrooms/README.md#associatemeetingroomimage) - Associate Meeting Room Image - [`venueMeetingRoomsCreateMeetingRoom`](docs/sdks/venuemeetingrooms/README.md#createmeetingroom) - Create Meeting Room - [`venueMeetingRoomsDisassociateMeetingRoomImage`](docs/sdks/venuemeetingrooms/README.md#disassociatemeetingroomimage) - Remove Meeting Room Image @@ -1638,10 +1657,10 @@ run(); **Inherit from [`CventSDKError`](./src/models/errors/cventsdkerror.ts)**: -* [`ErrorResponse`](./src/models/errors/errorresponse.ts): Represents an error response with additional details of cascading error messages. Applicable to 18 of 499 methods.* -* [`ErrorResponse17`](./src/models/errors/errorresponse17.ts): The error response. Applicable to 11 of 499 methods.* -* [`SegmentsErrorResponse`](./src/models/errors/segmentserrorresponse.ts): Segments error response details. Status code `400`. Applicable to 2 of 499 methods.* -* [`Oauth2TokenPostResponse0Error`](./src/models/errors/oauth2tokenpostresponse0error.ts): A bad token response. Status code `400`. Applicable to 1 of 499 methods.* +* [`ErrorResponse`](./src/models/errors/errorresponse.ts): Represents an error response with additional details of cascading error messages. Applicable to 18 of 507 methods.* +* [`ErrorResponse17`](./src/models/errors/errorresponse17.ts): The error response. Applicable to 11 of 507 methods.* +* [`SegmentsErrorResponse`](./src/models/errors/segmentserrorresponse.ts): Segments error response details. Status code `400`. Applicable to 2 of 507 methods.* +* [`Oauth2TokenPostResponse0Error`](./src/models/errors/oauth2tokenpostresponse0error.ts): A bad token response. Status code `400`. Applicable to 1 of 507 methods.* * [`ResponseValidationError`](./src/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string. diff --git a/packages/typescript/docs/models/components/alternatetraveldetail.md b/packages/typescript/docs/models/components/alternatetraveldetail.md index d54e68b86..af0ebd43f 100644 --- a/packages/typescript/docs/models/components/alternatetraveldetail.md +++ b/packages/typescript/docs/models/components/alternatetraveldetail.md @@ -1,6 +1,6 @@ # AlternateTravelDetail -Details of an alternate travel answer submitted by an attendee who opted out of air or hotel bookings. +Details of an alternate travel answer submitted by an attendee who opted out of air, hotel, or train bookings. ## Example Usage @@ -32,15 +32,15 @@ let value: AlternateTravelDetail = { ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | -| `createdBy` | *string* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | -| `lastModified` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | -| `lastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | -| `attendee` | [components.Attendee3](../../models/components/attendee3.md) | :heavy_minus_sign: | Representation of the attendee | | -| `requesterId` | *string* | :heavy_minus_sign: | ID of the entity this alternate travel belongs to. For an event attendee, this field is contact ID. For guest, this field is guest ID. | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | -| `requesterType` | [components.AlternateTravelDetailRequesterType](../../models/components/alternatetraveldetailrequestertype.md) | :heavy_minus_sign: | Attendee type of the entity this alternate travel belongs to. Contact means the requester is an independent attendee. Guest means the attendee is accompanying another attendee. | Contact | -| `travelType` | [components.TravelType](../../models/components/traveltype.md) | :heavy_minus_sign: | Type of travel alternate question | AirRequest | -| `question` | [components.AlternateQuestion](../../models/components/alternatequestion.md) | :heavy_minus_sign: | Represents a reference to an alternate travel question entity, containing only the question ID and text. | | -| `answer` | [components.AlternateAnswer](../../models/components/alternateanswer.md) | :heavy_minus_sign: | Represents the answer(s) to an alternate travel question submitted by an attendee. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | +| `createdBy` | *string* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | +| `lastModified` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | +| `lastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | +| `attendee` | [components.Attendee3](../../models/components/attendee3.md) | :heavy_minus_sign: | Representation of the attendee | | +| `requesterId` | *string* | :heavy_minus_sign: | ID of the entity this alternate travel belongs to. For an event attendee, this field is contact ID. For guest, this field is guest ID. | 3b2359a7-4583-40ed-8afd-67e5f15373d3 | +| `requesterType` | [components.AlternateTravelDetailRequesterType](../../models/components/alternatetraveldetailrequestertype.md) | :heavy_minus_sign: | Attendee type of the entity this alternate travel belongs to. Contact means the requester is an independent attendee. Guest means the attendee is accompanying another attendee. | Contact | +| `travelType` | [components.TravelType](../../models/components/traveltype.md) | :heavy_minus_sign: | Type of travel alternate question. Supported values: AirRequest = attendee requested air travel; HotelRequest = attendee requested hotel travel; AirActual = actual air travel booked; GroupFlight = group flight booking; TrainRequest = attendee requested train travel; AirAndTrainRequest = attendee did not want air or train travel and submitted an alternate response. | AirRequest | +| `question` | [components.AlternateQuestion](../../models/components/alternatequestion.md) | :heavy_minus_sign: | Represents a reference to an alternate travel question entity, containing only the question ID and text. | | +| `answer` | [components.AlternateAnswer](../../models/components/alternateanswer.md) | :heavy_minus_sign: | Represents the answer(s) to an alternate travel question submitted by an attendee. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendeeupdate.md b/packages/typescript/docs/models/components/attendeeupdate.md index 09817ffc6..d1ce5d8cb 100644 --- a/packages/typescript/docs/models/components/attendeeupdate.md +++ b/packages/typescript/docs/models/components/attendeeupdate.md @@ -43,19 +43,19 @@ let value: AttendeeUpdate = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `event` | [components.AttendeeUpdateEvent](../../models/components/attendeeupdateevent.md) | :heavy_check_mark: | The ID of the event associated with the attendee. | | -| `contact` | [components.AttendeeUpdateContact](../../models/components/attendeeupdatecontact.md) | :heavy_check_mark: | The ID of the address book contact associated with the attendee. | | -| `invitationList` | [components.AttendeeUpdateInvitationList](../../models/components/attendeeupdateinvitationlist.md) | :heavy_minus_sign: | The ID of the invitation list associated with the attendee. | | -| `referenceId` | *string* | :heavy_minus_sign: | The reference ID of an attendee. A planner determined string used to track which link attendee's used to reach the event registration. | refid-marketingwebsite | -| `note` | *string* | :heavy_minus_sign: | A planner created note for an attendee, used to track details about the attendee. | Would like to sit near the front of the room for sessions. | -| `administrator` | [components.AttendeeUpdateAdministrator](../../models/components/attendeeupdateadministrator.md) | :heavy_minus_sign: | The ID of the administrator contact whom registered this attendee. | | -| `admissionItem` | [components.AttendeeUpdateAdmissionItem](../../models/components/attendeeupdateadmissionitem.md) | :heavy_minus_sign: | The ID of the attendee's admission item. Required when registering, updating a registered attendee, or cancelling an attendee. | | -| `visibility` | [components.AttendeeVisibility](../../models/components/attendeevisibility.md) | :heavy_minus_sign: | Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not visible. Public: Their profile is visible. | Private | -| `answers` | [components.AttendeeAnswer](../../models/components/attendeeanswer.md)[] | :heavy_minus_sign: | The list of answers to the attendee's registration questions. | | -| `sendEmail` | *boolean* | :heavy_minus_sign: | True indicates a confirmation email should be sent to the attendee. Cancelled attendees will not receive emails as a result of this field. If this field is left blank, the event settings for confirmation emails will apply. | false | -| `status` | [components.AttendeeUpdateStatus](../../models/components/attendeeupdatestatus.md) | :heavy_minus_sign: | Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Cancelled
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* Waitlisted -> Accepted | Accepted | -| `registrationType` | [components.AttendeeUpdateRegistrationType](../../models/components/attendeeupdateregistrationtype.md) | :heavy_minus_sign: | The attendee's registration type. | | -| ~~`invitedBy`~~ | [components.AttendeeInvitedBy](../../models/components/attendeeinvitedby.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Method by which the attendee was invited to the event. Note: This field is deprecated. Previous documentation incorrectly listed support for this feature. | Planner-Invited | -| ~~`responseMethod`~~ | [components.AttendeeResponseMethod](../../models/components/attendeeresponsemethod.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Method by which attendee registered for the event. Note: This field is deprecated. Previous documentation incorrectly listed support for this feature. | Self-Responded | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `event` | [components.AttendeeUpdateEvent](../../models/components/attendeeupdateevent.md) | :heavy_check_mark: | The ID of the event associated with the attendee. | | +| `contact` | [components.AttendeeUpdateContact](../../models/components/attendeeupdatecontact.md) | :heavy_check_mark: | The ID of the address book contact associated with the attendee. | | +| `invitationList` | [components.AttendeeUpdateInvitationList](../../models/components/attendeeupdateinvitationlist.md) | :heavy_minus_sign: | The ID of the invitation list associated with the attendee. | | +| `referenceId` | *string* | :heavy_minus_sign: | The reference ID of an attendee. A planner determined string used to track which link attendee's used to reach the event registration. | refid-marketingwebsite | +| `note` | *string* | :heavy_minus_sign: | A planner created note for an attendee, used to track details about the attendee. | Would like to sit near the front of the room for sessions. | +| `administrator` | [components.AttendeeUpdateAdministrator](../../models/components/attendeeupdateadministrator.md) | :heavy_minus_sign: | The ID of the administrator contact whom registered this attendee. | | +| `admissionItem` | [components.AttendeeUpdateAdmissionItem](../../models/components/attendeeupdateadmissionitem.md) | :heavy_minus_sign: | The ID of the attendee's admission item. Required when registering, updating a registered attendee, or cancelling an attendee. | | +| `visibility` | [components.AttendeeVisibility](../../models/components/attendeevisibility.md) | :heavy_minus_sign: | Denotes the visibility of the attendee profile to other attendees. Private: Their profile is not visible. Public: Their profile is visible. | Private | +| `answers` | [components.AttendeeAnswer](../../models/components/attendeeanswer.md)[] | :heavy_minus_sign: | The list of answers to the attendee's registration questions. | | +| `sendEmail` | *boolean* | :heavy_minus_sign: | True indicates a confirmation email should be sent to the attendee. Cancelled attendees will not receive emails as a result of this field. If this field is left blank, the event settings for confirmation emails will apply. | false | +| `status` | [components.AttendeeUpdateStatus](../../models/components/attendeeupdatestatus.md) | :heavy_minus_sign: | Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Cancelled
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* Waitlisted -> Accepted | Accepted | +| `registrationType` | [components.AttendeeUpdateRegistrationType](../../models/components/attendeeupdateregistrationtype.md) | :heavy_minus_sign: | The attendee's registration type. | | +| ~~`invitedBy`~~ | [components.AttendeeInvitedBy](../../models/components/attendeeinvitedby.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Method by which the attendee was invited to the event. Note: This field is deprecated. Previous documentation incorrectly listed support for this feature. | Planner-Invited | +| ~~`responseMethod`~~ | [components.AttendeeResponseMethod](../../models/components/attendeeresponsemethod.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Method by which attendee registered for the event. Note: This field is deprecated. Previous documentation incorrectly listed support for this feature. | Self-Responded | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/attendeeupdatestatus.md b/packages/typescript/docs/models/components/attendeeupdatestatus.md index b7e3b2144..c768d252e 100644 --- a/packages/typescript/docs/models/components/attendeeupdatestatus.md +++ b/packages/typescript/docs/models/components/attendeeupdatestatus.md @@ -1,6 +1,23 @@ # AttendeeUpdateStatus -Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Cancelled
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* Waitlisted -> Accepted +Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event. +The following status transitions are supported by this API: +* No Response -> Visited +* No Response -> Accepted +* No Response -> Declined +* No Response -> Pending Approval +* Cancelled -> Accepted +* Cancelled -> Pending Approval +* Visited -> Accepted +* Visited -> Pending Approval +* Declined -> Accepted +* Declined -> Pending Approval +* Accepted -> Cancelled +* Pending Approval -> Accepted +* Pending Approval -> Cancelled +* Pending Approval -> Denied Approval +* Denied Approval -> Pending Approval +* Waitlisted -> Accepted ## Example Usage diff --git a/packages/typescript/docs/models/components/contactfields.md b/packages/typescript/docs/models/components/contactfields.md new file mode 100644 index 000000000..ec8bedb81 --- /dev/null +++ b/packages/typescript/docs/models/components/contactfields.md @@ -0,0 +1,24 @@ +# ContactFields + +Details of a contact. + +## Example Usage + +```typescript +import { ContactFields } from "@cvent/sdk/models/components"; + +let value: ContactFields = { + firstName: "Henry", + lastName: "Potterfield", + email: "h.potterfield@test.com", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Contact ID | | +| `firstName` | *string* | :heavy_minus_sign: | The first name of the contact. | Henry | +| `lastName` | *string* | :heavy_minus_sign: | The last name of the contact. | Potterfield | +| `email` | *string* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactfields1.md b/packages/typescript/docs/models/components/contactfields1.md index 108760ec9..2f4c02f81 100644 --- a/packages/typescript/docs/models/components/contactfields1.md +++ b/packages/typescript/docs/models/components/contactfields1.md @@ -1,6 +1,6 @@ # ContactFields1 -Details of a contact. +An array of standard contact fields supported by Cvent. ## Example Usage @@ -8,17 +8,12 @@ Details of a contact. import { ContactFields1 } from "@cvent/sdk/models/components"; let value: ContactFields1 = { - firstName: "Henry", - lastName: "Potterfield", - email: "h.potterfield@test.com", + data: [], }; ``` ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | -| `id` | *string* | :heavy_minus_sign: | Contact ID | | -| `firstName` | *string* | :heavy_minus_sign: | The first name of the contact. | Henry | -| `lastName` | *string* | :heavy_minus_sign: | The last name of the contact. | Potterfield | -| `email` | *string* | :heavy_minus_sign: | The email address of the contact. | h.potterfield@test.com | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `data` | [components.ContactField](../../models/components/contactfield.md)[] | :heavy_check_mark: | Collection of standard contact fields. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/contactfields2.md b/packages/typescript/docs/models/components/contactfields2.md deleted file mode 100644 index 19ab72a1f..000000000 --- a/packages/typescript/docs/models/components/contactfields2.md +++ /dev/null @@ -1,19 +0,0 @@ -# ContactFields2 - -An array of standard contact fields supported by Cvent. - -## Example Usage - -```typescript -import { ContactFields2 } from "@cvent/sdk/models/components"; - -let value: ContactFields2 = { - data: [], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `data` | [components.ContactField](../../models/components/contactfield.md)[] | :heavy_check_mark: | Collection of standard contact fields. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/eventattendeesubstituted.md b/packages/typescript/docs/models/components/eventattendeesubstituted.md index af154ef6e..914f07163 100644 --- a/packages/typescript/docs/models/components/eventattendeesubstituted.md +++ b/packages/typescript/docs/models/components/eventattendeesubstituted.md @@ -26,5 +26,5 @@ let value: EventAttendeeSubstituted = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | | `event` | [components.EventAttendeeSubstitutedEvent](../../models/components/eventattendeesubstitutedevent.md) | :heavy_minus_sign: | The event in which this activity occurred. | -| `oldContact` | [components.ContactFields1](../../models/components/contactfields1.md) | :heavy_minus_sign: | Details of a contact. | -| `newContact` | [components.ContactFields1](../../models/components/contactfields1.md) | :heavy_minus_sign: | Details of a contact. | \ No newline at end of file +| `oldContact` | [components.ContactFields](../../models/components/contactfields.md) | :heavy_minus_sign: | Details of a contact. | +| `newContact` | [components.ContactFields](../../models/components/contactfields.md) | :heavy_minus_sign: | Details of a contact. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingleadcatcher.md b/packages/typescript/docs/models/components/existingleadcatcher.md new file mode 100644 index 000000000..269e35022 --- /dev/null +++ b/packages/typescript/docs/models/components/existingleadcatcher.md @@ -0,0 +1,53 @@ +# ExistingLeadCatcher + +An existing lead catcher contact. + +## Example Usage + +```typescript +import { ExistingLeadCatcher } from "@cvent/sdk/models/components"; + +let value: ExistingLeadCatcher = { + created: new Date("2017-01-02T02:00:00Z"), + createdBy: "hporter", + lastModified: new Date("2019-02-12T03:00:00Z"), + lastModifiedBy: "hporter", + firstName: "Jane", + lastName: "Smith", + title: "Director of Sales", + email: "jane.smith@example.com", + phone: "+1-555-555-0101", + fax: "+1-555-555-0101", + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + }, + config: { + supplierContactRole: "Sales Manager", + }, + additionalInfo: "Preferred contact for APAC venues.", + id: "7e5c2c23-b2bb-461a-adc9-025184988519", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | +| `createdBy` | *string* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | +| `lastModified` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | +| `lastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | +| `firstName` | *string* | :heavy_check_mark: | First name of the lead catcher contact. | Jane | +| `lastName` | *string* | :heavy_check_mark: | Last name of the lead catcher contact. | Smith | +| `title` | *string* | :heavy_minus_sign: | Job title of the lead catcher contact. | Director of Sales | +| `email` | *string* | :heavy_check_mark: | Email address of the lead catcher contact. RFP notifications are sent to this address. | jane.smith@example.com | +| `phone` | *string* | :heavy_check_mark: | Phone number of the lead catcher contact. | +1-555-555-0101 | +| `fax` | *string* | :heavy_minus_sign: | Fax number of the lead catcher contact. | +1-555-555-0101 | +| `address` | [components.LeadCatcherAddress](../../models/components/leadcatcheraddress.md) | :heavy_minus_sign: | Address information for a lead catcher contact. | | +| `locale` | [components.LocaleLanguageVariant](../../models/components/localelanguagevariant.md) | :heavy_minus_sign: | Language locale of a Lead Catcher contact.

Values:
- `zh-CHS` — Chinese (Simplified) Legacy
- `zh-TW` — Chinese (Traditional, Taiwan)
- `de-DE` — German (Germany)
- `en-US` — English (United States)
- `fi-FI` — Finnish (Finland)
- `fr-FR` — French (France)
- `it-IT` — Italian (Italy)
- `ja-JP` — Japanese (Japan)
- `ko-KR` — Korean (Korea)
- `nl-NL` — Dutch (Netherlands)
- `pt-BR` — Portuguese (Brazil)
- `ru-RU` — Russian (Russia)
- `sv-SE` — Swedish (Sweden)
- `th-TH` — Thai (Thailand)
- `tr-TR` — Turkish (Turkey)
- `uk-UA` — Ukrainian (Ukraine)
- `zh-CN` — Chinese (Simplified, China)
- `de-CH` — German (Switzerland)
- `en-GB` — English (United Kingdom)
- `es-MX` — Spanish (Mexico)
- `fr-BE` — French (Belgium)
- `it-CH` — Italian (Switzerland)
- `nl-BE` — Dutch (Belgium)
- `pt-PT` — Portuguese (Portugal)
- `ru-MD` — Russian (Moldova)
- `sv-FI` — Swedish (Finland)
- `zh-HK` — Chinese (Traditional, Hong Kong SAR)
- `de-AT` — German (Austria)
- `en-AU` — English (Australia)
- `es-ES` — Spanish (Spain, International Sort)
- `fr-CA` — French (Canada)
- `zh-SG` — Chinese (Simplified, Singapore)
- `de-LU` — German (Luxembourg)
- `en-CA` — English (Canada)
- `es-GT` — Spanish (Guatemala)
- `fr-CH` — French (Switzerland)
- `zh-MO` — Chinese (Traditional, Macao SAR)
- `de-LI` — German (Liechtenstein)
- `en-NZ` — English (New Zealand)
- `es-CR` — Spanish (Costa Rica)
- `fr-LU` — French (Luxembourg)
- `en-IE` — English (Ireland)
- `es-PA` — Spanish (Panama)
- `fr-MC` — French (Monaco)
- `en-ZA` — English (South Africa)
- `es-DO` — Spanish (Dominican Republic)
- `fr-029` — French (Caribbean)
- `en-JM` — English (Jamaica)
- `es-VE` — Spanish (Venezuela)
- `fr-RE` — French (Réunion)
- `en-029` — English (Caribbean)
- `es-CO` — Spanish (Colombia)
- `fr-CD` — French Congo (DRC)
- `en-BZ` — English (Belize)
- `es-PE` — Spanish (Peru)
- `fr-SN` — French (Senegal)
- `en-TT` — English (Trinidad and Tobago)
- `es-AR` — Spanish (Argentina)
- `fr-CM` — French (Cameroon)
- `en-ZW` — English (Zimbabwe)
- `es-EC` — Spanish (Ecuador)
- `fr-CI` — French (Côte d'Ivoire)
- `en-PH` — English (Philippines)
- `es-CL` — Spanish (Chile)
- `fr-ML` — French (Mali)
- `en-ID` — English (Indonesia)
- `es-UY` — Spanish (Uruguay)
- `fr-MA` — French (Morocco)
- `en-HK` — English (Hong Kong SAR)
- `es-PY` — Spanish (Paraguay)
- `fr-HT` — French (Haiti)
- `en-IN` — English (India)
- `es-BO` — Spanish (Bolivia)
- `en-MY` — English (Malaysia)
- `es-SV` — Spanish (El Salvador)
- `en-SG` — English (Singapore)
- `es-HN` — Spanish (Honduras)
- `es-NI` — Spanish (Nicaragua)
- `es-PR` — Spanish (Puerto Rico)
- `es-US` — Spanish (United States)
- `es-419` — Spanish (Latin America)
- `es-CU` — Spanish (Cuba)
- `zh-CHT` — Chinese (Traditional) Legacy | en-US | +| `config` | [components.LeadCatcherConfig](../../models/components/leadcatcherconfig.md) | :heavy_minus_sign: | Notification and role configuration for a lead catcher contact. | | +| `additionalInfo` | *string* | :heavy_minus_sign: | Additional information about the lead catcher contact. | Preferred contact for APAC venues. | +| `id` | *string* | :heavy_check_mark: | Lead catcher ID. | 7e5c2c23-b2bb-461a-adc9-025184988519 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingleadcatcherinput.md b/packages/typescript/docs/models/components/existingleadcatcherinput.md new file mode 100644 index 000000000..d990173ba --- /dev/null +++ b/packages/typescript/docs/models/components/existingleadcatcherinput.md @@ -0,0 +1,43 @@ +# ExistingLeadCatcherInput + +An existing lead catcher contact. + +## Example Usage + +```typescript +import { ExistingLeadCatcherInput } from "@cvent/sdk/models/components"; + +let value: ExistingLeadCatcherInput = { + firstName: "Jane", + lastName: "Smith", + title: "Director of Sales", + email: "jane.smith@example.com", + phone: "+1-555-555-0101", + fax: "+1-555-555-0101", + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + }, + config: { + supplierContactRole: "Sales Manager", + }, + additionalInfo: "Preferred contact for APAC venues.", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `firstName` | *string* | :heavy_check_mark: | First name of the lead catcher contact. | Jane | +| `lastName` | *string* | :heavy_check_mark: | Last name of the lead catcher contact. | Smith | +| `title` | *string* | :heavy_minus_sign: | Job title of the lead catcher contact. | Director of Sales | +| `email` | *string* | :heavy_check_mark: | Email address of the lead catcher contact. RFP notifications are sent to this address. | jane.smith@example.com | +| `phone` | *string* | :heavy_check_mark: | Phone number of the lead catcher contact. | +1-555-555-0101 | +| `fax` | *string* | :heavy_minus_sign: | Fax number of the lead catcher contact. | +1-555-555-0101 | +| `address` | [components.LeadCatcherAddress](../../models/components/leadcatcheraddress.md) | :heavy_minus_sign: | Address information for a lead catcher contact. | | +| `locale` | [components.LocaleLanguageVariant](../../models/components/localelanguagevariant.md) | :heavy_minus_sign: | Language locale of a Lead Catcher contact.

Values:
- `zh-CHS` — Chinese (Simplified) Legacy
- `zh-TW` — Chinese (Traditional, Taiwan)
- `de-DE` — German (Germany)
- `en-US` — English (United States)
- `fi-FI` — Finnish (Finland)
- `fr-FR` — French (France)
- `it-IT` — Italian (Italy)
- `ja-JP` — Japanese (Japan)
- `ko-KR` — Korean (Korea)
- `nl-NL` — Dutch (Netherlands)
- `pt-BR` — Portuguese (Brazil)
- `ru-RU` — Russian (Russia)
- `sv-SE` — Swedish (Sweden)
- `th-TH` — Thai (Thailand)
- `tr-TR` — Turkish (Turkey)
- `uk-UA` — Ukrainian (Ukraine)
- `zh-CN` — Chinese (Simplified, China)
- `de-CH` — German (Switzerland)
- `en-GB` — English (United Kingdom)
- `es-MX` — Spanish (Mexico)
- `fr-BE` — French (Belgium)
- `it-CH` — Italian (Switzerland)
- `nl-BE` — Dutch (Belgium)
- `pt-PT` — Portuguese (Portugal)
- `ru-MD` — Russian (Moldova)
- `sv-FI` — Swedish (Finland)
- `zh-HK` — Chinese (Traditional, Hong Kong SAR)
- `de-AT` — German (Austria)
- `en-AU` — English (Australia)
- `es-ES` — Spanish (Spain, International Sort)
- `fr-CA` — French (Canada)
- `zh-SG` — Chinese (Simplified, Singapore)
- `de-LU` — German (Luxembourg)
- `en-CA` — English (Canada)
- `es-GT` — Spanish (Guatemala)
- `fr-CH` — French (Switzerland)
- `zh-MO` — Chinese (Traditional, Macao SAR)
- `de-LI` — German (Liechtenstein)
- `en-NZ` — English (New Zealand)
- `es-CR` — Spanish (Costa Rica)
- `fr-LU` — French (Luxembourg)
- `en-IE` — English (Ireland)
- `es-PA` — Spanish (Panama)
- `fr-MC` — French (Monaco)
- `en-ZA` — English (South Africa)
- `es-DO` — Spanish (Dominican Republic)
- `fr-029` — French (Caribbean)
- `en-JM` — English (Jamaica)
- `es-VE` — Spanish (Venezuela)
- `fr-RE` — French (Réunion)
- `en-029` — English (Caribbean)
- `es-CO` — Spanish (Colombia)
- `fr-CD` — French Congo (DRC)
- `en-BZ` — English (Belize)
- `es-PE` — Spanish (Peru)
- `fr-SN` — French (Senegal)
- `en-TT` — English (Trinidad and Tobago)
- `es-AR` — Spanish (Argentina)
- `fr-CM` — French (Cameroon)
- `en-ZW` — English (Zimbabwe)
- `es-EC` — Spanish (Ecuador)
- `fr-CI` — French (Côte d'Ivoire)
- `en-PH` — English (Philippines)
- `es-CL` — Spanish (Chile)
- `fr-ML` — French (Mali)
- `en-ID` — English (Indonesia)
- `es-UY` — Spanish (Uruguay)
- `fr-MA` — French (Morocco)
- `en-HK` — English (Hong Kong SAR)
- `es-PY` — Spanish (Paraguay)
- `fr-HT` — French (Haiti)
- `en-IN` — English (India)
- `es-BO` — Spanish (Bolivia)
- `en-MY` — English (Malaysia)
- `es-SV` — Spanish (El Salvador)
- `en-SG` — English (Singapore)
- `es-HN` — Spanish (Honduras)
- `es-NI` — Spanish (Nicaragua)
- `es-PR` — Spanish (Puerto Rico)
- `es-US` — Spanish (United States)
- `es-419` — Spanish (Latin America)
- `es-CU` — Spanish (Cuba)
- `zh-CHT` — Chinese (Traditional) Legacy | en-US | +| `config` | [components.LeadCatcherConfig](../../models/components/leadcatcherconfig.md) | :heavy_minus_sign: | Notification and role configuration for a lead catcher contact. | | +| `additionalInfo` | *string* | :heavy_minus_sign: | Additional information about the lead catcher contact. | Preferred contact for APAC venues. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingvenueamenities.md b/packages/typescript/docs/models/components/existingvenueamenities.md new file mode 100644 index 000000000..ae1eec188 --- /dev/null +++ b/packages/typescript/docs/models/components/existingvenueamenities.md @@ -0,0 +1,55 @@ +# ExistingVenueAmenities + +The current amenity selections for a venue, including identifying properties. + +## Example Usage + +```typescript +import { ExistingVenueAmenities } from "@cvent/sdk/models/components"; + +let value: ExistingVenueAmenities = { + avCapabilities: [ + { + amenity: "HIGH_SPEED_INTERNET", + speed: 1000, + }, + ], + parking: [ + { + amenity: "COMPLIMENTARY_PARKING_PROVIDED", + cost: 25, + }, + ], + facilitySpaceInfo: [ + { + amenity: "SEMI_PRIVATE_SPACE", + value: 5000, + }, + ], + id: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + name: "Harbor View Convention Center", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `recreationalActivities` | [components.VenueAmenityRecreationalActivity](../../models/components/venueamenityrecreationalactivity.md)[] | :heavy_minus_sign: | Recreational facilities and leisure activities available at the venue.

Values:
- `GOLF_ON_GROUNDS` — Golf on Grounds
- `HEALTH_CLUB` — Health Club
- `INDOOR_POOL` — Indoor Pool
- `OUTDOOR_POOL` — Outdoor Pool
- `SKIING` — Skiing
- `SPASALON` — Spa/Salon
- `TENNIS` — Tennis
- `WATER_SPORTS` — Water Sports
- `WHIRLPOOL` — Whirlpool | | +| `roomFeatures` | [components.VenueAmenityRoomFeature](../../models/components/venueamenityroomfeature.md)[] | :heavy_minus_sign: | In-room features and guest services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `CONCIERGE_SERVICES` — Concierge Services
- `FREE_LOCAL_CALLS` — Free Local Calls
- `FREE_TOLL_FREE_CALLS` — Toll-Free Calls
- `GARDEN_VIEWS` — Garden Views
- `INTERNET` — Internet
- `LAUNDRY` — Laundry
- `LUGGAGE_STORAGE` — Luggage Storage
- `MOUNTAIN_VIEWS` — Mountain Views
- `OCEANWATER_VIEWS` — Ocean/Water Views
- `ROOM_SERVICE` — Room Service
- `URBAN_VIEWS` — Urban Views
- `VOICE_MAIL_BOX` — Voicemail Box | | +| `avCapabilities` | [components.VenueAmenityAvCapabilityItem](../../models/components/venueamenityavcapabilityitem.md)[] | :heavy_minus_sign: | Audio-visual equipment and connectivity available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Each entry selects an AV capability and, where applicable, provides an internet speed. A `speed` value may only be supplied when `amenity` is `HIGH_SPEED_INTERNET`. | | +| `businessServices` | [components.VenueAmenityBusinessService](../../models/components/venueamenitybusinessservice.md)[] | :heavy_minus_sign: | Business and communications services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AUDIOVIDEO_CAPABILITIES` — Audio/Video Capabilities
- `BUSINESS_CENTER` — Business Center
- `VIDEO_CONFERENCING` — Video Conferencing
- `VIP_SERVICES` — VIP Services | | +| `transportation` | [components.VenueAmenityTransportation](../../models/components/venueamenitytransportation.md)[] | :heavy_minus_sign: | Transportation options by which the venue is accessible. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `BUS` — Bus
- `SHUTTLE` — Shuttle
- `SUBWAY` — Subway
- `TAXI` — Taxi
- `TRAIN` — Train | | +| `equipment` | [components.VenueAmenityEquipment](../../models/components/venueamenityequipment.md)[] | :heavy_minus_sign: | Physical equipment and staging resources available for event use at the venue.

Values:
- `DANCE_FLOORS` — Dance Floors
- `LOADING_DOCK_AVAILABLE` — Loading Dock
- `PIANO` — Piano
- `PORTABLE_HEATERS` — Portable Heaters
- `PORTABLE_WALLS` — Portable Walls
- `STAGING` — Staging | | +| `parking` | [components.VenueAmenityParkingItem](../../models/components/venueamenityparkingitem.md)[] | :heavy_minus_sign: | Parking options available at or near the venue. Each entry selects a parking type and, where applicable, provides the daily rate. A cost may only be supplied for `PAID_PARKING_AVAILABLE` and `VALET_PARKING_AVAILABLE`. | | +| `facilityInfo` | [components.VenueAmenityFacilityInfo](../../models/components/venueamenityfacilityinfo.md)[] | :heavy_minus_sign: | General facility features and on-site services available at the venue. Applicable only to the following venue types: Boutique Hotel, Conference Center, Convention Center, Exposition Center, Hotel, Luxury Hotel, and Resort (all values below except `BUSINESS_CENTER` and `INTERNET`); Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue (only `BUSINESS_CENTER`, `CASINO`, `INTERNET`, `RESTAURANT_ON_SITE`, and `WHEELCHAIR_ACCESSIBLE`).

Values:
- `ALL_INCLUSIVE` — All Inclusive
- `BUSINESS_CENTER` — Business Center
- `CASINO` — Casino
- `EXTENDED_STAY` — Extended Stay
- `FREE_AIRPORT_SHUTTLE` — Free Airport Shuttle
- `GIFT_SHOP_ON_SITE` — Onsite Gift Shop
- `INTERNET` — Internet
- `ONSITE_CATERING` — Onsite Catering
- `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed
- `PETS_WELCOME` — Pet Friendly
- `RENTAL_CAR_SERVICES` — Rental Car Services
- `RESTAURANT_ON_SITE` — Onsite Restaurant
- `SECURITY_STAFF_ONSITE` — Onsite Security
- `WHEELCHAIR_ACCESSIBLE` — Wheelchair Accessible | | +| `facilitySpaceInfo` | [components.VenueAmenityFacilitySpaceItem](../../models/components/venueamenityfacilityspaceitem.md)[] | :heavy_minus_sign: | Facility space measurements at the venue. Each entry selects a space type and optionally provides the available event space area, expressed in the venue's configured unit of measurement. | | +| `cateringDetails` | [components.VenueAmenityCateringDetail](../../models/components/venueamenitycateringdetail.md)[] | :heavy_minus_sign: | Catering options and policies offered at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `KITCHEN_ONSITE` — Kitchen Onsite
- `ONSITE_CATERING` — Onsite Catering
- `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed | | +| `alcohol` | [components.VenueAmenityAlcohol](../../models/components/venueamenityalcohol.md)[] | :heavy_minus_sign: | Alcohol-related policies at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `ALCOHOL_ALLOWED` — Alcohol Allowed
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | | +| `audioVisual` | [components.VenueAmenityProvisionPolicy](../../models/components/venueamenityprovisionpolicy.md)[] | :heavy_minus_sign: | Audio-visual provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | | +| `furniture` | [components.VenueAmenityProvisionPolicy](../../models/components/venueamenityprovisionpolicy.md)[] | :heavy_minus_sign: | Furniture provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | | +| `linensAndTableSettings` | [components.VenueAmenityProvisionPolicy](../../models/components/venueamenityprovisionpolicy.md)[] | :heavy_minus_sign: | Linens and table settings provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | | +| `lighting` | [components.VenueAmenityProvisionPolicy](../../models/components/venueamenityprovisionpolicy.md)[] | :heavy_minus_sign: | Lighting provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | | +| `otherDecor` | [components.VenueAmenityProvisionPolicy](../../models/components/venueamenityprovisionpolicy.md)[] | :heavy_minus_sign: | Other décor provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | | +| `id` | *string* | :heavy_check_mark: | Venue ID. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `name` | *string* | :heavy_check_mark: | The name of the venue. | Harbor View Convention Center | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/existingvenueamenitiesinput.md b/packages/typescript/docs/models/components/existingvenueamenitiesinput.md new file mode 100644 index 000000000..8608827ab --- /dev/null +++ b/packages/typescript/docs/models/components/existingvenueamenitiesinput.md @@ -0,0 +1,51 @@ +# ExistingVenueAmenitiesInput + +The current amenity selections for a venue, including identifying properties. + +## Example Usage + +```typescript +import { ExistingVenueAmenitiesInput } from "@cvent/sdk/models/components"; + +let value: ExistingVenueAmenitiesInput = { + avCapabilities: [ + { + amenity: "HIGH_SPEED_INTERNET", + speed: 1000, + }, + ], + parking: [ + { + amenity: "COMPLIMENTARY_PARKING_PROVIDED", + cost: 25, + }, + ], + facilitySpaceInfo: [ + { + amenity: "SEMI_PRIVATE_SPACE", + value: 5000, + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `recreationalActivities` | [components.VenueAmenityRecreationalActivity](../../models/components/venueamenityrecreationalactivity.md)[] | :heavy_minus_sign: | Recreational facilities and leisure activities available at the venue.

Values:
- `GOLF_ON_GROUNDS` — Golf on Grounds
- `HEALTH_CLUB` — Health Club
- `INDOOR_POOL` — Indoor Pool
- `OUTDOOR_POOL` — Outdoor Pool
- `SKIING` — Skiing
- `SPASALON` — Spa/Salon
- `TENNIS` — Tennis
- `WATER_SPORTS` — Water Sports
- `WHIRLPOOL` — Whirlpool | +| `roomFeatures` | [components.VenueAmenityRoomFeature](../../models/components/venueamenityroomfeature.md)[] | :heavy_minus_sign: | In-room features and guest services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `CONCIERGE_SERVICES` — Concierge Services
- `FREE_LOCAL_CALLS` — Free Local Calls
- `FREE_TOLL_FREE_CALLS` — Toll-Free Calls
- `GARDEN_VIEWS` — Garden Views
- `INTERNET` — Internet
- `LAUNDRY` — Laundry
- `LUGGAGE_STORAGE` — Luggage Storage
- `MOUNTAIN_VIEWS` — Mountain Views
- `OCEANWATER_VIEWS` — Ocean/Water Views
- `ROOM_SERVICE` — Room Service
- `URBAN_VIEWS` — Urban Views
- `VOICE_MAIL_BOX` — Voicemail Box | +| `avCapabilities` | [components.VenueAmenityAvCapabilityItem](../../models/components/venueamenityavcapabilityitem.md)[] | :heavy_minus_sign: | Audio-visual equipment and connectivity available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Each entry selects an AV capability and, where applicable, provides an internet speed. A `speed` value may only be supplied when `amenity` is `HIGH_SPEED_INTERNET`. | +| `businessServices` | [components.VenueAmenityBusinessService](../../models/components/venueamenitybusinessservice.md)[] | :heavy_minus_sign: | Business and communications services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AUDIOVIDEO_CAPABILITIES` — Audio/Video Capabilities
- `BUSINESS_CENTER` — Business Center
- `VIDEO_CONFERENCING` — Video Conferencing
- `VIP_SERVICES` — VIP Services | +| `transportation` | [components.VenueAmenityTransportation](../../models/components/venueamenitytransportation.md)[] | :heavy_minus_sign: | Transportation options by which the venue is accessible. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `BUS` — Bus
- `SHUTTLE` — Shuttle
- `SUBWAY` — Subway
- `TAXI` — Taxi
- `TRAIN` — Train | +| `equipment` | [components.VenueAmenityEquipment](../../models/components/venueamenityequipment.md)[] | :heavy_minus_sign: | Physical equipment and staging resources available for event use at the venue.

Values:
- `DANCE_FLOORS` — Dance Floors
- `LOADING_DOCK_AVAILABLE` — Loading Dock
- `PIANO` — Piano
- `PORTABLE_HEATERS` — Portable Heaters
- `PORTABLE_WALLS` — Portable Walls
- `STAGING` — Staging | +| `parking` | [components.VenueAmenityParkingItem](../../models/components/venueamenityparkingitem.md)[] | :heavy_minus_sign: | Parking options available at or near the venue. Each entry selects a parking type and, where applicable, provides the daily rate. A cost may only be supplied for `PAID_PARKING_AVAILABLE` and `VALET_PARKING_AVAILABLE`. | +| `facilityInfo` | [components.VenueAmenityFacilityInfo](../../models/components/venueamenityfacilityinfo.md)[] | :heavy_minus_sign: | General facility features and on-site services available at the venue. Applicable only to the following venue types: Boutique Hotel, Conference Center, Convention Center, Exposition Center, Hotel, Luxury Hotel, and Resort (all values below except `BUSINESS_CENTER` and `INTERNET`); Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue (only `BUSINESS_CENTER`, `CASINO`, `INTERNET`, `RESTAURANT_ON_SITE`, and `WHEELCHAIR_ACCESSIBLE`).

Values:
- `ALL_INCLUSIVE` — All Inclusive
- `BUSINESS_CENTER` — Business Center
- `CASINO` — Casino
- `EXTENDED_STAY` — Extended Stay
- `FREE_AIRPORT_SHUTTLE` — Free Airport Shuttle
- `GIFT_SHOP_ON_SITE` — Onsite Gift Shop
- `INTERNET` — Internet
- `ONSITE_CATERING` — Onsite Catering
- `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed
- `PETS_WELCOME` — Pet Friendly
- `RENTAL_CAR_SERVICES` — Rental Car Services
- `RESTAURANT_ON_SITE` — Onsite Restaurant
- `SECURITY_STAFF_ONSITE` — Onsite Security
- `WHEELCHAIR_ACCESSIBLE` — Wheelchair Accessible | +| `facilitySpaceInfo` | [components.VenueAmenityFacilitySpaceItem](../../models/components/venueamenityfacilityspaceitem.md)[] | :heavy_minus_sign: | Facility space measurements at the venue. Each entry selects a space type and optionally provides the available event space area, expressed in the venue's configured unit of measurement. | +| `cateringDetails` | [components.VenueAmenityCateringDetail](../../models/components/venueamenitycateringdetail.md)[] | :heavy_minus_sign: | Catering options and policies offered at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `KITCHEN_ONSITE` — Kitchen Onsite
- `ONSITE_CATERING` — Onsite Catering
- `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed | +| `alcohol` | [components.VenueAmenityAlcohol](../../models/components/venueamenityalcohol.md)[] | :heavy_minus_sign: | Alcohol-related policies at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `ALCOHOL_ALLOWED` — Alcohol Allowed
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | +| `audioVisual` | [components.VenueAmenityProvisionPolicy](../../models/components/venueamenityprovisionpolicy.md)[] | :heavy_minus_sign: | Audio-visual provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | +| `furniture` | [components.VenueAmenityProvisionPolicy](../../models/components/venueamenityprovisionpolicy.md)[] | :heavy_minus_sign: | Furniture provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | +| `linensAndTableSettings` | [components.VenueAmenityProvisionPolicy](../../models/components/venueamenityprovisionpolicy.md)[] | :heavy_minus_sign: | Linens and table settings provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | +| `lighting` | [components.VenueAmenityProvisionPolicy](../../models/components/venueamenityprovisionpolicy.md)[] | :heavy_minus_sign: | Lighting provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | +| `otherDecor` | [components.VenueAmenityProvisionPolicy](../../models/components/venueamenityprovisionpolicy.md)[] | :heavy_minus_sign: | Other décor provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue.

Values:
- `AVAILABLE` — Available
- `BRING_YOUR_OWN` — Bring Your Own
- `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/guestroomoccupancyperroomtype.md b/packages/typescript/docs/models/components/guestroomoccupancyperroomtype.md index e33f0df9a..cb8b2f0e3 100644 --- a/packages/typescript/docs/models/components/guestroomoccupancyperroomtype.md +++ b/packages/typescript/docs/models/components/guestroomoccupancyperroomtype.md @@ -18,4 +18,4 @@ let value: GuestRoomOccupancyPerRoomType = { | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `occupancy` | [components.GuestRoomOccupancy](../../models/components/guestroomoccupancy.md) | :heavy_minus_sign: | Guest room occupancy. `SINGLE`: Single occupant. `DOUBLE`: Two occupants. `TRIPLE`: Three occupants. `QUAD`: Four occupants. | SINGLE | -| `type` | [components.GuestRoomType](../../models/components/guestroomtype.md) | :heavy_minus_sign: | Guest room type. `ANY`: Room can be any type. `SINGLE`: Room with one bed. `DOUBLE`: Room with two beds. `SUITE`: Room is an entire suite. `STAFF`: Room is for staff. | DOUBLE | \ No newline at end of file +| `type` | [components.GuestRoomType](../../models/components/guestroomtype.md) | :heavy_check_mark: | Guest room type. `ANY`: Room can be any type. `SINGLE`: Room with one bed. `DOUBLE`: Room with two beds. `SUITE`: Room is an entire suite. `STAFF`: Room is for staff. | DOUBLE | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadcatcher.md b/packages/typescript/docs/models/components/leadcatcher.md new file mode 100644 index 000000000..c08c89881 --- /dev/null +++ b/packages/typescript/docs/models/components/leadcatcher.md @@ -0,0 +1,43 @@ +# LeadCatcher + +A contact attached to a venue offering who receives email notifications when RFPs are submitted to that venue. + +## Example Usage + +```typescript +import { LeadCatcher } from "@cvent/sdk/models/components"; + +let value: LeadCatcher = { + firstName: "Jane", + lastName: "Smith", + title: "Director of Sales", + email: "jane.smith@example.com", + phone: "+1-555-555-0101", + fax: "+1-555-555-0101", + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + }, + config: { + supplierContactRole: "Sales Manager", + }, + additionalInfo: "Preferred contact for APAC venues.", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `firstName` | *string* | :heavy_check_mark: | First name of the lead catcher contact. | Jane | +| `lastName` | *string* | :heavy_check_mark: | Last name of the lead catcher contact. | Smith | +| `title` | *string* | :heavy_minus_sign: | Job title of the lead catcher contact. | Director of Sales | +| `email` | *string* | :heavy_check_mark: | Email address of the lead catcher contact. RFP notifications are sent to this address. | jane.smith@example.com | +| `phone` | *string* | :heavy_check_mark: | Phone number of the lead catcher contact. | +1-555-555-0101 | +| `fax` | *string* | :heavy_minus_sign: | Fax number of the lead catcher contact. | +1-555-555-0101 | +| `address` | [components.LeadCatcherAddress](../../models/components/leadcatcheraddress.md) | :heavy_minus_sign: | Address information for a lead catcher contact. | | +| `locale` | [components.LocaleLanguageVariant](../../models/components/localelanguagevariant.md) | :heavy_minus_sign: | Language locale of a Lead Catcher contact.

Values:
- `zh-CHS` — Chinese (Simplified) Legacy
- `zh-TW` — Chinese (Traditional, Taiwan)
- `de-DE` — German (Germany)
- `en-US` — English (United States)
- `fi-FI` — Finnish (Finland)
- `fr-FR` — French (France)
- `it-IT` — Italian (Italy)
- `ja-JP` — Japanese (Japan)
- `ko-KR` — Korean (Korea)
- `nl-NL` — Dutch (Netherlands)
- `pt-BR` — Portuguese (Brazil)
- `ru-RU` — Russian (Russia)
- `sv-SE` — Swedish (Sweden)
- `th-TH` — Thai (Thailand)
- `tr-TR` — Turkish (Turkey)
- `uk-UA` — Ukrainian (Ukraine)
- `zh-CN` — Chinese (Simplified, China)
- `de-CH` — German (Switzerland)
- `en-GB` — English (United Kingdom)
- `es-MX` — Spanish (Mexico)
- `fr-BE` — French (Belgium)
- `it-CH` — Italian (Switzerland)
- `nl-BE` — Dutch (Belgium)
- `pt-PT` — Portuguese (Portugal)
- `ru-MD` — Russian (Moldova)
- `sv-FI` — Swedish (Finland)
- `zh-HK` — Chinese (Traditional, Hong Kong SAR)
- `de-AT` — German (Austria)
- `en-AU` — English (Australia)
- `es-ES` — Spanish (Spain, International Sort)
- `fr-CA` — French (Canada)
- `zh-SG` — Chinese (Simplified, Singapore)
- `de-LU` — German (Luxembourg)
- `en-CA` — English (Canada)
- `es-GT` — Spanish (Guatemala)
- `fr-CH` — French (Switzerland)
- `zh-MO` — Chinese (Traditional, Macao SAR)
- `de-LI` — German (Liechtenstein)
- `en-NZ` — English (New Zealand)
- `es-CR` — Spanish (Costa Rica)
- `fr-LU` — French (Luxembourg)
- `en-IE` — English (Ireland)
- `es-PA` — Spanish (Panama)
- `fr-MC` — French (Monaco)
- `en-ZA` — English (South Africa)
- `es-DO` — Spanish (Dominican Republic)
- `fr-029` — French (Caribbean)
- `en-JM` — English (Jamaica)
- `es-VE` — Spanish (Venezuela)
- `fr-RE` — French (Réunion)
- `en-029` — English (Caribbean)
- `es-CO` — Spanish (Colombia)
- `fr-CD` — French Congo (DRC)
- `en-BZ` — English (Belize)
- `es-PE` — Spanish (Peru)
- `fr-SN` — French (Senegal)
- `en-TT` — English (Trinidad and Tobago)
- `es-AR` — Spanish (Argentina)
- `fr-CM` — French (Cameroon)
- `en-ZW` — English (Zimbabwe)
- `es-EC` — Spanish (Ecuador)
- `fr-CI` — French (Côte d'Ivoire)
- `en-PH` — English (Philippines)
- `es-CL` — Spanish (Chile)
- `fr-ML` — French (Mali)
- `en-ID` — English (Indonesia)
- `es-UY` — Spanish (Uruguay)
- `fr-MA` — French (Morocco)
- `en-HK` — English (Hong Kong SAR)
- `es-PY` — Spanish (Paraguay)
- `fr-HT` — French (Haiti)
- `en-IN` — English (India)
- `es-BO` — Spanish (Bolivia)
- `en-MY` — English (Malaysia)
- `es-SV` — Spanish (El Salvador)
- `en-SG` — English (Singapore)
- `es-HN` — Spanish (Honduras)
- `es-NI` — Spanish (Nicaragua)
- `es-PR` — Spanish (Puerto Rico)
- `es-US` — Spanish (United States)
- `es-419` — Spanish (Latin America)
- `es-CU` — Spanish (Cuba)
- `zh-CHT` — Chinese (Traditional) Legacy | en-US | +| `config` | [components.LeadCatcherConfig](../../models/components/leadcatcherconfig.md) | :heavy_minus_sign: | Notification and role configuration for a lead catcher contact. | | +| `additionalInfo` | *string* | :heavy_minus_sign: | Additional information about the lead catcher contact. | Preferred contact for APAC venues. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadcatcheraddress.md b/packages/typescript/docs/models/components/leadcatcheraddress.md new file mode 100644 index 000000000..786ba392b --- /dev/null +++ b/packages/typescript/docs/models/components/leadcatcheraddress.md @@ -0,0 +1,27 @@ +# LeadCatcherAddress + +Address information for a lead catcher contact. + +## Example Usage + +```typescript +import { LeadCatcherAddress } from "@cvent/sdk/models/components"; + +let value: LeadCatcherAddress = { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `streetAddress1` | *string* | :heavy_minus_sign: | Street address line 1. | 1234 Trap Road | +| `streetAddress2` | *string* | :heavy_minus_sign: | Street address line 2. | Suite 100 | +| `city` | *string* | :heavy_minus_sign: | City. | Vienna | +| `stateProvince` | [components.LeadCatcherAddressStateProvince](../../models/components/leadcatcheraddressstateprovince.md) | :heavy_minus_sign: | State or province code for the contact address (ISO 3166-2). | | +| `zipPostalCode` | *string* | :heavy_minus_sign: | ZIP or postal code. | 22182 | +| `country` | [components.LeadCatcherAddressCountry](../../models/components/leadcatcheraddresscountry.md) | :heavy_minus_sign: | Country code for the contact address (ISO 3166-1 alpha-2). | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadcatcheraddresscountry.md b/packages/typescript/docs/models/components/leadcatcheraddresscountry.md new file mode 100644 index 000000000..1ac2f23a3 --- /dev/null +++ b/packages/typescript/docs/models/components/leadcatcheraddresscountry.md @@ -0,0 +1,17 @@ +# LeadCatcherAddressCountry + +Country code for the contact address (ISO 3166-1 alpha-2). + +## Example Usage + +```typescript +import { LeadCatcherAddressCountry } from "@cvent/sdk/models/components"; + +let value: LeadCatcherAddressCountry = "MA"; +``` + +## Values + +```typescript +"BLANK" | "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AN" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AU" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BL" | "BM" | "BN" | "BO" | "BQ" | "BR" | "BS" | "BT" | "BV" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CU" | "CV" | "CW" | "CX" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GB" | "GB_1" | "GB_2" | "GB_3" | "GB_4" | "GD" | "GE" | "GF" | "GG" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GW" | "GY" | "HK" | "HM" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IM" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JE" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KO" | "KP" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SV" | "SX" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TP" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "UM" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "YE" | "YT" | "ZA" | "ZM" | "ZW" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadcatcheraddresspatch.md b/packages/typescript/docs/models/components/leadcatcheraddresspatch.md new file mode 100644 index 000000000..1de44d09f --- /dev/null +++ b/packages/typescript/docs/models/components/leadcatcheraddresspatch.md @@ -0,0 +1,27 @@ +# LeadCatcherAddressPatch + +Address information for the lead catcher contact. Only the address sub-fields supplied are updated; omitted sub-fields are left unchanged. + +## Example Usage + +```typescript +import { LeadCatcherAddressPatch } from "@cvent/sdk/models/components"; + +let value: LeadCatcherAddressPatch = { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `streetAddress1` | *string* | :heavy_minus_sign: | Street address line 1. | 1234 Trap Road | +| `streetAddress2` | *string* | :heavy_minus_sign: | Street address line 2. | Suite 100 | +| `city` | *string* | :heavy_minus_sign: | City. | Vienna | +| `stateProvince` | [components.LeadCatcherPatchStateProvince](../../models/components/leadcatcherpatchstateprovince.md) | :heavy_minus_sign: | The state province code used for contact information. | | +| `zipPostalCode` | *string* | :heavy_minus_sign: | ZIP or postal code. | 22182 | +| `country` | [components.LeadCatcherPatchCountry](../../models/components/leadcatcherpatchcountry.md) | :heavy_minus_sign: | ISO 3166 two-letter (alpha-2) country code used for contact information. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadcatcheraddressstateprovince.md b/packages/typescript/docs/models/components/leadcatcheraddressstateprovince.md new file mode 100644 index 000000000..dabd27dda --- /dev/null +++ b/packages/typescript/docs/models/components/leadcatcheraddressstateprovince.md @@ -0,0 +1,17 @@ +# LeadCatcherAddressStateProvince + +State or province code for the contact address (ISO 3166-2). + +## Example Usage + +```typescript +import { LeadCatcherAddressStateProvince } from "@cvent/sdk/models/components"; + +let value: LeadCatcherAddressStateProvince = "GR_41"; +``` + +## Values + +```typescript +"BLANK" | "AA" | "AB" | "ABD" | "ABE" | "ACT_AUS" | "AE" | "AGB" | "AGY" | "AK" | "AL" | "ANS" | "ANT" | "AP" | "AR" | "ARD" | "ARM" | "AS" | "AT_1" | "AT_2" | "AT_3" | "AT_4" | "AT_5" | "AT_6" | "AT_7" | "AT_8" | "AT_9" | "AZ" | "BAN" | "BAS" | "BBD" | "BC" | "BDF" | "BE_BRU" | "BEN" | "BE_VAN" | "BE_VBR" | "BE_VLI" | "BE_VOV" | "BE_VWV" | "BE_WBR" | "BE_WHT" | "BE_WLG" | "BE_WLX" | "BE_WNA" | "BEX" | "BFS" | "BGE" | "BGW" | "BIR" | "BKM" | "BLA" | "BLY" | "BMH" | "BNB" | "BNE" | "BNH" | "BNS" | "BOL" | "BPL" | "BR_AC" | "BR_AL" | "BR_AM" | "BR_AP" | "BR_BA" | "BRC" | "BR_CE" | "BRD" | "BR_DF" | "BR_ES" | "BR_GO" | "BRK" | "BR_MA" | "BR_MG" | "BR_MS" | "BR_MT" | "BR_PA" | "BR_PB" | "BR_PE" | "BR_PI" | "BR_PR" | "BR_RJ" | "BR_RN" | "BR_RO" | "BR_RR" | "BR_RS" | "BR_SC" | "BR_SE" | "BR_SP" | "BR_TO" | "BRY" | "BST" | "BUR" | "CA" | "CAM" | "CAY" | "CGN" | "CGV" | "CH_AG" | "CH_AI" | "CH_AR" | "CH_BE" | "CH_BL" | "CH_BS" | "CH_FR" | "CH_GE" | "CH_GL" | "CH_GR" | "CHI" | "CH_JU" | "CH_LU" | "CH_NE" | "CH_NW" | "CH_OW" | "CHS" | "CH_SG" | "CH_SH" | "CH_SO" | "CH_SZ" | "CH_TG" | "CH_TI" | "CH_UR" | "CH_VD" | "CH_VS" | "CH_ZG" | "CH_ZH" | "CKF" | "CKT" | "CLD" | "CLK" | "CLR" | "CMA" | "CMD" | "CMN" | "CN_11" | "CN_12" | "CN_13" | "CN_14" | "CN_15" | "CN_21" | "CN_22" | "CN_23" | "CN_31" | "CN_32" | "CN_33" | "CN_34" | "CN_35" | "CN_36" | "CN_37" | "CN_41" | "CN_42" | "CN_43" | "CN_44" | "CN_45" | "CN_46" | "CN_50" | "CN_51" | "CN_52" | "CN_53" | "CN_54" | "CN_61" | "CN_62" | "CN_63" | "CN_64" | "CN_65" | "CN_91" | "CN_92" | "CO" | "CON" | "COV" | "CRF" | "CRY" | "CSR" | "CT" | "CWD" | "CWY" | "DAL" | "DBY" | "DC" | "DE" | "DEN" | "DER" | "DEV" | "DGN" | "DGY" | "DK_015" | "DK_020" | "DK_025" | "DK_030" | "DK_035" | "DK_040" | "DK_042" | "DK_050" | "DK_055" | "DK_060" | "DK_065" | "DK_070" | "DK_076" | "DK_080" | "DK_101" | "DK_147" | "DK_81" | "DK_82" | "DK_83" | "DK_84" | "DK_85" | "DNC" | "DND" | "DOR" | "DOW" | "DRY" | "DUD" | "DUR" | "EAL" | "EAY" | "EDH" | "EDU" | "ELN" | "ELS" | "ENF" | "ERW" | "ERY" | "ESS" | "ESX" | "FAL" | "FER" | "FIF" | "FL" | "FLN" | "FM" | "GA" | "GAT" | "GB" | "GLG" | "GLN" | "GLS" | "GR_01" | "GR_03" | "GR_04" | "GR_05" | "GR_06" | "GR_07" | "GR_11" | "GR_12" | "GR_13" | "GR_14" | "GR_15" | "GR_16" | "GR_17" | "GR_21" | "GR_22" | "GR_23" | "GR_24" | "GR_31" | "GR_32" | "GR_33" | "GR_34" | "GR_41" | "GR_42" | "GR_43" | "GR_44" | "GR_51" | "GR_52" | "GR_53" | "GR_54" | "GR_55" | "GR_56" | "GR_57" | "GR_58" | "GR_59" | "GR_61" | "GR_62" | "GR_63" | "GR_64" | "GR_69" | "GR_71" | "GR_72" | "GR_73" | "GR_81" | "GR_82" | "GR_83" | "GR_84" | "GR_85" | "GR_91" | "GR_92" | "GR_93" | "GR_94" | "GR_A_1" | "GRE" | "GTM" | "GU" | "GWN" | "HAL" | "HAM" | "HAV" | "HCK" | "HEF" | "HI" | "HIL" | "HLD" | "HMF" | "HNS" | "HPL" | "HRT" | "HRW" | "HRY" | "IA" | "ID" | "IE_C" | "IE_CE" | "IE_CN" | "IE_CW" | "IE_D" | "IE_DL" | "IE_G" | "IE_KE" | "IE_KK" | "IE_KY" | "IE_LD" | "IE_LH" | "IE_LK" | "IE_LM" | "IE_LS" | "IE_MH" | "IE_MN" | "IE_MO" | "IE_OY" | "IE_RN" | "IE_SO" | "IE_TA" | "IE_WD" | "IE_WH" | "IE_WW" | "IE_WX" | "IL" | "IN" | "IN_AN" | "IN_AP" | "IN_AR" | "IN_AS" | "IN_BR" | "IN_CH" | "IN_CT" | "IN_DD" | "IN_DL" | "IN_DN" | "IN_GA" | "IN_GJ" | "IN_HP" | "IN_HR" | "IN_JH" | "IN_JK" | "IN_KA" | "IN_KL" | "IN_LD" | "IN_MH" | "IN_ML" | "IN_MN" | "IN_MP" | "IN_MZ" | "IN_NL" | "IN_OR" | "IN_PB" | "IN_PY" | "IN_RJ" | "IN_SK" | "IN_TG" | "IN_TN" | "IN_TR" | "IN_UL" | "IN_UP" | "IN_WB" | "IOA" | "IOI" | "IOL" | "IOM" | "IOS" | "IOW" | "IOY" | "ISL" | "IT_21" | "IT_23" | "IT_25" | "IT_32" | "IT_34" | "IT_36" | "IT_42" | "IT_45" | "IT_52" | "IT_55" | "IT_57" | "IT_62" | "IT_65" | "IT_67" | "IT_72" | "IT_75" | "IT_77" | "IT_78" | "IT_82" | "IT_88" | "IT_AG" | "IT_AL" | "IT_AN" | "IT_AO" | "IT_AP" | "IT_AQ" | "IT_AR" | "IT_AT" | "IT_AV" | "IT_BA" | "IT_BG" | "IT_BI" | "IT_BL" | "IT_BN" | "IT_BO" | "IT_BR" | "IT_BS" | "IT_BT" | "IT_BZ" | "IT_CA" | "IT_CB" | "IT_CE" | "IT_CH" | "IT_CI" | "IT_CL" | "IT_CN" | "IT_CO" | "IT_CR" | "IT_CS" | "IT_CT" | "IT_CZ" | "IT_EN" | "IT_FC" | "IT_FE" | "IT_FG" | "IT_FI" | "IT_FM" | "IT_FR" | "IT_GE" | "IT_GO" | "IT_GR" | "IT_IM" | "IT_IS" | "IT_KR" | "IT_LC" | "IT_LE" | "IT_LI" | "IT_LO" | "IT_LT" | "IT_LU" | "IT_MB" | "IT_MC" | "IT_ME" | "IT_MI" | "IT_MN" | "IT_MO" | "IT_MS" | "IT_MT" | "IT_NA" | "IT_NO" | "IT_NU" | "IT_OG" | "IT_OR" | "IT_OT" | "IT_PA" | "IT_PC" | "IT_PD" | "IT_PE" | "IT_PG" | "IT_PI" | "IT_PN" | "IT_PO" | "IT_PR" | "IT_PT" | "IT_PU" | "IT_PV" | "IT_PZ" | "IT_RA" | "IT_RC" | "IT_RE" | "IT_RG" | "IT_RI" | "IT_RM" | "IT_RN" | "IT_RO" | "IT_SA" | "IT_SI" | "IT_SO" | "IT_SP" | "IT_SR" | "IT_SS" | "IT_SV" | "IT_TA" | "IT_TE" | "IT_TN" | "IT_TO" | "IT_TP" | "IT_TR" | "IT_TS" | "IT_TV" | "IT_UD" | "IT_VA" | "IT_VB" | "IT_VC" | "IT_VE" | "IT_VI" | "IT_VR" | "IT_VS" | "IT_VT" | "IT_VV" | "IVK" | "JP_01" | "JP_02" | "JP_03" | "JP_04" | "JP_05" | "JP_06" | "JP_07" | "JP_08" | "JP_09" | "JP_10" | "JP_11" | "JP_12" | "JP_13" | "JP_14" | "JP_15" | "JP_16" | "JP_17" | "JP_18" | "JP_19" | "JP_20" | "JP_21" | "JP_22" | "JP_23" | "JP_24" | "JP_25" | "JP_26" | "JP_27" | "JP_28" | "JP_29" | "JP_30" | "JP_31" | "JP_32" | "JP_33" | "JP_34" | "JP_35" | "JP_36" | "JP_37" | "JP_38" | "JP_39" | "JP_40" | "JP_41" | "JP_42" | "JP_43" | "JP_44" | "JP_45" | "JP_46" | "JP_47" | "KEC" | "KEN" | "KHL" | "KIR" | "KS" | "KTT" | "KWL" | "KY" | "LA" | "LAN" | "LBH" | "LCE" | "LDS" | "LEC" | "LEW" | "LIN" | "LIV" | "LMV" | "LND" | "LRN" | "LSB" | "LU_D" | "LU_G" | "LU_L" | "LUT" | "MA" | "MAN" | "MB" | "MD" | "MDB" | "MDS" | "MDW" | "ME" | "MFT" | "MGM" | "MH" | "MI" | "MIK" | "MLN" | "MN" | "MO" | "MON" | "MP" | "MRT" | "MRY" | "MS" | "MSY" | "MT" | "MTY" | "MX_AGU" | "MX_BCN" | "MX_BCS" | "MX_CAM" | "MX_CHH" | "MX_CHP" | "MX_COA" | "MX_COL" | "MX_DIF" | "MX_DUR" | "MX_GRO" | "MX_GUA" | "MX_HID" | "MX_JAL" | "MX_MEX" | "MX_MIC" | "MX_MOR" | "MX_NAY" | "MX_NLE" | "MX_OAX" | "MX_PUE" | "MX_QUE" | "MX_ROO" | "MX_SIN" | "MX_SLP" | "MX_SON" | "MX_TAB" | "MX_TAM" | "MX_TLA" | "MX_VER" | "MX_YUC" | "MX_ZAC" | "MYL" | "NAY" | "NB" | "NBL" | "NC" | "ND" | "NDN" | "NE" | "NEL" | "NET" | "NFK" | "NGM" | "NH" | "NJ" | "NL" | "NL_DR" | "NL_FL" | "NL_FR" | "NL_GE" | "NL_GR" | "NLK" | "NL_LI" | "NLN" | "NL_NB" | "NL_NH" | "NL_OV" | "NL_UT" | "NL_ZE" | "NL_ZH" | "NM" | "NO_01" | "NO_02" | "NO_03" | "NO_04" | "NO_05" | "NO_06" | "NO_07" | "NO_08" | "NO_09" | "NO_10" | "NO_11" | "NO_12" | "NO_14" | "NO_15" | "NO_16" | "NO_17" | "NO_18" | "NO_19" | "NO_20" | "NO_21" | "NO_22" | "NRY" | "NS" | "NSM" | "NSW_AUS" | "NT" | "NT_AUS" | "NTA" | "NTH" | "NTL" | "NTT" | "NTY" | "NU" | "NV" | "NWM" | "NWP" | "NY" | "NYK" | "NYM" | "OH" | "OK" | "OLD" | "OMH" | "ON" | "OR" | "ORK" | "OXF" | "PA" | "PE" | "PEM" | "PKN" | "PLY" | "POL" | "POR" | "POW" | "PR" | "PTE" | "PW" | "QC" | "QLD_AUS" | "RCC" | "RCH" | "RCT" | "RDB" | "RDG" | "RFW" | "RI" | "RIC" | "ROT" | "RUT" | "SA_AUS" | "SAW" | "SAY" | "SC" | "SCB" | "SD" | "SFK" | "SFT" | "SGC" | "SGM" | "SHF" | "SHN" | "SHR" | "SK" | "SKP" | "SLF" | "SLG" | "SLK" | "SOL" | "SOM" | "SOS" | "SRY" | "STB" | "STE" | "STG" | "STH" | "STN" | "STS" | "STT" | "STY" | "SWA" | "SWD" | "SWK" | "SYK" | "TAM" | "TAS_AUS" | "TFW" | "THR" | "TN" | "TOB" | "TOF" | "TRF" | "TWH" | "TWR" | "TX" | "TYR" | "UT" | "VA" | "VGL" | "VI" | "VIC_AUS" | "VT" | "WA" | "WA_AUS" | "WAR" | "WBK" | "WDU" | "WFT" | "WGM" | "WGN" | "WI" | "WIL" | "WIS" | "WKF" | "WLL" | "WLN" | "WLV" | "WMD" | "WND" | "WNM" | "WOK" | "WOR" | "WRL" | "WRT" | "WRX" | "WSM" | "WSX" | "WV" | "WY" | "WYK" | "YOR" | "YT" | "ZET" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadcatcherconfig.md b/packages/typescript/docs/models/components/leadcatcherconfig.md new file mode 100644 index 000000000..dcbecf724 --- /dev/null +++ b/packages/typescript/docs/models/components/leadcatcherconfig.md @@ -0,0 +1,21 @@ +# LeadCatcherConfig + +Notification and role configuration for a lead catcher contact. + +## Example Usage + +```typescript +import { LeadCatcherConfig } from "@cvent/sdk/models/components"; + +let value: LeadCatcherConfig = { + supplierContactRole: "Sales Manager", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `rfpEmailEnabled` | *boolean* | :heavy_minus_sign: | True indicates this contact receives email notifications when an RFP is submitted. | true | +| `pdfLinkEnabled` | *boolean* | :heavy_minus_sign: | True indicates the RFP notification email includes a PDF link. Only meaningful when `rfpEmailEnabled` is `true`. | true | +| `supplierContactRole` | *string* | :heavy_minus_sign: | Name of the supplier contact role assigned to this contact. | Sales Manager | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadcatcherconfigpatch.md b/packages/typescript/docs/models/components/leadcatcherconfigpatch.md new file mode 100644 index 000000000..5f400388f --- /dev/null +++ b/packages/typescript/docs/models/components/leadcatcherconfigpatch.md @@ -0,0 +1,23 @@ +# LeadCatcherConfigPatch + +Notification and role configuration for the lead catcher contact. Only the config sub-fields supplied are updated; omitted sub-fields are left unchanged. + +## Example Usage + +```typescript +import { LeadCatcherConfigPatch } from "@cvent/sdk/models/components"; + +let value: LeadCatcherConfigPatch = { + rfpEmailEnabled: true, + pdfLinkEnabled: true, + supplierContactRole: "roleName", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `rfpEmailEnabled` | *boolean* | :heavy_minus_sign: | True indicates this contact receives email notifications when an RFP is submitted. | true | +| `pdfLinkEnabled` | *boolean* | :heavy_minus_sign: | True indicates the RFP notification email includes a PDF link. Only meaningful when `rfpEmailEnabled` is `true`. | true | +| `supplierContactRole` | *string* | :heavy_minus_sign: | Name of the supplier contact role assigned to this contact. | roleName | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadcatcheroverview.md b/packages/typescript/docs/models/components/leadcatcheroverview.md new file mode 100644 index 000000000..ffc4f7d14 --- /dev/null +++ b/packages/typescript/docs/models/components/leadcatcheroverview.md @@ -0,0 +1,23 @@ +# LeadCatcherOverview + +A lightweight, non-PII overview of a lead catcher contact. + +## Example Usage + +```typescript +import { LeadCatcherOverview } from "@cvent/sdk/models/components"; + +let value: LeadCatcherOverview = { + id: "7e5c2c23-b2bb-461a-adc9-025184988519", + firstName: "Jane", + lastName: "Smith", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `id` | *string* | :heavy_check_mark: | Lead catcher ID. | 7e5c2c23-b2bb-461a-adc9-025184988519 | +| `firstName` | *string* | :heavy_check_mark: | First name of the lead catcher contact. | Jane | +| `lastName` | *string* | :heavy_check_mark: | Last name of the lead catcher contact. | Smith | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadcatcherpatch.md b/packages/typescript/docs/models/components/leadcatcherpatch.md new file mode 100644 index 000000000..a30ac9fcd --- /dev/null +++ b/packages/typescript/docs/models/components/leadcatcherpatch.md @@ -0,0 +1,46 @@ +# LeadCatcherPatch + +Partial update payload for a lead catcher contact. + +## Example Usage + +```typescript +import { LeadCatcherPatch } from "@cvent/sdk/models/components"; + +let value: LeadCatcherPatch = { + firstName: "Jane", + lastName: "Smith", + title: "Director of Sales", + email: "jane.smith@example.com", + phone: "+1-555-0100", + fax: "+1-555-0101", + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + }, + locale: "en-US", + config: { + rfpEmailEnabled: true, + pdfLinkEnabled: true, + supplierContactRole: "roleName", + }, + additionalInfo: "Preferred contact for APAC venues.", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `firstName` | *string* | :heavy_minus_sign: | First name of the lead catcher contact. | Jane | +| `lastName` | *string* | :heavy_minus_sign: | Last name of the lead catcher contact. | Smith | +| `title` | *string* | :heavy_minus_sign: | Job title of the lead catcher contact. | Director of Sales | +| `email` | *string* | :heavy_minus_sign: | Email address of the lead catcher contact. RFP notifications are sent to this address. | jane.smith@example.com | +| `phone` | *string* | :heavy_minus_sign: | Phone number of the lead catcher contact. | +1-555-0100 | +| `fax` | *string* | :heavy_minus_sign: | Fax number of the lead catcher contact. | +1-555-0101 | +| `address` | [components.LeadCatcherAddressPatch](../../models/components/leadcatcheraddresspatch.md) | :heavy_minus_sign: | Address information for the lead catcher contact. Only the address sub-fields supplied are updated; omitted sub-fields are left unchanged. | | +| `locale` | *string* | :heavy_minus_sign: | Locale used for planner communications sent to this contact. | en-US | +| `config` | [components.LeadCatcherConfigPatch](../../models/components/leadcatcherconfigpatch.md) | :heavy_minus_sign: | Notification and role configuration for the lead catcher contact. Only the config sub-fields supplied are updated; omitted sub-fields are left unchanged. | | +| `additionalInfo` | *string* | :heavy_minus_sign: | Additional information about the lead catcher contact. | Preferred contact for APAC venues. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadcatcherpatchcountry.md b/packages/typescript/docs/models/components/leadcatcherpatchcountry.md new file mode 100644 index 000000000..b032e4871 --- /dev/null +++ b/packages/typescript/docs/models/components/leadcatcherpatchcountry.md @@ -0,0 +1,17 @@ +# LeadCatcherPatchCountry + +ISO 3166 two-letter (alpha-2) country code used for contact information. + +## Example Usage + +```typescript +import { LeadCatcherPatchCountry } from "@cvent/sdk/models/components"; + +let value: LeadCatcherPatchCountry = "AD"; +``` + +## Values + +```typescript +"BLANK" | "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AN" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AU" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BL" | "BM" | "BN" | "BO" | "BQ" | "BR" | "BS" | "BT" | "BV" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CU" | "CV" | "CW" | "CX" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GB" | "GB_1" | "GB_2" | "GB_3" | "GB_4" | "GD" | "GE" | "GF" | "GG" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GW" | "GY" | "HK" | "HM" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IM" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JE" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KO" | "KP" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SV" | "SX" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TP" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "UM" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "YE" | "YT" | "ZA" | "ZM" | "ZW" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadcatcherpatchstateprovince.md b/packages/typescript/docs/models/components/leadcatcherpatchstateprovince.md new file mode 100644 index 000000000..ca13941cc --- /dev/null +++ b/packages/typescript/docs/models/components/leadcatcherpatchstateprovince.md @@ -0,0 +1,17 @@ +# LeadCatcherPatchStateProvince + +The state province code used for contact information. + +## Example Usage + +```typescript +import { LeadCatcherPatchStateProvince } from "@cvent/sdk/models/components"; + +let value: LeadCatcherPatchStateProvince = "AGY"; +``` + +## Values + +```typescript +"BLANK" | "AA" | "AB" | "ABD" | "ABE" | "ACT_AUS" | "AE" | "AGB" | "AGY" | "AK" | "AL" | "ANS" | "ANT" | "AP" | "AR" | "ARD" | "ARM" | "AS" | "AT_1" | "AT_2" | "AT_3" | "AT_4" | "AT_5" | "AT_6" | "AT_7" | "AT_8" | "AT_9" | "AZ" | "BAN" | "BAS" | "BBD" | "BC" | "BDF" | "BE_BRU" | "BEN" | "BE_VAN" | "BE_VBR" | "BE_VLI" | "BE_VOV" | "BE_VWV" | "BE_WBR" | "BE_WHT" | "BE_WLG" | "BE_WLX" | "BE_WNA" | "BEX" | "BFS" | "BGE" | "BGW" | "BIR" | "BKM" | "BLA" | "BLY" | "BMH" | "BNB" | "BNE" | "BNH" | "BNS" | "BOL" | "BPL" | "BR_AC" | "BR_AL" | "BR_AM" | "BR_AP" | "BR_BA" | "BRC" | "BR_CE" | "BRD" | "BR_DF" | "BR_ES" | "BR_GO" | "BRK" | "BR_MA" | "BR_MG" | "BR_MS" | "BR_MT" | "BR_PA" | "BR_PB" | "BR_PE" | "BR_PI" | "BR_PR" | "BR_RJ" | "BR_RN" | "BR_RO" | "BR_RR" | "BR_RS" | "BR_SC" | "BR_SE" | "BR_SP" | "BR_TO" | "BRY" | "BST" | "BUR" | "CA" | "CAM" | "CAY" | "CGN" | "CGV" | "CH_AG" | "CH_AI" | "CH_AR" | "CH_BE" | "CH_BL" | "CH_BS" | "CH_FR" | "CH_GE" | "CH_GL" | "CH_GR" | "CHI" | "CH_JU" | "CH_LU" | "CH_NE" | "CH_NW" | "CH_OW" | "CHS" | "CH_SG" | "CH_SH" | "CH_SO" | "CH_SZ" | "CH_TG" | "CH_TI" | "CH_UR" | "CH_VD" | "CH_VS" | "CH_ZG" | "CH_ZH" | "CKF" | "CKT" | "CLD" | "CLK" | "CLR" | "CMA" | "CMD" | "CMN" | "CN_11" | "CN_12" | "CN_13" | "CN_14" | "CN_15" | "CN_21" | "CN_22" | "CN_23" | "CN_31" | "CN_32" | "CN_33" | "CN_34" | "CN_35" | "CN_36" | "CN_37" | "CN_41" | "CN_42" | "CN_43" | "CN_44" | "CN_45" | "CN_46" | "CN_50" | "CN_51" | "CN_52" | "CN_53" | "CN_54" | "CN_61" | "CN_62" | "CN_63" | "CN_64" | "CN_65" | "CN_91" | "CN_92" | "CO" | "CON" | "COV" | "CRF" | "CRY" | "CSR" | "CT" | "CWD" | "CWY" | "DAL" | "DBY" | "DC" | "DE" | "DEN" | "DER" | "DEV" | "DGN" | "DGY" | "DK_015" | "DK_020" | "DK_025" | "DK_030" | "DK_035" | "DK_040" | "DK_042" | "DK_050" | "DK_055" | "DK_060" | "DK_065" | "DK_070" | "DK_076" | "DK_080" | "DK_101" | "DK_147" | "DK_81" | "DK_82" | "DK_83" | "DK_84" | "DK_85" | "DNC" | "DND" | "DOR" | "DOW" | "DRY" | "DUD" | "DUR" | "EAL" | "EAY" | "EDH" | "EDU" | "ELN" | "ELS" | "ENF" | "ERW" | "ERY" | "ESS" | "ESX" | "FAL" | "FER" | "FIF" | "FL" | "FLN" | "FM" | "GA" | "GAT" | "GB" | "GLG" | "GLN" | "GLS" | "GR_01" | "GR_03" | "GR_04" | "GR_05" | "GR_06" | "GR_07" | "GR_11" | "GR_12" | "GR_13" | "GR_14" | "GR_15" | "GR_16" | "GR_17" | "GR_21" | "GR_22" | "GR_23" | "GR_24" | "GR_31" | "GR_32" | "GR_33" | "GR_34" | "GR_41" | "GR_42" | "GR_43" | "GR_44" | "GR_51" | "GR_52" | "GR_53" | "GR_54" | "GR_55" | "GR_56" | "GR_57" | "GR_58" | "GR_59" | "GR_61" | "GR_62" | "GR_63" | "GR_64" | "GR_69" | "GR_71" | "GR_72" | "GR_73" | "GR_81" | "GR_82" | "GR_83" | "GR_84" | "GR_85" | "GR_91" | "GR_92" | "GR_93" | "GR_94" | "GR_A_1" | "GRE" | "GTM" | "GU" | "GWN" | "HAL" | "HAM" | "HAV" | "HCK" | "HEF" | "HI" | "HIL" | "HLD" | "HMF" | "HNS" | "HPL" | "HRT" | "HRW" | "HRY" | "IA" | "ID" | "IE_C" | "IE_CE" | "IE_CN" | "IE_CW" | "IE_D" | "IE_DL" | "IE_G" | "IE_KE" | "IE_KK" | "IE_KY" | "IE_LD" | "IE_LH" | "IE_LK" | "IE_LM" | "IE_LS" | "IE_MH" | "IE_MN" | "IE_MO" | "IE_OY" | "IE_RN" | "IE_SO" | "IE_TA" | "IE_WD" | "IE_WH" | "IE_WW" | "IE_WX" | "IL" | "IN" | "IN_AN" | "IN_AP" | "IN_AR" | "IN_AS" | "IN_BR" | "IN_CH" | "IN_CT" | "IN_DD" | "IN_DL" | "IN_DN" | "IN_GA" | "IN_GJ" | "IN_HP" | "IN_HR" | "IN_JH" | "IN_JK" | "IN_KA" | "IN_KL" | "IN_LD" | "IN_MH" | "IN_ML" | "IN_MN" | "IN_MP" | "IN_MZ" | "IN_NL" | "IN_OR" | "IN_PB" | "IN_PY" | "IN_RJ" | "IN_SK" | "IN_TG" | "IN_TN" | "IN_TR" | "IN_UL" | "IN_UP" | "IN_WB" | "IOA" | "IOI" | "IOL" | "IOM" | "IOS" | "IOW" | "IOY" | "ISL" | "IT_21" | "IT_23" | "IT_25" | "IT_32" | "IT_34" | "IT_36" | "IT_42" | "IT_45" | "IT_52" | "IT_55" | "IT_57" | "IT_62" | "IT_65" | "IT_67" | "IT_72" | "IT_75" | "IT_77" | "IT_78" | "IT_82" | "IT_88" | "IT_AG" | "IT_AL" | "IT_AN" | "IT_AO" | "IT_AP" | "IT_AQ" | "IT_AR" | "IT_AT" | "IT_AV" | "IT_BA" | "IT_BG" | "IT_BI" | "IT_BL" | "IT_BN" | "IT_BO" | "IT_BR" | "IT_BS" | "IT_BT" | "IT_BZ" | "IT_CA" | "IT_CB" | "IT_CE" | "IT_CH" | "IT_CI" | "IT_CL" | "IT_CN" | "IT_CO" | "IT_CR" | "IT_CS" | "IT_CT" | "IT_CZ" | "IT_EN" | "IT_FC" | "IT_FE" | "IT_FG" | "IT_FI" | "IT_FM" | "IT_FR" | "IT_GE" | "IT_GO" | "IT_GR" | "IT_IM" | "IT_IS" | "IT_KR" | "IT_LC" | "IT_LE" | "IT_LI" | "IT_LO" | "IT_LT" | "IT_LU" | "IT_MB" | "IT_MC" | "IT_ME" | "IT_MI" | "IT_MN" | "IT_MO" | "IT_MS" | "IT_MT" | "IT_NA" | "IT_NO" | "IT_NU" | "IT_OG" | "IT_OR" | "IT_OT" | "IT_PA" | "IT_PC" | "IT_PD" | "IT_PE" | "IT_PG" | "IT_PI" | "IT_PN" | "IT_PO" | "IT_PR" | "IT_PT" | "IT_PU" | "IT_PV" | "IT_PZ" | "IT_RA" | "IT_RC" | "IT_RE" | "IT_RG" | "IT_RI" | "IT_RM" | "IT_RN" | "IT_RO" | "IT_SA" | "IT_SI" | "IT_SO" | "IT_SP" | "IT_SR" | "IT_SS" | "IT_SV" | "IT_TA" | "IT_TE" | "IT_TN" | "IT_TO" | "IT_TP" | "IT_TR" | "IT_TS" | "IT_TV" | "IT_UD" | "IT_VA" | "IT_VB" | "IT_VC" | "IT_VE" | "IT_VI" | "IT_VR" | "IT_VS" | "IT_VT" | "IT_VV" | "IVK" | "JP_01" | "JP_02" | "JP_03" | "JP_04" | "JP_05" | "JP_06" | "JP_07" | "JP_08" | "JP_09" | "JP_10" | "JP_11" | "JP_12" | "JP_13" | "JP_14" | "JP_15" | "JP_16" | "JP_17" | "JP_18" | "JP_19" | "JP_20" | "JP_21" | "JP_22" | "JP_23" | "JP_24" | "JP_25" | "JP_26" | "JP_27" | "JP_28" | "JP_29" | "JP_30" | "JP_31" | "JP_32" | "JP_33" | "JP_34" | "JP_35" | "JP_36" | "JP_37" | "JP_38" | "JP_39" | "JP_40" | "JP_41" | "JP_42" | "JP_43" | "JP_44" | "JP_45" | "JP_46" | "JP_47" | "KEC" | "KEN" | "KHL" | "KIR" | "KS" | "KTT" | "KWL" | "KY" | "LA" | "LAN" | "LBH" | "LCE" | "LDS" | "LEC" | "LEW" | "LIN" | "LIV" | "LMV" | "LND" | "LRN" | "LSB" | "LU_D" | "LU_G" | "LU_L" | "LUT" | "MA" | "MAN" | "MB" | "MD" | "MDB" | "MDS" | "MDW" | "ME" | "MFT" | "MGM" | "MH" | "MI" | "MIK" | "MLN" | "MN" | "MO" | "MON" | "MP" | "MRT" | "MRY" | "MS" | "MSY" | "MT" | "MTY" | "MX_AGU" | "MX_BCN" | "MX_BCS" | "MX_CAM" | "MX_CHH" | "MX_CHP" | "MX_COA" | "MX_COL" | "MX_DIF" | "MX_DUR" | "MX_GRO" | "MX_GUA" | "MX_HID" | "MX_JAL" | "MX_MEX" | "MX_MIC" | "MX_MOR" | "MX_NAY" | "MX_NLE" | "MX_OAX" | "MX_PUE" | "MX_QUE" | "MX_ROO" | "MX_SIN" | "MX_SLP" | "MX_SON" | "MX_TAB" | "MX_TAM" | "MX_TLA" | "MX_VER" | "MX_YUC" | "MX_ZAC" | "MYL" | "NAY" | "NB" | "NBL" | "NC" | "ND" | "NDN" | "NE" | "NEL" | "NET" | "NFK" | "NGM" | "NH" | "NJ" | "NL" | "NL_DR" | "NL_FL" | "NL_FR" | "NL_GE" | "NL_GR" | "NLK" | "NL_LI" | "NLN" | "NL_NB" | "NL_NH" | "NL_OV" | "NL_UT" | "NL_ZE" | "NL_ZH" | "NM" | "NO_01" | "NO_02" | "NO_03" | "NO_04" | "NO_05" | "NO_06" | "NO_07" | "NO_08" | "NO_09" | "NO_10" | "NO_11" | "NO_12" | "NO_14" | "NO_15" | "NO_16" | "NO_17" | "NO_18" | "NO_19" | "NO_20" | "NO_21" | "NO_22" | "NRY" | "NS" | "NSM" | "NSW_AUS" | "NT" | "NT_AUS" | "NTA" | "NTH" | "NTL" | "NTT" | "NTY" | "NU" | "NV" | "NWM" | "NWP" | "NY" | "NYK" | "NYM" | "OH" | "OK" | "OLD" | "OMH" | "ON" | "OR" | "ORK" | "OXF" | "PA" | "PE" | "PEM" | "PKN" | "PLY" | "POL" | "POR" | "POW" | "PR" | "PTE" | "PW" | "QC" | "QLD_AUS" | "RCC" | "RCH" | "RCT" | "RDB" | "RDG" | "RFW" | "RI" | "RIC" | "ROT" | "RUT" | "SA_AUS" | "SAW" | "SAY" | "SC" | "SCB" | "SD" | "SFK" | "SFT" | "SGC" | "SGM" | "SHF" | "SHN" | "SHR" | "SK" | "SKP" | "SLF" | "SLG" | "SLK" | "SOL" | "SOM" | "SOS" | "SRY" | "STB" | "STE" | "STG" | "STH" | "STN" | "STS" | "STT" | "STY" | "SWA" | "SWD" | "SWK" | "SYK" | "TAM" | "TAS_AUS" | "TFW" | "THR" | "TN" | "TOB" | "TOF" | "TRF" | "TWH" | "TWR" | "TX" | "TYR" | "UT" | "VA" | "VGL" | "VI" | "VIC_AUS" | "VT" | "WA" | "WA_AUS" | "WAR" | "WBK" | "WDU" | "WFT" | "WGM" | "WGN" | "WI" | "WIL" | "WIS" | "WKF" | "WLL" | "WLN" | "WLV" | "WMD" | "WND" | "WNM" | "WOK" | "WOR" | "WRL" | "WRT" | "WRX" | "WSM" | "WSX" | "WV" | "WY" | "WYK" | "YOR" | "YT" | "ZET" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/leadcatchersoverviewresponse.md b/packages/typescript/docs/models/components/leadcatchersoverviewresponse.md new file mode 100644 index 000000000..dfcb7503a --- /dev/null +++ b/packages/typescript/docs/models/components/leadcatchersoverviewresponse.md @@ -0,0 +1,44 @@ +# LeadCatchersOverviewResponse + +Paginated overview of lead catchers for a venue. + +## Example Usage + +```typescript +import { LeadCatchersOverviewResponse } from "@cvent/sdk/models/components"; + +let value: LeadCatchersOverviewResponse = { + paging: { + previousToken: "1a2b3c4d5e6f7g8h9i10j11k", + nextToken: "1a2b3c4d5e6f7g8h9i10j11k", + currentToken: "1a2b3c4d5e6f7g8h9i10j11k", + limit: 100, + totalCount: 2, + links: { + next: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + self: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + prev: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + }, + }, + data: [ + { + id: "7e5c2c23-b2bb-461a-adc9-025184988519", + firstName: "Jane", + lastName: "Smith", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `paging` | [components.Paging](../../models/components/paging.md) | :heavy_check_mark: | Represents pagination information for a collection of resources. | +| `data` | [components.LeadCatcherOverview](../../models/components/leadcatcheroverview.md)[] | :heavy_check_mark: | Each item is a lightweight, non-PII overview of a lead catcher for the venue, containing only the `id`, `firstName`, and `lastName`. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/localelanguagevariant.md b/packages/typescript/docs/models/components/localelanguagevariant.md new file mode 100644 index 000000000..83e0183bd --- /dev/null +++ b/packages/typescript/docs/models/components/localelanguagevariant.md @@ -0,0 +1,102 @@ +# LocaleLanguageVariant + +Language locale of a Lead Catcher contact. + +Values: +- `zh-CHS` — Chinese (Simplified) Legacy +- `zh-TW` — Chinese (Traditional, Taiwan) +- `de-DE` — German (Germany) +- `en-US` — English (United States) +- `fi-FI` — Finnish (Finland) +- `fr-FR` — French (France) +- `it-IT` — Italian (Italy) +- `ja-JP` — Japanese (Japan) +- `ko-KR` — Korean (Korea) +- `nl-NL` — Dutch (Netherlands) +- `pt-BR` — Portuguese (Brazil) +- `ru-RU` — Russian (Russia) +- `sv-SE` — Swedish (Sweden) +- `th-TH` — Thai (Thailand) +- `tr-TR` — Turkish (Turkey) +- `uk-UA` — Ukrainian (Ukraine) +- `zh-CN` — Chinese (Simplified, China) +- `de-CH` — German (Switzerland) +- `en-GB` — English (United Kingdom) +- `es-MX` — Spanish (Mexico) +- `fr-BE` — French (Belgium) +- `it-CH` — Italian (Switzerland) +- `nl-BE` — Dutch (Belgium) +- `pt-PT` — Portuguese (Portugal) +- `ru-MD` — Russian (Moldova) +- `sv-FI` — Swedish (Finland) +- `zh-HK` — Chinese (Traditional, Hong Kong SAR) +- `de-AT` — German (Austria) +- `en-AU` — English (Australia) +- `es-ES` — Spanish (Spain, International Sort) +- `fr-CA` — French (Canada) +- `zh-SG` — Chinese (Simplified, Singapore) +- `de-LU` — German (Luxembourg) +- `en-CA` — English (Canada) +- `es-GT` — Spanish (Guatemala) +- `fr-CH` — French (Switzerland) +- `zh-MO` — Chinese (Traditional, Macao SAR) +- `de-LI` — German (Liechtenstein) +- `en-NZ` — English (New Zealand) +- `es-CR` — Spanish (Costa Rica) +- `fr-LU` — French (Luxembourg) +- `en-IE` — English (Ireland) +- `es-PA` — Spanish (Panama) +- `fr-MC` — French (Monaco) +- `en-ZA` — English (South Africa) +- `es-DO` — Spanish (Dominican Republic) +- `fr-029` — French (Caribbean) +- `en-JM` — English (Jamaica) +- `es-VE` — Spanish (Venezuela) +- `fr-RE` — French (Réunion) +- `en-029` — English (Caribbean) +- `es-CO` — Spanish (Colombia) +- `fr-CD` — French Congo (DRC) +- `en-BZ` — English (Belize) +- `es-PE` — Spanish (Peru) +- `fr-SN` — French (Senegal) +- `en-TT` — English (Trinidad and Tobago) +- `es-AR` — Spanish (Argentina) +- `fr-CM` — French (Cameroon) +- `en-ZW` — English (Zimbabwe) +- `es-EC` — Spanish (Ecuador) +- `fr-CI` — French (Côte d'Ivoire) +- `en-PH` — English (Philippines) +- `es-CL` — Spanish (Chile) +- `fr-ML` — French (Mali) +- `en-ID` — English (Indonesia) +- `es-UY` — Spanish (Uruguay) +- `fr-MA` — French (Morocco) +- `en-HK` — English (Hong Kong SAR) +- `es-PY` — Spanish (Paraguay) +- `fr-HT` — French (Haiti) +- `en-IN` — English (India) +- `es-BO` — Spanish (Bolivia) +- `en-MY` — English (Malaysia) +- `es-SV` — Spanish (El Salvador) +- `en-SG` — English (Singapore) +- `es-HN` — Spanish (Honduras) +- `es-NI` — Spanish (Nicaragua) +- `es-PR` — Spanish (Puerto Rico) +- `es-US` — Spanish (United States) +- `es-419` — Spanish (Latin America) +- `es-CU` — Spanish (Cuba) +- `zh-CHT` — Chinese (Traditional) Legacy + +## Example Usage + +```typescript +import { LocaleLanguageVariant } from "@cvent/sdk/models/components"; + +let value: LocaleLanguageVariant = "en-US"; +``` + +## Values + +```typescript +"zh-CHS" | "zh-TW" | "de-DE" | "en-US" | "fi-FI" | "fr-FR" | "it-IT" | "ja-JP" | "ko-KR" | "nl-NL" | "pt-BR" | "ru-RU" | "sv-SE" | "th-TH" | "tr-TR" | "uk-UA" | "zh-CN" | "de-CH" | "en-GB" | "es-MX" | "fr-BE" | "it-CH" | "nl-BE" | "pt-PT" | "ru-MD" | "sv-FI" | "zh-HK" | "de-AT" | "en-AU" | "es-ES" | "fr-CA" | "zh-SG" | "de-LU" | "en-CA" | "es-GT" | "fr-CH" | "zh-MO" | "de-LI" | "en-NZ" | "es-CR" | "fr-LU" | "en-IE" | "es-PA" | "fr-MC" | "en-ZA" | "es-DO" | "fr-029" | "en-JM" | "es-VE" | "fr-RE" | "en-029" | "es-CO" | "fr-CD" | "en-BZ" | "es-PE" | "fr-SN" | "en-TT" | "es-AR" | "fr-CM" | "en-ZW" | "es-EC" | "fr-CI" | "en-PH" | "es-CL" | "fr-ML" | "en-ID" | "es-UY" | "fr-MA" | "en-HK" | "es-PY" | "fr-HT" | "en-IN" | "es-BO" | "en-MY" | "es-SV" | "en-SG" | "es-HN" | "es-NI" | "es-PR" | "es-US" | "es-419" | "es-CU" | "zh-CHT" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/paginatedrfpquestions.md b/packages/typescript/docs/models/components/paginatedrfpquestions.md index 28dd9035b..ddd3dc0e9 100644 --- a/packages/typescript/docs/models/components/paginatedrfpquestions.md +++ b/packages/typescript/docs/models/components/paginatedrfpquestions.md @@ -114,6 +114,7 @@ let value: PaginatedRfpQuestions = { "CVB", "HOTEL", ], + classificationType: "ALL_RFPS", order: 1, standardQuestion: { id: "50dc08af-24a9-4d01-84be-3d43133dc945", diff --git a/packages/typescript/docs/models/components/questionspaginatedresponse1.md b/packages/typescript/docs/models/components/questionspaginatedresponse1.md index abceaf038..88f67139a 100644 --- a/packages/typescript/docs/models/components/questionspaginatedresponse1.md +++ b/packages/typescript/docs/models/components/questionspaginatedresponse1.md @@ -57,4 +57,4 @@ let value: QuestionsPaginatedResponse1 = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | | `paging` | [components.Paging](../../models/components/paging.md) | :heavy_minus_sign: | Represents pagination information for a collection of resources. | -| `data` | [components.TravelProgramQuestion](../../models/components/travelprogramquestion.md)[] | :heavy_minus_sign: | Collection of Questions. | \ No newline at end of file +| `data` | [components.QuestionWithProgramId](../../models/components/questionwithprogramid.md)[] | :heavy_minus_sign: | Collection of Questions. | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/questionwithprogramid.md b/packages/typescript/docs/models/components/questionwithprogramid.md new file mode 100644 index 000000000..18eb59097 --- /dev/null +++ b/packages/typescript/docs/models/components/questionwithprogramid.md @@ -0,0 +1,48 @@ +# QuestionWithProgramId + +A question, defined by the program, for the supplier to answer as part of their proposal. + +## Example Usage + +```typescript +import { QuestionWithProgramId } from "@cvent/sdk/models/components"; + +let value: QuestionWithProgramId = { + created: new Date("2017-01-02T02:00:00Z"), + createdBy: "hporter", + lastModified: new Date("2019-02-12T03:00:00Z"), + lastModifiedBy: "hporter", + travelProgram: { + id: "ddc61444-45c7-4e1d-9fdd-07713c8baf9b", + }, + id: "76c461cb-77f6-40b3-acc8-db44452f11c4", + text: "What type of food is served in the hotel restaurant?", + required: true, + responseType: "choice", + responseDataType: "text", + responseFormat: "proper_case", + responseChoices: [ + "Mexican", + "American", + "French", + "Other", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | +| `createdBy` | *string* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | +| `lastModified` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | +| `lastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | +| `travelProgram` | [components.QuestionWithProgramIdTravelProgram](../../models/components/questionwithprogramidtravelprogram.md) | :heavy_minus_sign: | Travel program that the question belongs to. | | +| `id` | *string* | :heavy_minus_sign: | The unique ID of the question. | 76c461cb-77f6-40b3-acc8-db44452f11c4 | +| `text` | *string* | :heavy_minus_sign: | The text of the question. | What type of food is served in the hotel restaurant? | +| `required` | *boolean* | :heavy_minus_sign: | Is this question required by default? | true | +| `responseType` | [components.QuestionResponseType](../../models/components/questionresponsetype.md) | :heavy_minus_sign: | Code representing the type of response supported. Single represents a simple single value response, and choice means the user will be given a set of options for selection. | choice | +| `responseDataType` | [components.QuestionResponseDataType](../../models/components/questionresponsedatatype.md) | :heavy_minus_sign: | Code representing the expected data type of the question response. | text | +| `responseFormat` | [components.QuestionResponseFormat](../../models/components/questionresponseformat.md) | :heavy_minus_sign: | Code representing the format the text of the response will be in. | proper_case | +| `responseChoices` | *string*[] | :heavy_minus_sign: | A list of options for the question. This only applies when responseType is 'choice' | [
"Mexican",
"American",
"French",
"Other"
] | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelprogramquestiontravelprogram.md b/packages/typescript/docs/models/components/questionwithprogramidtravelprogram.md similarity index 83% rename from packages/typescript/docs/models/components/travelprogramquestiontravelprogram.md rename to packages/typescript/docs/models/components/questionwithprogramidtravelprogram.md index 99ff28441..15ef872ef 100644 --- a/packages/typescript/docs/models/components/travelprogramquestiontravelprogram.md +++ b/packages/typescript/docs/models/components/questionwithprogramidtravelprogram.md @@ -1,13 +1,13 @@ -# TravelProgramQuestionTravelProgram +# QuestionWithProgramIdTravelProgram Travel program that the question belongs to. ## Example Usage ```typescript -import { TravelProgramQuestionTravelProgram } from "@cvent/sdk/models/components"; +import { QuestionWithProgramIdTravelProgram } from "@cvent/sdk/models/components"; -let value: TravelProgramQuestionTravelProgram = { +let value: QuestionWithProgramIdTravelProgram = { id: "ddc61444-45c7-4e1d-9fdd-07713c8baf9b", }; ``` diff --git a/packages/typescript/docs/models/components/rfp2.md b/packages/typescript/docs/models/components/rfp2.md index 29f821683..ec9b12387 100644 --- a/packages/typescript/docs/models/components/rfp2.md +++ b/packages/typescript/docs/models/components/rfp2.md @@ -172,59 +172,59 @@ let value: Rfp2 = { ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | -| `createdBy` | *string* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | -| `lastModified` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | -| `lastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | -| `needsMeetingSpace` | *boolean* | :heavy_check_mark: | True indicates meeting space is needed for event. | | -| `needsGuestRooms` | *boolean* | :heavy_check_mark: | True indicates guest rooms are needed for event. | | -| `description` | *string* | :heavy_minus_sign: | Description of RFP. | Planning to host company's annual event in an outdoor location. | -| `dateRequirements` | [components.DateRequirements1](../../models/components/daterequirements1.md) | :heavy_minus_sign: | Date requirements for the event. | | -| `rfpEvent` | [components.RfpEvent](../../models/components/rfpevent.md) | :heavy_minus_sign: | RFP event details. | | -| `agendaStartDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 date representing the start date of agenda. | 2025-10-13 | -| `contact` | [components.Contact1](../../models/components/contact1.md) | :heavy_minus_sign: | Contact details of planner. | | -| `rfpEventOrganization` | [components.EventOrganization1](../../models/components/eventorganization1.md) | :heavy_minus_sign: | Details of organization which is hosting the event. | | -| `decisionFactors` | *string* | :heavy_minus_sign: | Decision factors based on which RFP will be awarded. These can be price, location, or quality of service. | Price, location, and quality of service. | -| `citywideEvent` | *boolean* | :heavy_minus_sign: | True indicates event is city wide and might require multiple venues. | | -| `responseDueDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 date by when the response for RFP is expected from suppliers. | 2016-10-13 | -| `decisionDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 date by which RFP will be awarded. | 2016-10-13 | -| `billingDetails` | [components.BillingDetails1](../../models/components/billingdetails1.md) | :heavy_minus_sign: | Billing details for RFP. | | -| `internalNote` | *string* | :heavy_minus_sign: | Internal note for planners. This note is not shared with suppliers. | Don't award this RFP to the same venue as last year. | -| `currencyCode` | *string* | :heavy_minus_sign: | The ISO 4217 standard format currency code. | USD | -| `measurementUnit` | [components.MeasurementUnit](../../models/components/measurementunit.md) | :heavy_minus_sign: | Unit of measurement for area or space.

Values:
- `SQUARE_FEET` — Square Feet
- `SQUARE_METERS` — Square Meters | | -| `requiredCostItems` | [components.OfferingCostType1](../../models/components/offeringcosttype1.md)[] | :heavy_minus_sign: | This contains cost items which are marked as required for suppliers in the RFP. | [
"BREAK_AM",
"BREAK_PM"
] | -| `hiddenCostItems` | [components.OfferingCostType1](../../models/components/offeringcosttype1.md)[] | :heavy_minus_sign: | This contains cost items which are marked as not needed for suppliers in the RFP. | [
"BREAK_DRINKS_ONLY",
"BREAK_SNACKS_AND_DRINKS"
] | -| `forwardable` | *boolean* | :heavy_minus_sign: | True indicates suppliers added on the RFP should be allowed to forward the RFP. | | -| `cvbForwardLimit` | *number* | :heavy_minus_sign: | Limits the number of venues that a CVB (Convention and Visitors Bureau) can forward an RFP to. | 5 | -| `allowEmailNotifications` | *boolean* | :heavy_minus_sign: | True indicates email notifications are allowed for this RFP. | | -| `notificationRecipients` | [components.RecipientInfo](../../models/components/recipientinfo.md)[] | :heavy_minus_sign: | This contains recipients who would get notified every time a new response is received back from the suppliers | [
{
"order": 1,
"type": "EMAIL",
"value": "johnDoe@example.com"
},
{
"order": 2,
"type": "ACCOUNT_USER",
"value": "50dc08af-24a9-4d01-84be-3d43133dc945"
},
{
"order": 3,
"type": "ACCOUNT_USER_GROUP",
"value": "70de07af-24a9-4d01-84be-3d43133dc932"
}
] | -| `shareAwardDetails` | *boolean* | :heavy_minus_sign: | True indicates award details can be shared with other suppliers added in RFP. | | -| `leadSource` | [components.LeadSource](../../models/components/leadsource.md) | :heavy_minus_sign: | Lead source details. | | -| `sourceId` | *string* | :heavy_minus_sign: | Unique identifier for RFPs originating from outside Cvent network provided by source system where RFP was created. | 123456 | -| `showcaseEnabled` | *boolean* | :heavy_minus_sign: | True indicates showcase is enabled for this RFP. | | -| `autoAddToShowcaseEnabled` | *boolean* | :heavy_minus_sign: | True indicates that the RFP will be automatically added to showcase in case there is a low response rate. | | -| `destinationExpertsRequiredOnProposal` | *boolean* | :heavy_minus_sign: | True indicates suppliers are required to copy the destination experts (i.e. CVB/DMC) on the proposal that is sent back through Cvent. | | -| `weddingDetails` | [components.WeddingDetails1](../../models/components/weddingdetails1.md) | :heavy_minus_sign: | Wedding details. | | -| `needsCatering` | *boolean* | :heavy_minus_sign: | True indicates catering is required. | | -| `packagePricingPreference` | [components.PackagePricingPreference](../../models/components/packagepricingpreference.md) | :heavy_minus_sign: | Represents different preferences by planner for pricing packages response that supplier has to provide. NO_PREFERENCE means no pricing package information is need, OPTIONAL means it's not mandatory to provide pricing preference, and REQUIRED means package information is mandatory to be provided by supplier. | OPTIONAL | -| `feeTransparencyEnabled` | *boolean* | :heavy_minus_sign: | True indicates RFP was created with fee transparency enabled. | | -| ~~`preferredVenueIntegrations`~~ | [components.VenueIntegrationType](../../models/components/venueintegrationtype.md)[] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

DEPRECATED: Use [venueIntegrationPreference](#schema/VenueIntegrationPreference) instead. Venue integrations the planner prefers when sourcing venues. An empty array or absent field indicates no preference has been recorded. | | -| `venueIntegrationPreference` | [components.VenueIntegrationPreference](../../models/components/venueintegrationpreference.md) | :heavy_minus_sign: | Venue integration preference for an RFP. | | -| `id` | *string* | :heavy_check_mark: | Unique identifier for RFP. | a3edf581-b80c-4a0b-bdcf-ab8bf5fdcd1b | -| `code` | *string* | :heavy_minus_sign: | Unique code of RFP. | JBNJN7BGJ5J | -| `status` | [components.RfpStatus1](../../models/components/rfpstatus1.md) | :heavy_minus_sign: | Represents state of the RFP. | | -| `type` | [components.RfpType1](../../models/components/rfptype1.md) | :heavy_minus_sign: | RFP types based on event requirements. | | -| `approvedBy` | *string* | :heavy_minus_sign: | Details of the user who approved the RFP. | approver@example.com | -| `approvedDateTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) when the RFP was approved. The initial value when RFP is not approved is 1900-01-01 00:00:00.000. | 2021-01-13T14:06:20.080Z | -| `approved` | *boolean* | :heavy_minus_sign: | True indicates RFP is approved. | true | -| `cancellationDetails` | [components.CancellationDetails](../../models/components/cancellationdetails.md) | :heavy_minus_sign: | Information about cancellation of RFP. | | -| `lastSentDateTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) when RFP was last sent. | 2021-01-13T14:06:20.080Z | -| `originalSentDateTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) when RFP was first sent. | 2021-01-13T14:06:20.080Z | -| `sentVenueCount` | *number* | :heavy_minus_sign: | Number of venues to which the planner has sent the RFP. | 5 | -| `archived` | *boolean* | :heavy_minus_sign: | True indicates RFP is archived. | | -| `archivalDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) representing the archival date. | 2021-01-13T14:06:20.080Z | -| `awardedExternally` | *boolean* | :heavy_minus_sign: | True indicates RFP has been awarded to a venue outside of Cvent Supplier Network. | | -| `finishedAwarding` | *boolean* | :heavy_minus_sign: | True indicates venue sourcing process for this RFP has been marked as finished after awarding the eligible venues. | | -| `aiRfpGenerationSource` | *string* | :heavy_minus_sign: | Represents the AI generation source for the RFP. This field is set during RFP creation and cannot be modified afterwards. | MCP-Visual Studio Code/1.107.1 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | +| `createdBy` | *string* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | +| `lastModified` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | +| `lastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | +| `needsMeetingSpace` | *boolean* | :heavy_check_mark: | True indicates meeting space is needed for event. | | +| `needsGuestRooms` | *boolean* | :heavy_check_mark: | True indicates guest rooms are needed for event. | | +| `description` | *string* | :heavy_minus_sign: | Description of RFP. | Planning to host company's annual event in an outdoor location. | +| `dateRequirements` | [components.DateRequirements1](../../models/components/daterequirements1.md) | :heavy_minus_sign: | Date requirements for the event. | | +| `rfpEvent` | [components.RfpEvent](../../models/components/rfpevent.md) | :heavy_minus_sign: | RFP event details. | | +| `agendaStartDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 date representing the start date of agenda. | 2025-10-13 | +| `contact` | [components.Contact1](../../models/components/contact1.md) | :heavy_minus_sign: | Contact details of planner. | | +| `rfpEventOrganization` | [components.EventOrganization1](../../models/components/eventorganization1.md) | :heavy_minus_sign: | Details of organization which is hosting the event. | | +| `decisionFactors` | *string* | :heavy_minus_sign: | Decision factors based on which RFP will be awarded. These can be price, location, or quality of service. | Price, location, and quality of service. | +| `citywideEvent` | *boolean* | :heavy_minus_sign: | True indicates event is city wide and might require multiple venues. | | +| `responseDueDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 date by when the response for RFP is expected from suppliers. | 2016-10-13 | +| `decisionDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 date by which RFP will be awarded. | 2016-10-13 | +| `billingDetails` | [components.BillingDetails1](../../models/components/billingdetails1.md) | :heavy_minus_sign: | Billing details for RFP. | | +| `internalNote` | *string* | :heavy_minus_sign: | Internal note for planners. This note is not shared with suppliers. | Don't award this RFP to the same venue as last year. | +| `currencyCode` | *string* | :heavy_minus_sign: | The ISO 4217 standard format currency code. | USD | +| `measurementUnit` | [components.MeasurementUnit](../../models/components/measurementunit.md) | :heavy_minus_sign: | Unit of measurement for area or space.

Values:
- `SQUARE_FEET` — Square Feet
- `SQUARE_METERS` — Square Meters | | +| `requiredCostItems` | [components.OfferingCostType1](../../models/components/offeringcosttype1.md)[] | :heavy_minus_sign: | This contains cost items which are marked as required for suppliers in the RFP. | [
"BREAK_AM",
"BREAK_PM"
] | +| `hiddenCostItems` | [components.OfferingCostType1](../../models/components/offeringcosttype1.md)[] | :heavy_minus_sign: | This contains cost items which are marked as not needed for suppliers in the RFP. | [
"BREAK_DRINKS_ONLY",
"BREAK_SNACKS_AND_DRINKS"
] | +| `forwardable` | *boolean* | :heavy_minus_sign: | True indicates suppliers added on the RFP should be allowed to forward the RFP. | | +| `cvbForwardLimit` | *number* | :heavy_minus_sign: | Limits the number of venues that a CVB (Convention and Visitors Bureau) can forward an RFP to. | 5 | +| `allowEmailNotifications` | *boolean* | :heavy_minus_sign: | True indicates email notifications are allowed for this RFP. | | +| `notificationRecipients` | [components.RecipientInfo](../../models/components/recipientinfo.md)[] | :heavy_minus_sign: | This contains recipients who would get notified every time a new response is received back from the suppliers | [
{
"order": 1,
"type": "EMAIL",
"value": "johnDoe@example.com"
},
{
"order": 2,
"type": "ACCOUNT_USER",
"value": "50dc08af-24a9-4d01-84be-3d43133dc945"
},
{
"order": 3,
"type": "ACCOUNT_USER_GROUP",
"value": "70de07af-24a9-4d01-84be-3d43133dc932"
}
] | +| `shareAwardDetails` | *boolean* | :heavy_minus_sign: | True indicates award details can be shared with other suppliers added in RFP. | | +| `leadSource` | [components.LeadSource](../../models/components/leadsource.md) | :heavy_minus_sign: | Lead source details. | | +| `sourceId` | *string* | :heavy_minus_sign: | Unique identifier for RFPs originating from outside Cvent network provided by source system where RFP was created. | 123456 | +| `showcaseEnabled` | *boolean* | :heavy_minus_sign: | True indicates showcase is enabled for this RFP. | | +| `autoAddToShowcaseEnabled` | *boolean* | :heavy_minus_sign: | True indicates that the RFP will be automatically added to showcase in case there is a low response rate. | | +| `destinationExpertsRequiredOnProposal` | *boolean* | :heavy_minus_sign: | True indicates suppliers are required to copy the destination experts (i.e. CVB/DMC) on the proposal that is sent back through Cvent. | | +| `weddingDetails` | [components.WeddingDetails1](../../models/components/weddingdetails1.md) | :heavy_minus_sign: | Wedding details. | | +| `needsCatering` | *boolean* | :heavy_minus_sign: | True indicates catering is required. | | +| `packagePricingPreference` | [components.PackagePricingPreference](../../models/components/packagepricingpreference.md) | :heavy_minus_sign: | Represents different preferences by planner for pricing packages response that supplier has to provide. NO_PREFERENCE means no pricing package information is need, OPTIONAL means it's not mandatory to provide pricing preference, and REQUIRED means package information is mandatory to be provided by supplier. | OPTIONAL | +| `feeTransparencyEnabled` | *boolean* | :heavy_minus_sign: | True indicates RFP was created with fee transparency enabled. | | +| ~~`preferredVenueIntegrations`~~ | [components.VenueIntegrationType](../../models/components/venueintegrationtype.md)[] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

DEPRECATED: Use `venueIntegrationPreference` instead. Venue integrations the planner prefers when sourcing venues. An empty array or absent field indicates no preference has been recorded. | | +| `venueIntegrationPreference` | [components.VenueIntegrationPreference](../../models/components/venueintegrationpreference.md) | :heavy_minus_sign: | Venue integration preference for an RFP. | | +| `id` | *string* | :heavy_check_mark: | Unique identifier for RFP. | a3edf581-b80c-4a0b-bdcf-ab8bf5fdcd1b | +| `code` | *string* | :heavy_minus_sign: | Unique code of RFP. | JBNJN7BGJ5J | +| `status` | [components.RfpStatus1](../../models/components/rfpstatus1.md) | :heavy_minus_sign: | Represents state of the RFP. | | +| `type` | [components.RfpType](../../models/components/rfptype.md) | :heavy_minus_sign: | N/A | | +| `approvedBy` | *string* | :heavy_minus_sign: | Details of the user who approved the RFP. | approver@example.com | +| `approvedDateTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) when the RFP was approved. The initial value when RFP is not approved is 1900-01-01 00:00:00.000. | 2021-01-13T14:06:20.080Z | +| `approved` | *boolean* | :heavy_minus_sign: | True indicates RFP is approved. | true | +| `cancellationDetails` | [components.CancellationDetails](../../models/components/cancellationdetails.md) | :heavy_minus_sign: | Information about cancellation of RFP. | | +| `lastSentDateTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) when RFP was last sent. | 2021-01-13T14:06:20.080Z | +| `originalSentDateTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) when RFP was first sent. | 2021-01-13T14:06:20.080Z | +| `sentVenueCount` | *number* | :heavy_minus_sign: | Number of venues to which the planner has sent the RFP. | 5 | +| `archived` | *boolean* | :heavy_minus_sign: | True indicates RFP is archived. | | +| `archivalDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 date time (in UTC) representing the archival date. | 2021-01-13T14:06:20.080Z | +| `awardedExternally` | *boolean* | :heavy_minus_sign: | True indicates RFP has been awarded to a venue outside of Cvent Supplier Network. | | +| `finishedAwarding` | *boolean* | :heavy_minus_sign: | True indicates venue sourcing process for this RFP has been marked as finished after awarding the eligible venues. | | +| `aiRfpGenerationSource` | *string* | :heavy_minus_sign: | Represents the AI generation source for the RFP. This field is set during RFP creation and cannot be modified afterwards. | MCP-Visual Studio Code/1.107.1 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfpquestion.md b/packages/typescript/docs/models/components/rfpquestion.md index 8d11c2f37..cfeb0efa0 100644 --- a/packages/typescript/docs/models/components/rfpquestion.md +++ b/packages/typescript/docs/models/components/rfpquestion.md @@ -94,6 +94,7 @@ let value: RfpQuestion = { "CVB", "HOTEL", ], + classificationType: "GUEST_ROOM", order: 1, standardQuestion: { id: "50dc08af-24a9-4d01-84be-3d43133dc945", @@ -142,8 +143,8 @@ let value: RfpQuestion = { | `maxLength` | *number* | :heavy_minus_sign: | Maximum number of characters that can be entered. | 100 | | `textAnswerFormat` | [components.TextAnswerFormat](../../models/components/textanswerformat.md) | :heavy_minus_sign: | Text answer format. Used for `OpenEndedTextOneLine` question types.`CustomFormat`: Answers must follow a planner defined custom format. `EmailAddress`: Answers must follow the pattern of an email address. `General`: Answers can be any string. `USPhoneNumber`: Answers must be formatted as a phone number. | | | `customAnswerFormat` | [components.CustomAnswerFormat](../../models/components/customanswerformat.md) | :heavy_minus_sign: | An object that contains custom answer format data. | | -| `supplierTypes` | [components.SupplierType](../../models/components/suppliertype.md)[] | :heavy_minus_sign: | List of supplier types that can view the question on the RFP. | [
"CVB",
"HOTEL"
] | -| `classificationType` | [components.QuestionClassificationType](../../models/components/questionclassificationtype.md) | :heavy_minus_sign: | Indicates the types of RFP that can be assigned this custom question. `MEETING_ROOM`: Meeting room type RFPs can be assigned this custom question. `GUEST_ROOM`: Guest room type RFPs can be assigned this custom question. `ALL_RFPS`: All RFPs can be assigned this custom question. | | +| `supplierTypes` | [components.SupplierType](../../models/components/suppliertype.md)[] | :heavy_check_mark: | List of supplier types that can view the question on the RFP. | [
"CVB",
"HOTEL"
] | +| `classificationType` | [components.QuestionClassificationType](../../models/components/questionclassificationtype.md) | :heavy_check_mark: | Indicates the types of RFP that can be assigned this custom question. `MEETING_ROOM`: Meeting room type RFPs can be assigned this custom question. `GUEST_ROOM`: Guest room type RFPs can be assigned this custom question. `ALL_RFPS`: All RFPs can be assigned this custom question. | | | `order` | *number* | :heavy_minus_sign: | Determines the display order for questions on the RFP. Questions with smaller values appear first. | 1 | | `standardQuestion` | [components.StandardQuestion](../../models/components/standardquestion.md) | :heavy_minus_sign: | Standard questions are selected from a predefined list of Cvent questions that can be used in an RFP. | | | `aiQuestionGenerationSource` | *string* | :heavy_minus_sign: | Represents the AI generation source for the custom question on RFP. This field is set during question creation and cannot be modified afterwards. | MCP-Visual Studio Code/1.107.1 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/rfptype1.md b/packages/typescript/docs/models/components/rfptype.md similarity index 66% rename from packages/typescript/docs/models/components/rfptype1.md rename to packages/typescript/docs/models/components/rfptype.md index d68d5bffa..17ea43a31 100644 --- a/packages/typescript/docs/models/components/rfptype1.md +++ b/packages/typescript/docs/models/components/rfptype.md @@ -1,13 +1,13 @@ -# RfpType1 +# RfpType RFP types based on event requirements. ## Example Usage ```typescript -import { RfpType1 } from "@cvent/sdk/models/components"; +import { RfpType } from "@cvent/sdk/models/components"; -let value: RfpType1 = "GUEST_ROOMS_ONLY"; +let value: RfpType = "RESTAURANT_RFP"; ``` ## Values diff --git a/packages/typescript/docs/models/components/travelprogram.md b/packages/typescript/docs/models/components/travelprogram.md index 135f53c97..9baf4ff5f 100644 --- a/packages/typescript/docs/models/components/travelprogram.md +++ b/packages/typescript/docs/models/components/travelprogram.md @@ -58,4 +58,4 @@ let value: TravelProgram = { | `endDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 formatted end date (in GMT) of the travel program. | 2024-12-31 | | `dueDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 formatted due date (in GMT) of the travel program. | 2023-11-13 | | `closeoutDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The ISO 8601 formatted decision date (in GMT) of the travel program. | 2023-11-13 | -| `questions` | [components.TravelProgramQuestion1](../../models/components/travelprogramquestion1.md)[] | :heavy_minus_sign: | A list of program specific questions for the supplier to answer as part of their proposal. | | \ No newline at end of file +| `questions` | [components.TravelProgramQuestion](../../models/components/travelprogramquestion.md)[] | :heavy_minus_sign: | A list of program specific questions for the supplier to answer as part of their proposal. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelprogramquestion.md b/packages/typescript/docs/models/components/travelprogramquestion.md index 1a38bcd6a..949a0db31 100644 --- a/packages/typescript/docs/models/components/travelprogramquestion.md +++ b/packages/typescript/docs/models/components/travelprogramquestion.md @@ -1,6 +1,6 @@ # TravelProgramQuestion -A question, defined by the program, for the supplier to answer as part of their proposal. +A question, defined by the account, for the supplier to answer as part of their proposal. ## Example Usage @@ -8,41 +8,18 @@ A question, defined by the program, for the supplier to answer as part of their import { TravelProgramQuestion } from "@cvent/sdk/models/components"; let value: TravelProgramQuestion = { - created: new Date("2017-01-02T02:00:00Z"), - createdBy: "hporter", - lastModified: new Date("2019-02-12T03:00:00Z"), - lastModifiedBy: "hporter", - travelProgram: { - id: "ddc61444-45c7-4e1d-9fdd-07713c8baf9b", - }, - id: "76c461cb-77f6-40b3-acc8-db44452f11c4", - text: "What type of food is served in the hotel restaurant?", + questionId: "76c461cb-77f6-40b3-acc8-db44452f11c4", + section: "program_client", required: true, - responseType: "choice", - responseDataType: "text", - responseFormat: "proper_case", - responseChoices: [ - "Mexican", - "American", - "French", - "Other", - ], + sequence: 1, }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was created. | 2017-01-02T02:00:00Z | -| `createdBy` | *string* | :heavy_minus_sign: | The identifier of the user that created this record. | hporter | -| `lastModified` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The ISO 8601 zoned date time when this record was updated. | 2019-02-12T03:00:00Z | -| `lastModifiedBy` | *string* | :heavy_minus_sign: | The identifier of the user that last updated this record. | hporter | -| `travelProgram` | [components.TravelProgramQuestionTravelProgram](../../models/components/travelprogramquestiontravelprogram.md) | :heavy_minus_sign: | Travel program that the question belongs to. | | -| `id` | *string* | :heavy_minus_sign: | The unique ID of the question. | 76c461cb-77f6-40b3-acc8-db44452f11c4 | -| `text` | *string* | :heavy_minus_sign: | The text of the question. | What type of food is served in the hotel restaurant? | -| `required` | *boolean* | :heavy_minus_sign: | Is this question required by default? | true | -| `responseType` | [components.QuestionResponseType](../../models/components/questionresponsetype.md) | :heavy_minus_sign: | Code representing the type of response supported. Single represents a simple single value response, and choice means the user will be given a set of options for selection. | choice | -| `responseDataType` | [components.QuestionResponseDataType](../../models/components/questionresponsedatatype.md) | :heavy_minus_sign: | Code representing the expected data type of the question response. | text | -| `responseFormat` | [components.QuestionResponseFormat](../../models/components/questionresponseformat.md) | :heavy_minus_sign: | Code representing the format the text of the response will be in. | proper_case | -| `responseChoices` | *string*[] | :heavy_minus_sign: | A list of options for the question. This only applies when responseType is 'choice' | [
"Mexican",
"American",
"French",
"Other"
] | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `questionId` | *string* | :heavy_minus_sign: | The unique ID of the custom question. | 76c461cb-77f6-40b3-acc8-db44452f11c4 | +| `section` | [components.QuestionSection](../../models/components/questionsection.md) | :heavy_minus_sign: | Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. | program_client | +| `required` | *boolean* | :heavy_minus_sign: | Is it required for suppliers to answer this question in their proposal? | true | +| `sequence` | *number* | :heavy_minus_sign: | The sequence number of the question within the proposal. | 1 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/traveltype.md b/packages/typescript/docs/models/components/traveltype.md index 6517bb3ab..2719839b4 100644 --- a/packages/typescript/docs/models/components/traveltype.md +++ b/packages/typescript/docs/models/components/traveltype.md @@ -1,6 +1,6 @@ # TravelType -Type of travel alternate question +Type of travel alternate question. Supported values: AirRequest = attendee requested air travel; HotelRequest = attendee requested hotel travel; AirActual = actual air travel booked; GroupFlight = group flight booking; TrainRequest = attendee requested train travel; AirAndTrainRequest = attendee did not want air or train travel and submitted an alternate response. ## Example Usage @@ -13,5 +13,5 @@ let value: TravelType = "AirRequest"; ## Values ```typescript -"AirRequest" | "HotelRequest" | "AirActual" | "GroupFlight" +"AirRequest" | "HotelRequest" | "AirActual" | "GroupFlight" | "TrainRequest" | "AirAndTrainRequest" ``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venueamenityalcohol.md b/packages/typescript/docs/models/components/venueamenityalcohol.md new file mode 100644 index 000000000..761401194 --- /dev/null +++ b/packages/typescript/docs/models/components/venueamenityalcohol.md @@ -0,0 +1,17 @@ +# VenueAmenityAlcohol + +Alcohol-related policy at a venue. + +## Example Usage + +```typescript +import { VenueAmenityAlcohol } from "@cvent/sdk/models/components"; + +let value: VenueAmenityAlcohol = "ALCOHOL_ALLOWED"; +``` + +## Values + +```typescript +"ALCOHOL_ALLOWED" | "BRING_YOUR_OWN" | "PREFERRED_VENDORS_ONLY" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venueamenityavcapability.md b/packages/typescript/docs/models/components/venueamenityavcapability.md new file mode 100644 index 000000000..c1c258d8e --- /dev/null +++ b/packages/typescript/docs/models/components/venueamenityavcapability.md @@ -0,0 +1,22 @@ +# VenueAmenityAVCapability + +Audio-visual capability available at a venue. + +Values: +- `AV_EQUIPMENT` — AV Equipment +- `HIGH_SPEED_INTERNET` — High Speed Internet +- `ONSITE_AV_STAFF` — Onsite AV Staff + +## Example Usage + +```typescript +import { VenueAmenityAVCapability } from "@cvent/sdk/models/components"; + +let value: VenueAmenityAVCapability = "AV_EQUIPMENT"; +``` + +## Values + +```typescript +"AV_EQUIPMENT" | "HIGH_SPEED_INTERNET" | "ONSITE_AV_STAFF" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venueamenityavcapabilityitem.md b/packages/typescript/docs/models/components/venueamenityavcapabilityitem.md new file mode 100644 index 000000000..cd1c9ebd5 --- /dev/null +++ b/packages/typescript/docs/models/components/venueamenityavcapabilityitem.md @@ -0,0 +1,21 @@ +# VenueAmenityAvCapabilityItem + +An AV capability selection for a venue. An internet speed may be provided when the selected amenity is `HIGH_SPEED_INTERNET`. + +## Example Usage + +```typescript +import { VenueAmenityAvCapabilityItem } from "@cvent/sdk/models/components"; + +let value: VenueAmenityAvCapabilityItem = { + amenity: "HIGH_SPEED_INTERNET", + speed: 1000, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `amenity` | [components.VenueAmenityAVCapability](../../models/components/venueamenityavcapability.md) | :heavy_check_mark: | Audio-visual capability available at a venue.

Values:
- `AV_EQUIPMENT` — AV Equipment
- `HIGH_SPEED_INTERNET` — High Speed Internet
- `ONSITE_AV_STAFF` — Onsite AV Staff | | +| `speed` | *number* | :heavy_minus_sign: | Internet connection speed in Mbps. Applicable only when `amenity` is `HIGH_SPEED_INTERNET`. | 1000 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venueamenitybusinessservice.md b/packages/typescript/docs/models/components/venueamenitybusinessservice.md new file mode 100644 index 000000000..3d2815273 --- /dev/null +++ b/packages/typescript/docs/models/components/venueamenitybusinessservice.md @@ -0,0 +1,17 @@ +# VenueAmenityBusinessService + +Business or communications service available at a venue. + +## Example Usage + +```typescript +import { VenueAmenityBusinessService } from "@cvent/sdk/models/components"; + +let value: VenueAmenityBusinessService = "AUDIOVIDEO_CAPABILITIES"; +``` + +## Values + +```typescript +"AUDIOVIDEO_CAPABILITIES" | "BUSINESS_CENTER" | "VIDEO_CONFERENCING" | "VIP_SERVICES" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venueamenitycateringdetail.md b/packages/typescript/docs/models/components/venueamenitycateringdetail.md new file mode 100644 index 000000000..c56f270bc --- /dev/null +++ b/packages/typescript/docs/models/components/venueamenitycateringdetail.md @@ -0,0 +1,17 @@ +# VenueAmenityCateringDetail + +Catering option or policy offered at a venue. + +## Example Usage + +```typescript +import { VenueAmenityCateringDetail } from "@cvent/sdk/models/components"; + +let value: VenueAmenityCateringDetail = "ONSITE_CATERING"; +``` + +## Values + +```typescript +"KITCHEN_ONSITE" | "ONSITE_CATERING" | "OUTSIDE_CATERERS_ALLOWED" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venueamenityequipment.md b/packages/typescript/docs/models/components/venueamenityequipment.md new file mode 100644 index 000000000..7cb7dab1c --- /dev/null +++ b/packages/typescript/docs/models/components/venueamenityequipment.md @@ -0,0 +1,17 @@ +# VenueAmenityEquipment + +Physical equipment or staging resource available for event use at a venue. + +## Example Usage + +```typescript +import { VenueAmenityEquipment } from "@cvent/sdk/models/components"; + +let value: VenueAmenityEquipment = "DANCE_FLOORS"; +``` + +## Values + +```typescript +"DANCE_FLOORS" | "LOADING_DOCK_AVAILABLE" | "PIANO" | "PORTABLE_HEATERS" | "PORTABLE_WALLS" | "STAGING" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venueamenityfacilityinfo.md b/packages/typescript/docs/models/components/venueamenityfacilityinfo.md new file mode 100644 index 000000000..70b55edec --- /dev/null +++ b/packages/typescript/docs/models/components/venueamenityfacilityinfo.md @@ -0,0 +1,17 @@ +# VenueAmenityFacilityInfo + +General facility feature or on-site service available at a venue. + +## Example Usage + +```typescript +import { VenueAmenityFacilityInfo } from "@cvent/sdk/models/components"; + +let value: VenueAmenityFacilityInfo = "SECURITY_STAFF_ONSITE"; +``` + +## Values + +```typescript +"ALL_INCLUSIVE" | "BUSINESS_CENTER" | "CASINO" | "EXTENDED_STAY" | "FREE_AIRPORT_SHUTTLE" | "GIFT_SHOP_ON_SITE" | "INTERNET" | "ONSITE_CATERING" | "OUTSIDE_CATERERS_ALLOWED" | "PETS_WELCOME" | "RENTAL_CAR_SERVICES" | "RESTAURANT_ON_SITE" | "SECURITY_STAFF_ONSITE" | "WHEELCHAIR_ACCESSIBLE" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venueamenityfacilityspace.md b/packages/typescript/docs/models/components/venueamenityfacilityspace.md new file mode 100644 index 000000000..76520978a --- /dev/null +++ b/packages/typescript/docs/models/components/venueamenityfacilityspace.md @@ -0,0 +1,22 @@ +# VenueAmenityFacilitySpace + +Facility space type available at a venue. + +Values: +- `OUTDOOR_SPACE` — Outdoor Space +- `PRIVATE_SPACE` — Private Space +- `SEMI_PRIVATE_SPACE` — Semi-Private Space + +## Example Usage + +```typescript +import { VenueAmenityFacilitySpace } from "@cvent/sdk/models/components"; + +let value: VenueAmenityFacilitySpace = "PRIVATE_SPACE"; +``` + +## Values + +```typescript +"OUTDOOR_SPACE" | "PRIVATE_SPACE" | "SEMI_PRIVATE_SPACE" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venueamenityfacilityspaceitem.md b/packages/typescript/docs/models/components/venueamenityfacilityspaceitem.md new file mode 100644 index 000000000..3bf1be767 --- /dev/null +++ b/packages/typescript/docs/models/components/venueamenityfacilityspaceitem.md @@ -0,0 +1,21 @@ +# VenueAmenityFacilitySpaceItem + +A facility space entry for a venue, with an optional area measurement expressed in the venue's configured unit of measurement. + +## Example Usage + +```typescript +import { VenueAmenityFacilitySpaceItem } from "@cvent/sdk/models/components"; + +let value: VenueAmenityFacilitySpaceItem = { + amenity: "SEMI_PRIVATE_SPACE", + value: 5000, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `amenity` | [components.VenueAmenityFacilitySpace](../../models/components/venueamenityfacilityspace.md) | :heavy_check_mark: | Facility space type available at a venue.

Values:
- `OUTDOOR_SPACE` — Outdoor Space
- `PRIVATE_SPACE` — Private Space
- `SEMI_PRIVATE_SPACE` — Semi-Private Space | | +| `value` | *number* | :heavy_minus_sign: | Area of the space in the venue's configured unit of measurement. | 5000 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venueamenityparking.md b/packages/typescript/docs/models/components/venueamenityparking.md new file mode 100644 index 000000000..22e85b702 --- /dev/null +++ b/packages/typescript/docs/models/components/venueamenityparking.md @@ -0,0 +1,24 @@ +# VenueAmenityParking + +Parking type available at or near a venue. + +Values: +- `BUS_PARKING_AVAILABLE` — Bus Parking +- `COMPLIMENTARY_PARKING_PROVIDED` — Complimentary Parking +- `PAID_PARKING_AVAILABLE` — Paid Parking +- `STREET_PARKING` — Street Parking +- `VALET_PARKING_AVAILABLE` — Valet Parking + +## Example Usage + +```typescript +import { VenueAmenityParking } from "@cvent/sdk/models/components"; + +let value: VenueAmenityParking = "BUS_PARKING_AVAILABLE"; +``` + +## Values + +```typescript +"BUS_PARKING_AVAILABLE" | "COMPLIMENTARY_PARKING_PROVIDED" | "PAID_PARKING_AVAILABLE" | "STREET_PARKING" | "VALET_PARKING_AVAILABLE" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venueamenityparkingitem.md b/packages/typescript/docs/models/components/venueamenityparkingitem.md new file mode 100644 index 000000000..bb0ac295f --- /dev/null +++ b/packages/typescript/docs/models/components/venueamenityparkingitem.md @@ -0,0 +1,21 @@ +# VenueAmenityParkingItem + +A parking amenity selection for a venue. An optional daily rate may be provided for paid parking types. + +## Example Usage + +```typescript +import { VenueAmenityParkingItem } from "@cvent/sdk/models/components"; + +let value: VenueAmenityParkingItem = { + amenity: "STREET_PARKING", + cost: 25, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `amenity` | [components.VenueAmenityParking](../../models/components/venueamenityparking.md) | :heavy_check_mark: | Parking type available at or near a venue.

Values:
- `BUS_PARKING_AVAILABLE` — Bus Parking
- `COMPLIMENTARY_PARKING_PROVIDED` — Complimentary Parking
- `PAID_PARKING_AVAILABLE` — Paid Parking
- `STREET_PARKING` — Street Parking
- `VALET_PARKING_AVAILABLE` — Valet Parking | | +| `cost` | *number* | :heavy_minus_sign: | Daily parking cost per vehicle, in the venue's local currency. Applicable only when `amenity` is `PAID_PARKING_AVAILABLE` or `VALET_PARKING_AVAILABLE`. | 25 | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venueamenityprovisionpolicy.md b/packages/typescript/docs/models/components/venueamenityprovisionpolicy.md new file mode 100644 index 000000000..ad6492c0d --- /dev/null +++ b/packages/typescript/docs/models/components/venueamenityprovisionpolicy.md @@ -0,0 +1,17 @@ +# VenueAmenityProvisionPolicy + +Provision policy for a venue amenity or service. + +## Example Usage + +```typescript +import { VenueAmenityProvisionPolicy } from "@cvent/sdk/models/components"; + +let value: VenueAmenityProvisionPolicy = "BRING_YOUR_OWN"; +``` + +## Values + +```typescript +"AVAILABLE" | "BRING_YOUR_OWN" | "PREFERRED_VENDORS_ONLY" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venueamenityrecreationalactivity.md b/packages/typescript/docs/models/components/venueamenityrecreationalactivity.md new file mode 100644 index 000000000..63656ac91 --- /dev/null +++ b/packages/typescript/docs/models/components/venueamenityrecreationalactivity.md @@ -0,0 +1,17 @@ +# VenueAmenityRecreationalActivity + +Recreational facility or leisure activity available at a venue. + +## Example Usage + +```typescript +import { VenueAmenityRecreationalActivity } from "@cvent/sdk/models/components"; + +let value: VenueAmenityRecreationalActivity = "TENNIS"; +``` + +## Values + +```typescript +"GOLF_ON_GROUNDS" | "HEALTH_CLUB" | "INDOOR_POOL" | "OUTDOOR_POOL" | "SKIING" | "SPASALON" | "TENNIS" | "WATER_SPORTS" | "WHIRLPOOL" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venueamenityroomfeature.md b/packages/typescript/docs/models/components/venueamenityroomfeature.md new file mode 100644 index 000000000..3788567a5 --- /dev/null +++ b/packages/typescript/docs/models/components/venueamenityroomfeature.md @@ -0,0 +1,17 @@ +# VenueAmenityRoomFeature + +In-room feature or guest service available at a venue. + +## Example Usage + +```typescript +import { VenueAmenityRoomFeature } from "@cvent/sdk/models/components"; + +let value: VenueAmenityRoomFeature = "VOICE_MAIL_BOX"; +``` + +## Values + +```typescript +"CONCIERGE_SERVICES" | "FREE_LOCAL_CALLS" | "FREE_TOLL_FREE_CALLS" | "GARDEN_VIEWS" | "INTERNET" | "LAUNDRY" | "LUGGAGE_STORAGE" | "MOUNTAIN_VIEWS" | "OCEANWATER_VIEWS" | "ROOM_SERVICE" | "URBAN_VIEWS" | "VOICE_MAIL_BOX" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/components/venueamenitytransportation.md b/packages/typescript/docs/models/components/venueamenitytransportation.md new file mode 100644 index 000000000..10429e03d --- /dev/null +++ b/packages/typescript/docs/models/components/venueamenitytransportation.md @@ -0,0 +1,17 @@ +# VenueAmenityTransportation + +Transportation option by which a venue is accessible. + +## Example Usage + +```typescript +import { VenueAmenityTransportation } from "@cvent/sdk/models/components"; + +let value: VenueAmenityTransportation = "SUBWAY"; +``` + +## Values + +```typescript +"BUS" | "SHUTTLE" | "SUBWAY" | "TAXI" | "TRAIN" +``` \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/createleadcatcherrequest.md b/packages/typescript/docs/models/operations/createleadcatcherrequest.md new file mode 100644 index 000000000..9f549467a --- /dev/null +++ b/packages/typescript/docs/models/operations/createleadcatcherrequest.md @@ -0,0 +1,36 @@ +# CreateLeadCatcherRequest + +## Example Usage + +```typescript +import { CreateLeadCatcherRequest } from "@cvent/sdk/models/operations"; + +let value: CreateLeadCatcherRequest = { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + leadCatcher: { + firstName: "Jane", + lastName: "Smith", + title: "Director of Sales", + email: "jane.smith@example.com", + phone: "+1-555-555-0101", + fax: "+1-555-555-0101", + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + }, + config: { + supplierContactRole: "Sales Manager", + }, + additionalInfo: "Preferred contact for APAC venues.", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `venueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `leadCatcher` | [components.LeadCatcher](../../models/components/leadcatcher.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/createleadcatcherresponse.md b/packages/typescript/docs/models/operations/createleadcatcherresponse.md new file mode 100644 index 000000000..c7906ae8a --- /dev/null +++ b/packages/typescript/docs/models/operations/createleadcatcherresponse.md @@ -0,0 +1,49 @@ +# CreateLeadCatcherResponse + +## Example Usage + +```typescript +import { CreateLeadCatcherResponse } from "@cvent/sdk/models/operations"; + +let value: CreateLeadCatcherResponse = { + headers: { + "key": [ + "", + "", + "", + ], + "key1": [], + "key2": [], + }, + result: { + created: new Date("2017-01-02T02:00:00Z"), + createdBy: "hporter", + lastModified: new Date("2019-02-12T03:00:00Z"), + lastModifiedBy: "hporter", + firstName: "Jane", + lastName: "Smith", + title: "Director of Sales", + email: "jane.smith@example.com", + phone: "+1-555-555-0101", + fax: "+1-555-555-0101", + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + }, + config: { + supplierContactRole: "Sales Manager", + }, + additionalInfo: "Preferred contact for APAC venues.", + id: "7e5c2c23-b2bb-461a-adc9-025184988519", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `headers` | Record | :heavy_check_mark: | N/A | +| `result` | [components.ExistingLeadCatcher](../../models/components/existingleadcatcher.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/deleteleadcatcherrequest.md b/packages/typescript/docs/models/operations/deleteleadcatcherrequest.md new file mode 100644 index 000000000..2bbd2d93b --- /dev/null +++ b/packages/typescript/docs/models/operations/deleteleadcatcherrequest.md @@ -0,0 +1,19 @@ +# DeleteLeadCatcherRequest + +## Example Usage + +```typescript +import { DeleteLeadCatcherRequest } from "@cvent/sdk/models/operations"; + +let value: DeleteLeadCatcherRequest = { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + leadCatcherId: "7b69544a-2308-4b00-82b7-249b18e863f5", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `venueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `leadCatcherId` | *string* | :heavy_check_mark: | Unique identifier for a lead catcher. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/gethousingeventhotelavailabilityrequest.md b/packages/typescript/docs/models/operations/gethousingeventhotelavailabilityrequest.md index 622d73971..2279b580f 100644 --- a/packages/typescript/docs/models/operations/gethousingeventhotelavailabilityrequest.md +++ b/packages/typescript/docs/models/operations/gethousingeventhotelavailabilityrequest.md @@ -21,5 +21,5 @@ let value: GetHousingEventHotelAvailabilityRequest = { | `housingEventId` | *number* | :heavy_check_mark: | ID for a Passkey housing event. | 35325345 | | `hotelId` | *number* | :heavy_check_mark: | The hotel's unique ID. | 454345 | | `filter` | *string* | :heavy_minus_sign: | "A filter query string narrows search results and supports the combination of logical and comparison operators. The filter adheres to the pattern filter='field' comparisonType 'value'."

These are the comparison types that can be used in filter expressions:
* equal: eq
* less or equal: le
* greater or equal: ge
* greater than: gt
* less than: lt

The following fields are filterable:
* attendeeType.codes (eq)
* attendeeType.id (eq)
* roomType.id (eq)
* date (eq\|le\|ge\|lt\|gt)

Limits for the number of fields that can be passed in a filter: 36

The following operators are available:
* and
* or
| attendeeType.codes eq 'PEWATT0524317' and (date ge '2023-01-12' and date le '2023-01-15') | -| `limit` | *number* | :heavy_minus_sign: | Limit to this number of search results. Maximum of 50, default of 10. | 10 | +| `limit` | *number* | :heavy_minus_sign: | Limit to this number of search results. Maximum of 200, default of 10. | 10 | | `token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/getleadcatcheroverviewrequest.md b/packages/typescript/docs/models/operations/getleadcatcheroverviewrequest.md new file mode 100644 index 000000000..9b1a983a1 --- /dev/null +++ b/packages/typescript/docs/models/operations/getleadcatcheroverviewrequest.md @@ -0,0 +1,19 @@ +# GetLeadCatcherOverviewRequest + +## Example Usage + +```typescript +import { GetLeadCatcherOverviewRequest } from "@cvent/sdk/models/operations"; + +let value: GetLeadCatcherOverviewRequest = { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + leadCatcherId: "4e09a358-b071-47cc-8f0d-b38a9509fcc3", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `venueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `leadCatcherId` | *string* | :heavy_check_mark: | Unique identifier for a lead catcher. | | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/getvenueamenitiesrequest.md b/packages/typescript/docs/models/operations/getvenueamenitiesrequest.md new file mode 100644 index 000000000..13e1489ec --- /dev/null +++ b/packages/typescript/docs/models/operations/getvenueamenitiesrequest.md @@ -0,0 +1,17 @@ +# GetVenueAmenitiesRequest + +## Example Usage + +```typescript +import { GetVenueAmenitiesRequest } from "@cvent/sdk/models/operations"; + +let value: GetVenueAmenitiesRequest = { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `venueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/listattendeespostfilterrequest.md b/packages/typescript/docs/models/operations/listattendeespostfilterrequest.md index f788f9003..98b102c84 100644 --- a/packages/typescript/docs/models/operations/listattendeespostfilterrequest.md +++ b/packages/typescript/docs/models/operations/listattendeespostfilterrequest.md @@ -28,4 +28,4 @@ let value: ListAttendeesPostFilterRequest = { | `expand` | [components.Expand](../../models/components/expand.md)[] | :heavy_minus_sign: | This endpoint allows you to request additional information as an expanded response using the expand query parameter.
The expanded entity is retrieved and displayed inline for each specified expand value.

An object contains the ID of a related object in its response properties. You can expand these objects,
along with others, in line using the expand query parameter.

You can expand multiple objects at the same time by identifying multiple items in the expand array.

The respective scopes for each expansion are required.

The following fields are expandable:
* answers.question
* **Scope**: event/events:read
* **Reference**: List Event Questions
* registrationType
* **Scope**: event/registration-types:read
* **Reference**: List Registration Types
| [
"answers.question",
"registrationType"
] | | `sort` | *string* | :heavy_minus_sign: | The `sort` query parameter sorts items in the list of results and organizes them according to your preference.
There are two orders:
* ascending: ASC
* descending: DESC

The following fields are sortable:
* contact.firstName
* contact.lastName
* contact.title
* contact.company
* registeredAt
* checkIn
| contact.company:DESC,contact.title:ASC | | `includeDeletedGuests` | *boolean* | :heavy_minus_sign: | True indicates the request should include deleted guests in the response. By default, deleted guests are excluded.
The `deletedGuest` filter has no effect unless this parameter is `true`.
| | -| `filter` | [components.Filter](../../models/components/filter.md) | :heavy_minus_sign: | The request body accepts filters to refine the data returned. Refer to available filter details in [GET List Attendees](#operation/listAttendees).
| | \ No newline at end of file +| `filter` | [components.Filter](../../models/components/filter.md) | :heavy_minus_sign: | The request body accepts filters to refine the data returned. Refer to available filter details in [GET List Attendees](#operation/listAttendees).
| | \ No newline at end of file diff --git a/packages/typescript/docs/models/components/travelprogramquestion1.md b/packages/typescript/docs/models/operations/listleadcatchersoverviewrequest.md similarity index 56% rename from packages/typescript/docs/models/components/travelprogramquestion1.md rename to packages/typescript/docs/models/operations/listleadcatchersoverviewrequest.md index a3e547a4a..f3590986a 100644 --- a/packages/typescript/docs/models/components/travelprogramquestion1.md +++ b/packages/typescript/docs/models/operations/listleadcatchersoverviewrequest.md @@ -1,17 +1,13 @@ -# TravelProgramQuestion1 - -A question, defined by the account, for the supplier to answer as part of their proposal. +# ListLeadCatchersOverviewRequest ## Example Usage ```typescript -import { TravelProgramQuestion1 } from "@cvent/sdk/models/components"; +import { ListLeadCatchersOverviewRequest } from "@cvent/sdk/models/operations"; -let value: TravelProgramQuestion1 = { - questionId: "76c461cb-77f6-40b3-acc8-db44452f11c4", - section: "program_client", - required: true, - sequence: 1, +let value: ListLeadCatchersOverviewRequest = { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", }; ``` @@ -19,7 +15,6 @@ let value: TravelProgramQuestion1 = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `questionId` | *string* | :heavy_minus_sign: | The unique ID of the custom question. | 76c461cb-77f6-40b3-acc8-db44452f11c4 | -| `section` | [components.QuestionSection](../../models/components/questionsection.md) | :heavy_minus_sign: | Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. | program_client | -| `required` | *boolean* | :heavy_minus_sign: | Is it required for suppliers to answer this question in their proposal? | true | -| `sequence` | *number* | :heavy_minus_sign: | The sequence number of the question within the proposal. | 1 | \ No newline at end of file +| `venueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `limit` | *number* | :heavy_minus_sign: | The maximum number of records to return per page. | 100 | +| `token` | *string* | :heavy_minus_sign: | The continuation token returned from a previous class. This must be a valid UUID v4 if provided.
This will override any other pageable parameters provided.
| 0e28af57-511f-47ab-ae46-46cd1ca51a1a | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/listleadcatchersoverviewresponse.md b/packages/typescript/docs/models/operations/listleadcatchersoverviewresponse.md new file mode 100644 index 000000000..d60d768f9 --- /dev/null +++ b/packages/typescript/docs/models/operations/listleadcatchersoverviewresponse.md @@ -0,0 +1,43 @@ +# ListLeadCatchersOverviewResponse + +## Example Usage + +```typescript +import { ListLeadCatchersOverviewResponse } from "@cvent/sdk/models/operations"; + +let value: ListLeadCatchersOverviewResponse = { + result: { + paging: { + previousToken: "1a2b3c4d5e6f7g8h9i10j11k", + nextToken: "1a2b3c4d5e6f7g8h9i10j11k", + currentToken: "1a2b3c4d5e6f7g8h9i10j11k", + limit: 100, + totalCount: 2, + links: { + next: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + self: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + prev: { + href: "?token=90c5f062-76ad-4ea4-aa53-00eb698d9262", + }, + }, + }, + data: [ + { + id: "7e5c2c23-b2bb-461a-adc9-025184988519", + firstName: "Jane", + lastName: "Smith", + }, + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `result` | [components.LeadCatchersOverviewResponse](../../models/components/leadcatchersoverviewresponse.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/listrfpquestionsresponse.md b/packages/typescript/docs/models/operations/listrfpquestionsresponse.md index 905d2c2d3..de9e5c343 100644 --- a/packages/typescript/docs/models/operations/listrfpquestionsresponse.md +++ b/packages/typescript/docs/models/operations/listrfpquestionsresponse.md @@ -113,6 +113,7 @@ let value: ListRfpQuestionsResponse = { "CVB", "HOTEL", ], + classificationType: "ALL_RFPS", order: 1, standardQuestion: { id: "50dc08af-24a9-4d01-84be-3d43133dc945", diff --git a/packages/typescript/docs/models/operations/patchleadcatcherrequest.md b/packages/typescript/docs/models/operations/patchleadcatcherrequest.md new file mode 100644 index 000000000..dc081424e --- /dev/null +++ b/packages/typescript/docs/models/operations/patchleadcatcherrequest.md @@ -0,0 +1,41 @@ +# PatchLeadCatcherRequest + +## Example Usage + +```typescript +import { PatchLeadCatcherRequest } from "@cvent/sdk/models/operations"; + +let value: PatchLeadCatcherRequest = { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + leadCatcherId: "79359fc5-4d78-493e-a90f-0913d5a97d2e", + leadCatcherPatch: { + firstName: "Jane", + lastName: "Smith", + title: "Director of Sales", + email: "jane.smith@example.com", + phone: "+1-555-0100", + fax: "+1-555-0101", + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + }, + locale: "en-US", + config: { + rfpEmailEnabled: true, + pdfLinkEnabled: true, + supplierContactRole: "roleName", + }, + additionalInfo: "Preferred contact for APAC venues.", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `venueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `leadCatcherId` | *string* | :heavy_check_mark: | Unique identifier for a lead catcher. | | +| `leadCatcherPatch` | [components.LeadCatcherPatch](../../models/components/leadcatcherpatch.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/updateleadcatcherrequest.md b/packages/typescript/docs/models/operations/updateleadcatcherrequest.md new file mode 100644 index 000000000..bf35a0a89 --- /dev/null +++ b/packages/typescript/docs/models/operations/updateleadcatcherrequest.md @@ -0,0 +1,38 @@ +# UpdateLeadCatcherRequest + +## Example Usage + +```typescript +import { UpdateLeadCatcherRequest } from "@cvent/sdk/models/operations"; + +let value: UpdateLeadCatcherRequest = { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + leadCatcherId: "becd1b3c-d358-4156-97bb-b62cece1997b", + existingLeadCatcher: { + firstName: "Jane", + lastName: "Smith", + title: "Director of Sales", + email: "jane.smith@example.com", + phone: "+1-555-555-0101", + fax: "+1-555-555-0101", + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + }, + config: { + supplierContactRole: "Sales Manager", + }, + additionalInfo: "Preferred contact for APAC venues.", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `venueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `leadCatcherId` | *string* | :heavy_check_mark: | Unique identifier for a lead catcher. | | +| `existingLeadCatcher` | [components.ExistingLeadCatcherInput](../../models/components/existingleadcatcherinput.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/typescript/docs/models/operations/updatevenueamenitiesrequest.md b/packages/typescript/docs/models/operations/updatevenueamenitiesrequest.md new file mode 100644 index 000000000..0418eb684 --- /dev/null +++ b/packages/typescript/docs/models/operations/updatevenueamenitiesrequest.md @@ -0,0 +1,38 @@ +# UpdateVenueAmenitiesRequest + +## Example Usage + +```typescript +import { UpdateVenueAmenitiesRequest } from "@cvent/sdk/models/operations"; + +let value: UpdateVenueAmenitiesRequest = { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + existingVenueAmenities: { + avCapabilities: [ + { + amenity: "HIGH_SPEED_INTERNET", + speed: 1000, + }, + ], + parking: [ + { + amenity: "COMPLIMENTARY_PARKING_PROVIDED", + cost: 25, + }, + ], + facilitySpaceInfo: [ + { + amenity: "SEMI_PRIVATE_SPACE", + value: 5000, + }, + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `venueId` | *string* | :heavy_check_mark: | Unique Cvent based identifier for a Venue. | 6bb0e2db-861f-46e3-a923-eb4d959ffa00 | +| `existingVenueAmenities` | [components.ExistingVenueAmenitiesInput](../../models/components/existingvenueamenitiesinput.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/packages/typescript/docs/sdks/attendees/README.md b/packages/typescript/docs/sdks/attendees/README.md index a351a4c4d..e684f89ac 100644 --- a/packages/typescript/docs/sdks/attendees/README.md +++ b/packages/typescript/docs/sdks/attendees/README.md @@ -395,7 +395,7 @@ run(); ## listAttendeesPostFilter -Gets a paginated list of attendees by sending a filter in the body of the request. This method will return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer filters. +Gets a paginated list of attendees by sending a filter in the body of the request. This method will return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer filters. More about OAuth2 authorization code support for administrators diff --git a/packages/typescript/docs/sdks/eventtravel/README.md b/packages/typescript/docs/sdks/eventtravel/README.md index 65acc6ef3..6956ee37d 100644 --- a/packages/typescript/docs/sdks/eventtravel/README.md +++ b/packages/typescript/docs/sdks/eventtravel/README.md @@ -230,7 +230,7 @@ run(); ## getAlternateTravelAnswers -Get alternate travel answers submitted by attendees who opt out of air or hotel bookings for an event. +Get alternate travel answers submitted by attendees who opt out of air, hotel, or train bookings for an event. ### Example Usage diff --git a/packages/typescript/docs/sdks/housing/README.md b/packages/typescript/docs/sdks/housing/README.md index f91992571..de1bcadc0 100644 --- a/packages/typescript/docs/sdks/housing/README.md +++ b/packages/typescript/docs/sdks/housing/README.md @@ -17,6 +17,8 @@ If you need authentication credentials or have any questions regarding the RegLi * **RegLink.** A feature that links Passkey events to your registration events, enabling you to sync data between the two events. * **Callback.** [Passkey's callback system](https://developers.cvent.com/docs/passkey/REST/callbacks) allows for a push notification to be sent to your system when a reservation is created, modified or cancelled. +> Passkey Housing APIs only support the NA base URL. Calls to the EU base URL will return an error. + ### Available Operations diff --git a/packages/typescript/docs/sdks/venuecontent/README.md b/packages/typescript/docs/sdks/venuecontent/README.md index fe05b3108..bbcb957e7 100644 --- a/packages/typescript/docs/sdks/venuecontent/README.md +++ b/packages/typescript/docs/sdks/venuecontent/README.md @@ -6,6 +6,8 @@ Manage images, amenities, and nearby attractions associated with a venue. ### Available Operations +* [getVenueAmenities](#getvenueamenities) - Get Venue Amenities +* [updateVenueAmenities](#updatevenueamenities) - Update Venue Amenities * [listVenueAttractions](#listvenueattractions) - List Venue Attractions * [createVenueAttraction](#createvenueattraction) - Create Venue Attraction * [getVenueAttraction](#getvenueattraction) - Get Venue Attraction @@ -21,6 +23,228 @@ Manage images, amenities, and nearby attractions associated with a venue. * [associateVenueImage](#associatevenueimage) - Associate Venue Image * [disassociateVenueImage](#disassociatevenueimage) - Remove Venue Image +## getVenueAmenities + +Returns the current amenity selections for the specified venue. + +Not applicable to CVB/DMC or Restaurant venues. + + +### Example Usage + + +```typescript +import { CventSDK } from "@cvent/sdk"; + +const cventSDK = new CventSDK({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const result = await cventSDK.venueContent.getVenueAmenities({ + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { CventSDKCore } from "@cvent/sdk/core.js"; +import { venueContentGetVenueAmenities } from "@cvent/sdk/funcs/venueContentGetVenueAmenities.js"; + +// Use `CventSDKCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const cventSDK = new CventSDKCore({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const res = await venueContentGetVenueAmenities(cventSDK, { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("venueContentGetVenueAmenities failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.GetVenueAmenitiesRequest](../../models/operations/getvenueamenitiesrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.ExistingVenueAmenities](../../models/components/existingvenueamenities.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | + +## updateVenueAmenities + +Updates the amenity selections for the specified venue, replacing all existing selections with those provided in the request body. Sections absent from the request body or submitted as empty arrays will have their selections cleared. + +Not applicable to CVB/DMC or Restaurant venues. + + +### Example Usage + + +```typescript +import { CventSDK } from "@cvent/sdk"; + +const cventSDK = new CventSDK({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const result = await cventSDK.venueContent.updateVenueAmenities({ + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + existingVenueAmenities: { + avCapabilities: [ + { + amenity: "ONSITE_AV_STAFF", + speed: 1000, + }, + ], + parking: [ + { + amenity: "BUS_PARKING_AVAILABLE", + cost: 25, + }, + ], + facilitySpaceInfo: [ + { + amenity: "OUTDOOR_SPACE", + value: 5000, + }, + ], + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { CventSDKCore } from "@cvent/sdk/core.js"; +import { venueContentUpdateVenueAmenities } from "@cvent/sdk/funcs/venueContentUpdateVenueAmenities.js"; + +// Use `CventSDKCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const cventSDK = new CventSDKCore({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const res = await venueContentUpdateVenueAmenities(cventSDK, { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + existingVenueAmenities: { + avCapabilities: [ + { + amenity: "ONSITE_AV_STAFF", + speed: 1000, + }, + ], + parking: [ + { + amenity: "BUS_PARKING_AVAILABLE", + cost: 25, + }, + ], + facilitySpaceInfo: [ + { + amenity: "OUTDOOR_SPACE", + value: 5000, + }, + ], + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("venueContentUpdateVenueAmenities failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.UpdateVenueAmenitiesRequest](../../models/operations/updatevenueamenitiesrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.ExistingVenueAmenities](../../models/components/existingvenueamenities.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | + ## listVenueAttractions Returns a paginated list of attractions for the specified venue. diff --git a/packages/typescript/docs/sdks/venueleads/README.md b/packages/typescript/docs/sdks/venueleads/README.md new file mode 100644 index 000000000..16197bb86 --- /dev/null +++ b/packages/typescript/docs/sdks/venueleads/README.md @@ -0,0 +1,684 @@ +# VenueLeads + +## Overview + +Manage inbound leads submitted to venues through Cvent's sourcing channels. + +### Available Operations + +* [createLeadCatcher](#createleadcatcher) - Create Lead Catcher +* [listLeadCatchersOverview](#listleadcatchersoverview) - List Lead Catchers Overview +* [updateLeadCatcher](#updateleadcatcher) - Update Lead Catcher +* [patchLeadCatcher](#patchleadcatcher) - Patch Lead Catcher +* [deleteLeadCatcher](#deleteleadcatcher) - Delete Lead Catcher +* [getLeadCatcherOverview](#getleadcatcheroverview) - Get Lead Catcher Overview + +## createLeadCatcher + +Creates a new lead catcher contact for the specified venue. Lead catchers receive email notifications when RFPs are submitted to the venue. + +### Example Usage + + +```typescript +import { CventSDK } from "@cvent/sdk"; + +const cventSDK = new CventSDK({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const result = await cventSDK.venueLeads.createLeadCatcher({ + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + leadCatcher: { + firstName: "Jane", + lastName: "Smith", + title: "Director of Sales", + email: "jane.smith@example.com", + phone: "+1-555-555-0101", + fax: "+1-555-555-0101", + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + }, + config: { + supplierContactRole: "Sales Manager", + }, + additionalInfo: "Preferred contact for APAC venues.", + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { CventSDKCore } from "@cvent/sdk/core.js"; +import { venueLeadsCreateLeadCatcher } from "@cvent/sdk/funcs/venueLeadsCreateLeadCatcher.js"; + +// Use `CventSDKCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const cventSDK = new CventSDKCore({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const res = await venueLeadsCreateLeadCatcher(cventSDK, { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + leadCatcher: { + firstName: "Jane", + lastName: "Smith", + title: "Director of Sales", + email: "jane.smith@example.com", + phone: "+1-555-555-0101", + fax: "+1-555-555-0101", + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + }, + config: { + supplierContactRole: "Sales Manager", + }, + additionalInfo: "Preferred contact for APAC venues.", + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("venueLeadsCreateLeadCatcher failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.CreateLeadCatcherRequest](../../models/operations/createleadcatcherrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[operations.CreateLeadCatcherResponse](../../models/operations/createleadcatcherresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | + +## listLeadCatchersOverview + +Returns a paginated, lightweight overview of the lead catchers for the specified venue, +containing only `id`, `firstName`, and `lastName` for each contact. + +Use this endpoint to discover the `leadCatcherId` needed for PATCH, PUT, and DELETE. +The response does not include contact details such as email address or phone number. + + +### Example Usage + + +```typescript +import { CventSDK } from "@cvent/sdk"; + +const cventSDK = new CventSDK({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const result = await cventSDK.venueLeads.listLeadCatchersOverview({ + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", + }); + + for await (const page of result) { + console.log(page); + } +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { CventSDKCore } from "@cvent/sdk/core.js"; +import { venueLeadsListLeadCatchersOverview } from "@cvent/sdk/funcs/venueLeadsListLeadCatchersOverview.js"; + +// Use `CventSDKCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const cventSDK = new CventSDKCore({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const res = await venueLeadsListLeadCatchersOverview(cventSDK, { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + token: "0e28af57-511f-47ab-ae46-46cd1ca51a1a", + }); + if (res.ok) { + const { value: result } = res; + for await (const page of result) { + console.log(page); + } + } else { + console.log("venueLeadsListLeadCatchersOverview failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.ListLeadCatchersOverviewRequest](../../models/operations/listleadcatchersoverviewrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[operations.ListLeadCatchersOverviewResponse](../../models/operations/listleadcatchersoverviewresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | + +## updateLeadCatcher + +Updates the given lead catcher for the specified venue, replacing the existing lead catcher data. + +### Example Usage + + +```typescript +import { CventSDK } from "@cvent/sdk"; + +const cventSDK = new CventSDK({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const result = await cventSDK.venueLeads.updateLeadCatcher({ + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + leadCatcherId: "6e7d0d64-13f7-4472-8308-fa7067dba173", + existingLeadCatcher: { + firstName: "Jane", + lastName: "Smith", + title: "Director of Sales", + email: "jane.smith@example.com", + phone: "+1-555-555-0101", + fax: "+1-555-555-0101", + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + }, + config: { + supplierContactRole: "Sales Manager", + }, + additionalInfo: "Preferred contact for APAC venues.", + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { CventSDKCore } from "@cvent/sdk/core.js"; +import { venueLeadsUpdateLeadCatcher } from "@cvent/sdk/funcs/venueLeadsUpdateLeadCatcher.js"; + +// Use `CventSDKCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const cventSDK = new CventSDKCore({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const res = await venueLeadsUpdateLeadCatcher(cventSDK, { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + leadCatcherId: "6e7d0d64-13f7-4472-8308-fa7067dba173", + existingLeadCatcher: { + firstName: "Jane", + lastName: "Smith", + title: "Director of Sales", + email: "jane.smith@example.com", + phone: "+1-555-555-0101", + fax: "+1-555-555-0101", + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + }, + config: { + supplierContactRole: "Sales Manager", + }, + additionalInfo: "Preferred contact for APAC venues.", + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("venueLeadsUpdateLeadCatcher failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.UpdateLeadCatcherRequest](../../models/operations/updateleadcatcherrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.ExistingLeadCatcher](../../models/components/existingleadcatcher.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | + +## patchLeadCatcher + +Partially updates the specified lead catcher using JSON Merge Patch, as defined in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + +- Only fields present in the request body are updated; omitted fields remain unchanged. +- Set a field to `null` to unset it. +- The response contains only the fields that were provided in the request payload. + + +### Example Usage + + +```typescript +import { CventSDK } from "@cvent/sdk"; + +const cventSDK = new CventSDK({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const result = await cventSDK.venueLeads.patchLeadCatcher({ + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + leadCatcherId: "f72c984a-4f55-4563-90e5-7e34a3be1552", + leadCatcherPatch: { + firstName: "Jane", + lastName: "Smith", + title: "Director of Sales", + email: "jane.smith@example.com", + phone: "+1-555-0100", + fax: "+1-555-0101", + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + }, + locale: "en-US", + config: { + rfpEmailEnabled: true, + pdfLinkEnabled: true, + supplierContactRole: "roleName", + }, + additionalInfo: "Preferred contact for APAC venues.", + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { CventSDKCore } from "@cvent/sdk/core.js"; +import { venueLeadsPatchLeadCatcher } from "@cvent/sdk/funcs/venueLeadsPatchLeadCatcher.js"; + +// Use `CventSDKCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const cventSDK = new CventSDKCore({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const res = await venueLeadsPatchLeadCatcher(cventSDK, { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + leadCatcherId: "f72c984a-4f55-4563-90e5-7e34a3be1552", + leadCatcherPatch: { + firstName: "Jane", + lastName: "Smith", + title: "Director of Sales", + email: "jane.smith@example.com", + phone: "+1-555-0100", + fax: "+1-555-0101", + address: { + streetAddress1: "1234 Trap Road", + streetAddress2: "Suite 100", + city: "Vienna", + zipPostalCode: "22182", + }, + locale: "en-US", + config: { + rfpEmailEnabled: true, + pdfLinkEnabled: true, + supplierContactRole: "roleName", + }, + additionalInfo: "Preferred contact for APAC venues.", + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("venueLeadsPatchLeadCatcher failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.PatchLeadCatcherRequest](../../models/operations/patchleadcatcherrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.LeadCatcherPatch](../../models/components/leadcatcherpatch.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | + +## deleteLeadCatcher + +Deletes the specified lead catcher for the venue. + +### Example Usage + + +```typescript +import { CventSDK } from "@cvent/sdk"; + +const cventSDK = new CventSDK({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + await cventSDK.venueLeads.deleteLeadCatcher({ + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + leadCatcherId: "d7aa3fa0-4c8f-4353-9810-3984886b6a9d", + }); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { CventSDKCore } from "@cvent/sdk/core.js"; +import { venueLeadsDeleteLeadCatcher } from "@cvent/sdk/funcs/venueLeadsDeleteLeadCatcher.js"; + +// Use `CventSDKCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const cventSDK = new CventSDKCore({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const res = await venueLeadsDeleteLeadCatcher(cventSDK, { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + leadCatcherId: "d7aa3fa0-4c8f-4353-9810-3984886b6a9d", + }); + if (res.ok) { + const { value: result } = res; + + } else { + console.log("venueLeadsDeleteLeadCatcher failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.DeleteLeadCatcherRequest](../../models/operations/deleteleadcatcherrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | + +## getLeadCatcherOverview + +Retrieves a lightweight overview of a specific lead catcher for the specified venue, +containing only `id`, `firstName`, and `lastName`. + +The response does not include contact details such as email address or phone number. + + +### Example Usage + + +```typescript +import { CventSDK } from "@cvent/sdk"; + +const cventSDK = new CventSDK({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const result = await cventSDK.venueLeads.getLeadCatcherOverview({ + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + leadCatcherId: "7de41b14-8083-46d4-91b6-5a3239d59277", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { CventSDKCore } from "@cvent/sdk/core.js"; +import { venueLeadsGetLeadCatcherOverview } from "@cvent/sdk/funcs/venueLeadsGetLeadCatcherOverview.js"; + +// Use `CventSDKCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const cventSDK = new CventSDKCore({ + security: { + oAuth2ClientCredentials: { + clientID: process.env["CVENTSDK_CLIENT_ID"] ?? "", + clientSecret: process.env["CVENTSDK_CLIENT_SECRET"] ?? "", + tokenURL: process.env["CVENTSDK_TOKEN_URL"] ?? "", + scopes: process.env["CVENTSDK_SCOPES"] ?? "", + }, + }, +}); + +async function run() { + const res = await venueLeadsGetLeadCatcherOverview(cventSDK, { + venueId: "6bb0e2db-861f-46e3-a923-eb4d959ffa00", + leadCatcherId: "7de41b14-8083-46d4-91b6-5a3239d59277", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("venueLeadsGetLeadCatcherOverview failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.GetLeadCatcherOverviewRequest](../../models/operations/getleadcatcheroverviewrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.LeadCatcherOverview](../../models/components/leadcatcheroverview.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| errors.ErrorResponse12 | 400, 401, 403, 404, 429 | application/json | +| errors.APIError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/packages/typescript/jsr.json b/packages/typescript/jsr.json index 5c9c7591a..c839bcaaf 100644 --- a/packages/typescript/jsr.json +++ b/packages/typescript/jsr.json @@ -2,7 +2,7 @@ { "name": "@cvent/sdk", - "version": "1.6.5", + "version": "1.6.6", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 6ad351de8..cb7f49c3b 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@cvent/sdk", - "version": "1.6.5", + "version": "1.6.6", "author": "Cvent", "files": [ "dist/", diff --git a/packages/typescript/src/funcs/attendeesListAttendeesPostFilter.ts b/packages/typescript/src/funcs/attendeesListAttendeesPostFilter.ts index 5b42e4263..87489c556 100644 --- a/packages/typescript/src/funcs/attendeesListAttendeesPostFilter.ts +++ b/packages/typescript/src/funcs/attendeesListAttendeesPostFilter.ts @@ -36,7 +36,7 @@ import { * List Attendees * * @remarks - * Gets a paginated list of attendees by sending a filter in the body of the request. This method will return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer filters. + * Gets a paginated list of attendees by sending a filter in the body of the request. This method will return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer filters. * * @see {@link #oauth2-auth-code-planner-admin} - More about OAuth2 authorization code support for administrators */ diff --git a/packages/typescript/src/funcs/eventTravelGetAlternateTravelAnswers.ts b/packages/typescript/src/funcs/eventTravelGetAlternateTravelAnswers.ts index 61ff345cc..6b77df309 100644 --- a/packages/typescript/src/funcs/eventTravelGetAlternateTravelAnswers.ts +++ b/packages/typescript/src/funcs/eventTravelGetAlternateTravelAnswers.ts @@ -36,7 +36,7 @@ import { * Get Alternate Travel Answers * * @remarks - * Get alternate travel answers submitted by attendees who opt out of air or hotel bookings for an event. + * Get alternate travel answers submitted by attendees who opt out of air, hotel, or train bookings for an event. */ export function eventTravelGetAlternateTravelAnswers( client: CventSDKCore, diff --git a/packages/typescript/src/funcs/venueContentGetVenueAmenities.ts b/packages/typescript/src/funcs/venueContentGetVenueAmenities.ts new file mode 100644 index 000000000..7cb8b50df --- /dev/null +++ b/packages/typescript/src/funcs/venueContentGetVenueAmenities.ts @@ -0,0 +1,187 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { CventSDKCore } from "../core.js"; +import { encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { CventSDKError } from "../models/errors/cventsdkerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Get Venue Amenities + * + * @remarks + * Returns the current amenity selections for the specified venue. + * + * Not applicable to CVB/DMC or Restaurant venues. + */ +export function venueContentGetVenueAmenities( + client: CventSDKCore, + request: operations.GetVenueAmenitiesRequest, + options?: RequestOptions, +): APIPromise< + Result< + components.ExistingVenueAmenities, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: CventSDKCore, + request: operations.GetVenueAmenitiesRequest, + options?: RequestOptions, +): Promise< + [ + Result< + components.ExistingVenueAmenities, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => operations.GetVenueAmenitiesRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + venueId: encodeSimple("venueId", payload.venueId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/venues/{venueId}/amenities")(pathParams); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const securityInput = await extractSecurity(client._options.security); + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "getVenueAmenities", + oAuth2Scopes: ["venue/amenities:read"], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.security, + retryConfig: options?.retries + || client._options.retryConfig + || { + strategy: "backoff", + backoff: { + initialInterval: 2000, + maxInterval: 16000, + exponent: 2, + maxElapsedTime: 40000, + }, + retryConnectionErrors: true, + } + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + components.ExistingVenueAmenities, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.ExistingVenueAmenities$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse12$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/packages/typescript/src/funcs/venueContentUpdateVenueAmenities.ts b/packages/typescript/src/funcs/venueContentUpdateVenueAmenities.ts new file mode 100644 index 000000000..a35bbf492 --- /dev/null +++ b/packages/typescript/src/funcs/venueContentUpdateVenueAmenities.ts @@ -0,0 +1,191 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { CventSDKCore } from "../core.js"; +import { encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { CventSDKError } from "../models/errors/cventsdkerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Update Venue Amenities + * + * @remarks + * Updates the amenity selections for the specified venue, replacing all existing selections with those provided in the request body. Sections absent from the request body or submitted as empty arrays will have their selections cleared. + * + * Not applicable to CVB/DMC or Restaurant venues. + */ +export function venueContentUpdateVenueAmenities( + client: CventSDKCore, + request: operations.UpdateVenueAmenitiesRequest, + options?: RequestOptions, +): APIPromise< + Result< + components.ExistingVenueAmenities, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: CventSDKCore, + request: operations.UpdateVenueAmenitiesRequest, + options?: RequestOptions, +): Promise< + [ + Result< + components.ExistingVenueAmenities, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + operations.UpdateVenueAmenitiesRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.existingVenueAmenities, { + explode: true, + }); + + const pathParams = { + venueId: encodeSimple("venueId", payload.venueId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/venues/{venueId}/amenities")(pathParams); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const securityInput = await extractSecurity(client._options.security); + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "updateVenueAmenities", + oAuth2Scopes: ["venue/amenities:write"], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.security, + retryConfig: options?.retries + || client._options.retryConfig + || { + strategy: "backoff", + backoff: { + initialInterval: 2000, + maxInterval: 16000, + exponent: 2, + maxElapsedTime: 40000, + }, + retryConnectionErrors: true, + } + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "PUT", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + components.ExistingVenueAmenities, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.ExistingVenueAmenities$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse12$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/packages/typescript/src/funcs/venueLeadsCreateLeadCatcher.ts b/packages/typescript/src/funcs/venueLeadsCreateLeadCatcher.ts new file mode 100644 index 000000000..fbd2f9353 --- /dev/null +++ b/packages/typescript/src/funcs/venueLeadsCreateLeadCatcher.ts @@ -0,0 +1,188 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { CventSDKCore } from "../core.js"; +import { encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import { CventSDKError } from "../models/errors/cventsdkerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Create Lead Catcher + * + * @remarks + * Creates a new lead catcher contact for the specified venue. Lead catchers receive email notifications when RFPs are submitted to the venue. + */ +export function venueLeadsCreateLeadCatcher( + client: CventSDKCore, + request: operations.CreateLeadCatcherRequest, + options?: RequestOptions, +): APIPromise< + Result< + operations.CreateLeadCatcherResponse, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: CventSDKCore, + request: operations.CreateLeadCatcherRequest, + options?: RequestOptions, +): Promise< + [ + Result< + operations.CreateLeadCatcherResponse, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => operations.CreateLeadCatcherRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.leadCatcher, { explode: true }); + + const pathParams = { + venueId: encodeSimple("venueId", payload.venueId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/venues/{venueId}/lead-catchers")(pathParams); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const securityInput = await extractSecurity(client._options.security); + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "createLeadCatcher", + oAuth2Scopes: ["venue/lead-catchers:write"], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.security, + retryConfig: options?.retries + || client._options.retryConfig + || { + strategy: "backoff", + backoff: { + initialInterval: 2000, + maxInterval: 16000, + exponent: 2, + maxElapsedTime: 40000, + }, + retryConnectionErrors: true, + } + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + operations.CreateLeadCatcherResponse, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(201, operations.CreateLeadCatcherResponse$inboundSchema, { + hdrs: true, + key: "Result", + }), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse12$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/packages/typescript/src/funcs/venueLeadsDeleteLeadCatcher.ts b/packages/typescript/src/funcs/venueLeadsDeleteLeadCatcher.ts new file mode 100644 index 000000000..754b4df84 --- /dev/null +++ b/packages/typescript/src/funcs/venueLeadsDeleteLeadCatcher.ts @@ -0,0 +1,191 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { CventSDKCore } from "../core.js"; +import { encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import { CventSDKError } from "../models/errors/cventsdkerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Delete Lead Catcher + * + * @remarks + * Deletes the specified lead catcher for the venue. + */ +export function venueLeadsDeleteLeadCatcher( + client: CventSDKCore, + request: operations.DeleteLeadCatcherRequest, + options?: RequestOptions, +): APIPromise< + Result< + void, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: CventSDKCore, + request: operations.DeleteLeadCatcherRequest, + options?: RequestOptions, +): Promise< + [ + Result< + void, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => operations.DeleteLeadCatcherRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + leadCatcherId: encodeSimple("leadCatcherId", payload.leadCatcherId, { + explode: false, + charEncoding: "percent", + }), + venueId: encodeSimple("venueId", payload.venueId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/venues/{venueId}/lead-catchers/{leadCatcherId}")( + pathParams, + ); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const securityInput = await extractSecurity(client._options.security); + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "deleteLeadCatcher", + oAuth2Scopes: ["venue/lead-catchers:delete"], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.security, + retryConfig: options?.retries + || client._options.retryConfig + || { + strategy: "backoff", + backoff: { + initialInterval: 2000, + maxInterval: 16000, + exponent: 2, + maxElapsedTime: 40000, + }, + retryConnectionErrors: true, + } + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "DELETE", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + void, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.nil(204, z.void()), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse12$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/packages/typescript/src/funcs/venueLeadsGetLeadCatcherOverview.ts b/packages/typescript/src/funcs/venueLeadsGetLeadCatcherOverview.ts new file mode 100644 index 000000000..bce91fe5c --- /dev/null +++ b/packages/typescript/src/funcs/venueLeadsGetLeadCatcherOverview.ts @@ -0,0 +1,195 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { CventSDKCore } from "../core.js"; +import { encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { CventSDKError } from "../models/errors/cventsdkerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Get Lead Catcher Overview + * + * @remarks + * Retrieves a lightweight overview of a specific lead catcher for the specified venue, + * containing only `id`, `firstName`, and `lastName`. + * + * The response does not include contact details such as email address or phone number. + */ +export function venueLeadsGetLeadCatcherOverview( + client: CventSDKCore, + request: operations.GetLeadCatcherOverviewRequest, + options?: RequestOptions, +): APIPromise< + Result< + components.LeadCatcherOverview, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: CventSDKCore, + request: operations.GetLeadCatcherOverviewRequest, + options?: RequestOptions, +): Promise< + [ + Result< + components.LeadCatcherOverview, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + operations.GetLeadCatcherOverviewRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + leadCatcherId: encodeSimple("leadCatcherId", payload.leadCatcherId, { + explode: false, + charEncoding: "percent", + }), + venueId: encodeSimple("venueId", payload.venueId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc( + "/venues/{venueId}/lead-catchers/{leadCatcherId}/overview", + )(pathParams); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const securityInput = await extractSecurity(client._options.security); + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "getLeadCatcherOverview", + oAuth2Scopes: ["venue/lead-catchers-overview:read"], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.security, + retryConfig: options?.retries + || client._options.retryConfig + || { + strategy: "backoff", + backoff: { + initialInterval: 2000, + maxInterval: 16000, + exponent: 2, + maxElapsedTime: 40000, + }, + retryConnectionErrors: true, + } + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + components.LeadCatcherOverview, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.LeadCatcherOverview$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse12$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/packages/typescript/src/funcs/venueLeadsListLeadCatchersOverview.ts b/packages/typescript/src/funcs/venueLeadsListLeadCatchersOverview.ts new file mode 100644 index 000000000..cbfea71bd --- /dev/null +++ b/packages/typescript/src/funcs/venueLeadsListLeadCatchersOverview.ts @@ -0,0 +1,261 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { CventSDKCore } from "../core.js"; +import { dlv } from "../lib/dlv.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import { CventSDKError } from "../models/errors/cventsdkerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; +import { + createPageIterator, + haltIterator, + PageIterator, + Paginator, +} from "../types/operations.js"; + +/** + * List Lead Catchers Overview + * + * @remarks + * Returns a paginated, lightweight overview of the lead catchers for the specified venue, + * containing only `id`, `firstName`, and `lastName` for each contact. + * + * Use this endpoint to discover the `leadCatcherId` needed for PATCH, PUT, and DELETE. + * The response does not include contact details such as email address or phone number. + */ +export function venueLeadsListLeadCatchersOverview( + client: CventSDKCore, + request: operations.ListLeadCatchersOverviewRequest, + options?: RequestOptions, +): APIPromise< + PageIterator< + Result< + operations.ListLeadCatchersOverviewResponse, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + { cursor: string } + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: CventSDKCore, + request: operations.ListLeadCatchersOverviewRequest, + options?: RequestOptions, +): Promise< + [ + PageIterator< + Result< + operations.ListLeadCatchersOverviewResponse, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + { cursor: string } + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + operations.ListLeadCatchersOverviewRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [haltIterator(parsed), { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + venueId: encodeSimple("venueId", payload.venueId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/venues/{venueId}/lead-catchers/overview")( + pathParams, + ); + + const query = encodeFormQuery({ + "limit": payload.limit, + "token": payload.token, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const securityInput = await extractSecurity(client._options.security); + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "listLeadCatchersOverview", + oAuth2Scopes: ["venue/lead-catchers-overview:read"], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.security, + retryConfig: options?.retries + || client._options.retryConfig + || { + strategy: "backoff", + backoff: { + initialInterval: 2000, + maxInterval: 16000, + exponent: 2, + maxElapsedTime: 40000, + }, + retryConnectionErrors: true, + } + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [haltIterator(requestRes), { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [haltIterator(doResult), { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result, raw] = await M.match< + operations.ListLeadCatchersOverviewResponse, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, operations.ListLeadCatchersOverviewResponse$inboundSchema, { + key: "Result", + }), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse12$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [haltIterator(result), { + status: "complete", + request: req, + response, + }]; + } + + const nextFunc = ( + responseData: unknown, + ): { + next: Paginator< + Result< + operations.ListLeadCatchersOverviewResponse, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > + >; + "~next"?: { cursor: string }; + } => { + const nextCursor = dlv(responseData, "paging.nextToken"); + if (typeof nextCursor !== "string") { + return { next: () => null }; + } + if (nextCursor.trim() === "") { + return { next: () => null }; + } + + const nextVal = () => + venueLeadsListLeadCatchersOverview( + client, + { + ...request, + token: nextCursor, + }, + options, + ); + + return { next: nextVal, "~next": { cursor: nextCursor } }; + }; + + const page = { ...result, ...nextFunc(raw) }; + return [{ ...page, ...createPageIterator(page, (v) => !v.ok) }, { + status: "complete", + request: req, + response, + }]; +} diff --git a/packages/typescript/src/funcs/venueLeadsPatchLeadCatcher.ts b/packages/typescript/src/funcs/venueLeadsPatchLeadCatcher.ts new file mode 100644 index 000000000..ea7d6941f --- /dev/null +++ b/packages/typescript/src/funcs/venueLeadsPatchLeadCatcher.ts @@ -0,0 +1,196 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { CventSDKCore } from "../core.js"; +import { encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { CventSDKError } from "../models/errors/cventsdkerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Patch Lead Catcher + * + * @remarks + * Partially updates the specified lead catcher using JSON Merge Patch, as defined in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + * + * - Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - The response contains only the fields that were provided in the request payload. + */ +export function venueLeadsPatchLeadCatcher( + client: CventSDKCore, + request: operations.PatchLeadCatcherRequest, + options?: RequestOptions, +): APIPromise< + Result< + components.LeadCatcherPatch, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: CventSDKCore, + request: operations.PatchLeadCatcherRequest, + options?: RequestOptions, +): Promise< + [ + Result< + components.LeadCatcherPatch, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => operations.PatchLeadCatcherRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.leadCatcherPatch, { explode: true }); + + const pathParams = { + leadCatcherId: encodeSimple("leadCatcherId", payload.leadCatcherId, { + explode: false, + charEncoding: "percent", + }), + venueId: encodeSimple("venueId", payload.venueId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/venues/{venueId}/lead-catchers/{leadCatcherId}")( + pathParams, + ); + + const headers = new Headers(compactMap({ + "Content-Type": "application/merge-patch+json", + Accept: "application/json", + })); + + const securityInput = await extractSecurity(client._options.security); + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "patchLeadCatcher", + oAuth2Scopes: ["venue/lead-catchers:write"], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.security, + retryConfig: options?.retries + || client._options.retryConfig + || { + strategy: "backoff", + backoff: { + initialInterval: 2000, + maxInterval: 16000, + exponent: 2, + maxElapsedTime: 40000, + }, + retryConnectionErrors: true, + } + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "PATCH", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + components.LeadCatcherPatch, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.LeadCatcherPatch$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse12$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/packages/typescript/src/funcs/venueLeadsUpdateLeadCatcher.ts b/packages/typescript/src/funcs/venueLeadsUpdateLeadCatcher.ts new file mode 100644 index 000000000..90abf091f --- /dev/null +++ b/packages/typescript/src/funcs/venueLeadsUpdateLeadCatcher.ts @@ -0,0 +1,194 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { CventSDKCore } from "../core.js"; +import { encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { CventSDKError } from "../models/errors/cventsdkerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Update Lead Catcher + * + * @remarks + * Updates the given lead catcher for the specified venue, replacing the existing lead catcher data. + */ +export function venueLeadsUpdateLeadCatcher( + client: CventSDKCore, + request: operations.UpdateLeadCatcherRequest, + options?: RequestOptions, +): APIPromise< + Result< + components.ExistingLeadCatcher, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: CventSDKCore, + request: operations.UpdateLeadCatcherRequest, + options?: RequestOptions, +): Promise< + [ + Result< + components.ExistingLeadCatcher, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => operations.UpdateLeadCatcherRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.existingLeadCatcher, { + explode: true, + }); + + const pathParams = { + leadCatcherId: encodeSimple("leadCatcherId", payload.leadCatcherId, { + explode: false, + charEncoding: "percent", + }), + venueId: encodeSimple("venueId", payload.venueId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/venues/{venueId}/lead-catchers/{leadCatcherId}")( + pathParams, + ); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const securityInput = await extractSecurity(client._options.security); + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "updateLeadCatcher", + oAuth2Scopes: ["venue/lead-catchers:write"], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.security, + retryConfig: options?.retries + || client._options.retryConfig + || { + strategy: "backoff", + backoff: { + initialInterval: 2000, + maxInterval: 16000, + exponent: 2, + maxElapsedTime: 40000, + }, + retryConnectionErrors: true, + } + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "PUT", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + components.ExistingLeadCatcher, + | errors.ErrorResponse12 + | CventSDKError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.ExistingLeadCatcher$inboundSchema), + M.jsonErr([400, 401, 403, 404, 429], errors.ErrorResponse12$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/packages/typescript/src/hooks/oauth2scopes.ts b/packages/typescript/src/hooks/oauth2scopes.ts index c6a5c34e7..4a8a521f0 100644 --- a/packages/typescript/src/hooks/oauth2scopes.ts +++ b/packages/typescript/src/hooks/oauth2scopes.ts @@ -805,6 +805,14 @@ export type OAuth2AuthorizationCodeOAuth2Scope = * Allows the reading of event surveys */ | "survey/surveys:read" + /** + * Allows reading of venue amenity selections. + */ + | "venue/amenities:read" + /** + * Allows the modification of venue amenity selections. + */ + | "venue/amenities:write" /** * Allows reading of venue availability settings. */ @@ -825,6 +833,18 @@ export type OAuth2AuthorizationCodeOAuth2Scope = * Allows associating images with venues. */ | "venue/images:write" + /** + * Allows read access for overview of lead catchers. + */ + | "venue/lead-catchers-overview:read" + /** + * Allows the deletion of lead catchers. + */ + | "venue/lead-catchers:delete" + /** + * Allows the creation and modification of lead catchers. + */ + | "venue/lead-catchers:write" /** * Allows disassociating images from meeting rooms. */ @@ -1829,6 +1849,14 @@ export type OAuth2ClientCredentialsOAuth2Scope = * Allows the reading of event surveys */ | "survey/surveys:read" + /** + * Allows reading of venue amenity selections. + */ + | "venue/amenities:read" + /** + * Allows the modification of venue amenity selections. + */ + | "venue/amenities:write" /** * Allows reading of venue availability settings. */ @@ -1849,6 +1877,18 @@ export type OAuth2ClientCredentialsOAuth2Scope = * Allows associating images with venues. */ | "venue/images:write" + /** + * Allows read access for overview of lead catchers. + */ + | "venue/lead-catchers-overview:read" + /** + * Allows the deletion of lead catchers. + */ + | "venue/lead-catchers:delete" + /** + * Allows the creation and modification of lead catchers. + */ + | "venue/lead-catchers:write" /** * Allows disassociating images from meeting rooms. */ diff --git a/packages/typescript/src/lib/config.ts b/packages/typescript/src/lib/config.ts index 78cef8385..f1cc53474 100644 --- a/packages/typescript/src/lib/config.ts +++ b/packages/typescript/src/lib/config.ts @@ -66,7 +66,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "ea", - sdkVersion: "1.6.5", + sdkVersion: "1.6.6", genVersion: "2.859.2", - userAgent: "speakeasy-sdk/typescript 1.6.5 2.859.2 ea @cvent/sdk", + userAgent: "speakeasy-sdk/typescript 1.6.6 2.859.2 ea @cvent/sdk", } as const; diff --git a/packages/typescript/src/models/components/activitydata.ts b/packages/typescript/src/models/components/activitydata.ts index 7b2ed5add..4279d4fa7 100644 --- a/packages/typescript/src/models/components/activitydata.ts +++ b/packages/typescript/src/models/components/activitydata.ts @@ -48,10 +48,7 @@ import { BannerLinkTarget, BannerLinkTarget$inboundSchema, } from "./bannerlinktarget.js"; -import { - ContactFields1, - ContactFields1$inboundSchema, -} from "./contactfields1.js"; +import { ContactFields, ContactFields$inboundSchema } from "./contactfields.js"; import { Exhibitor1, Exhibitor1$inboundSchema } from "./exhibitor1.js"; import { LeadObject, LeadObject$inboundSchema } from "./leadobject.js"; import { @@ -1084,11 +1081,11 @@ export type EventAttendeeSubstituted = { /** * Details of a contact. */ - oldContact?: ContactFields1 | undefined; + oldContact?: ContactFields | undefined; /** * Details of a contact. */ - newContact?: ContactFields1 | undefined; + newContact?: ContactFields | undefined; }; /** @@ -2697,8 +2694,8 @@ export const EventAttendeeSubstituted$inboundSchema: z.ZodType< unknown > = z.object({ event: z.lazy(() => EventAttendeeSubstitutedEvent$inboundSchema).optional(), - oldContact: ContactFields1$inboundSchema.optional(), - newContact: ContactFields1$inboundSchema.optional(), + oldContact: ContactFields$inboundSchema.optional(), + newContact: ContactFields$inboundSchema.optional(), }); export function eventAttendeeSubstitutedFromJSON( diff --git a/packages/typescript/src/models/components/alternatetraveldetail.ts b/packages/typescript/src/models/components/alternatetraveldetail.ts index 5cb7ca93d..ed0fce21f 100644 --- a/packages/typescript/src/models/components/alternatetraveldetail.ts +++ b/packages/typescript/src/models/components/alternatetraveldetail.ts @@ -32,21 +32,23 @@ export type AlternateTravelDetailRequesterType = ClosedEnum< >; /** - * Type of travel alternate question + * Type of travel alternate question. Supported values: AirRequest = attendee requested air travel; HotelRequest = attendee requested hotel travel; AirActual = actual air travel booked; GroupFlight = group flight booking; TrainRequest = attendee requested train travel; AirAndTrainRequest = attendee did not want air or train travel and submitted an alternate response. */ export const TravelType = { AirRequest: "AirRequest", HotelRequest: "HotelRequest", AirActual: "AirActual", GroupFlight: "GroupFlight", + TrainRequest: "TrainRequest", + AirAndTrainRequest: "AirAndTrainRequest", } as const; /** - * Type of travel alternate question + * Type of travel alternate question. Supported values: AirRequest = attendee requested air travel; HotelRequest = attendee requested hotel travel; AirActual = actual air travel booked; GroupFlight = group flight booking; TrainRequest = attendee requested train travel; AirAndTrainRequest = attendee did not want air or train travel and submitted an alternate response. */ export type TravelType = ClosedEnum; /** - * Details of an alternate travel answer submitted by an attendee who opted out of air or hotel bookings. + * Details of an alternate travel answer submitted by an attendee who opted out of air, hotel, or train bookings. */ export type AlternateTravelDetail = { /** @@ -78,7 +80,7 @@ export type AlternateTravelDetail = { */ requesterType?: AlternateTravelDetailRequesterType | undefined; /** - * Type of travel alternate question + * Type of travel alternate question. Supported values: AirRequest = attendee requested air travel; HotelRequest = attendee requested hotel travel; AirActual = actual air travel booked; GroupFlight = group flight booking; TrainRequest = attendee requested train travel; AirAndTrainRequest = attendee did not want air or train travel and submitted an alternate response. */ travelType?: TravelType | undefined; /** diff --git a/packages/typescript/src/models/components/attendeeupdate.ts b/packages/typescript/src/models/components/attendeeupdate.ts index c020b7564..fefedac57 100644 --- a/packages/typescript/src/models/components/attendeeupdate.ts +++ b/packages/typescript/src/models/components/attendeeupdate.ts @@ -130,7 +130,26 @@ export type AttendeeUpdate = { */ sendEmail?: boolean | undefined; /** - * Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Cancelled
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* Waitlisted -> Accepted + * Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event. + * + * @remarks + * The following status transitions are supported by this API: + * * No Response -> Visited + * * No Response -> Accepted + * * No Response -> Declined + * * No Response -> Pending Approval + * * Cancelled -> Accepted + * * Cancelled -> Pending Approval + * * Visited -> Accepted + * * Visited -> Pending Approval + * * Declined -> Accepted + * * Declined -> Pending Approval + * * Accepted -> Cancelled + * * Pending Approval -> Accepted + * * Pending Approval -> Cancelled + * * Pending Approval -> Denied Approval + * * Denied Approval -> Pending Approval + * * Waitlisted -> Accepted */ status?: AttendeeUpdateStatus | undefined; /** diff --git a/packages/typescript/src/models/components/attendeeupdatestatus.ts b/packages/typescript/src/models/components/attendeeupdatestatus.ts index fdb329df8..13e874fdc 100644 --- a/packages/typescript/src/models/components/attendeeupdatestatus.ts +++ b/packages/typescript/src/models/components/attendeeupdatestatus.ts @@ -6,7 +6,26 @@ import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; /** - * Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Cancelled
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* Waitlisted -> Accepted + * Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event. + * + * @remarks + * The following status transitions are supported by this API: + * * No Response -> Visited + * * No Response -> Accepted + * * No Response -> Declined + * * No Response -> Pending Approval + * * Cancelled -> Accepted + * * Cancelled -> Pending Approval + * * Visited -> Accepted + * * Visited -> Pending Approval + * * Declined -> Accepted + * * Declined -> Pending Approval + * * Accepted -> Cancelled + * * Pending Approval -> Accepted + * * Pending Approval -> Cancelled + * * Pending Approval -> Denied Approval + * * Denied Approval -> Pending Approval + * * Waitlisted -> Accepted */ export const AttendeeUpdateStatus = { NoResponse: "No Response", @@ -19,7 +38,26 @@ export const AttendeeUpdateStatus = { Waitlisted: "Waitlisted", } as const; /** - * Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event.
The following status transitions are supported by this API:
* No Response -> Visited
* No Response -> Accepted
* No Response -> Declined
* No Response -> Pending Approval
* Cancelled -> Accepted
* Cancelled -> Pending Approval
* Visited -> Accepted
* Visited -> Pending Approval
* Declined -> Accepted
* Declined -> Pending Approval
* Accepted -> Cancelled
* Pending Approval -> Accepted
* Pending Approval -> Cancelled
* Pending Approval -> Denied Approval
* Denied Approval -> Pending Approval
* Waitlisted -> Accepted + * Denotes the status of an attendee to be updated. No Response: The attendee was added to an invitation list but hasn't taken any action. Accepted: The attendee is registered for the event. Cancelled: The attendee's registration for the event is cancelled. Visited: The attendee visited the event's webpage but didn't finish registration. Declined: The attendee declined to attend the event. Pending Approval: When registration approval is enabled, this status indicates the attendee is still waiting to be approved by the planner. Denied Approval: When registration approval is enabled, this status indicates the attendee has been denied approval by the planner. Waitlisted: The attendee is on the waitlist for the event. + * + * @remarks + * The following status transitions are supported by this API: + * * No Response -> Visited + * * No Response -> Accepted + * * No Response -> Declined + * * No Response -> Pending Approval + * * Cancelled -> Accepted + * * Cancelled -> Pending Approval + * * Visited -> Accepted + * * Visited -> Pending Approval + * * Declined -> Accepted + * * Declined -> Pending Approval + * * Accepted -> Cancelled + * * Pending Approval -> Accepted + * * Pending Approval -> Cancelled + * * Pending Approval -> Denied Approval + * * Denied Approval -> Pending Approval + * * Waitlisted -> Accepted */ export type AttendeeUpdateStatus = ClosedEnum; diff --git a/packages/typescript/src/models/components/contactfields.ts b/packages/typescript/src/models/components/contactfields.ts new file mode 100644 index 000000000..3fcb78c53 --- /dev/null +++ b/packages/typescript/src/models/components/contactfields.ts @@ -0,0 +1,52 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * Details of a contact. + */ +export type ContactFields = { + /** + * Contact ID + */ + id?: string | undefined; + /** + * The first name of the contact. + */ + firstName?: string | undefined; + /** + * The last name of the contact. + */ + lastName?: string | undefined; + /** + * The email address of the contact. + */ + email?: string | undefined; +}; + +/** @internal */ +export const ContactFields$inboundSchema: z.ZodType< + ContactFields, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + firstName: z.string().optional(), + lastName: z.string().optional(), + email: z.string().optional(), +}); + +export function contactFieldsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContactFields$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContactFields' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/contactfields1.ts b/packages/typescript/src/models/components/contactfields1.ts index ec5b3e718..0bc454aa0 100644 --- a/packages/typescript/src/models/components/contactfields1.ts +++ b/packages/typescript/src/models/components/contactfields1.ts @@ -6,27 +6,21 @@ import * as z from "zod/v3"; import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + ContactField, + ContactField$inboundSchema, + ContactField$Outbound, + ContactField$outboundSchema, +} from "./contactfieldinput.js"; /** - * Details of a contact. + * An array of standard contact fields supported by Cvent. */ export type ContactFields1 = { /** - * Contact ID + * Collection of standard contact fields. */ - id?: string | undefined; - /** - * The first name of the contact. - */ - firstName?: string | undefined; - /** - * The last name of the contact. - */ - lastName?: string | undefined; - /** - * The email address of the contact. - */ - email?: string | undefined; + data: Array; }; /** @internal */ @@ -35,12 +29,25 @@ export const ContactFields1$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - id: z.string().optional(), - firstName: z.string().optional(), - lastName: z.string().optional(), - email: z.string().optional(), + data: z.array(ContactField$inboundSchema), +}); +/** @internal */ +export type ContactFields1$Outbound = { + data: Array; +}; + +/** @internal */ +export const ContactFields1$outboundSchema: z.ZodType< + ContactFields1$Outbound, + z.ZodTypeDef, + ContactFields1 +> = z.object({ + data: z.array(ContactField$outboundSchema), }); +export function contactFields1ToJSON(contactFields1: ContactFields1): string { + return JSON.stringify(ContactFields1$outboundSchema.parse(contactFields1)); +} export function contactFields1FromJSON( jsonString: string, ): SafeParseResult { diff --git a/packages/typescript/src/models/components/contactfields2.ts b/packages/typescript/src/models/components/contactfields2.ts deleted file mode 100644 index a54927dfc..000000000 --- a/packages/typescript/src/models/components/contactfields2.ts +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - ContactField, - ContactField$inboundSchema, - ContactField$Outbound, - ContactField$outboundSchema, -} from "./contactfieldinput.js"; - -/** - * An array of standard contact fields supported by Cvent. - */ -export type ContactFields2 = { - /** - * Collection of standard contact fields. - */ - data: Array; -}; - -/** @internal */ -export const ContactFields2$inboundSchema: z.ZodType< - ContactFields2, - z.ZodTypeDef, - unknown -> = z.object({ - data: z.array(ContactField$inboundSchema), -}); -/** @internal */ -export type ContactFields2$Outbound = { - data: Array; -}; - -/** @internal */ -export const ContactFields2$outboundSchema: z.ZodType< - ContactFields2$Outbound, - z.ZodTypeDef, - ContactFields2 -> = z.object({ - data: z.array(ContactField$outboundSchema), -}); - -export function contactFields2ToJSON(contactFields2: ContactFields2): string { - return JSON.stringify(ContactFields2$outboundSchema.parse(contactFields2)); -} -export function contactFields2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ContactFields2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ContactFields2' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/existingleadcatcher.ts b/packages/typescript/src/models/components/existingleadcatcher.ts new file mode 100644 index 000000000..2c0f344a5 --- /dev/null +++ b/packages/typescript/src/models/components/existingleadcatcher.ts @@ -0,0 +1,209 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + LeadCatcherAddress, + LeadCatcherAddress$inboundSchema, +} from "./leadcatcheraddress.js"; +import { + LeadCatcherConfig, + LeadCatcherConfig$inboundSchema, +} from "./leadcatcherconfig.js"; +import { + LocaleLanguageVariant, + LocaleLanguageVariant$inboundSchema, +} from "./localelanguagevariant.js"; + +/** + * An existing lead catcher contact. + */ +export type ExistingLeadCatcher = { + /** + * The ISO 8601 zoned date time when this record was created. + */ + created?: Date | undefined; + /** + * The identifier of the user that created this record. + */ + createdBy?: string | undefined; + /** + * The ISO 8601 zoned date time when this record was updated. + */ + lastModified?: Date | undefined; + /** + * The identifier of the user that last updated this record. + */ + lastModifiedBy?: string | undefined; + /** + * First name of the lead catcher contact. + */ + firstName: string; + /** + * Last name of the lead catcher contact. + */ + lastName: string; + /** + * Job title of the lead catcher contact. + */ + title?: string | undefined; + /** + * Email address of the lead catcher contact. RFP notifications are sent to this address. + */ + email: string; + /** + * Phone number of the lead catcher contact. + */ + phone: string; + /** + * Fax number of the lead catcher contact. + */ + fax?: string | undefined; + /** + * Address information for a lead catcher contact. + */ + address?: LeadCatcherAddress | undefined; + /** + * Language locale of a Lead Catcher contact. + * + * @remarks + * + * Values: + * - `zh-CHS` — Chinese (Simplified) Legacy + * - `zh-TW` — Chinese (Traditional, Taiwan) + * - `de-DE` — German (Germany) + * - `en-US` — English (United States) + * - `fi-FI` — Finnish (Finland) + * - `fr-FR` — French (France) + * - `it-IT` — Italian (Italy) + * - `ja-JP` — Japanese (Japan) + * - `ko-KR` — Korean (Korea) + * - `nl-NL` — Dutch (Netherlands) + * - `pt-BR` — Portuguese (Brazil) + * - `ru-RU` — Russian (Russia) + * - `sv-SE` — Swedish (Sweden) + * - `th-TH` — Thai (Thailand) + * - `tr-TR` — Turkish (Turkey) + * - `uk-UA` — Ukrainian (Ukraine) + * - `zh-CN` — Chinese (Simplified, China) + * - `de-CH` — German (Switzerland) + * - `en-GB` — English (United Kingdom) + * - `es-MX` — Spanish (Mexico) + * - `fr-BE` — French (Belgium) + * - `it-CH` — Italian (Switzerland) + * - `nl-BE` — Dutch (Belgium) + * - `pt-PT` — Portuguese (Portugal) + * - `ru-MD` — Russian (Moldova) + * - `sv-FI` — Swedish (Finland) + * - `zh-HK` — Chinese (Traditional, Hong Kong SAR) + * - `de-AT` — German (Austria) + * - `en-AU` — English (Australia) + * - `es-ES` — Spanish (Spain, International Sort) + * - `fr-CA` — French (Canada) + * - `zh-SG` — Chinese (Simplified, Singapore) + * - `de-LU` — German (Luxembourg) + * - `en-CA` — English (Canada) + * - `es-GT` — Spanish (Guatemala) + * - `fr-CH` — French (Switzerland) + * - `zh-MO` — Chinese (Traditional, Macao SAR) + * - `de-LI` — German (Liechtenstein) + * - `en-NZ` — English (New Zealand) + * - `es-CR` — Spanish (Costa Rica) + * - `fr-LU` — French (Luxembourg) + * - `en-IE` — English (Ireland) + * - `es-PA` — Spanish (Panama) + * - `fr-MC` — French (Monaco) + * - `en-ZA` — English (South Africa) + * - `es-DO` — Spanish (Dominican Republic) + * - `fr-029` — French (Caribbean) + * - `en-JM` — English (Jamaica) + * - `es-VE` — Spanish (Venezuela) + * - `fr-RE` — French (Réunion) + * - `en-029` — English (Caribbean) + * - `es-CO` — Spanish (Colombia) + * - `fr-CD` — French Congo (DRC) + * - `en-BZ` — English (Belize) + * - `es-PE` — Spanish (Peru) + * - `fr-SN` — French (Senegal) + * - `en-TT` — English (Trinidad and Tobago) + * - `es-AR` — Spanish (Argentina) + * - `fr-CM` — French (Cameroon) + * - `en-ZW` — English (Zimbabwe) + * - `es-EC` — Spanish (Ecuador) + * - `fr-CI` — French (Côte d'Ivoire) + * - `en-PH` — English (Philippines) + * - `es-CL` — Spanish (Chile) + * - `fr-ML` — French (Mali) + * - `en-ID` — English (Indonesia) + * - `es-UY` — Spanish (Uruguay) + * - `fr-MA` — French (Morocco) + * - `en-HK` — English (Hong Kong SAR) + * - `es-PY` — Spanish (Paraguay) + * - `fr-HT` — French (Haiti) + * - `en-IN` — English (India) + * - `es-BO` — Spanish (Bolivia) + * - `en-MY` — English (Malaysia) + * - `es-SV` — Spanish (El Salvador) + * - `en-SG` — English (Singapore) + * - `es-HN` — Spanish (Honduras) + * - `es-NI` — Spanish (Nicaragua) + * - `es-PR` — Spanish (Puerto Rico) + * - `es-US` — Spanish (United States) + * - `es-419` — Spanish (Latin America) + * - `es-CU` — Spanish (Cuba) + * - `zh-CHT` — Chinese (Traditional) Legacy + */ + locale: LocaleLanguageVariant; + /** + * Notification and role configuration for a lead catcher contact. + */ + config?: LeadCatcherConfig | undefined; + /** + * Additional information about the lead catcher contact. + */ + additionalInfo?: string | undefined; + /** + * Lead catcher ID. + */ + id: string; +}; + +/** @internal */ +export const ExistingLeadCatcher$inboundSchema: z.ZodType< + ExistingLeadCatcher, + z.ZodTypeDef, + unknown +> = z.object({ + created: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + createdBy: z.string().optional(), + lastModified: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), + lastModifiedBy: z.string().optional(), + firstName: z.string(), + lastName: z.string(), + title: z.string().optional(), + email: z.string(), + phone: z.string(), + fax: z.string().optional(), + address: LeadCatcherAddress$inboundSchema.optional(), + locale: LocaleLanguageVariant$inboundSchema.default("en-US"), + config: LeadCatcherConfig$inboundSchema.optional(), + additionalInfo: z.string().optional(), + id: z.string(), +}); + +export function existingLeadCatcherFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExistingLeadCatcher$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExistingLeadCatcher' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/existingleadcatcherinput.ts b/packages/typescript/src/models/components/existingleadcatcherinput.ts new file mode 100644 index 000000000..5885eb2a4 --- /dev/null +++ b/packages/typescript/src/models/components/existingleadcatcherinput.ts @@ -0,0 +1,192 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { + LeadCatcherAddress, + LeadCatcherAddress$Outbound, + LeadCatcherAddress$outboundSchema, +} from "./leadcatcheraddress.js"; +import { + LeadCatcherConfig, + LeadCatcherConfig$Outbound, + LeadCatcherConfig$outboundSchema, +} from "./leadcatcherconfig.js"; +import { + LocaleLanguageVariant, + LocaleLanguageVariant$outboundSchema, +} from "./localelanguagevariant.js"; + +/** + * An existing lead catcher contact. + */ +export type ExistingLeadCatcherInput = { + /** + * First name of the lead catcher contact. + */ + firstName: string; + /** + * Last name of the lead catcher contact. + */ + lastName: string; + /** + * Job title of the lead catcher contact. + */ + title?: string | undefined; + /** + * Email address of the lead catcher contact. RFP notifications are sent to this address. + */ + email: string; + /** + * Phone number of the lead catcher contact. + */ + phone: string; + /** + * Fax number of the lead catcher contact. + */ + fax?: string | undefined; + /** + * Address information for a lead catcher contact. + */ + address?: LeadCatcherAddress | undefined; + /** + * Language locale of a Lead Catcher contact. + * + * @remarks + * + * Values: + * - `zh-CHS` — Chinese (Simplified) Legacy + * - `zh-TW` — Chinese (Traditional, Taiwan) + * - `de-DE` — German (Germany) + * - `en-US` — English (United States) + * - `fi-FI` — Finnish (Finland) + * - `fr-FR` — French (France) + * - `it-IT` — Italian (Italy) + * - `ja-JP` — Japanese (Japan) + * - `ko-KR` — Korean (Korea) + * - `nl-NL` — Dutch (Netherlands) + * - `pt-BR` — Portuguese (Brazil) + * - `ru-RU` — Russian (Russia) + * - `sv-SE` — Swedish (Sweden) + * - `th-TH` — Thai (Thailand) + * - `tr-TR` — Turkish (Turkey) + * - `uk-UA` — Ukrainian (Ukraine) + * - `zh-CN` — Chinese (Simplified, China) + * - `de-CH` — German (Switzerland) + * - `en-GB` — English (United Kingdom) + * - `es-MX` — Spanish (Mexico) + * - `fr-BE` — French (Belgium) + * - `it-CH` — Italian (Switzerland) + * - `nl-BE` — Dutch (Belgium) + * - `pt-PT` — Portuguese (Portugal) + * - `ru-MD` — Russian (Moldova) + * - `sv-FI` — Swedish (Finland) + * - `zh-HK` — Chinese (Traditional, Hong Kong SAR) + * - `de-AT` — German (Austria) + * - `en-AU` — English (Australia) + * - `es-ES` — Spanish (Spain, International Sort) + * - `fr-CA` — French (Canada) + * - `zh-SG` — Chinese (Simplified, Singapore) + * - `de-LU` — German (Luxembourg) + * - `en-CA` — English (Canada) + * - `es-GT` — Spanish (Guatemala) + * - `fr-CH` — French (Switzerland) + * - `zh-MO` — Chinese (Traditional, Macao SAR) + * - `de-LI` — German (Liechtenstein) + * - `en-NZ` — English (New Zealand) + * - `es-CR` — Spanish (Costa Rica) + * - `fr-LU` — French (Luxembourg) + * - `en-IE` — English (Ireland) + * - `es-PA` — Spanish (Panama) + * - `fr-MC` — French (Monaco) + * - `en-ZA` — English (South Africa) + * - `es-DO` — Spanish (Dominican Republic) + * - `fr-029` — French (Caribbean) + * - `en-JM` — English (Jamaica) + * - `es-VE` — Spanish (Venezuela) + * - `fr-RE` — French (Réunion) + * - `en-029` — English (Caribbean) + * - `es-CO` — Spanish (Colombia) + * - `fr-CD` — French Congo (DRC) + * - `en-BZ` — English (Belize) + * - `es-PE` — Spanish (Peru) + * - `fr-SN` — French (Senegal) + * - `en-TT` — English (Trinidad and Tobago) + * - `es-AR` — Spanish (Argentina) + * - `fr-CM` — French (Cameroon) + * - `en-ZW` — English (Zimbabwe) + * - `es-EC` — Spanish (Ecuador) + * - `fr-CI` — French (Côte d'Ivoire) + * - `en-PH` — English (Philippines) + * - `es-CL` — Spanish (Chile) + * - `fr-ML` — French (Mali) + * - `en-ID` — English (Indonesia) + * - `es-UY` — Spanish (Uruguay) + * - `fr-MA` — French (Morocco) + * - `en-HK` — English (Hong Kong SAR) + * - `es-PY` — Spanish (Paraguay) + * - `fr-HT` — French (Haiti) + * - `en-IN` — English (India) + * - `es-BO` — Spanish (Bolivia) + * - `en-MY` — English (Malaysia) + * - `es-SV` — Spanish (El Salvador) + * - `en-SG` — English (Singapore) + * - `es-HN` — Spanish (Honduras) + * - `es-NI` — Spanish (Nicaragua) + * - `es-PR` — Spanish (Puerto Rico) + * - `es-US` — Spanish (United States) + * - `es-419` — Spanish (Latin America) + * - `es-CU` — Spanish (Cuba) + * - `zh-CHT` — Chinese (Traditional) Legacy + */ + locale?: LocaleLanguageVariant | undefined; + /** + * Notification and role configuration for a lead catcher contact. + */ + config?: LeadCatcherConfig | undefined; + /** + * Additional information about the lead catcher contact. + */ + additionalInfo?: string | undefined; +}; + +/** @internal */ +export type ExistingLeadCatcherInput$Outbound = { + firstName: string; + lastName: string; + title?: string | undefined; + email: string; + phone: string; + fax?: string | undefined; + address?: LeadCatcherAddress$Outbound | undefined; + locale: string; + config?: LeadCatcherConfig$Outbound | undefined; + additionalInfo?: string | undefined; +}; + +/** @internal */ +export const ExistingLeadCatcherInput$outboundSchema: z.ZodType< + ExistingLeadCatcherInput$Outbound, + z.ZodTypeDef, + ExistingLeadCatcherInput +> = z.object({ + firstName: z.string(), + lastName: z.string(), + title: z.string().optional(), + email: z.string(), + phone: z.string(), + fax: z.string().optional(), + address: LeadCatcherAddress$outboundSchema.optional(), + locale: LocaleLanguageVariant$outboundSchema.default("en-US"), + config: LeadCatcherConfig$outboundSchema.optional(), + additionalInfo: z.string().optional(), +}); + +export function existingLeadCatcherInputToJSON( + existingLeadCatcherInput: ExistingLeadCatcherInput, +): string { + return JSON.stringify( + ExistingLeadCatcherInput$outboundSchema.parse(existingLeadCatcherInput), + ); +} diff --git a/packages/typescript/src/models/components/existingvenueamenities.ts b/packages/typescript/src/models/components/existingvenueamenities.ts new file mode 100644 index 000000000..f021b7832 --- /dev/null +++ b/packages/typescript/src/models/components/existingvenueamenities.ts @@ -0,0 +1,303 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + VenueAmenityAlcohol, + VenueAmenityAlcohol$inboundSchema, +} from "./venueamenityalcohol.js"; +import { + VenueAmenityAvCapabilityItem, + VenueAmenityAvCapabilityItem$inboundSchema, +} from "./venueamenityavcapabilityitem.js"; +import { + VenueAmenityBusinessService, + VenueAmenityBusinessService$inboundSchema, +} from "./venueamenitybusinessservice.js"; +import { + VenueAmenityCateringDetail, + VenueAmenityCateringDetail$inboundSchema, +} from "./venueamenitycateringdetail.js"; +import { + VenueAmenityEquipment, + VenueAmenityEquipment$inboundSchema, +} from "./venueamenityequipment.js"; +import { + VenueAmenityFacilityInfo, + VenueAmenityFacilityInfo$inboundSchema, +} from "./venueamenityfacilityinfo.js"; +import { + VenueAmenityFacilitySpaceItem, + VenueAmenityFacilitySpaceItem$inboundSchema, +} from "./venueamenityfacilityspaceitem.js"; +import { + VenueAmenityParkingItem, + VenueAmenityParkingItem$inboundSchema, +} from "./venueamenityparkingitem.js"; +import { + VenueAmenityProvisionPolicy, + VenueAmenityProvisionPolicy$inboundSchema, +} from "./venueamenityprovisionpolicy.js"; +import { + VenueAmenityRecreationalActivity, + VenueAmenityRecreationalActivity$inboundSchema, +} from "./venueamenityrecreationalactivity.js"; +import { + VenueAmenityRoomFeature, + VenueAmenityRoomFeature$inboundSchema, +} from "./venueamenityroomfeature.js"; +import { + VenueAmenityTransportation, + VenueAmenityTransportation$inboundSchema, +} from "./venueamenitytransportation.js"; + +/** + * The current amenity selections for a venue, including identifying properties. + */ +export type ExistingVenueAmenities = { + /** + * Recreational facilities and leisure activities available at the venue. + * + * @remarks + * + * Values: + * - `GOLF_ON_GROUNDS` — Golf on Grounds + * - `HEALTH_CLUB` — Health Club + * - `INDOOR_POOL` — Indoor Pool + * - `OUTDOOR_POOL` — Outdoor Pool + * - `SKIING` — Skiing + * - `SPASALON` — Spa/Salon + * - `TENNIS` — Tennis + * - `WATER_SPORTS` — Water Sports + * - `WHIRLPOOL` — Whirlpool + */ + recreationalActivities?: Array | undefined; + /** + * In-room features and guest services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `CONCIERGE_SERVICES` — Concierge Services + * - `FREE_LOCAL_CALLS` — Free Local Calls + * - `FREE_TOLL_FREE_CALLS` — Toll-Free Calls + * - `GARDEN_VIEWS` — Garden Views + * - `INTERNET` — Internet + * - `LAUNDRY` — Laundry + * - `LUGGAGE_STORAGE` — Luggage Storage + * - `MOUNTAIN_VIEWS` — Mountain Views + * - `OCEANWATER_VIEWS` — Ocean/Water Views + * - `ROOM_SERVICE` — Room Service + * - `URBAN_VIEWS` — Urban Views + * - `VOICE_MAIL_BOX` — Voicemail Box + */ + roomFeatures?: Array | undefined; + /** + * Audio-visual equipment and connectivity available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Each entry selects an AV capability and, where applicable, provides an internet speed. A `speed` value may only be supplied when `amenity` is `HIGH_SPEED_INTERNET`. + */ + avCapabilities?: Array | undefined; + /** + * Business and communications services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `AUDIOVIDEO_CAPABILITIES` — Audio/Video Capabilities + * - `BUSINESS_CENTER` — Business Center + * - `VIDEO_CONFERENCING` — Video Conferencing + * - `VIP_SERVICES` — VIP Services + */ + businessServices?: Array | undefined; + /** + * Transportation options by which the venue is accessible. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `BUS` — Bus + * - `SHUTTLE` — Shuttle + * - `SUBWAY` — Subway + * - `TAXI` — Taxi + * - `TRAIN` — Train + */ + transportation?: Array | undefined; + /** + * Physical equipment and staging resources available for event use at the venue. + * + * @remarks + * + * Values: + * - `DANCE_FLOORS` — Dance Floors + * - `LOADING_DOCK_AVAILABLE` — Loading Dock + * - `PIANO` — Piano + * - `PORTABLE_HEATERS` — Portable Heaters + * - `PORTABLE_WALLS` — Portable Walls + * - `STAGING` — Staging + */ + equipment?: Array | undefined; + /** + * Parking options available at or near the venue. Each entry selects a parking type and, where applicable, provides the daily rate. A cost may only be supplied for `PAID_PARKING_AVAILABLE` and `VALET_PARKING_AVAILABLE`. + */ + parking?: Array | undefined; + /** + * General facility features and on-site services available at the venue. Applicable only to the following venue types: Boutique Hotel, Conference Center, Convention Center, Exposition Center, Hotel, Luxury Hotel, and Resort (all values below except `BUSINESS_CENTER` and `INTERNET`); Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue (only `BUSINESS_CENTER`, `CASINO`, `INTERNET`, `RESTAURANT_ON_SITE`, and `WHEELCHAIR_ACCESSIBLE`). + * + * @remarks + * + * Values: + * - `ALL_INCLUSIVE` — All Inclusive + * - `BUSINESS_CENTER` — Business Center + * - `CASINO` — Casino + * - `EXTENDED_STAY` — Extended Stay + * - `FREE_AIRPORT_SHUTTLE` — Free Airport Shuttle + * - `GIFT_SHOP_ON_SITE` — Onsite Gift Shop + * - `INTERNET` — Internet + * - `ONSITE_CATERING` — Onsite Catering + * - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + * - `PETS_WELCOME` — Pet Friendly + * - `RENTAL_CAR_SERVICES` — Rental Car Services + * - `RESTAURANT_ON_SITE` — Onsite Restaurant + * - `SECURITY_STAFF_ONSITE` — Onsite Security + * - `WHEELCHAIR_ACCESSIBLE` — Wheelchair Accessible + */ + facilityInfo?: Array | undefined; + /** + * Facility space measurements at the venue. Each entry selects a space type and optionally provides the available event space area, expressed in the venue's configured unit of measurement. + */ + facilitySpaceInfo?: Array | undefined; + /** + * Catering options and policies offered at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `KITCHEN_ONSITE` — Kitchen Onsite + * - `ONSITE_CATERING` — Onsite Catering + * - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + */ + cateringDetails?: Array | undefined; + /** + * Alcohol-related policies at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `ALCOHOL_ALLOWED` — Alcohol Allowed + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + alcohol?: Array | undefined; + /** + * Audio-visual provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + audioVisual?: Array | undefined; + /** + * Furniture provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + furniture?: Array | undefined; + /** + * Linens and table settings provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + linensAndTableSettings?: Array | undefined; + /** + * Lighting provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + lighting?: Array | undefined; + /** + * Other décor provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + otherDecor?: Array | undefined; + /** + * Venue ID. + */ + id: string; + /** + * The name of the venue. + */ + name: string; +}; + +/** @internal */ +export const ExistingVenueAmenities$inboundSchema: z.ZodType< + ExistingVenueAmenities, + z.ZodTypeDef, + unknown +> = z.object({ + recreationalActivities: z.array( + VenueAmenityRecreationalActivity$inboundSchema, + ).optional(), + roomFeatures: z.array(VenueAmenityRoomFeature$inboundSchema).optional(), + avCapabilities: z.array(VenueAmenityAvCapabilityItem$inboundSchema) + .optional(), + businessServices: z.array(VenueAmenityBusinessService$inboundSchema) + .optional(), + transportation: z.array(VenueAmenityTransportation$inboundSchema).optional(), + equipment: z.array(VenueAmenityEquipment$inboundSchema).optional(), + parking: z.array(VenueAmenityParkingItem$inboundSchema).optional(), + facilityInfo: z.array(VenueAmenityFacilityInfo$inboundSchema).optional(), + facilitySpaceInfo: z.array(VenueAmenityFacilitySpaceItem$inboundSchema) + .optional(), + cateringDetails: z.array(VenueAmenityCateringDetail$inboundSchema).optional(), + alcohol: z.array(VenueAmenityAlcohol$inboundSchema).optional(), + audioVisual: z.array(VenueAmenityProvisionPolicy$inboundSchema).optional(), + furniture: z.array(VenueAmenityProvisionPolicy$inboundSchema).optional(), + linensAndTableSettings: z.array(VenueAmenityProvisionPolicy$inboundSchema) + .optional(), + lighting: z.array(VenueAmenityProvisionPolicy$inboundSchema).optional(), + otherDecor: z.array(VenueAmenityProvisionPolicy$inboundSchema).optional(), + id: z.string(), + name: z.string(), +}); + +export function existingVenueAmenitiesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExistingVenueAmenities$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExistingVenueAmenities' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/existingvenueamenitiesinput.ts b/packages/typescript/src/models/components/existingvenueamenitiesinput.ts new file mode 100644 index 000000000..5d8c75092 --- /dev/null +++ b/packages/typescript/src/models/components/existingvenueamenitiesinput.ts @@ -0,0 +1,314 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { + VenueAmenityAlcohol, + VenueAmenityAlcohol$outboundSchema, +} from "./venueamenityalcohol.js"; +import { + VenueAmenityAvCapabilityItem, + VenueAmenityAvCapabilityItem$Outbound, + VenueAmenityAvCapabilityItem$outboundSchema, +} from "./venueamenityavcapabilityitem.js"; +import { + VenueAmenityBusinessService, + VenueAmenityBusinessService$outboundSchema, +} from "./venueamenitybusinessservice.js"; +import { + VenueAmenityCateringDetail, + VenueAmenityCateringDetail$outboundSchema, +} from "./venueamenitycateringdetail.js"; +import { + VenueAmenityEquipment, + VenueAmenityEquipment$outboundSchema, +} from "./venueamenityequipment.js"; +import { + VenueAmenityFacilityInfo, + VenueAmenityFacilityInfo$outboundSchema, +} from "./venueamenityfacilityinfo.js"; +import { + VenueAmenityFacilitySpaceItem, + VenueAmenityFacilitySpaceItem$Outbound, + VenueAmenityFacilitySpaceItem$outboundSchema, +} from "./venueamenityfacilityspaceitem.js"; +import { + VenueAmenityParkingItem, + VenueAmenityParkingItem$Outbound, + VenueAmenityParkingItem$outboundSchema, +} from "./venueamenityparkingitem.js"; +import { + VenueAmenityProvisionPolicy, + VenueAmenityProvisionPolicy$outboundSchema, +} from "./venueamenityprovisionpolicy.js"; +import { + VenueAmenityRecreationalActivity, + VenueAmenityRecreationalActivity$outboundSchema, +} from "./venueamenityrecreationalactivity.js"; +import { + VenueAmenityRoomFeature, + VenueAmenityRoomFeature$outboundSchema, +} from "./venueamenityroomfeature.js"; +import { + VenueAmenityTransportation, + VenueAmenityTransportation$outboundSchema, +} from "./venueamenitytransportation.js"; + +/** + * The current amenity selections for a venue, including identifying properties. + */ +export type ExistingVenueAmenitiesInput = { + /** + * Recreational facilities and leisure activities available at the venue. + * + * @remarks + * + * Values: + * - `GOLF_ON_GROUNDS` — Golf on Grounds + * - `HEALTH_CLUB` — Health Club + * - `INDOOR_POOL` — Indoor Pool + * - `OUTDOOR_POOL` — Outdoor Pool + * - `SKIING` — Skiing + * - `SPASALON` — Spa/Salon + * - `TENNIS` — Tennis + * - `WATER_SPORTS` — Water Sports + * - `WHIRLPOOL` — Whirlpool + */ + recreationalActivities?: Array | undefined; + /** + * In-room features and guest services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `CONCIERGE_SERVICES` — Concierge Services + * - `FREE_LOCAL_CALLS` — Free Local Calls + * - `FREE_TOLL_FREE_CALLS` — Toll-Free Calls + * - `GARDEN_VIEWS` — Garden Views + * - `INTERNET` — Internet + * - `LAUNDRY` — Laundry + * - `LUGGAGE_STORAGE` — Luggage Storage + * - `MOUNTAIN_VIEWS` — Mountain Views + * - `OCEANWATER_VIEWS` — Ocean/Water Views + * - `ROOM_SERVICE` — Room Service + * - `URBAN_VIEWS` — Urban Views + * - `VOICE_MAIL_BOX` — Voicemail Box + */ + roomFeatures?: Array | undefined; + /** + * Audio-visual equipment and connectivity available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Each entry selects an AV capability and, where applicable, provides an internet speed. A `speed` value may only be supplied when `amenity` is `HIGH_SPEED_INTERNET`. + */ + avCapabilities?: Array | undefined; + /** + * Business and communications services available at the venue. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `AUDIOVIDEO_CAPABILITIES` — Audio/Video Capabilities + * - `BUSINESS_CENTER` — Business Center + * - `VIDEO_CONFERENCING` — Video Conferencing + * - `VIP_SERVICES` — VIP Services + */ + businessServices?: Array | undefined; + /** + * Transportation options by which the venue is accessible. Not applicable for venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `BUS` — Bus + * - `SHUTTLE` — Shuttle + * - `SUBWAY` — Subway + * - `TAXI` — Taxi + * - `TRAIN` — Train + */ + transportation?: Array | undefined; + /** + * Physical equipment and staging resources available for event use at the venue. + * + * @remarks + * + * Values: + * - `DANCE_FLOORS` — Dance Floors + * - `LOADING_DOCK_AVAILABLE` — Loading Dock + * - `PIANO` — Piano + * - `PORTABLE_HEATERS` — Portable Heaters + * - `PORTABLE_WALLS` — Portable Walls + * - `STAGING` — Staging + */ + equipment?: Array | undefined; + /** + * Parking options available at or near the venue. Each entry selects a parking type and, where applicable, provides the daily rate. A cost may only be supplied for `PAID_PARKING_AVAILABLE` and `VALET_PARKING_AVAILABLE`. + */ + parking?: Array | undefined; + /** + * General facility features and on-site services available at the venue. Applicable only to the following venue types: Boutique Hotel, Conference Center, Convention Center, Exposition Center, Hotel, Luxury Hotel, and Resort (all values below except `BUSINESS_CENTER` and `INTERNET`); Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Educational Facility, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue (only `BUSINESS_CENTER`, `CASINO`, `INTERNET`, `RESTAURANT_ON_SITE`, and `WHEELCHAIR_ACCESSIBLE`). + * + * @remarks + * + * Values: + * - `ALL_INCLUSIVE` — All Inclusive + * - `BUSINESS_CENTER` — Business Center + * - `CASINO` — Casino + * - `EXTENDED_STAY` — Extended Stay + * - `FREE_AIRPORT_SHUTTLE` — Free Airport Shuttle + * - `GIFT_SHOP_ON_SITE` — Onsite Gift Shop + * - `INTERNET` — Internet + * - `ONSITE_CATERING` — Onsite Catering + * - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + * - `PETS_WELCOME` — Pet Friendly + * - `RENTAL_CAR_SERVICES` — Rental Car Services + * - `RESTAURANT_ON_SITE` — Onsite Restaurant + * - `SECURITY_STAFF_ONSITE` — Onsite Security + * - `WHEELCHAIR_ACCESSIBLE` — Wheelchair Accessible + */ + facilityInfo?: Array | undefined; + /** + * Facility space measurements at the venue. Each entry selects a space type and optionally provides the available event space area, expressed in the venue's configured unit of measurement. + */ + facilitySpaceInfo?: Array | undefined; + /** + * Catering options and policies offered at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `KITCHEN_ONSITE` — Kitchen Onsite + * - `ONSITE_CATERING` — Onsite Catering + * - `OUTSIDE_CATERERS_ALLOWED` — Outside Caterers Allowed + */ + cateringDetails?: Array | undefined; + /** + * Alcohol-related policies at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `ALCOHOL_ALLOWED` — Alcohol Allowed + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + alcohol?: Array | undefined; + /** + * Audio-visual provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + audioVisual?: Array | undefined; + /** + * Furniture provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + furniture?: Array | undefined; + /** + * Linens and table settings provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + linensAndTableSettings?: Array | undefined; + /** + * Lighting provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + lighting?: Array | undefined; + /** + * Other décor provision policy at the venue. Applicable only to venue types: Aquarium/Zoo, Arena/Stadium, Banquet Facility, Bar/Club, Corporate Office Space, Entertainment Venue, Gallery/Museum, Golf Course, Movie Theatre, and Special Event Venue. + * + * @remarks + * + * Values: + * - `AVAILABLE` — Available + * - `BRING_YOUR_OWN` — Bring Your Own + * - `PREFERRED_VENDORS_ONLY` — Preferred Vendors Only + */ + otherDecor?: Array | undefined; +}; + +/** @internal */ +export type ExistingVenueAmenitiesInput$Outbound = { + recreationalActivities?: Array | undefined; + roomFeatures?: Array | undefined; + avCapabilities?: Array | undefined; + businessServices?: Array | undefined; + transportation?: Array | undefined; + equipment?: Array | undefined; + parking?: Array | undefined; + facilityInfo?: Array | undefined; + facilitySpaceInfo?: Array | undefined; + cateringDetails?: Array | undefined; + alcohol?: Array | undefined; + audioVisual?: Array | undefined; + furniture?: Array | undefined; + linensAndTableSettings?: Array | undefined; + lighting?: Array | undefined; + otherDecor?: Array | undefined; +}; + +/** @internal */ +export const ExistingVenueAmenitiesInput$outboundSchema: z.ZodType< + ExistingVenueAmenitiesInput$Outbound, + z.ZodTypeDef, + ExistingVenueAmenitiesInput +> = z.object({ + recreationalActivities: z.array( + VenueAmenityRecreationalActivity$outboundSchema, + ).optional(), + roomFeatures: z.array(VenueAmenityRoomFeature$outboundSchema).optional(), + avCapabilities: z.array(VenueAmenityAvCapabilityItem$outboundSchema) + .optional(), + businessServices: z.array(VenueAmenityBusinessService$outboundSchema) + .optional(), + transportation: z.array(VenueAmenityTransportation$outboundSchema).optional(), + equipment: z.array(VenueAmenityEquipment$outboundSchema).optional(), + parking: z.array(VenueAmenityParkingItem$outboundSchema).optional(), + facilityInfo: z.array(VenueAmenityFacilityInfo$outboundSchema).optional(), + facilitySpaceInfo: z.array(VenueAmenityFacilitySpaceItem$outboundSchema) + .optional(), + cateringDetails: z.array(VenueAmenityCateringDetail$outboundSchema) + .optional(), + alcohol: z.array(VenueAmenityAlcohol$outboundSchema).optional(), + audioVisual: z.array(VenueAmenityProvisionPolicy$outboundSchema).optional(), + furniture: z.array(VenueAmenityProvisionPolicy$outboundSchema).optional(), + linensAndTableSettings: z.array(VenueAmenityProvisionPolicy$outboundSchema) + .optional(), + lighting: z.array(VenueAmenityProvisionPolicy$outboundSchema).optional(), + otherDecor: z.array(VenueAmenityProvisionPolicy$outboundSchema).optional(), +}); + +export function existingVenueAmenitiesInputToJSON( + existingVenueAmenitiesInput: ExistingVenueAmenitiesInput, +): string { + return JSON.stringify( + ExistingVenueAmenitiesInput$outboundSchema.parse( + existingVenueAmenitiesInput, + ), + ); +} diff --git a/packages/typescript/src/models/components/guestroomoccupancyperroomtype.ts b/packages/typescript/src/models/components/guestroomoccupancyperroomtype.ts index 03503f440..1dee4cba3 100644 --- a/packages/typescript/src/models/components/guestroomoccupancyperroomtype.ts +++ b/packages/typescript/src/models/components/guestroomoccupancyperroomtype.ts @@ -23,7 +23,7 @@ export type GuestRoomOccupancyPerRoomType = { /** * Guest room type. `ANY`: Room can be any type. `SINGLE`: Room with one bed. `DOUBLE`: Room with two beds. `SUITE`: Room is an entire suite. `STAFF`: Room is for staff. */ - type?: GuestRoomType | undefined; + type: GuestRoomType; }; /** @internal */ @@ -33,7 +33,7 @@ export const GuestRoomOccupancyPerRoomType$inboundSchema: z.ZodType< unknown > = z.object({ occupancy: GuestRoomOccupancy$inboundSchema.optional(), - type: GuestRoomType$inboundSchema.optional(), + type: GuestRoomType$inboundSchema, }); export function guestRoomOccupancyPerRoomTypeFromJSON( diff --git a/packages/typescript/src/models/components/index.ts b/packages/typescript/src/models/components/index.ts index dadc7f8f9..7421063f3 100644 --- a/packages/typescript/src/models/components/index.ts +++ b/packages/typescript/src/models/components/index.ts @@ -328,8 +328,8 @@ export * from "./contact3.js"; export * from "./contactbulkresponseitem.js"; export * from "./contactcreate.js"; export * from "./contactfieldinput.js"; +export * from "./contactfields.js"; export * from "./contactfields1.js"; -export * from "./contactfields2.js"; export * from "./contactfile.js"; export * from "./contactgroup.js"; export * from "./contactgroupinput.js"; @@ -552,6 +552,8 @@ export * from "./existingexhibitoranswerinput.js"; export * from "./existingexhibitorquestion.js"; export * from "./existingfile.js"; export * from "./existinghub.js"; +export * from "./existingleadcatcher.js"; +export * from "./existingleadcatcherinput.js"; export * from "./existingmeetingroom.js"; export * from "./existingmember.js"; export * from "./existingplayer.js"; @@ -565,6 +567,8 @@ export * from "./existingspeaker.js"; export * from "./existingspeakercategory.js"; export * from "./existingsponsorshiplevel.js"; export * from "./existingtablewithseats.js"; +export * from "./existingvenueamenities.js"; +export * from "./existingvenueamenitiesinput.js"; export * from "./existingvenueattraction.js"; export * from "./existingvenueavailabilitysettings.js"; export * from "./existingvenuedetails.js"; @@ -687,6 +691,12 @@ export * from "./largechoicespaginatedresponse.js"; export * from "./launchfeaturetypejson.js"; export * from "./lead.js"; export * from "./lead2.js"; +export * from "./leadcatcher.js"; +export * from "./leadcatcheraddress.js"; +export * from "./leadcatcherconfig.js"; +export * from "./leadcatcheroverview.js"; +export * from "./leadcatcherpatch.js"; +export * from "./leadcatchersoverviewresponse.js"; export * from "./leadobject.js"; export * from "./leadqualificationanswers.js"; export * from "./leadqualificationanswerslistresponse.js"; @@ -706,6 +716,7 @@ export * from "./livestreamrecording.js"; export * from "./livestreamrecordingstatus.js"; export * from "./livestreamsession.js"; export * from "./livestreamstatus.js"; +export * from "./localelanguagevariant.js"; export * from "./location1.js"; export * from "./location1input.js"; export * from "./locationjson.js"; @@ -888,6 +899,7 @@ export * from "./questiontype1.js"; export * from "./questiontype11.js"; export * from "./questiontype2.js"; export * from "./questiontypejson.js"; +export * from "./questionwithprogramid.js"; export * from "./rateapplicationtype.js"; export * from "./rateleveltype.js"; export * from "./ratereviewstatustype.js"; @@ -958,7 +970,6 @@ export * from "./rfpresponsereason.js"; export * from "./rfpstatus1.js"; export * from "./rfpsummary.js"; export * from "./rfpsupplier.js"; -export * from "./rfptype1.js"; export * from "./roomattendeetype.js"; export * from "./roombedtype1.js"; export * from "./roomblock.js"; @@ -1138,7 +1149,6 @@ export * from "./travelprogram.js"; export * from "./travelprogramformattype.js"; export * from "./travelprogrampaginatedresponse.js"; export * from "./travelprogramquestion.js"; -export * from "./travelprogramquestion1.js"; export * from "./travelprogramstatus.js"; export * from "./travelprogramstaytype.js"; export * from "./travelprogramtype.js"; @@ -1188,6 +1198,21 @@ export * from "./venueaddress.js"; export * from "./venueaddress1.js"; export * from "./venueaddress1input.js"; export * from "./venueaddressjson.js"; +export * from "./venueamenityalcohol.js"; +export * from "./venueamenityavcapability.js"; +export * from "./venueamenityavcapabilityitem.js"; +export * from "./venueamenitybusinessservice.js"; +export * from "./venueamenitycateringdetail.js"; +export * from "./venueamenityequipment.js"; +export * from "./venueamenityfacilityinfo.js"; +export * from "./venueamenityfacilityspace.js"; +export * from "./venueamenityfacilityspaceitem.js"; +export * from "./venueamenityparking.js"; +export * from "./venueamenityparkingitem.js"; +export * from "./venueamenityprovisionpolicy.js"; +export * from "./venueamenityrecreationalactivity.js"; +export * from "./venueamenityroomfeature.js"; +export * from "./venueamenitytransportation.js"; export * from "./venueattraction.js"; export * from "./venueattractionspaginatedresponse.js"; export * from "./venueattractiontype.js"; diff --git a/packages/typescript/src/models/components/leadcatcher.ts b/packages/typescript/src/models/components/leadcatcher.ts new file mode 100644 index 000000000..60e525cfb --- /dev/null +++ b/packages/typescript/src/models/components/leadcatcher.ts @@ -0,0 +1,188 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { + LeadCatcherAddress, + LeadCatcherAddress$Outbound, + LeadCatcherAddress$outboundSchema, +} from "./leadcatcheraddress.js"; +import { + LeadCatcherConfig, + LeadCatcherConfig$Outbound, + LeadCatcherConfig$outboundSchema, +} from "./leadcatcherconfig.js"; +import { + LocaleLanguageVariant, + LocaleLanguageVariant$outboundSchema, +} from "./localelanguagevariant.js"; + +/** + * A contact attached to a venue offering who receives email notifications when RFPs are submitted to that venue. + */ +export type LeadCatcher = { + /** + * First name of the lead catcher contact. + */ + firstName: string; + /** + * Last name of the lead catcher contact. + */ + lastName: string; + /** + * Job title of the lead catcher contact. + */ + title?: string | undefined; + /** + * Email address of the lead catcher contact. RFP notifications are sent to this address. + */ + email: string; + /** + * Phone number of the lead catcher contact. + */ + phone: string; + /** + * Fax number of the lead catcher contact. + */ + fax?: string | undefined; + /** + * Address information for a lead catcher contact. + */ + address?: LeadCatcherAddress | undefined; + /** + * Language locale of a Lead Catcher contact. + * + * @remarks + * + * Values: + * - `zh-CHS` — Chinese (Simplified) Legacy + * - `zh-TW` — Chinese (Traditional, Taiwan) + * - `de-DE` — German (Germany) + * - `en-US` — English (United States) + * - `fi-FI` — Finnish (Finland) + * - `fr-FR` — French (France) + * - `it-IT` — Italian (Italy) + * - `ja-JP` — Japanese (Japan) + * - `ko-KR` — Korean (Korea) + * - `nl-NL` — Dutch (Netherlands) + * - `pt-BR` — Portuguese (Brazil) + * - `ru-RU` — Russian (Russia) + * - `sv-SE` — Swedish (Sweden) + * - `th-TH` — Thai (Thailand) + * - `tr-TR` — Turkish (Turkey) + * - `uk-UA` — Ukrainian (Ukraine) + * - `zh-CN` — Chinese (Simplified, China) + * - `de-CH` — German (Switzerland) + * - `en-GB` — English (United Kingdom) + * - `es-MX` — Spanish (Mexico) + * - `fr-BE` — French (Belgium) + * - `it-CH` — Italian (Switzerland) + * - `nl-BE` — Dutch (Belgium) + * - `pt-PT` — Portuguese (Portugal) + * - `ru-MD` — Russian (Moldova) + * - `sv-FI` — Swedish (Finland) + * - `zh-HK` — Chinese (Traditional, Hong Kong SAR) + * - `de-AT` — German (Austria) + * - `en-AU` — English (Australia) + * - `es-ES` — Spanish (Spain, International Sort) + * - `fr-CA` — French (Canada) + * - `zh-SG` — Chinese (Simplified, Singapore) + * - `de-LU` — German (Luxembourg) + * - `en-CA` — English (Canada) + * - `es-GT` — Spanish (Guatemala) + * - `fr-CH` — French (Switzerland) + * - `zh-MO` — Chinese (Traditional, Macao SAR) + * - `de-LI` — German (Liechtenstein) + * - `en-NZ` — English (New Zealand) + * - `es-CR` — Spanish (Costa Rica) + * - `fr-LU` — French (Luxembourg) + * - `en-IE` — English (Ireland) + * - `es-PA` — Spanish (Panama) + * - `fr-MC` — French (Monaco) + * - `en-ZA` — English (South Africa) + * - `es-DO` — Spanish (Dominican Republic) + * - `fr-029` — French (Caribbean) + * - `en-JM` — English (Jamaica) + * - `es-VE` — Spanish (Venezuela) + * - `fr-RE` — French (Réunion) + * - `en-029` — English (Caribbean) + * - `es-CO` — Spanish (Colombia) + * - `fr-CD` — French Congo (DRC) + * - `en-BZ` — English (Belize) + * - `es-PE` — Spanish (Peru) + * - `fr-SN` — French (Senegal) + * - `en-TT` — English (Trinidad and Tobago) + * - `es-AR` — Spanish (Argentina) + * - `fr-CM` — French (Cameroon) + * - `en-ZW` — English (Zimbabwe) + * - `es-EC` — Spanish (Ecuador) + * - `fr-CI` — French (Côte d'Ivoire) + * - `en-PH` — English (Philippines) + * - `es-CL` — Spanish (Chile) + * - `fr-ML` — French (Mali) + * - `en-ID` — English (Indonesia) + * - `es-UY` — Spanish (Uruguay) + * - `fr-MA` — French (Morocco) + * - `en-HK` — English (Hong Kong SAR) + * - `es-PY` — Spanish (Paraguay) + * - `fr-HT` — French (Haiti) + * - `en-IN` — English (India) + * - `es-BO` — Spanish (Bolivia) + * - `en-MY` — English (Malaysia) + * - `es-SV` — Spanish (El Salvador) + * - `en-SG` — English (Singapore) + * - `es-HN` — Spanish (Honduras) + * - `es-NI` — Spanish (Nicaragua) + * - `es-PR` — Spanish (Puerto Rico) + * - `es-US` — Spanish (United States) + * - `es-419` — Spanish (Latin America) + * - `es-CU` — Spanish (Cuba) + * - `zh-CHT` — Chinese (Traditional) Legacy + */ + locale?: LocaleLanguageVariant | undefined; + /** + * Notification and role configuration for a lead catcher contact. + */ + config?: LeadCatcherConfig | undefined; + /** + * Additional information about the lead catcher contact. + */ + additionalInfo?: string | undefined; +}; + +/** @internal */ +export type LeadCatcher$Outbound = { + firstName: string; + lastName: string; + title?: string | undefined; + email: string; + phone: string; + fax?: string | undefined; + address?: LeadCatcherAddress$Outbound | undefined; + locale: string; + config?: LeadCatcherConfig$Outbound | undefined; + additionalInfo?: string | undefined; +}; + +/** @internal */ +export const LeadCatcher$outboundSchema: z.ZodType< + LeadCatcher$Outbound, + z.ZodTypeDef, + LeadCatcher +> = z.object({ + firstName: z.string(), + lastName: z.string(), + title: z.string().optional(), + email: z.string(), + phone: z.string(), + fax: z.string().optional(), + address: LeadCatcherAddress$outboundSchema.optional(), + locale: LocaleLanguageVariant$outboundSchema.default("en-US"), + config: LeadCatcherConfig$outboundSchema.optional(), + additionalInfo: z.string().optional(), +}); + +export function leadCatcherToJSON(leadCatcher: LeadCatcher): string { + return JSON.stringify(LeadCatcher$outboundSchema.parse(leadCatcher)); +} diff --git a/packages/typescript/src/models/components/leadcatcheraddress.ts b/packages/typescript/src/models/components/leadcatcheraddress.ts new file mode 100644 index 000000000..585248c2d --- /dev/null +++ b/packages/typescript/src/models/components/leadcatcheraddress.ts @@ -0,0 +1,1214 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { ClosedEnum } from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * State or province code for the contact address (ISO 3166-2). + */ +export const LeadCatcherAddressStateProvince = { + Blank: "BLANK", + Aa: "AA", + Ab: "AB", + Abd: "ABD", + Abe: "ABE", + ActAus: "ACT_AUS", + Ae: "AE", + Agb: "AGB", + Agy: "AGY", + Ak: "AK", + Al: "AL", + Ans: "ANS", + Ant: "ANT", + Ap: "AP", + Ar: "AR", + Ard: "ARD", + Arm: "ARM", + As: "AS", + At1: "AT_1", + At2: "AT_2", + At3: "AT_3", + At4: "AT_4", + At5: "AT_5", + At6: "AT_6", + At7: "AT_7", + At8: "AT_8", + At9: "AT_9", + Az: "AZ", + Ban: "BAN", + Bas: "BAS", + Bbd: "BBD", + Bc: "BC", + Bdf: "BDF", + BeBru: "BE_BRU", + Ben: "BEN", + BeVan: "BE_VAN", + BeVbr: "BE_VBR", + BeVli: "BE_VLI", + BeVov: "BE_VOV", + BeVwv: "BE_VWV", + BeWbr: "BE_WBR", + BeWht: "BE_WHT", + BeWlg: "BE_WLG", + BeWlx: "BE_WLX", + BeWna: "BE_WNA", + Bex: "BEX", + Bfs: "BFS", + Bge: "BGE", + Bgw: "BGW", + Bir: "BIR", + Bkm: "BKM", + Bla: "BLA", + Bly: "BLY", + Bmh: "BMH", + Bnb: "BNB", + Bne: "BNE", + Bnh: "BNH", + Bns: "BNS", + Bol: "BOL", + Bpl: "BPL", + BrAc: "BR_AC", + BrAl: "BR_AL", + BrAm: "BR_AM", + BrAp: "BR_AP", + BrBa: "BR_BA", + Brc: "BRC", + BrCe: "BR_CE", + Brd: "BRD", + BrDf: "BR_DF", + BrEs: "BR_ES", + BrGo: "BR_GO", + Brk: "BRK", + BrMa: "BR_MA", + BrMg: "BR_MG", + BrMs: "BR_MS", + BrMt: "BR_MT", + BrPa: "BR_PA", + BrPb: "BR_PB", + BrPe: "BR_PE", + BrPi: "BR_PI", + BrPr: "BR_PR", + BrRj: "BR_RJ", + BrRn: "BR_RN", + BrRo: "BR_RO", + BrRr: "BR_RR", + BrRs: "BR_RS", + BrSc: "BR_SC", + BrSe: "BR_SE", + BrSp: "BR_SP", + BrTo: "BR_TO", + Bry: "BRY", + Bst: "BST", + Bur: "BUR", + Ca: "CA", + Cam: "CAM", + Cay: "CAY", + Cgn: "CGN", + Cgv: "CGV", + ChAg: "CH_AG", + ChAi: "CH_AI", + ChAr: "CH_AR", + ChBe: "CH_BE", + ChBl: "CH_BL", + ChBs: "CH_BS", + ChFr: "CH_FR", + ChGe: "CH_GE", + ChGl: "CH_GL", + ChGr: "CH_GR", + Chi: "CHI", + ChJu: "CH_JU", + ChLu: "CH_LU", + ChNe: "CH_NE", + ChNw: "CH_NW", + ChOw: "CH_OW", + Chs: "CHS", + ChSg: "CH_SG", + ChSh: "CH_SH", + ChSo: "CH_SO", + ChSz: "CH_SZ", + ChTg: "CH_TG", + ChTi: "CH_TI", + ChUr: "CH_UR", + ChVd: "CH_VD", + ChVs: "CH_VS", + ChZg: "CH_ZG", + ChZh: "CH_ZH", + Ckf: "CKF", + Ckt: "CKT", + Cld: "CLD", + Clk: "CLK", + Clr: "CLR", + Cma: "CMA", + Cmd: "CMD", + Cmn: "CMN", + Cn11: "CN_11", + Cn12: "CN_12", + Cn13: "CN_13", + Cn14: "CN_14", + Cn15: "CN_15", + Cn21: "CN_21", + Cn22: "CN_22", + Cn23: "CN_23", + Cn31: "CN_31", + Cn32: "CN_32", + Cn33: "CN_33", + Cn34: "CN_34", + Cn35: "CN_35", + Cn36: "CN_36", + Cn37: "CN_37", + Cn41: "CN_41", + Cn42: "CN_42", + Cn43: "CN_43", + Cn44: "CN_44", + Cn45: "CN_45", + Cn46: "CN_46", + Cn50: "CN_50", + Cn51: "CN_51", + Cn52: "CN_52", + Cn53: "CN_53", + Cn54: "CN_54", + Cn61: "CN_61", + Cn62: "CN_62", + Cn63: "CN_63", + Cn64: "CN_64", + Cn65: "CN_65", + Cn91: "CN_91", + Cn92: "CN_92", + Co: "CO", + Con: "CON", + Cov: "COV", + Crf: "CRF", + Cry: "CRY", + Csr: "CSR", + Ct: "CT", + Cwd: "CWD", + Cwy: "CWY", + Dal: "DAL", + Dby: "DBY", + Dc: "DC", + De: "DE", + Den: "DEN", + Der: "DER", + Dev: "DEV", + Dgn: "DGN", + Dgy: "DGY", + Dk015: "DK_015", + Dk020: "DK_020", + Dk025: "DK_025", + Dk030: "DK_030", + Dk035: "DK_035", + Dk040: "DK_040", + Dk042: "DK_042", + Dk050: "DK_050", + Dk055: "DK_055", + Dk060: "DK_060", + Dk065: "DK_065", + Dk070: "DK_070", + Dk076: "DK_076", + Dk080: "DK_080", + Dk101: "DK_101", + Dk147: "DK_147", + Dk81: "DK_81", + Dk82: "DK_82", + Dk83: "DK_83", + Dk84: "DK_84", + Dk85: "DK_85", + Dnc: "DNC", + Dnd: "DND", + Dor: "DOR", + Dow: "DOW", + Dry: "DRY", + Dud: "DUD", + Dur: "DUR", + Eal: "EAL", + Eay: "EAY", + Edh: "EDH", + Edu: "EDU", + Eln: "ELN", + Els: "ELS", + Enf: "ENF", + Erw: "ERW", + Ery: "ERY", + Ess: "ESS", + Esx: "ESX", + Fal: "FAL", + Fer: "FER", + Fif: "FIF", + Fl: "FL", + Fln: "FLN", + Fm: "FM", + Ga: "GA", + Gat: "GAT", + Gb: "GB", + Glg: "GLG", + Gln: "GLN", + Gls: "GLS", + Gr01: "GR_01", + Gr03: "GR_03", + Gr04: "GR_04", + Gr05: "GR_05", + Gr06: "GR_06", + Gr07: "GR_07", + Gr11: "GR_11", + Gr12: "GR_12", + Gr13: "GR_13", + Gr14: "GR_14", + Gr15: "GR_15", + Gr16: "GR_16", + Gr17: "GR_17", + Gr21: "GR_21", + Gr22: "GR_22", + Gr23: "GR_23", + Gr24: "GR_24", + Gr31: "GR_31", + Gr32: "GR_32", + Gr33: "GR_33", + Gr34: "GR_34", + Gr41: "GR_41", + Gr42: "GR_42", + Gr43: "GR_43", + Gr44: "GR_44", + Gr51: "GR_51", + Gr52: "GR_52", + Gr53: "GR_53", + Gr54: "GR_54", + Gr55: "GR_55", + Gr56: "GR_56", + Gr57: "GR_57", + Gr58: "GR_58", + Gr59: "GR_59", + Gr61: "GR_61", + Gr62: "GR_62", + Gr63: "GR_63", + Gr64: "GR_64", + Gr69: "GR_69", + Gr71: "GR_71", + Gr72: "GR_72", + Gr73: "GR_73", + Gr81: "GR_81", + Gr82: "GR_82", + Gr83: "GR_83", + Gr84: "GR_84", + Gr85: "GR_85", + Gr91: "GR_91", + Gr92: "GR_92", + Gr93: "GR_93", + Gr94: "GR_94", + GrA1: "GR_A_1", + Gre: "GRE", + Gtm: "GTM", + Gu: "GU", + Gwn: "GWN", + Hal: "HAL", + Ham: "HAM", + Hav: "HAV", + Hck: "HCK", + Hef: "HEF", + Hi: "HI", + Hil: "HIL", + Hld: "HLD", + Hmf: "HMF", + Hns: "HNS", + Hpl: "HPL", + Hrt: "HRT", + Hrw: "HRW", + Hry: "HRY", + Ia: "IA", + Id: "ID", + IeC: "IE_C", + IeCe: "IE_CE", + IeCn: "IE_CN", + IeCw: "IE_CW", + IeD: "IE_D", + IeDl: "IE_DL", + IeG: "IE_G", + IeKe: "IE_KE", + IeKk: "IE_KK", + IeKy: "IE_KY", + IeLd: "IE_LD", + IeLh: "IE_LH", + IeLk: "IE_LK", + IeLm: "IE_LM", + IeLs: "IE_LS", + IeMh: "IE_MH", + IeMn: "IE_MN", + IeMo: "IE_MO", + IeOy: "IE_OY", + IeRn: "IE_RN", + IeSo: "IE_SO", + IeTa: "IE_TA", + IeWd: "IE_WD", + IeWh: "IE_WH", + IeWw: "IE_WW", + IeWx: "IE_WX", + Il: "IL", + In: "IN", + InAn: "IN_AN", + InAp: "IN_AP", + InAr: "IN_AR", + InAs: "IN_AS", + InBr: "IN_BR", + InCh: "IN_CH", + InCt: "IN_CT", + InDd: "IN_DD", + InDl: "IN_DL", + InDn: "IN_DN", + InGa: "IN_GA", + InGj: "IN_GJ", + InHp: "IN_HP", + InHr: "IN_HR", + InJh: "IN_JH", + InJk: "IN_JK", + InKa: "IN_KA", + InKl: "IN_KL", + InLd: "IN_LD", + InMh: "IN_MH", + InMl: "IN_ML", + InMn: "IN_MN", + InMp: "IN_MP", + InMz: "IN_MZ", + InNl: "IN_NL", + InOr: "IN_OR", + InPb: "IN_PB", + InPy: "IN_PY", + InRj: "IN_RJ", + InSk: "IN_SK", + InTg: "IN_TG", + InTn: "IN_TN", + InTr: "IN_TR", + InUl: "IN_UL", + InUp: "IN_UP", + InWb: "IN_WB", + Ioa: "IOA", + Ioi: "IOI", + Iol: "IOL", + Iom: "IOM", + Ios: "IOS", + Iow: "IOW", + Ioy: "IOY", + Isl: "ISL", + It21: "IT_21", + It23: "IT_23", + It25: "IT_25", + It32: "IT_32", + It34: "IT_34", + It36: "IT_36", + It42: "IT_42", + It45: "IT_45", + It52: "IT_52", + It55: "IT_55", + It57: "IT_57", + It62: "IT_62", + It65: "IT_65", + It67: "IT_67", + It72: "IT_72", + It75: "IT_75", + It77: "IT_77", + It78: "IT_78", + It82: "IT_82", + It88: "IT_88", + ItAg: "IT_AG", + ItAl: "IT_AL", + ItAn: "IT_AN", + ItAo: "IT_AO", + ItAp: "IT_AP", + ItAq: "IT_AQ", + ItAr: "IT_AR", + ItAt: "IT_AT", + ItAv: "IT_AV", + ItBa: "IT_BA", + ItBg: "IT_BG", + ItBi: "IT_BI", + ItBl: "IT_BL", + ItBn: "IT_BN", + ItBo: "IT_BO", + ItBr: "IT_BR", + ItBs: "IT_BS", + ItBt: "IT_BT", + ItBz: "IT_BZ", + ItCa: "IT_CA", + ItCb: "IT_CB", + ItCe: "IT_CE", + ItCh: "IT_CH", + ItCi: "IT_CI", + ItCl: "IT_CL", + ItCn: "IT_CN", + ItCo: "IT_CO", + ItCr: "IT_CR", + ItCs: "IT_CS", + ItCt: "IT_CT", + ItCz: "IT_CZ", + ItEn: "IT_EN", + ItFc: "IT_FC", + ItFe: "IT_FE", + ItFg: "IT_FG", + ItFi: "IT_FI", + ItFm: "IT_FM", + ItFr: "IT_FR", + ItGe: "IT_GE", + ItGo: "IT_GO", + ItGr: "IT_GR", + ItIm: "IT_IM", + ItIs: "IT_IS", + ItKr: "IT_KR", + ItLc: "IT_LC", + ItLe: "IT_LE", + ItLi: "IT_LI", + ItLo: "IT_LO", + ItLt: "IT_LT", + ItLu: "IT_LU", + ItMb: "IT_MB", + ItMc: "IT_MC", + ItMe: "IT_ME", + ItMi: "IT_MI", + ItMn: "IT_MN", + ItMo: "IT_MO", + ItMs: "IT_MS", + ItMt: "IT_MT", + ItNa: "IT_NA", + ItNo: "IT_NO", + ItNu: "IT_NU", + ItOg: "IT_OG", + ItOr: "IT_OR", + ItOt: "IT_OT", + ItPa: "IT_PA", + ItPc: "IT_PC", + ItPd: "IT_PD", + ItPe: "IT_PE", + ItPg: "IT_PG", + ItPi: "IT_PI", + ItPn: "IT_PN", + ItPo: "IT_PO", + ItPr: "IT_PR", + ItPt: "IT_PT", + ItPu: "IT_PU", + ItPv: "IT_PV", + ItPz: "IT_PZ", + ItRa: "IT_RA", + ItRc: "IT_RC", + ItRe: "IT_RE", + ItRg: "IT_RG", + ItRi: "IT_RI", + ItRm: "IT_RM", + ItRn: "IT_RN", + ItRo: "IT_RO", + ItSa: "IT_SA", + ItSi: "IT_SI", + ItSo: "IT_SO", + ItSp: "IT_SP", + ItSr: "IT_SR", + ItSs: "IT_SS", + ItSv: "IT_SV", + ItTa: "IT_TA", + ItTe: "IT_TE", + ItTn: "IT_TN", + ItTo: "IT_TO", + ItTp: "IT_TP", + ItTr: "IT_TR", + ItTs: "IT_TS", + ItTv: "IT_TV", + ItUd: "IT_UD", + ItVa: "IT_VA", + ItVb: "IT_VB", + ItVc: "IT_VC", + ItVe: "IT_VE", + ItVi: "IT_VI", + ItVr: "IT_VR", + ItVs: "IT_VS", + ItVt: "IT_VT", + ItVv: "IT_VV", + Ivk: "IVK", + Jp01: "JP_01", + Jp02: "JP_02", + Jp03: "JP_03", + Jp04: "JP_04", + Jp05: "JP_05", + Jp06: "JP_06", + Jp07: "JP_07", + Jp08: "JP_08", + Jp09: "JP_09", + Jp10: "JP_10", + Jp11: "JP_11", + Jp12: "JP_12", + Jp13: "JP_13", + Jp14: "JP_14", + Jp15: "JP_15", + Jp16: "JP_16", + Jp17: "JP_17", + Jp18: "JP_18", + Jp19: "JP_19", + Jp20: "JP_20", + Jp21: "JP_21", + Jp22: "JP_22", + Jp23: "JP_23", + Jp24: "JP_24", + Jp25: "JP_25", + Jp26: "JP_26", + Jp27: "JP_27", + Jp28: "JP_28", + Jp29: "JP_29", + Jp30: "JP_30", + Jp31: "JP_31", + Jp32: "JP_32", + Jp33: "JP_33", + Jp34: "JP_34", + Jp35: "JP_35", + Jp36: "JP_36", + Jp37: "JP_37", + Jp38: "JP_38", + Jp39: "JP_39", + Jp40: "JP_40", + Jp41: "JP_41", + Jp42: "JP_42", + Jp43: "JP_43", + Jp44: "JP_44", + Jp45: "JP_45", + Jp46: "JP_46", + Jp47: "JP_47", + Kec: "KEC", + Ken: "KEN", + Khl: "KHL", + Kir: "KIR", + Ks: "KS", + Ktt: "KTT", + Kwl: "KWL", + Ky: "KY", + La: "LA", + Lan: "LAN", + Lbh: "LBH", + Lce: "LCE", + Lds: "LDS", + Lec: "LEC", + Lew: "LEW", + Lin: "LIN", + Liv: "LIV", + Lmv: "LMV", + Lnd: "LND", + Lrn: "LRN", + Lsb: "LSB", + LuD: "LU_D", + LuG: "LU_G", + LuL: "LU_L", + Lut: "LUT", + Ma: "MA", + Man: "MAN", + Mb: "MB", + Md: "MD", + Mdb: "MDB", + Mds: "MDS", + Mdw: "MDW", + Me: "ME", + Mft: "MFT", + Mgm: "MGM", + Mh: "MH", + Mi: "MI", + Mik: "MIK", + Mln: "MLN", + Mn: "MN", + Mo: "MO", + Mon: "MON", + Mp: "MP", + Mrt: "MRT", + Mry: "MRY", + Ms: "MS", + Msy: "MSY", + Mt: "MT", + Mty: "MTY", + MxAgu: "MX_AGU", + MxBcn: "MX_BCN", + MxBcs: "MX_BCS", + MxCam: "MX_CAM", + MxChh: "MX_CHH", + MxChp: "MX_CHP", + MxCoa: "MX_COA", + MxCol: "MX_COL", + MxDif: "MX_DIF", + MxDur: "MX_DUR", + MxGro: "MX_GRO", + MxGua: "MX_GUA", + MxHid: "MX_HID", + MxJal: "MX_JAL", + MxMex: "MX_MEX", + MxMic: "MX_MIC", + MxMor: "MX_MOR", + MxNay: "MX_NAY", + MxNle: "MX_NLE", + MxOax: "MX_OAX", + MxPue: "MX_PUE", + MxQue: "MX_QUE", + MxRoo: "MX_ROO", + MxSin: "MX_SIN", + MxSlp: "MX_SLP", + MxSon: "MX_SON", + MxTab: "MX_TAB", + MxTam: "MX_TAM", + MxTla: "MX_TLA", + MxVer: "MX_VER", + MxYuc: "MX_YUC", + MxZac: "MX_ZAC", + Myl: "MYL", + Nay: "NAY", + Nb: "NB", + Nbl: "NBL", + Nc: "NC", + Nd: "ND", + Ndn: "NDN", + Ne: "NE", + Nel: "NEL", + Net: "NET", + Nfk: "NFK", + Ngm: "NGM", + Nh: "NH", + Nj: "NJ", + Nl: "NL", + NlDr: "NL_DR", + NlFl: "NL_FL", + NlFr: "NL_FR", + NlGe: "NL_GE", + NlGr: "NL_GR", + Nlk: "NLK", + NlLi: "NL_LI", + Nln: "NLN", + NlNb: "NL_NB", + NlNh: "NL_NH", + NlOv: "NL_OV", + NlUt: "NL_UT", + NlZe: "NL_ZE", + NlZh: "NL_ZH", + Nm: "NM", + No01: "NO_01", + No02: "NO_02", + No03: "NO_03", + No04: "NO_04", + No05: "NO_05", + No06: "NO_06", + No07: "NO_07", + No08: "NO_08", + No09: "NO_09", + No10: "NO_10", + No11: "NO_11", + No12: "NO_12", + No14: "NO_14", + No15: "NO_15", + No16: "NO_16", + No17: "NO_17", + No18: "NO_18", + No19: "NO_19", + No20: "NO_20", + No21: "NO_21", + No22: "NO_22", + Nry: "NRY", + Ns: "NS", + Nsm: "NSM", + NswAus: "NSW_AUS", + Nt: "NT", + NtAus: "NT_AUS", + Nta: "NTA", + Nth: "NTH", + Ntl: "NTL", + Ntt: "NTT", + Nty: "NTY", + Nu: "NU", + Nv: "NV", + Nwm: "NWM", + Nwp: "NWP", + Ny: "NY", + Nyk: "NYK", + Nym: "NYM", + Oh: "OH", + Ok: "OK", + Old: "OLD", + Omh: "OMH", + On: "ON", + Or: "OR", + Ork: "ORK", + Oxf: "OXF", + Pa: "PA", + Pe: "PE", + Pem: "PEM", + Pkn: "PKN", + Ply: "PLY", + Pol: "POL", + Por: "POR", + Pow: "POW", + Pr: "PR", + Pte: "PTE", + Pw: "PW", + Qc: "QC", + QldAus: "QLD_AUS", + Rcc: "RCC", + Rch: "RCH", + Rct: "RCT", + Rdb: "RDB", + Rdg: "RDG", + Rfw: "RFW", + Ri: "RI", + Ric: "RIC", + Rot: "ROT", + Rut: "RUT", + SaAus: "SA_AUS", + Saw: "SAW", + Say: "SAY", + Sc: "SC", + Scb: "SCB", + Sd: "SD", + Sfk: "SFK", + Sft: "SFT", + Sgc: "SGC", + Sgm: "SGM", + Shf: "SHF", + Shn: "SHN", + Shr: "SHR", + Sk: "SK", + Skp: "SKP", + Slf: "SLF", + Slg: "SLG", + Slk: "SLK", + Sol: "SOL", + Som: "SOM", + Sos: "SOS", + Sry: "SRY", + Stb: "STB", + Ste: "STE", + Stg: "STG", + Sth: "STH", + Stn: "STN", + Sts: "STS", + Stt: "STT", + Sty: "STY", + Swa: "SWA", + Swd: "SWD", + Swk: "SWK", + Syk: "SYK", + Tam: "TAM", + TasAus: "TAS_AUS", + Tfw: "TFW", + Thr: "THR", + Tn: "TN", + Tob: "TOB", + Tof: "TOF", + Trf: "TRF", + Twh: "TWH", + Twr: "TWR", + Tx: "TX", + Tyr: "TYR", + Ut: "UT", + Va: "VA", + Vgl: "VGL", + Vi: "VI", + VicAus: "VIC_AUS", + Vt: "VT", + Wa: "WA", + WaAus: "WA_AUS", + War: "WAR", + Wbk: "WBK", + Wdu: "WDU", + Wft: "WFT", + Wgm: "WGM", + Wgn: "WGN", + Wi: "WI", + Wil: "WIL", + Wis: "WIS", + Wkf: "WKF", + Wll: "WLL", + Wln: "WLN", + Wlv: "WLV", + Wmd: "WMD", + Wnd: "WND", + Wnm: "WNM", + Wok: "WOK", + Wor: "WOR", + Wrl: "WRL", + Wrt: "WRT", + Wrx: "WRX", + Wsm: "WSM", + Wsx: "WSX", + Wv: "WV", + Wy: "WY", + Wyk: "WYK", + Yor: "YOR", + Yt: "YT", + Zet: "ZET", +} as const; +/** + * State or province code for the contact address (ISO 3166-2). + */ +export type LeadCatcherAddressStateProvince = ClosedEnum< + typeof LeadCatcherAddressStateProvince +>; + +/** + * Country code for the contact address (ISO 3166-1 alpha-2). + */ +export const LeadCatcherAddressCountry = { + Blank: "BLANK", + Ad: "AD", + Ae: "AE", + Af: "AF", + Ag: "AG", + Ai: "AI", + Al: "AL", + Am: "AM", + An: "AN", + Ao: "AO", + Aq: "AQ", + Ar: "AR", + As: "AS", + At: "AT", + Au: "AU", + Aw: "AW", + Ax: "AX", + Az: "AZ", + Ba: "BA", + Bb: "BB", + Bd: "BD", + Be: "BE", + Bf: "BF", + Bg: "BG", + Bh: "BH", + Bi: "BI", + Bj: "BJ", + Bl: "BL", + Bm: "BM", + Bn: "BN", + Bo: "BO", + Bq: "BQ", + Br: "BR", + Bs: "BS", + Bt: "BT", + Bv: "BV", + Bw: "BW", + By: "BY", + Bz: "BZ", + Ca: "CA", + Cc: "CC", + Cd: "CD", + Cf: "CF", + Cg: "CG", + Ch: "CH", + Ci: "CI", + Ck: "CK", + Cl: "CL", + Cm: "CM", + Cn: "CN", + Co: "CO", + Cr: "CR", + Cu: "CU", + Cv: "CV", + Cw: "CW", + Cx: "CX", + Cy: "CY", + Cz: "CZ", + De: "DE", + Dj: "DJ", + Dk: "DK", + Dm: "DM", + Do: "DO", + Dz: "DZ", + Ec: "EC", + Ee: "EE", + Eg: "EG", + Eh: "EH", + Er: "ER", + Es: "ES", + Et: "ET", + Fi: "FI", + Fj: "FJ", + Fk: "FK", + Fm: "FM", + Fo: "FO", + Fr: "FR", + Ga: "GA", + Gb: "GB", + Gb1: "GB_1", + Gb2: "GB_2", + Gb3: "GB_3", + Gb4: "GB_4", + Gd: "GD", + Ge: "GE", + Gf: "GF", + Gg: "GG", + Gh: "GH", + Gi: "GI", + Gl: "GL", + Gm: "GM", + Gn: "GN", + Gp: "GP", + Gq: "GQ", + Gr: "GR", + Gs: "GS", + Gt: "GT", + Gu: "GU", + Gw: "GW", + Gy: "GY", + Hk: "HK", + Hm: "HM", + Hn: "HN", + Hr: "HR", + Ht: "HT", + Hu: "HU", + Id: "ID", + Ie: "IE", + Il: "IL", + Im: "IM", + In: "IN", + Io: "IO", + Iq: "IQ", + Ir: "IR", + Is: "IS", + It: "IT", + Je: "JE", + Jm: "JM", + Jo: "JO", + Jp: "JP", + Ke: "KE", + Kg: "KG", + Kh: "KH", + Ki: "KI", + Km: "KM", + Kn: "KN", + Ko: "KO", + Kp: "KP", + Kr: "KR", + Kw: "KW", + Ky: "KY", + Kz: "KZ", + La: "LA", + Lb: "LB", + Lc: "LC", + Li: "LI", + Lk: "LK", + Lr: "LR", + Ls: "LS", + Lt: "LT", + Lu: "LU", + Lv: "LV", + Ly: "LY", + Ma: "MA", + Mc: "MC", + Md: "MD", + Me: "ME", + Mf: "MF", + Mg: "MG", + Mh: "MH", + Mk: "MK", + Ml: "ML", + Mm: "MM", + Mn: "MN", + Mo: "MO", + Mp: "MP", + Mq: "MQ", + Mr: "MR", + Ms: "MS", + Mt: "MT", + Mu: "MU", + Mv: "MV", + Mw: "MW", + Mx: "MX", + My: "MY", + Mz: "MZ", + Na: "NA", + Nc: "NC", + Ne: "NE", + Nf: "NF", + Ng: "NG", + Ni: "NI", + Nl: "NL", + No: "NO", + Np: "NP", + Nr: "NR", + Nu: "NU", + Nz: "NZ", + Om: "OM", + Pa: "PA", + Pe: "PE", + Pf: "PF", + Pg: "PG", + Ph: "PH", + Pk: "PK", + Pl: "PL", + Pm: "PM", + Pn: "PN", + Pr: "PR", + Ps: "PS", + Pt: "PT", + Pw: "PW", + Py: "PY", + Qa: "QA", + Re: "RE", + Ro: "RO", + Rs: "RS", + Ru: "RU", + Rw: "RW", + Sa: "SA", + Sb: "SB", + Sc: "SC", + Sd: "SD", + Se: "SE", + Sg: "SG", + Sh: "SH", + Si: "SI", + Sj: "SJ", + Sk: "SK", + Sl: "SL", + Sm: "SM", + Sn: "SN", + So: "SO", + Sr: "SR", + Ss: "SS", + St: "ST", + Sv: "SV", + Sx: "SX", + Sy: "SY", + Sz: "SZ", + Tc: "TC", + Td: "TD", + Tf: "TF", + Tg: "TG", + Th: "TH", + Tj: "TJ", + Tk: "TK", + Tl: "TL", + Tm: "TM", + Tn: "TN", + To: "TO", + Tp: "TP", + Tr: "TR", + Tt: "TT", + Tv: "TV", + Tw: "TW", + Tz: "TZ", + Ua: "UA", + Ug: "UG", + Um: "UM", + Us: "US", + Uy: "UY", + Uz: "UZ", + Va: "VA", + Vc: "VC", + Ve: "VE", + Vg: "VG", + Vi: "VI", + Vn: "VN", + Vu: "VU", + Wf: "WF", + Ws: "WS", + Ye: "YE", + Yt: "YT", + Za: "ZA", + Zm: "ZM", + Zw: "ZW", +} as const; +/** + * Country code for the contact address (ISO 3166-1 alpha-2). + */ +export type LeadCatcherAddressCountry = ClosedEnum< + typeof LeadCatcherAddressCountry +>; + +/** + * Address information for a lead catcher contact. + */ +export type LeadCatcherAddress = { + /** + * Street address line 1. + */ + streetAddress1?: string | undefined; + /** + * Street address line 2. + */ + streetAddress2?: string | undefined; + /** + * City. + */ + city?: string | undefined; + /** + * State or province code for the contact address (ISO 3166-2). + */ + stateProvince?: LeadCatcherAddressStateProvince | undefined; + /** + * ZIP or postal code. + */ + zipPostalCode?: string | undefined; + /** + * Country code for the contact address (ISO 3166-1 alpha-2). + */ + country?: LeadCatcherAddressCountry | undefined; +}; + +/** @internal */ +export const LeadCatcherAddressStateProvince$inboundSchema: z.ZodNativeEnum< + typeof LeadCatcherAddressStateProvince +> = z.nativeEnum(LeadCatcherAddressStateProvince); +/** @internal */ +export const LeadCatcherAddressStateProvince$outboundSchema: z.ZodNativeEnum< + typeof LeadCatcherAddressStateProvince +> = LeadCatcherAddressStateProvince$inboundSchema; + +/** @internal */ +export const LeadCatcherAddressCountry$inboundSchema: z.ZodNativeEnum< + typeof LeadCatcherAddressCountry +> = z.nativeEnum(LeadCatcherAddressCountry); +/** @internal */ +export const LeadCatcherAddressCountry$outboundSchema: z.ZodNativeEnum< + typeof LeadCatcherAddressCountry +> = LeadCatcherAddressCountry$inboundSchema; + +/** @internal */ +export const LeadCatcherAddress$inboundSchema: z.ZodType< + LeadCatcherAddress, + z.ZodTypeDef, + unknown +> = z.object({ + streetAddress1: z.string().optional(), + streetAddress2: z.string().optional(), + city: z.string().optional(), + stateProvince: LeadCatcherAddressStateProvince$inboundSchema.optional(), + zipPostalCode: z.string().optional(), + country: LeadCatcherAddressCountry$inboundSchema.optional(), +}); +/** @internal */ +export type LeadCatcherAddress$Outbound = { + streetAddress1?: string | undefined; + streetAddress2?: string | undefined; + city?: string | undefined; + stateProvince?: string | undefined; + zipPostalCode?: string | undefined; + country?: string | undefined; +}; + +/** @internal */ +export const LeadCatcherAddress$outboundSchema: z.ZodType< + LeadCatcherAddress$Outbound, + z.ZodTypeDef, + LeadCatcherAddress +> = z.object({ + streetAddress1: z.string().optional(), + streetAddress2: z.string().optional(), + city: z.string().optional(), + stateProvince: LeadCatcherAddressStateProvince$outboundSchema.optional(), + zipPostalCode: z.string().optional(), + country: LeadCatcherAddressCountry$outboundSchema.optional(), +}); + +export function leadCatcherAddressToJSON( + leadCatcherAddress: LeadCatcherAddress, +): string { + return JSON.stringify( + LeadCatcherAddress$outboundSchema.parse(leadCatcherAddress), + ); +} +export function leadCatcherAddressFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LeadCatcherAddress$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LeadCatcherAddress' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/leadcatcherconfig.ts b/packages/typescript/src/models/components/leadcatcherconfig.ts new file mode 100644 index 000000000..d3c73ed8a --- /dev/null +++ b/packages/typescript/src/models/components/leadcatcherconfig.ts @@ -0,0 +1,71 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * Notification and role configuration for a lead catcher contact. + */ +export type LeadCatcherConfig = { + /** + * True indicates this contact receives email notifications when an RFP is submitted. + */ + rfpEmailEnabled?: boolean | undefined; + /** + * True indicates the RFP notification email includes a PDF link. Only meaningful when `rfpEmailEnabled` is `true`. + */ + pdfLinkEnabled?: boolean | undefined; + /** + * Name of the supplier contact role assigned to this contact. + */ + supplierContactRole?: string | undefined; +}; + +/** @internal */ +export const LeadCatcherConfig$inboundSchema: z.ZodType< + LeadCatcherConfig, + z.ZodTypeDef, + unknown +> = z.object({ + rfpEmailEnabled: z.boolean().default(true), + pdfLinkEnabled: z.boolean().default(true), + supplierContactRole: z.string().optional(), +}); +/** @internal */ +export type LeadCatcherConfig$Outbound = { + rfpEmailEnabled: boolean; + pdfLinkEnabled: boolean; + supplierContactRole?: string | undefined; +}; + +/** @internal */ +export const LeadCatcherConfig$outboundSchema: z.ZodType< + LeadCatcherConfig$Outbound, + z.ZodTypeDef, + LeadCatcherConfig +> = z.object({ + rfpEmailEnabled: z.boolean().default(true), + pdfLinkEnabled: z.boolean().default(true), + supplierContactRole: z.string().optional(), +}); + +export function leadCatcherConfigToJSON( + leadCatcherConfig: LeadCatcherConfig, +): string { + return JSON.stringify( + LeadCatcherConfig$outboundSchema.parse(leadCatcherConfig), + ); +} +export function leadCatcherConfigFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LeadCatcherConfig$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LeadCatcherConfig' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/leadcatcheroverview.ts b/packages/typescript/src/models/components/leadcatcheroverview.ts new file mode 100644 index 000000000..162c2b89d --- /dev/null +++ b/packages/typescript/src/models/components/leadcatcheroverview.ts @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * A lightweight, non-PII overview of a lead catcher contact. + */ +export type LeadCatcherOverview = { + /** + * Lead catcher ID. + */ + id: string; + /** + * First name of the lead catcher contact. + */ + firstName: string; + /** + * Last name of the lead catcher contact. + */ + lastName: string; +}; + +/** @internal */ +export const LeadCatcherOverview$inboundSchema: z.ZodType< + LeadCatcherOverview, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + firstName: z.string(), + lastName: z.string(), +}); + +export function leadCatcherOverviewFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LeadCatcherOverview$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LeadCatcherOverview' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/leadcatcherpatch.ts b/packages/typescript/src/models/components/leadcatcherpatch.ts new file mode 100644 index 000000000..be2473464 --- /dev/null +++ b/packages/typescript/src/models/components/leadcatcherpatch.ts @@ -0,0 +1,1395 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { ClosedEnum } from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * The state province code used for contact information. + */ +export const LeadCatcherPatchStateProvince = { + Blank: "BLANK", + Aa: "AA", + Ab: "AB", + Abd: "ABD", + Abe: "ABE", + ActAus: "ACT_AUS", + Ae: "AE", + Agb: "AGB", + Agy: "AGY", + Ak: "AK", + Al: "AL", + Ans: "ANS", + Ant: "ANT", + Ap: "AP", + Ar: "AR", + Ard: "ARD", + Arm: "ARM", + As: "AS", + At1: "AT_1", + At2: "AT_2", + At3: "AT_3", + At4: "AT_4", + At5: "AT_5", + At6: "AT_6", + At7: "AT_7", + At8: "AT_8", + At9: "AT_9", + Az: "AZ", + Ban: "BAN", + Bas: "BAS", + Bbd: "BBD", + Bc: "BC", + Bdf: "BDF", + BeBru: "BE_BRU", + Ben: "BEN", + BeVan: "BE_VAN", + BeVbr: "BE_VBR", + BeVli: "BE_VLI", + BeVov: "BE_VOV", + BeVwv: "BE_VWV", + BeWbr: "BE_WBR", + BeWht: "BE_WHT", + BeWlg: "BE_WLG", + BeWlx: "BE_WLX", + BeWna: "BE_WNA", + Bex: "BEX", + Bfs: "BFS", + Bge: "BGE", + Bgw: "BGW", + Bir: "BIR", + Bkm: "BKM", + Bla: "BLA", + Bly: "BLY", + Bmh: "BMH", + Bnb: "BNB", + Bne: "BNE", + Bnh: "BNH", + Bns: "BNS", + Bol: "BOL", + Bpl: "BPL", + BrAc: "BR_AC", + BrAl: "BR_AL", + BrAm: "BR_AM", + BrAp: "BR_AP", + BrBa: "BR_BA", + Brc: "BRC", + BrCe: "BR_CE", + Brd: "BRD", + BrDf: "BR_DF", + BrEs: "BR_ES", + BrGo: "BR_GO", + Brk: "BRK", + BrMa: "BR_MA", + BrMg: "BR_MG", + BrMs: "BR_MS", + BrMt: "BR_MT", + BrPa: "BR_PA", + BrPb: "BR_PB", + BrPe: "BR_PE", + BrPi: "BR_PI", + BrPr: "BR_PR", + BrRj: "BR_RJ", + BrRn: "BR_RN", + BrRo: "BR_RO", + BrRr: "BR_RR", + BrRs: "BR_RS", + BrSc: "BR_SC", + BrSe: "BR_SE", + BrSp: "BR_SP", + BrTo: "BR_TO", + Bry: "BRY", + Bst: "BST", + Bur: "BUR", + Ca: "CA", + Cam: "CAM", + Cay: "CAY", + Cgn: "CGN", + Cgv: "CGV", + ChAg: "CH_AG", + ChAi: "CH_AI", + ChAr: "CH_AR", + ChBe: "CH_BE", + ChBl: "CH_BL", + ChBs: "CH_BS", + ChFr: "CH_FR", + ChGe: "CH_GE", + ChGl: "CH_GL", + ChGr: "CH_GR", + Chi: "CHI", + ChJu: "CH_JU", + ChLu: "CH_LU", + ChNe: "CH_NE", + ChNw: "CH_NW", + ChOw: "CH_OW", + Chs: "CHS", + ChSg: "CH_SG", + ChSh: "CH_SH", + ChSo: "CH_SO", + ChSz: "CH_SZ", + ChTg: "CH_TG", + ChTi: "CH_TI", + ChUr: "CH_UR", + ChVd: "CH_VD", + ChVs: "CH_VS", + ChZg: "CH_ZG", + ChZh: "CH_ZH", + Ckf: "CKF", + Ckt: "CKT", + Cld: "CLD", + Clk: "CLK", + Clr: "CLR", + Cma: "CMA", + Cmd: "CMD", + Cmn: "CMN", + Cn11: "CN_11", + Cn12: "CN_12", + Cn13: "CN_13", + Cn14: "CN_14", + Cn15: "CN_15", + Cn21: "CN_21", + Cn22: "CN_22", + Cn23: "CN_23", + Cn31: "CN_31", + Cn32: "CN_32", + Cn33: "CN_33", + Cn34: "CN_34", + Cn35: "CN_35", + Cn36: "CN_36", + Cn37: "CN_37", + Cn41: "CN_41", + Cn42: "CN_42", + Cn43: "CN_43", + Cn44: "CN_44", + Cn45: "CN_45", + Cn46: "CN_46", + Cn50: "CN_50", + Cn51: "CN_51", + Cn52: "CN_52", + Cn53: "CN_53", + Cn54: "CN_54", + Cn61: "CN_61", + Cn62: "CN_62", + Cn63: "CN_63", + Cn64: "CN_64", + Cn65: "CN_65", + Cn91: "CN_91", + Cn92: "CN_92", + Co: "CO", + Con: "CON", + Cov: "COV", + Crf: "CRF", + Cry: "CRY", + Csr: "CSR", + Ct: "CT", + Cwd: "CWD", + Cwy: "CWY", + Dal: "DAL", + Dby: "DBY", + Dc: "DC", + De: "DE", + Den: "DEN", + Der: "DER", + Dev: "DEV", + Dgn: "DGN", + Dgy: "DGY", + Dk015: "DK_015", + Dk020: "DK_020", + Dk025: "DK_025", + Dk030: "DK_030", + Dk035: "DK_035", + Dk040: "DK_040", + Dk042: "DK_042", + Dk050: "DK_050", + Dk055: "DK_055", + Dk060: "DK_060", + Dk065: "DK_065", + Dk070: "DK_070", + Dk076: "DK_076", + Dk080: "DK_080", + Dk101: "DK_101", + Dk147: "DK_147", + Dk81: "DK_81", + Dk82: "DK_82", + Dk83: "DK_83", + Dk84: "DK_84", + Dk85: "DK_85", + Dnc: "DNC", + Dnd: "DND", + Dor: "DOR", + Dow: "DOW", + Dry: "DRY", + Dud: "DUD", + Dur: "DUR", + Eal: "EAL", + Eay: "EAY", + Edh: "EDH", + Edu: "EDU", + Eln: "ELN", + Els: "ELS", + Enf: "ENF", + Erw: "ERW", + Ery: "ERY", + Ess: "ESS", + Esx: "ESX", + Fal: "FAL", + Fer: "FER", + Fif: "FIF", + Fl: "FL", + Fln: "FLN", + Fm: "FM", + Ga: "GA", + Gat: "GAT", + Gb: "GB", + Glg: "GLG", + Gln: "GLN", + Gls: "GLS", + Gr01: "GR_01", + Gr03: "GR_03", + Gr04: "GR_04", + Gr05: "GR_05", + Gr06: "GR_06", + Gr07: "GR_07", + Gr11: "GR_11", + Gr12: "GR_12", + Gr13: "GR_13", + Gr14: "GR_14", + Gr15: "GR_15", + Gr16: "GR_16", + Gr17: "GR_17", + Gr21: "GR_21", + Gr22: "GR_22", + Gr23: "GR_23", + Gr24: "GR_24", + Gr31: "GR_31", + Gr32: "GR_32", + Gr33: "GR_33", + Gr34: "GR_34", + Gr41: "GR_41", + Gr42: "GR_42", + Gr43: "GR_43", + Gr44: "GR_44", + Gr51: "GR_51", + Gr52: "GR_52", + Gr53: "GR_53", + Gr54: "GR_54", + Gr55: "GR_55", + Gr56: "GR_56", + Gr57: "GR_57", + Gr58: "GR_58", + Gr59: "GR_59", + Gr61: "GR_61", + Gr62: "GR_62", + Gr63: "GR_63", + Gr64: "GR_64", + Gr69: "GR_69", + Gr71: "GR_71", + Gr72: "GR_72", + Gr73: "GR_73", + Gr81: "GR_81", + Gr82: "GR_82", + Gr83: "GR_83", + Gr84: "GR_84", + Gr85: "GR_85", + Gr91: "GR_91", + Gr92: "GR_92", + Gr93: "GR_93", + Gr94: "GR_94", + GrA1: "GR_A_1", + Gre: "GRE", + Gtm: "GTM", + Gu: "GU", + Gwn: "GWN", + Hal: "HAL", + Ham: "HAM", + Hav: "HAV", + Hck: "HCK", + Hef: "HEF", + Hi: "HI", + Hil: "HIL", + Hld: "HLD", + Hmf: "HMF", + Hns: "HNS", + Hpl: "HPL", + Hrt: "HRT", + Hrw: "HRW", + Hry: "HRY", + Ia: "IA", + Id: "ID", + IeC: "IE_C", + IeCe: "IE_CE", + IeCn: "IE_CN", + IeCw: "IE_CW", + IeD: "IE_D", + IeDl: "IE_DL", + IeG: "IE_G", + IeKe: "IE_KE", + IeKk: "IE_KK", + IeKy: "IE_KY", + IeLd: "IE_LD", + IeLh: "IE_LH", + IeLk: "IE_LK", + IeLm: "IE_LM", + IeLs: "IE_LS", + IeMh: "IE_MH", + IeMn: "IE_MN", + IeMo: "IE_MO", + IeOy: "IE_OY", + IeRn: "IE_RN", + IeSo: "IE_SO", + IeTa: "IE_TA", + IeWd: "IE_WD", + IeWh: "IE_WH", + IeWw: "IE_WW", + IeWx: "IE_WX", + Il: "IL", + In: "IN", + InAn: "IN_AN", + InAp: "IN_AP", + InAr: "IN_AR", + InAs: "IN_AS", + InBr: "IN_BR", + InCh: "IN_CH", + InCt: "IN_CT", + InDd: "IN_DD", + InDl: "IN_DL", + InDn: "IN_DN", + InGa: "IN_GA", + InGj: "IN_GJ", + InHp: "IN_HP", + InHr: "IN_HR", + InJh: "IN_JH", + InJk: "IN_JK", + InKa: "IN_KA", + InKl: "IN_KL", + InLd: "IN_LD", + InMh: "IN_MH", + InMl: "IN_ML", + InMn: "IN_MN", + InMp: "IN_MP", + InMz: "IN_MZ", + InNl: "IN_NL", + InOr: "IN_OR", + InPb: "IN_PB", + InPy: "IN_PY", + InRj: "IN_RJ", + InSk: "IN_SK", + InTg: "IN_TG", + InTn: "IN_TN", + InTr: "IN_TR", + InUl: "IN_UL", + InUp: "IN_UP", + InWb: "IN_WB", + Ioa: "IOA", + Ioi: "IOI", + Iol: "IOL", + Iom: "IOM", + Ios: "IOS", + Iow: "IOW", + Ioy: "IOY", + Isl: "ISL", + It21: "IT_21", + It23: "IT_23", + It25: "IT_25", + It32: "IT_32", + It34: "IT_34", + It36: "IT_36", + It42: "IT_42", + It45: "IT_45", + It52: "IT_52", + It55: "IT_55", + It57: "IT_57", + It62: "IT_62", + It65: "IT_65", + It67: "IT_67", + It72: "IT_72", + It75: "IT_75", + It77: "IT_77", + It78: "IT_78", + It82: "IT_82", + It88: "IT_88", + ItAg: "IT_AG", + ItAl: "IT_AL", + ItAn: "IT_AN", + ItAo: "IT_AO", + ItAp: "IT_AP", + ItAq: "IT_AQ", + ItAr: "IT_AR", + ItAt: "IT_AT", + ItAv: "IT_AV", + ItBa: "IT_BA", + ItBg: "IT_BG", + ItBi: "IT_BI", + ItBl: "IT_BL", + ItBn: "IT_BN", + ItBo: "IT_BO", + ItBr: "IT_BR", + ItBs: "IT_BS", + ItBt: "IT_BT", + ItBz: "IT_BZ", + ItCa: "IT_CA", + ItCb: "IT_CB", + ItCe: "IT_CE", + ItCh: "IT_CH", + ItCi: "IT_CI", + ItCl: "IT_CL", + ItCn: "IT_CN", + ItCo: "IT_CO", + ItCr: "IT_CR", + ItCs: "IT_CS", + ItCt: "IT_CT", + ItCz: "IT_CZ", + ItEn: "IT_EN", + ItFc: "IT_FC", + ItFe: "IT_FE", + ItFg: "IT_FG", + ItFi: "IT_FI", + ItFm: "IT_FM", + ItFr: "IT_FR", + ItGe: "IT_GE", + ItGo: "IT_GO", + ItGr: "IT_GR", + ItIm: "IT_IM", + ItIs: "IT_IS", + ItKr: "IT_KR", + ItLc: "IT_LC", + ItLe: "IT_LE", + ItLi: "IT_LI", + ItLo: "IT_LO", + ItLt: "IT_LT", + ItLu: "IT_LU", + ItMb: "IT_MB", + ItMc: "IT_MC", + ItMe: "IT_ME", + ItMi: "IT_MI", + ItMn: "IT_MN", + ItMo: "IT_MO", + ItMs: "IT_MS", + ItMt: "IT_MT", + ItNa: "IT_NA", + ItNo: "IT_NO", + ItNu: "IT_NU", + ItOg: "IT_OG", + ItOr: "IT_OR", + ItOt: "IT_OT", + ItPa: "IT_PA", + ItPc: "IT_PC", + ItPd: "IT_PD", + ItPe: "IT_PE", + ItPg: "IT_PG", + ItPi: "IT_PI", + ItPn: "IT_PN", + ItPo: "IT_PO", + ItPr: "IT_PR", + ItPt: "IT_PT", + ItPu: "IT_PU", + ItPv: "IT_PV", + ItPz: "IT_PZ", + ItRa: "IT_RA", + ItRc: "IT_RC", + ItRe: "IT_RE", + ItRg: "IT_RG", + ItRi: "IT_RI", + ItRm: "IT_RM", + ItRn: "IT_RN", + ItRo: "IT_RO", + ItSa: "IT_SA", + ItSi: "IT_SI", + ItSo: "IT_SO", + ItSp: "IT_SP", + ItSr: "IT_SR", + ItSs: "IT_SS", + ItSv: "IT_SV", + ItTa: "IT_TA", + ItTe: "IT_TE", + ItTn: "IT_TN", + ItTo: "IT_TO", + ItTp: "IT_TP", + ItTr: "IT_TR", + ItTs: "IT_TS", + ItTv: "IT_TV", + ItUd: "IT_UD", + ItVa: "IT_VA", + ItVb: "IT_VB", + ItVc: "IT_VC", + ItVe: "IT_VE", + ItVi: "IT_VI", + ItVr: "IT_VR", + ItVs: "IT_VS", + ItVt: "IT_VT", + ItVv: "IT_VV", + Ivk: "IVK", + Jp01: "JP_01", + Jp02: "JP_02", + Jp03: "JP_03", + Jp04: "JP_04", + Jp05: "JP_05", + Jp06: "JP_06", + Jp07: "JP_07", + Jp08: "JP_08", + Jp09: "JP_09", + Jp10: "JP_10", + Jp11: "JP_11", + Jp12: "JP_12", + Jp13: "JP_13", + Jp14: "JP_14", + Jp15: "JP_15", + Jp16: "JP_16", + Jp17: "JP_17", + Jp18: "JP_18", + Jp19: "JP_19", + Jp20: "JP_20", + Jp21: "JP_21", + Jp22: "JP_22", + Jp23: "JP_23", + Jp24: "JP_24", + Jp25: "JP_25", + Jp26: "JP_26", + Jp27: "JP_27", + Jp28: "JP_28", + Jp29: "JP_29", + Jp30: "JP_30", + Jp31: "JP_31", + Jp32: "JP_32", + Jp33: "JP_33", + Jp34: "JP_34", + Jp35: "JP_35", + Jp36: "JP_36", + Jp37: "JP_37", + Jp38: "JP_38", + Jp39: "JP_39", + Jp40: "JP_40", + Jp41: "JP_41", + Jp42: "JP_42", + Jp43: "JP_43", + Jp44: "JP_44", + Jp45: "JP_45", + Jp46: "JP_46", + Jp47: "JP_47", + Kec: "KEC", + Ken: "KEN", + Khl: "KHL", + Kir: "KIR", + Ks: "KS", + Ktt: "KTT", + Kwl: "KWL", + Ky: "KY", + La: "LA", + Lan: "LAN", + Lbh: "LBH", + Lce: "LCE", + Lds: "LDS", + Lec: "LEC", + Lew: "LEW", + Lin: "LIN", + Liv: "LIV", + Lmv: "LMV", + Lnd: "LND", + Lrn: "LRN", + Lsb: "LSB", + LuD: "LU_D", + LuG: "LU_G", + LuL: "LU_L", + Lut: "LUT", + Ma: "MA", + Man: "MAN", + Mb: "MB", + Md: "MD", + Mdb: "MDB", + Mds: "MDS", + Mdw: "MDW", + Me: "ME", + Mft: "MFT", + Mgm: "MGM", + Mh: "MH", + Mi: "MI", + Mik: "MIK", + Mln: "MLN", + Mn: "MN", + Mo: "MO", + Mon: "MON", + Mp: "MP", + Mrt: "MRT", + Mry: "MRY", + Ms: "MS", + Msy: "MSY", + Mt: "MT", + Mty: "MTY", + MxAgu: "MX_AGU", + MxBcn: "MX_BCN", + MxBcs: "MX_BCS", + MxCam: "MX_CAM", + MxChh: "MX_CHH", + MxChp: "MX_CHP", + MxCoa: "MX_COA", + MxCol: "MX_COL", + MxDif: "MX_DIF", + MxDur: "MX_DUR", + MxGro: "MX_GRO", + MxGua: "MX_GUA", + MxHid: "MX_HID", + MxJal: "MX_JAL", + MxMex: "MX_MEX", + MxMic: "MX_MIC", + MxMor: "MX_MOR", + MxNay: "MX_NAY", + MxNle: "MX_NLE", + MxOax: "MX_OAX", + MxPue: "MX_PUE", + MxQue: "MX_QUE", + MxRoo: "MX_ROO", + MxSin: "MX_SIN", + MxSlp: "MX_SLP", + MxSon: "MX_SON", + MxTab: "MX_TAB", + MxTam: "MX_TAM", + MxTla: "MX_TLA", + MxVer: "MX_VER", + MxYuc: "MX_YUC", + MxZac: "MX_ZAC", + Myl: "MYL", + Nay: "NAY", + Nb: "NB", + Nbl: "NBL", + Nc: "NC", + Nd: "ND", + Ndn: "NDN", + Ne: "NE", + Nel: "NEL", + Net: "NET", + Nfk: "NFK", + Ngm: "NGM", + Nh: "NH", + Nj: "NJ", + Nl: "NL", + NlDr: "NL_DR", + NlFl: "NL_FL", + NlFr: "NL_FR", + NlGe: "NL_GE", + NlGr: "NL_GR", + Nlk: "NLK", + NlLi: "NL_LI", + Nln: "NLN", + NlNb: "NL_NB", + NlNh: "NL_NH", + NlOv: "NL_OV", + NlUt: "NL_UT", + NlZe: "NL_ZE", + NlZh: "NL_ZH", + Nm: "NM", + No01: "NO_01", + No02: "NO_02", + No03: "NO_03", + No04: "NO_04", + No05: "NO_05", + No06: "NO_06", + No07: "NO_07", + No08: "NO_08", + No09: "NO_09", + No10: "NO_10", + No11: "NO_11", + No12: "NO_12", + No14: "NO_14", + No15: "NO_15", + No16: "NO_16", + No17: "NO_17", + No18: "NO_18", + No19: "NO_19", + No20: "NO_20", + No21: "NO_21", + No22: "NO_22", + Nry: "NRY", + Ns: "NS", + Nsm: "NSM", + NswAus: "NSW_AUS", + Nt: "NT", + NtAus: "NT_AUS", + Nta: "NTA", + Nth: "NTH", + Ntl: "NTL", + Ntt: "NTT", + Nty: "NTY", + Nu: "NU", + Nv: "NV", + Nwm: "NWM", + Nwp: "NWP", + Ny: "NY", + Nyk: "NYK", + Nym: "NYM", + Oh: "OH", + Ok: "OK", + Old: "OLD", + Omh: "OMH", + On: "ON", + Or: "OR", + Ork: "ORK", + Oxf: "OXF", + Pa: "PA", + Pe: "PE", + Pem: "PEM", + Pkn: "PKN", + Ply: "PLY", + Pol: "POL", + Por: "POR", + Pow: "POW", + Pr: "PR", + Pte: "PTE", + Pw: "PW", + Qc: "QC", + QldAus: "QLD_AUS", + Rcc: "RCC", + Rch: "RCH", + Rct: "RCT", + Rdb: "RDB", + Rdg: "RDG", + Rfw: "RFW", + Ri: "RI", + Ric: "RIC", + Rot: "ROT", + Rut: "RUT", + SaAus: "SA_AUS", + Saw: "SAW", + Say: "SAY", + Sc: "SC", + Scb: "SCB", + Sd: "SD", + Sfk: "SFK", + Sft: "SFT", + Sgc: "SGC", + Sgm: "SGM", + Shf: "SHF", + Shn: "SHN", + Shr: "SHR", + Sk: "SK", + Skp: "SKP", + Slf: "SLF", + Slg: "SLG", + Slk: "SLK", + Sol: "SOL", + Som: "SOM", + Sos: "SOS", + Sry: "SRY", + Stb: "STB", + Ste: "STE", + Stg: "STG", + Sth: "STH", + Stn: "STN", + Sts: "STS", + Stt: "STT", + Sty: "STY", + Swa: "SWA", + Swd: "SWD", + Swk: "SWK", + Syk: "SYK", + Tam: "TAM", + TasAus: "TAS_AUS", + Tfw: "TFW", + Thr: "THR", + Tn: "TN", + Tob: "TOB", + Tof: "TOF", + Trf: "TRF", + Twh: "TWH", + Twr: "TWR", + Tx: "TX", + Tyr: "TYR", + Ut: "UT", + Va: "VA", + Vgl: "VGL", + Vi: "VI", + VicAus: "VIC_AUS", + Vt: "VT", + Wa: "WA", + WaAus: "WA_AUS", + War: "WAR", + Wbk: "WBK", + Wdu: "WDU", + Wft: "WFT", + Wgm: "WGM", + Wgn: "WGN", + Wi: "WI", + Wil: "WIL", + Wis: "WIS", + Wkf: "WKF", + Wll: "WLL", + Wln: "WLN", + Wlv: "WLV", + Wmd: "WMD", + Wnd: "WND", + Wnm: "WNM", + Wok: "WOK", + Wor: "WOR", + Wrl: "WRL", + Wrt: "WRT", + Wrx: "WRX", + Wsm: "WSM", + Wsx: "WSX", + Wv: "WV", + Wy: "WY", + Wyk: "WYK", + Yor: "YOR", + Yt: "YT", + Zet: "ZET", +} as const; +/** + * The state province code used for contact information. + */ +export type LeadCatcherPatchStateProvince = ClosedEnum< + typeof LeadCatcherPatchStateProvince +>; + +/** + * ISO 3166 two-letter (alpha-2) country code used for contact information. + */ +export const LeadCatcherPatchCountry = { + Blank: "BLANK", + Ad: "AD", + Ae: "AE", + Af: "AF", + Ag: "AG", + Ai: "AI", + Al: "AL", + Am: "AM", + An: "AN", + Ao: "AO", + Aq: "AQ", + Ar: "AR", + As: "AS", + At: "AT", + Au: "AU", + Aw: "AW", + Ax: "AX", + Az: "AZ", + Ba: "BA", + Bb: "BB", + Bd: "BD", + Be: "BE", + Bf: "BF", + Bg: "BG", + Bh: "BH", + Bi: "BI", + Bj: "BJ", + Bl: "BL", + Bm: "BM", + Bn: "BN", + Bo: "BO", + Bq: "BQ", + Br: "BR", + Bs: "BS", + Bt: "BT", + Bv: "BV", + Bw: "BW", + By: "BY", + Bz: "BZ", + Ca: "CA", + Cc: "CC", + Cd: "CD", + Cf: "CF", + Cg: "CG", + Ch: "CH", + Ci: "CI", + Ck: "CK", + Cl: "CL", + Cm: "CM", + Cn: "CN", + Co: "CO", + Cr: "CR", + Cu: "CU", + Cv: "CV", + Cw: "CW", + Cx: "CX", + Cy: "CY", + Cz: "CZ", + De: "DE", + Dj: "DJ", + Dk: "DK", + Dm: "DM", + Do: "DO", + Dz: "DZ", + Ec: "EC", + Ee: "EE", + Eg: "EG", + Eh: "EH", + Er: "ER", + Es: "ES", + Et: "ET", + Fi: "FI", + Fj: "FJ", + Fk: "FK", + Fm: "FM", + Fo: "FO", + Fr: "FR", + Ga: "GA", + Gb: "GB", + Gb1: "GB_1", + Gb2: "GB_2", + Gb3: "GB_3", + Gb4: "GB_4", + Gd: "GD", + Ge: "GE", + Gf: "GF", + Gg: "GG", + Gh: "GH", + Gi: "GI", + Gl: "GL", + Gm: "GM", + Gn: "GN", + Gp: "GP", + Gq: "GQ", + Gr: "GR", + Gs: "GS", + Gt: "GT", + Gu: "GU", + Gw: "GW", + Gy: "GY", + Hk: "HK", + Hm: "HM", + Hn: "HN", + Hr: "HR", + Ht: "HT", + Hu: "HU", + Id: "ID", + Ie: "IE", + Il: "IL", + Im: "IM", + In: "IN", + Io: "IO", + Iq: "IQ", + Ir: "IR", + Is: "IS", + It: "IT", + Je: "JE", + Jm: "JM", + Jo: "JO", + Jp: "JP", + Ke: "KE", + Kg: "KG", + Kh: "KH", + Ki: "KI", + Km: "KM", + Kn: "KN", + Ko: "KO", + Kp: "KP", + Kr: "KR", + Kw: "KW", + Ky: "KY", + Kz: "KZ", + La: "LA", + Lb: "LB", + Lc: "LC", + Li: "LI", + Lk: "LK", + Lr: "LR", + Ls: "LS", + Lt: "LT", + Lu: "LU", + Lv: "LV", + Ly: "LY", + Ma: "MA", + Mc: "MC", + Md: "MD", + Me: "ME", + Mf: "MF", + Mg: "MG", + Mh: "MH", + Mk: "MK", + Ml: "ML", + Mm: "MM", + Mn: "MN", + Mo: "MO", + Mp: "MP", + Mq: "MQ", + Mr: "MR", + Ms: "MS", + Mt: "MT", + Mu: "MU", + Mv: "MV", + Mw: "MW", + Mx: "MX", + My: "MY", + Mz: "MZ", + Na: "NA", + Nc: "NC", + Ne: "NE", + Nf: "NF", + Ng: "NG", + Ni: "NI", + Nl: "NL", + No: "NO", + Np: "NP", + Nr: "NR", + Nu: "NU", + Nz: "NZ", + Om: "OM", + Pa: "PA", + Pe: "PE", + Pf: "PF", + Pg: "PG", + Ph: "PH", + Pk: "PK", + Pl: "PL", + Pm: "PM", + Pn: "PN", + Pr: "PR", + Ps: "PS", + Pt: "PT", + Pw: "PW", + Py: "PY", + Qa: "QA", + Re: "RE", + Ro: "RO", + Rs: "RS", + Ru: "RU", + Rw: "RW", + Sa: "SA", + Sb: "SB", + Sc: "SC", + Sd: "SD", + Se: "SE", + Sg: "SG", + Sh: "SH", + Si: "SI", + Sj: "SJ", + Sk: "SK", + Sl: "SL", + Sm: "SM", + Sn: "SN", + So: "SO", + Sr: "SR", + Ss: "SS", + St: "ST", + Sv: "SV", + Sx: "SX", + Sy: "SY", + Sz: "SZ", + Tc: "TC", + Td: "TD", + Tf: "TF", + Tg: "TG", + Th: "TH", + Tj: "TJ", + Tk: "TK", + Tl: "TL", + Tm: "TM", + Tn: "TN", + To: "TO", + Tp: "TP", + Tr: "TR", + Tt: "TT", + Tv: "TV", + Tw: "TW", + Tz: "TZ", + Ua: "UA", + Ug: "UG", + Um: "UM", + Us: "US", + Uy: "UY", + Uz: "UZ", + Va: "VA", + Vc: "VC", + Ve: "VE", + Vg: "VG", + Vi: "VI", + Vn: "VN", + Vu: "VU", + Wf: "WF", + Ws: "WS", + Ye: "YE", + Yt: "YT", + Za: "ZA", + Zm: "ZM", + Zw: "ZW", +} as const; +/** + * ISO 3166 two-letter (alpha-2) country code used for contact information. + */ +export type LeadCatcherPatchCountry = ClosedEnum< + typeof LeadCatcherPatchCountry +>; + +/** + * Address information for the lead catcher contact. Only the address sub-fields supplied are updated; omitted sub-fields are left unchanged. + */ +export type LeadCatcherAddressPatch = { + /** + * Street address line 1. + */ + streetAddress1?: string | null | undefined; + /** + * Street address line 2. + */ + streetAddress2?: string | null | undefined; + /** + * City. + */ + city?: string | null | undefined; + /** + * The state province code used for contact information. + */ + stateProvince?: LeadCatcherPatchStateProvince | null | undefined; + /** + * ZIP or postal code. + */ + zipPostalCode?: string | null | undefined; + /** + * ISO 3166 two-letter (alpha-2) country code used for contact information. + */ + country?: LeadCatcherPatchCountry | null | undefined; +}; + +/** + * Notification and role configuration for the lead catcher contact. Only the config sub-fields supplied are updated; omitted sub-fields are left unchanged. + */ +export type LeadCatcherConfigPatch = { + /** + * True indicates this contact receives email notifications when an RFP is submitted. + */ + rfpEmailEnabled?: boolean | null | undefined; + /** + * True indicates the RFP notification email includes a PDF link. Only meaningful when `rfpEmailEnabled` is `true`. + */ + pdfLinkEnabled?: boolean | null | undefined; + /** + * Name of the supplier contact role assigned to this contact. + */ + supplierContactRole?: string | null | undefined; +}; + +/** + * Partial update payload for a lead catcher contact. + */ +export type LeadCatcherPatch = { + /** + * First name of the lead catcher contact. + */ + firstName?: string | null | undefined; + /** + * Last name of the lead catcher contact. + */ + lastName?: string | null | undefined; + /** + * Job title of the lead catcher contact. + */ + title?: string | null | undefined; + /** + * Email address of the lead catcher contact. RFP notifications are sent to this address. + */ + email?: string | null | undefined; + /** + * Phone number of the lead catcher contact. + */ + phone?: string | null | undefined; + /** + * Fax number of the lead catcher contact. + */ + fax?: string | null | undefined; + /** + * Address information for the lead catcher contact. Only the address sub-fields supplied are updated; omitted sub-fields are left unchanged. + */ + address?: LeadCatcherAddressPatch | null | undefined; + /** + * Locale used for planner communications sent to this contact. + */ + locale?: string | null | undefined; + /** + * Notification and role configuration for the lead catcher contact. Only the config sub-fields supplied are updated; omitted sub-fields are left unchanged. + */ + config?: LeadCatcherConfigPatch | null | undefined; + /** + * Additional information about the lead catcher contact. + */ + additionalInfo?: string | null | undefined; +}; + +/** @internal */ +export const LeadCatcherPatchStateProvince$inboundSchema: z.ZodNativeEnum< + typeof LeadCatcherPatchStateProvince +> = z.nativeEnum(LeadCatcherPatchStateProvince); +/** @internal */ +export const LeadCatcherPatchStateProvince$outboundSchema: z.ZodNativeEnum< + typeof LeadCatcherPatchStateProvince +> = LeadCatcherPatchStateProvince$inboundSchema; + +/** @internal */ +export const LeadCatcherPatchCountry$inboundSchema: z.ZodNativeEnum< + typeof LeadCatcherPatchCountry +> = z.nativeEnum(LeadCatcherPatchCountry); +/** @internal */ +export const LeadCatcherPatchCountry$outboundSchema: z.ZodNativeEnum< + typeof LeadCatcherPatchCountry +> = LeadCatcherPatchCountry$inboundSchema; + +/** @internal */ +export const LeadCatcherAddressPatch$inboundSchema: z.ZodType< + LeadCatcherAddressPatch, + z.ZodTypeDef, + unknown +> = z.object({ + streetAddress1: z.nullable(z.string()).optional(), + streetAddress2: z.nullable(z.string()).optional(), + city: z.nullable(z.string()).optional(), + stateProvince: z.nullable(LeadCatcherPatchStateProvince$inboundSchema) + .optional(), + zipPostalCode: z.nullable(z.string()).optional(), + country: z.nullable(LeadCatcherPatchCountry$inboundSchema).optional(), +}); +/** @internal */ +export type LeadCatcherAddressPatch$Outbound = { + streetAddress1?: string | null | undefined; + streetAddress2?: string | null | undefined; + city?: string | null | undefined; + stateProvince?: string | null | undefined; + zipPostalCode?: string | null | undefined; + country?: string | null | undefined; +}; + +/** @internal */ +export const LeadCatcherAddressPatch$outboundSchema: z.ZodType< + LeadCatcherAddressPatch$Outbound, + z.ZodTypeDef, + LeadCatcherAddressPatch +> = z.object({ + streetAddress1: z.nullable(z.string()).optional(), + streetAddress2: z.nullable(z.string()).optional(), + city: z.nullable(z.string()).optional(), + stateProvince: z.nullable(LeadCatcherPatchStateProvince$outboundSchema) + .optional(), + zipPostalCode: z.nullable(z.string()).optional(), + country: z.nullable(LeadCatcherPatchCountry$outboundSchema).optional(), +}); + +export function leadCatcherAddressPatchToJSON( + leadCatcherAddressPatch: LeadCatcherAddressPatch, +): string { + return JSON.stringify( + LeadCatcherAddressPatch$outboundSchema.parse(leadCatcherAddressPatch), + ); +} +export function leadCatcherAddressPatchFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LeadCatcherAddressPatch$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LeadCatcherAddressPatch' from JSON`, + ); +} + +/** @internal */ +export const LeadCatcherConfigPatch$inboundSchema: z.ZodType< + LeadCatcherConfigPatch, + z.ZodTypeDef, + unknown +> = z.object({ + rfpEmailEnabled: z.nullable(z.boolean()).optional(), + pdfLinkEnabled: z.nullable(z.boolean()).optional(), + supplierContactRole: z.nullable(z.string()).optional(), +}); +/** @internal */ +export type LeadCatcherConfigPatch$Outbound = { + rfpEmailEnabled?: boolean | null | undefined; + pdfLinkEnabled?: boolean | null | undefined; + supplierContactRole?: string | null | undefined; +}; + +/** @internal */ +export const LeadCatcherConfigPatch$outboundSchema: z.ZodType< + LeadCatcherConfigPatch$Outbound, + z.ZodTypeDef, + LeadCatcherConfigPatch +> = z.object({ + rfpEmailEnabled: z.nullable(z.boolean()).optional(), + pdfLinkEnabled: z.nullable(z.boolean()).optional(), + supplierContactRole: z.nullable(z.string()).optional(), +}); + +export function leadCatcherConfigPatchToJSON( + leadCatcherConfigPatch: LeadCatcherConfigPatch, +): string { + return JSON.stringify( + LeadCatcherConfigPatch$outboundSchema.parse(leadCatcherConfigPatch), + ); +} +export function leadCatcherConfigPatchFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LeadCatcherConfigPatch$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LeadCatcherConfigPatch' from JSON`, + ); +} + +/** @internal */ +export const LeadCatcherPatch$inboundSchema: z.ZodType< + LeadCatcherPatch, + z.ZodTypeDef, + unknown +> = z.object({ + firstName: z.nullable(z.string()).optional(), + lastName: z.nullable(z.string()).optional(), + title: z.nullable(z.string()).optional(), + email: z.nullable(z.string()).optional(), + phone: z.nullable(z.string()).optional(), + fax: z.nullable(z.string()).optional(), + address: z.nullable(z.lazy(() => LeadCatcherAddressPatch$inboundSchema)) + .optional(), + locale: z.nullable(z.string()).optional(), + config: z.nullable(z.lazy(() => LeadCatcherConfigPatch$inboundSchema)) + .optional(), + additionalInfo: z.nullable(z.string()).optional(), +}); +/** @internal */ +export type LeadCatcherPatch$Outbound = { + firstName?: string | null | undefined; + lastName?: string | null | undefined; + title?: string | null | undefined; + email?: string | null | undefined; + phone?: string | null | undefined; + fax?: string | null | undefined; + address?: LeadCatcherAddressPatch$Outbound | null | undefined; + locale?: string | null | undefined; + config?: LeadCatcherConfigPatch$Outbound | null | undefined; + additionalInfo?: string | null | undefined; +}; + +/** @internal */ +export const LeadCatcherPatch$outboundSchema: z.ZodType< + LeadCatcherPatch$Outbound, + z.ZodTypeDef, + LeadCatcherPatch +> = z.object({ + firstName: z.nullable(z.string()).optional(), + lastName: z.nullable(z.string()).optional(), + title: z.nullable(z.string()).optional(), + email: z.nullable(z.string()).optional(), + phone: z.nullable(z.string()).optional(), + fax: z.nullable(z.string()).optional(), + address: z.nullable(z.lazy(() => LeadCatcherAddressPatch$outboundSchema)) + .optional(), + locale: z.nullable(z.string()).optional(), + config: z.nullable(z.lazy(() => LeadCatcherConfigPatch$outboundSchema)) + .optional(), + additionalInfo: z.nullable(z.string()).optional(), +}); + +export function leadCatcherPatchToJSON( + leadCatcherPatch: LeadCatcherPatch, +): string { + return JSON.stringify( + LeadCatcherPatch$outboundSchema.parse(leadCatcherPatch), + ); +} +export function leadCatcherPatchFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LeadCatcherPatch$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LeadCatcherPatch' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/leadcatchersoverviewresponse.ts b/packages/typescript/src/models/components/leadcatchersoverviewresponse.ts new file mode 100644 index 000000000..0ec9de595 --- /dev/null +++ b/packages/typescript/src/models/components/leadcatchersoverviewresponse.ts @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + LeadCatcherOverview, + LeadCatcherOverview$inboundSchema, +} from "./leadcatcheroverview.js"; +import { Paging, Paging$inboundSchema } from "./paging.js"; + +/** + * Paginated overview of lead catchers for a venue. + */ +export type LeadCatchersOverviewResponse = { + /** + * Represents pagination information for a collection of resources. + */ + paging: Paging; + /** + * Each item is a lightweight, non-PII overview of a lead catcher for the venue, containing only the `id`, `firstName`, and `lastName`. + */ + data: Array; +}; + +/** @internal */ +export const LeadCatchersOverviewResponse$inboundSchema: z.ZodType< + LeadCatchersOverviewResponse, + z.ZodTypeDef, + unknown +> = z.object({ + paging: Paging$inboundSchema, + data: z.array(LeadCatcherOverview$inboundSchema), +}); + +export function leadCatchersOverviewResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LeadCatchersOverviewResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LeadCatchersOverviewResponse' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/localelanguagevariant.ts b/packages/typescript/src/models/components/localelanguagevariant.ts new file mode 100644 index 000000000..675bb80bd --- /dev/null +++ b/packages/typescript/src/models/components/localelanguagevariant.ts @@ -0,0 +1,282 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Language locale of a Lead Catcher contact. + * + * @remarks + * + * Values: + * - `zh-CHS` — Chinese (Simplified) Legacy + * - `zh-TW` — Chinese (Traditional, Taiwan) + * - `de-DE` — German (Germany) + * - `en-US` — English (United States) + * - `fi-FI` — Finnish (Finland) + * - `fr-FR` — French (France) + * - `it-IT` — Italian (Italy) + * - `ja-JP` — Japanese (Japan) + * - `ko-KR` — Korean (Korea) + * - `nl-NL` — Dutch (Netherlands) + * - `pt-BR` — Portuguese (Brazil) + * - `ru-RU` — Russian (Russia) + * - `sv-SE` — Swedish (Sweden) + * - `th-TH` — Thai (Thailand) + * - `tr-TR` — Turkish (Turkey) + * - `uk-UA` — Ukrainian (Ukraine) + * - `zh-CN` — Chinese (Simplified, China) + * - `de-CH` — German (Switzerland) + * - `en-GB` — English (United Kingdom) + * - `es-MX` — Spanish (Mexico) + * - `fr-BE` — French (Belgium) + * - `it-CH` — Italian (Switzerland) + * - `nl-BE` — Dutch (Belgium) + * - `pt-PT` — Portuguese (Portugal) + * - `ru-MD` — Russian (Moldova) + * - `sv-FI` — Swedish (Finland) + * - `zh-HK` — Chinese (Traditional, Hong Kong SAR) + * - `de-AT` — German (Austria) + * - `en-AU` — English (Australia) + * - `es-ES` — Spanish (Spain, International Sort) + * - `fr-CA` — French (Canada) + * - `zh-SG` — Chinese (Simplified, Singapore) + * - `de-LU` — German (Luxembourg) + * - `en-CA` — English (Canada) + * - `es-GT` — Spanish (Guatemala) + * - `fr-CH` — French (Switzerland) + * - `zh-MO` — Chinese (Traditional, Macao SAR) + * - `de-LI` — German (Liechtenstein) + * - `en-NZ` — English (New Zealand) + * - `es-CR` — Spanish (Costa Rica) + * - `fr-LU` — French (Luxembourg) + * - `en-IE` — English (Ireland) + * - `es-PA` — Spanish (Panama) + * - `fr-MC` — French (Monaco) + * - `en-ZA` — English (South Africa) + * - `es-DO` — Spanish (Dominican Republic) + * - `fr-029` — French (Caribbean) + * - `en-JM` — English (Jamaica) + * - `es-VE` — Spanish (Venezuela) + * - `fr-RE` — French (Réunion) + * - `en-029` — English (Caribbean) + * - `es-CO` — Spanish (Colombia) + * - `fr-CD` — French Congo (DRC) + * - `en-BZ` — English (Belize) + * - `es-PE` — Spanish (Peru) + * - `fr-SN` — French (Senegal) + * - `en-TT` — English (Trinidad and Tobago) + * - `es-AR` — Spanish (Argentina) + * - `fr-CM` — French (Cameroon) + * - `en-ZW` — English (Zimbabwe) + * - `es-EC` — Spanish (Ecuador) + * - `fr-CI` — French (Côte d'Ivoire) + * - `en-PH` — English (Philippines) + * - `es-CL` — Spanish (Chile) + * - `fr-ML` — French (Mali) + * - `en-ID` — English (Indonesia) + * - `es-UY` — Spanish (Uruguay) + * - `fr-MA` — French (Morocco) + * - `en-HK` — English (Hong Kong SAR) + * - `es-PY` — Spanish (Paraguay) + * - `fr-HT` — French (Haiti) + * - `en-IN` — English (India) + * - `es-BO` — Spanish (Bolivia) + * - `en-MY` — English (Malaysia) + * - `es-SV` — Spanish (El Salvador) + * - `en-SG` — English (Singapore) + * - `es-HN` — Spanish (Honduras) + * - `es-NI` — Spanish (Nicaragua) + * - `es-PR` — Spanish (Puerto Rico) + * - `es-US` — Spanish (United States) + * - `es-419` — Spanish (Latin America) + * - `es-CU` — Spanish (Cuba) + * - `zh-CHT` — Chinese (Traditional) Legacy + */ +export const LocaleLanguageVariant = { + ZhCHS: "zh-CHS", + ZhTW: "zh-TW", + DEDE: "de-DE", + EnUS: "en-US", + FIFI: "fi-FI", + FRFR: "fr-FR", + ITIT: "it-IT", + JaJP: "ja-JP", + KoKR: "ko-KR", + NLNL: "nl-NL", + PtBR: "pt-BR", + RURU: "ru-RU", + SvSE: "sv-SE", + THTH: "th-TH", + TRTR: "tr-TR", + UkUA: "uk-UA", + ZhCN: "zh-CN", + DeCH: "de-CH", + EnGB: "en-GB", + EsMX: "es-MX", + FrBE: "fr-BE", + ItCH: "it-CH", + NlBE: "nl-BE", + PTPT: "pt-PT", + RuMD: "ru-MD", + SvFI: "sv-FI", + ZhHK: "zh-HK", + DeAT: "de-AT", + EnAU: "en-AU", + ESES: "es-ES", + FrCA: "fr-CA", + ZhSG: "zh-SG", + DeLU: "de-LU", + EnCA: "en-CA", + EsGT: "es-GT", + FrCH: "fr-CH", + ZhMO: "zh-MO", + DeLI: "de-LI", + EnNZ: "en-NZ", + EsCR: "es-CR", + FrLU: "fr-LU", + EnIE: "en-IE", + EsPA: "es-PA", + FrMC: "fr-MC", + EnZA: "en-ZA", + EsDO: "es-DO", + Fr029: "fr-029", + EnJM: "en-JM", + EsVE: "es-VE", + FrRE: "fr-RE", + En029: "en-029", + EsCO: "es-CO", + FrCD: "fr-CD", + EnBZ: "en-BZ", + EsPE: "es-PE", + FrSN: "fr-SN", + EnTT: "en-TT", + EsAR: "es-AR", + FrCM: "fr-CM", + EnZW: "en-ZW", + EsEC: "es-EC", + FrCI: "fr-CI", + EnPH: "en-PH", + EsCL: "es-CL", + FrML: "fr-ML", + EnID: "en-ID", + EsUY: "es-UY", + FrMA: "fr-MA", + EnHK: "en-HK", + EsPY: "es-PY", + FrHT: "fr-HT", + EnIN: "en-IN", + EsBO: "es-BO", + EnMY: "en-MY", + EsSV: "es-SV", + EnSG: "en-SG", + EsHN: "es-HN", + EsNI: "es-NI", + EsPR: "es-PR", + EsUS: "es-US", + Es419: "es-419", + EsCU: "es-CU", + ZhCHT: "zh-CHT", +} as const; +/** + * Language locale of a Lead Catcher contact. + * + * @remarks + * + * Values: + * - `zh-CHS` — Chinese (Simplified) Legacy + * - `zh-TW` — Chinese (Traditional, Taiwan) + * - `de-DE` — German (Germany) + * - `en-US` — English (United States) + * - `fi-FI` — Finnish (Finland) + * - `fr-FR` — French (France) + * - `it-IT` — Italian (Italy) + * - `ja-JP` — Japanese (Japan) + * - `ko-KR` — Korean (Korea) + * - `nl-NL` — Dutch (Netherlands) + * - `pt-BR` — Portuguese (Brazil) + * - `ru-RU` — Russian (Russia) + * - `sv-SE` — Swedish (Sweden) + * - `th-TH` — Thai (Thailand) + * - `tr-TR` — Turkish (Turkey) + * - `uk-UA` — Ukrainian (Ukraine) + * - `zh-CN` — Chinese (Simplified, China) + * - `de-CH` — German (Switzerland) + * - `en-GB` — English (United Kingdom) + * - `es-MX` — Spanish (Mexico) + * - `fr-BE` — French (Belgium) + * - `it-CH` — Italian (Switzerland) + * - `nl-BE` — Dutch (Belgium) + * - `pt-PT` — Portuguese (Portugal) + * - `ru-MD` — Russian (Moldova) + * - `sv-FI` — Swedish (Finland) + * - `zh-HK` — Chinese (Traditional, Hong Kong SAR) + * - `de-AT` — German (Austria) + * - `en-AU` — English (Australia) + * - `es-ES` — Spanish (Spain, International Sort) + * - `fr-CA` — French (Canada) + * - `zh-SG` — Chinese (Simplified, Singapore) + * - `de-LU` — German (Luxembourg) + * - `en-CA` — English (Canada) + * - `es-GT` — Spanish (Guatemala) + * - `fr-CH` — French (Switzerland) + * - `zh-MO` — Chinese (Traditional, Macao SAR) + * - `de-LI` — German (Liechtenstein) + * - `en-NZ` — English (New Zealand) + * - `es-CR` — Spanish (Costa Rica) + * - `fr-LU` — French (Luxembourg) + * - `en-IE` — English (Ireland) + * - `es-PA` — Spanish (Panama) + * - `fr-MC` — French (Monaco) + * - `en-ZA` — English (South Africa) + * - `es-DO` — Spanish (Dominican Republic) + * - `fr-029` — French (Caribbean) + * - `en-JM` — English (Jamaica) + * - `es-VE` — Spanish (Venezuela) + * - `fr-RE` — French (Réunion) + * - `en-029` — English (Caribbean) + * - `es-CO` — Spanish (Colombia) + * - `fr-CD` — French Congo (DRC) + * - `en-BZ` — English (Belize) + * - `es-PE` — Spanish (Peru) + * - `fr-SN` — French (Senegal) + * - `en-TT` — English (Trinidad and Tobago) + * - `es-AR` — Spanish (Argentina) + * - `fr-CM` — French (Cameroon) + * - `en-ZW` — English (Zimbabwe) + * - `es-EC` — Spanish (Ecuador) + * - `fr-CI` — French (Côte d'Ivoire) + * - `en-PH` — English (Philippines) + * - `es-CL` — Spanish (Chile) + * - `fr-ML` — French (Mali) + * - `en-ID` — English (Indonesia) + * - `es-UY` — Spanish (Uruguay) + * - `fr-MA` — French (Morocco) + * - `en-HK` — English (Hong Kong SAR) + * - `es-PY` — Spanish (Paraguay) + * - `fr-HT` — French (Haiti) + * - `en-IN` — English (India) + * - `es-BO` — Spanish (Bolivia) + * - `en-MY` — English (Malaysia) + * - `es-SV` — Spanish (El Salvador) + * - `en-SG` — English (Singapore) + * - `es-HN` — Spanish (Honduras) + * - `es-NI` — Spanish (Nicaragua) + * - `es-PR` — Spanish (Puerto Rico) + * - `es-US` — Spanish (United States) + * - `es-419` — Spanish (Latin America) + * - `es-CU` — Spanish (Cuba) + * - `zh-CHT` — Chinese (Traditional) Legacy + */ +export type LocaleLanguageVariant = ClosedEnum; + +/** @internal */ +export const LocaleLanguageVariant$inboundSchema: z.ZodNativeEnum< + typeof LocaleLanguageVariant +> = z.nativeEnum(LocaleLanguageVariant); +/** @internal */ +export const LocaleLanguageVariant$outboundSchema: z.ZodNativeEnum< + typeof LocaleLanguageVariant +> = LocaleLanguageVariant$inboundSchema; diff --git a/packages/typescript/src/models/components/questionspaginatedresponse1.ts b/packages/typescript/src/models/components/questionspaginatedresponse1.ts index e81d064fa..51503dea4 100644 --- a/packages/typescript/src/models/components/questionspaginatedresponse1.ts +++ b/packages/typescript/src/models/components/questionspaginatedresponse1.ts @@ -8,9 +8,9 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Paging, Paging$inboundSchema } from "./paging.js"; import { - TravelProgramQuestion, - TravelProgramQuestion$inboundSchema, -} from "./travelprogramquestion.js"; + QuestionWithProgramId, + QuestionWithProgramId$inboundSchema, +} from "./questionwithprogramid.js"; /** * A paginated list of Questions. @@ -23,7 +23,7 @@ export type QuestionsPaginatedResponse1 = { /** * Collection of Questions. */ - data?: Array | undefined; + data?: Array | undefined; }; /** @internal */ @@ -33,7 +33,7 @@ export const QuestionsPaginatedResponse1$inboundSchema: z.ZodType< unknown > = z.object({ paging: Paging$inboundSchema.optional(), - data: z.array(TravelProgramQuestion$inboundSchema).optional(), + data: z.array(QuestionWithProgramId$inboundSchema).optional(), }); export function questionsPaginatedResponse1FromJSON( diff --git a/packages/typescript/src/models/components/questionwithprogramid.ts b/packages/typescript/src/models/components/questionwithprogramid.ts new file mode 100644 index 000000000..803caa767 --- /dev/null +++ b/packages/typescript/src/models/components/questionwithprogramid.ts @@ -0,0 +1,138 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + QuestionResponseDataType, + QuestionResponseDataType$inboundSchema, +} from "./questionresponsedatatype.js"; +import { + QuestionResponseFormat, + QuestionResponseFormat$inboundSchema, +} from "./questionresponseformat.js"; +import { + QuestionResponseType, + QuestionResponseType$inboundSchema, +} from "./questionresponsetype.js"; + +/** + * Travel program that the question belongs to. + */ +export type QuestionWithProgramIdTravelProgram = { + /** + * The unique ID of the travel program. + */ + id?: string | undefined; +}; + +/** + * A question, defined by the program, for the supplier to answer as part of their proposal. + */ +export type QuestionWithProgramId = { + /** + * The ISO 8601 zoned date time when this record was created. + */ + created?: Date | undefined; + /** + * The identifier of the user that created this record. + */ + createdBy?: string | undefined; + /** + * The ISO 8601 zoned date time when this record was updated. + */ + lastModified?: Date | undefined; + /** + * The identifier of the user that last updated this record. + */ + lastModifiedBy?: string | undefined; + /** + * Travel program that the question belongs to. + */ + travelProgram?: QuestionWithProgramIdTravelProgram | undefined; + /** + * The unique ID of the question. + */ + id?: string | undefined; + /** + * The text of the question. + */ + text?: string | undefined; + /** + * Is this question required by default? + */ + required?: boolean | undefined; + /** + * Code representing the type of response supported. Single represents a simple single value response, and choice means the user will be given a set of options for selection. + */ + responseType?: QuestionResponseType | undefined; + /** + * Code representing the expected data type of the question response. + */ + responseDataType?: QuestionResponseDataType | undefined; + /** + * Code representing the format the text of the response will be in. + */ + responseFormat?: QuestionResponseFormat | undefined; + /** + * A list of options for the question. This only applies when responseType is 'choice' + */ + responseChoices?: Array | undefined; +}; + +/** @internal */ +export const QuestionWithProgramIdTravelProgram$inboundSchema: z.ZodType< + QuestionWithProgramIdTravelProgram, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), +}); + +export function questionWithProgramIdTravelProgramFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + QuestionWithProgramIdTravelProgram$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'QuestionWithProgramIdTravelProgram' from JSON`, + ); +} + +/** @internal */ +export const QuestionWithProgramId$inboundSchema: z.ZodType< + QuestionWithProgramId, + z.ZodTypeDef, + unknown +> = z.object({ + created: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + createdBy: z.string().optional(), + lastModified: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), + lastModifiedBy: z.string().optional(), + travelProgram: z.lazy(() => QuestionWithProgramIdTravelProgram$inboundSchema) + .optional(), + id: z.string().optional(), + text: z.string().optional(), + required: z.boolean().optional(), + responseType: QuestionResponseType$inboundSchema.optional(), + responseDataType: QuestionResponseDataType$inboundSchema.optional(), + responseFormat: QuestionResponseFormat$inboundSchema.optional(), + responseChoices: z.array(z.string()).optional(), +}); + +export function questionWithProgramIdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => QuestionWithProgramId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'QuestionWithProgramId' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/rfp2.ts b/packages/typescript/src/models/components/rfp2.ts index b0ab9c700..edd5508e2 100644 --- a/packages/typescript/src/models/components/rfp2.ts +++ b/packages/typescript/src/models/components/rfp2.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { safeParse } from "../../lib/schemas.js"; +import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { RFCDate } from "../../types/rfcdate.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; @@ -40,7 +41,6 @@ import { import { RecipientInfo, RecipientInfo$inboundSchema } from "./recipientinfo.js"; import { RfpEvent, RfpEvent$inboundSchema } from "./rfpevent.js"; import { RfpStatus1, RfpStatus1$inboundSchema } from "./rfpstatus1.js"; -import { RfpType1, RfpType1$inboundSchema } from "./rfptype1.js"; import { VenueIntegrationPreference, VenueIntegrationPreference$inboundSchema, @@ -54,6 +54,21 @@ import { WeddingDetails1$inboundSchema, } from "./weddingdetails1.js"; +/** + * RFP types based on event requirements. + */ +export const RfpType = { + MeetingSpaceAndGuestRooms: "MEETING_SPACE_AND_GUEST_ROOMS", + MeetingSpaceOnly: "MEETING_SPACE_ONLY", + GuestRoomsOnly: "GUEST_ROOMS_ONLY", + RestaurantRfp: "RESTAURANT_RFP", + ServiceProvider: "SERVICE_PROVIDER", +} as const; +/** + * RFP types based on event requirements. + */ +export type RfpType = ClosedEnum; + /** * Basic RFP details */ @@ -209,7 +224,7 @@ export type Rfp2 = { */ feeTransparencyEnabled: boolean; /** - * DEPRECATED: Use [venueIntegrationPreference](#schema/VenueIntegrationPreference) instead. Venue integrations the planner prefers when sourcing venues. An empty array or absent field indicates no preference has been recorded. + * DEPRECATED: Use `venueIntegrationPreference` instead. Venue integrations the planner prefers when sourcing venues. An empty array or absent field indicates no preference has been recorded. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ @@ -230,10 +245,7 @@ export type Rfp2 = { * Represents state of the RFP. */ status?: RfpStatus1 | undefined; - /** - * RFP types based on event requirements. - */ - type?: RfpType1 | undefined; + type?: RfpType | undefined; /** * Details of the user who approved the RFP. */ @@ -284,6 +296,10 @@ export type Rfp2 = { aiRfpGenerationSource?: string | undefined; }; +/** @internal */ +export const RfpType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(RfpType); + /** @internal */ export const Rfp2$inboundSchema: z.ZodType = z .object({ @@ -335,7 +351,7 @@ export const Rfp2$inboundSchema: z.ZodType = z id: z.string(), code: z.string().optional(), status: RfpStatus1$inboundSchema.optional(), - type: RfpType1$inboundSchema.optional(), + type: RfpType$inboundSchema.optional(), approvedBy: z.string().optional(), approvedDateTime: z.string().datetime({ offset: true }).transform(v => new Date(v) diff --git a/packages/typescript/src/models/components/rfpquestion.ts b/packages/typescript/src/models/components/rfpquestion.ts index 258e4c4a6..3db3a87b0 100644 --- a/packages/typescript/src/models/components/rfpquestion.ts +++ b/packages/typescript/src/models/components/rfpquestion.ts @@ -205,11 +205,11 @@ export type RfpQuestion = { /** * List of supplier types that can view the question on the RFP. */ - supplierTypes?: Array | undefined; + supplierTypes: Array; /** * Indicates the types of RFP that can be assigned this custom question. `MEETING_ROOM`: Meeting room type RFPs can be assigned this custom question. `GUEST_ROOM`: Guest room type RFPs can be assigned this custom question. `ALL_RFPS`: All RFPs can be assigned this custom question. */ - classificationType?: QuestionClassificationType | undefined; + classificationType: QuestionClassificationType; /** * Determines the display order for questions on the RFP. Questions with smaller values appear first. */ @@ -288,8 +288,8 @@ export const RfpQuestion$inboundSchema: z.ZodType< maxLength: z.number().int().default(500), textAnswerFormat: TextAnswerFormat$inboundSchema.optional(), customAnswerFormat: z.lazy(() => CustomAnswerFormat$inboundSchema).optional(), - supplierTypes: z.array(SupplierType$inboundSchema).optional(), - classificationType: QuestionClassificationType$inboundSchema.optional(), + supplierTypes: z.array(SupplierType$inboundSchema), + classificationType: QuestionClassificationType$inboundSchema, order: z.number().int().optional(), standardQuestion: StandardQuestion$inboundSchema.optional(), aiQuestionGenerationSource: z.string().optional(), diff --git a/packages/typescript/src/models/components/rfptype1.ts b/packages/typescript/src/models/components/rfptype1.ts deleted file mode 100644 index 086be2843..000000000 --- a/packages/typescript/src/models/components/rfptype1.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { ClosedEnum } from "../../types/enums.js"; - -/** - * RFP types based on event requirements. - */ -export const RfpType1 = { - MeetingSpaceAndGuestRooms: "MEETING_SPACE_AND_GUEST_ROOMS", - MeetingSpaceOnly: "MEETING_SPACE_ONLY", - GuestRoomsOnly: "GUEST_ROOMS_ONLY", - RestaurantRfp: "RESTAURANT_RFP", - ServiceProvider: "SERVICE_PROVIDER", -} as const; -/** - * RFP types based on event requirements. - */ -export type RfpType1 = ClosedEnum; - -/** @internal */ -export const RfpType1$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(RfpType1); diff --git a/packages/typescript/src/models/components/travelprogram.ts b/packages/typescript/src/models/components/travelprogram.ts index e4997ff13..7e15c2f1c 100644 --- a/packages/typescript/src/models/components/travelprogram.ts +++ b/packages/typescript/src/models/components/travelprogram.ts @@ -12,9 +12,9 @@ import { TravelProgramFormatType$inboundSchema, } from "./travelprogramformattype.js"; import { - TravelProgramQuestion1, - TravelProgramQuestion1$inboundSchema, -} from "./travelprogramquestion1.js"; + TravelProgramQuestion, + TravelProgramQuestion$inboundSchema, +} from "./travelprogramquestion.js"; import { TravelProgramStatus, TravelProgramStatus$inboundSchema, @@ -109,7 +109,7 @@ export type TravelProgram = { /** * A list of program specific questions for the supplier to answer as part of their proposal. */ - questions?: Array | undefined; + questions?: Array | undefined; }; /** @internal */ @@ -157,7 +157,7 @@ export const TravelProgram$inboundSchema: z.ZodType< endDate: z.string().transform(v => new RFCDate(v)).optional(), dueDate: z.string().transform(v => new RFCDate(v)).optional(), closeoutDate: z.string().transform(v => new RFCDate(v)).optional(), - questions: z.array(TravelProgramQuestion1$inboundSchema).optional(), + questions: z.array(TravelProgramQuestion$inboundSchema).optional(), }); export function travelProgramFromJSON( diff --git a/packages/typescript/src/models/components/travelprogramquestion.ts b/packages/typescript/src/models/components/travelprogramquestion.ts index ab4a3b303..3f608d7c1 100644 --- a/packages/typescript/src/models/components/travelprogramquestion.ts +++ b/packages/typescript/src/models/components/travelprogramquestion.ts @@ -7,124 +7,42 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { - QuestionResponseDataType, - QuestionResponseDataType$inboundSchema, -} from "./questionresponsedatatype.js"; -import { - QuestionResponseFormat, - QuestionResponseFormat$inboundSchema, -} from "./questionresponseformat.js"; -import { - QuestionResponseType, - QuestionResponseType$inboundSchema, -} from "./questionresponsetype.js"; + QuestionSection, + QuestionSection$inboundSchema, +} from "./questionsection.js"; /** - * Travel program that the question belongs to. - */ -export type TravelProgramQuestionTravelProgram = { - /** - * The unique ID of the travel program. - */ - id?: string | undefined; -}; - -/** - * A question, defined by the program, for the supplier to answer as part of their proposal. + * A question, defined by the account, for the supplier to answer as part of their proposal. */ export type TravelProgramQuestion = { /** - * The ISO 8601 zoned date time when this record was created. - */ - created?: Date | undefined; - /** - * The identifier of the user that created this record. - */ - createdBy?: string | undefined; - /** - * The ISO 8601 zoned date time when this record was updated. - */ - lastModified?: Date | undefined; - /** - * The identifier of the user that last updated this record. - */ - lastModifiedBy?: string | undefined; - /** - * Travel program that the question belongs to. - */ - travelProgram?: TravelProgramQuestionTravelProgram | undefined; - /** - * The unique ID of the question. + * The unique ID of the custom question. */ - id?: string | undefined; + questionId?: string | undefined; /** - * The text of the question. + * Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. */ - text?: string | undefined; + section?: QuestionSection | undefined; /** - * Is this question required by default? + * Is it required for suppliers to answer this question in their proposal? */ required?: boolean | undefined; /** - * Code representing the type of response supported. Single represents a simple single value response, and choice means the user will be given a set of options for selection. + * The sequence number of the question within the proposal. */ - responseType?: QuestionResponseType | undefined; - /** - * Code representing the expected data type of the question response. - */ - responseDataType?: QuestionResponseDataType | undefined; - /** - * Code representing the format the text of the response will be in. - */ - responseFormat?: QuestionResponseFormat | undefined; - /** - * A list of options for the question. This only applies when responseType is 'choice' - */ - responseChoices?: Array | undefined; + sequence?: number | undefined; }; -/** @internal */ -export const TravelProgramQuestionTravelProgram$inboundSchema: z.ZodType< - TravelProgramQuestionTravelProgram, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string().optional(), -}); - -export function travelProgramQuestionTravelProgramFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - TravelProgramQuestionTravelProgram$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelProgramQuestionTravelProgram' from JSON`, - ); -} - /** @internal */ export const TravelProgramQuestion$inboundSchema: z.ZodType< TravelProgramQuestion, z.ZodTypeDef, unknown > = z.object({ - created: z.string().datetime({ offset: true }).transform(v => new Date(v)) - .optional(), - createdBy: z.string().optional(), - lastModified: z.string().datetime({ offset: true }).transform(v => - new Date(v) - ).optional(), - lastModifiedBy: z.string().optional(), - travelProgram: z.lazy(() => TravelProgramQuestionTravelProgram$inboundSchema) - .optional(), - id: z.string().optional(), - text: z.string().optional(), + questionId: z.string().optional(), + section: QuestionSection$inboundSchema.optional(), required: z.boolean().optional(), - responseType: QuestionResponseType$inboundSchema.optional(), - responseDataType: QuestionResponseDataType$inboundSchema.optional(), - responseFormat: QuestionResponseFormat$inboundSchema.optional(), - responseChoices: z.array(z.string()).optional(), + sequence: z.number().int().optional(), }); export function travelProgramQuestionFromJSON( diff --git a/packages/typescript/src/models/components/travelprogramquestion1.ts b/packages/typescript/src/models/components/travelprogramquestion1.ts deleted file mode 100644 index d2b16d2fe..000000000 --- a/packages/typescript/src/models/components/travelprogramquestion1.ts +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v3"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import { - QuestionSection, - QuestionSection$inboundSchema, -} from "./questionsection.js"; - -/** - * A question, defined by the account, for the supplier to answer as part of their proposal. - */ -export type TravelProgramQuestion1 = { - /** - * The unique ID of the custom question. - */ - questionId?: string | undefined; - /** - * Code representing the section where the question belongs. Currently, program_client (client specific) and program_g_and_m (group and meeting) are supported. - */ - section?: QuestionSection | undefined; - /** - * Is it required for suppliers to answer this question in their proposal? - */ - required?: boolean | undefined; - /** - * The sequence number of the question within the proposal. - */ - sequence?: number | undefined; -}; - -/** @internal */ -export const TravelProgramQuestion1$inboundSchema: z.ZodType< - TravelProgramQuestion1, - z.ZodTypeDef, - unknown -> = z.object({ - questionId: z.string().optional(), - section: QuestionSection$inboundSchema.optional(), - required: z.boolean().optional(), - sequence: z.number().int().optional(), -}); - -export function travelProgramQuestion1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TravelProgramQuestion1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TravelProgramQuestion1' from JSON`, - ); -} diff --git a/packages/typescript/src/models/components/venueamenityalcohol.ts b/packages/typescript/src/models/components/venueamenityalcohol.ts new file mode 100644 index 000000000..28a940066 --- /dev/null +++ b/packages/typescript/src/models/components/venueamenityalcohol.ts @@ -0,0 +1,28 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Alcohol-related policy at a venue. + */ +export const VenueAmenityAlcohol = { + AlcoholAllowed: "ALCOHOL_ALLOWED", + BringYourOwn: "BRING_YOUR_OWN", + PreferredVendorsOnly: "PREFERRED_VENDORS_ONLY", +} as const; +/** + * Alcohol-related policy at a venue. + */ +export type VenueAmenityAlcohol = ClosedEnum; + +/** @internal */ +export const VenueAmenityAlcohol$inboundSchema: z.ZodNativeEnum< + typeof VenueAmenityAlcohol +> = z.nativeEnum(VenueAmenityAlcohol); +/** @internal */ +export const VenueAmenityAlcohol$outboundSchema: z.ZodNativeEnum< + typeof VenueAmenityAlcohol +> = VenueAmenityAlcohol$inboundSchema; diff --git a/packages/typescript/src/models/components/venueamenityavcapability.ts b/packages/typescript/src/models/components/venueamenityavcapability.ts new file mode 100644 index 000000000..8f5ce0461 --- /dev/null +++ b/packages/typescript/src/models/components/venueamenityavcapability.ts @@ -0,0 +1,44 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Audio-visual capability available at a venue. + * + * @remarks + * + * Values: + * - `AV_EQUIPMENT` — AV Equipment + * - `HIGH_SPEED_INTERNET` — High Speed Internet + * - `ONSITE_AV_STAFF` — Onsite AV Staff + */ +export const VenueAmenityAVCapability = { + AvEquipment: "AV_EQUIPMENT", + HighSpeedInternet: "HIGH_SPEED_INTERNET", + OnsiteAvStaff: "ONSITE_AV_STAFF", +} as const; +/** + * Audio-visual capability available at a venue. + * + * @remarks + * + * Values: + * - `AV_EQUIPMENT` — AV Equipment + * - `HIGH_SPEED_INTERNET` — High Speed Internet + * - `ONSITE_AV_STAFF` — Onsite AV Staff + */ +export type VenueAmenityAVCapability = ClosedEnum< + typeof VenueAmenityAVCapability +>; + +/** @internal */ +export const VenueAmenityAVCapability$inboundSchema: z.ZodNativeEnum< + typeof VenueAmenityAVCapability +> = z.nativeEnum(VenueAmenityAVCapability); +/** @internal */ +export const VenueAmenityAVCapability$outboundSchema: z.ZodNativeEnum< + typeof VenueAmenityAVCapability +> = VenueAmenityAVCapability$inboundSchema; diff --git a/packages/typescript/src/models/components/venueamenityavcapabilityitem.ts b/packages/typescript/src/models/components/venueamenityavcapabilityitem.ts new file mode 100644 index 000000000..aa63bcc8b --- /dev/null +++ b/packages/typescript/src/models/components/venueamenityavcapabilityitem.ts @@ -0,0 +1,78 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + VenueAmenityAVCapability, + VenueAmenityAVCapability$inboundSchema, + VenueAmenityAVCapability$outboundSchema, +} from "./venueamenityavcapability.js"; + +/** + * An AV capability selection for a venue. An internet speed may be provided when the selected amenity is `HIGH_SPEED_INTERNET`. + */ +export type VenueAmenityAvCapabilityItem = { + /** + * Audio-visual capability available at a venue. + * + * @remarks + * + * Values: + * - `AV_EQUIPMENT` — AV Equipment + * - `HIGH_SPEED_INTERNET` — High Speed Internet + * - `ONSITE_AV_STAFF` — Onsite AV Staff + */ + amenity: VenueAmenityAVCapability; + /** + * Internet connection speed in Mbps. Applicable only when `amenity` is `HIGH_SPEED_INTERNET`. + */ + speed?: number | undefined; +}; + +/** @internal */ +export const VenueAmenityAvCapabilityItem$inboundSchema: z.ZodType< + VenueAmenityAvCapabilityItem, + z.ZodTypeDef, + unknown +> = z.object({ + amenity: VenueAmenityAVCapability$inboundSchema, + speed: z.number().int().optional(), +}); +/** @internal */ +export type VenueAmenityAvCapabilityItem$Outbound = { + amenity: string; + speed?: number | undefined; +}; + +/** @internal */ +export const VenueAmenityAvCapabilityItem$outboundSchema: z.ZodType< + VenueAmenityAvCapabilityItem$Outbound, + z.ZodTypeDef, + VenueAmenityAvCapabilityItem +> = z.object({ + amenity: VenueAmenityAVCapability$outboundSchema, + speed: z.number().int().optional(), +}); + +export function venueAmenityAvCapabilityItemToJSON( + venueAmenityAvCapabilityItem: VenueAmenityAvCapabilityItem, +): string { + return JSON.stringify( + VenueAmenityAvCapabilityItem$outboundSchema.parse( + venueAmenityAvCapabilityItem, + ), + ); +} +export function venueAmenityAvCapabilityItemFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VenueAmenityAvCapabilityItem$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VenueAmenityAvCapabilityItem' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/venueamenitybusinessservice.ts b/packages/typescript/src/models/components/venueamenitybusinessservice.ts new file mode 100644 index 000000000..a9e8e2595 --- /dev/null +++ b/packages/typescript/src/models/components/venueamenitybusinessservice.ts @@ -0,0 +1,31 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Business or communications service available at a venue. + */ +export const VenueAmenityBusinessService = { + AudiovideoCapabilities: "AUDIOVIDEO_CAPABILITIES", + BusinessCenter: "BUSINESS_CENTER", + VideoConferencing: "VIDEO_CONFERENCING", + VipServices: "VIP_SERVICES", +} as const; +/** + * Business or communications service available at a venue. + */ +export type VenueAmenityBusinessService = ClosedEnum< + typeof VenueAmenityBusinessService +>; + +/** @internal */ +export const VenueAmenityBusinessService$inboundSchema: z.ZodNativeEnum< + typeof VenueAmenityBusinessService +> = z.nativeEnum(VenueAmenityBusinessService); +/** @internal */ +export const VenueAmenityBusinessService$outboundSchema: z.ZodNativeEnum< + typeof VenueAmenityBusinessService +> = VenueAmenityBusinessService$inboundSchema; diff --git a/packages/typescript/src/models/components/venueamenitycateringdetail.ts b/packages/typescript/src/models/components/venueamenitycateringdetail.ts new file mode 100644 index 000000000..31dde6391 --- /dev/null +++ b/packages/typescript/src/models/components/venueamenitycateringdetail.ts @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Catering option or policy offered at a venue. + */ +export const VenueAmenityCateringDetail = { + KitchenOnsite: "KITCHEN_ONSITE", + OnsiteCatering: "ONSITE_CATERING", + OutsideCaterersAllowed: "OUTSIDE_CATERERS_ALLOWED", +} as const; +/** + * Catering option or policy offered at a venue. + */ +export type VenueAmenityCateringDetail = ClosedEnum< + typeof VenueAmenityCateringDetail +>; + +/** @internal */ +export const VenueAmenityCateringDetail$inboundSchema: z.ZodNativeEnum< + typeof VenueAmenityCateringDetail +> = z.nativeEnum(VenueAmenityCateringDetail); +/** @internal */ +export const VenueAmenityCateringDetail$outboundSchema: z.ZodNativeEnum< + typeof VenueAmenityCateringDetail +> = VenueAmenityCateringDetail$inboundSchema; diff --git a/packages/typescript/src/models/components/venueamenityequipment.ts b/packages/typescript/src/models/components/venueamenityequipment.ts new file mode 100644 index 000000000..1240922c4 --- /dev/null +++ b/packages/typescript/src/models/components/venueamenityequipment.ts @@ -0,0 +1,31 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Physical equipment or staging resource available for event use at a venue. + */ +export const VenueAmenityEquipment = { + DanceFloors: "DANCE_FLOORS", + LoadingDockAvailable: "LOADING_DOCK_AVAILABLE", + Piano: "PIANO", + PortableHeaters: "PORTABLE_HEATERS", + PortableWalls: "PORTABLE_WALLS", + Staging: "STAGING", +} as const; +/** + * Physical equipment or staging resource available for event use at a venue. + */ +export type VenueAmenityEquipment = ClosedEnum; + +/** @internal */ +export const VenueAmenityEquipment$inboundSchema: z.ZodNativeEnum< + typeof VenueAmenityEquipment +> = z.nativeEnum(VenueAmenityEquipment); +/** @internal */ +export const VenueAmenityEquipment$outboundSchema: z.ZodNativeEnum< + typeof VenueAmenityEquipment +> = VenueAmenityEquipment$inboundSchema; diff --git a/packages/typescript/src/models/components/venueamenityfacilityinfo.ts b/packages/typescript/src/models/components/venueamenityfacilityinfo.ts new file mode 100644 index 000000000..033ad389f --- /dev/null +++ b/packages/typescript/src/models/components/venueamenityfacilityinfo.ts @@ -0,0 +1,41 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * General facility feature or on-site service available at a venue. + */ +export const VenueAmenityFacilityInfo = { + AllInclusive: "ALL_INCLUSIVE", + BusinessCenter: "BUSINESS_CENTER", + Casino: "CASINO", + ExtendedStay: "EXTENDED_STAY", + FreeAirportShuttle: "FREE_AIRPORT_SHUTTLE", + GiftShopOnSite: "GIFT_SHOP_ON_SITE", + Internet: "INTERNET", + OnsiteCatering: "ONSITE_CATERING", + OutsideCaterersAllowed: "OUTSIDE_CATERERS_ALLOWED", + PetsWelcome: "PETS_WELCOME", + RentalCarServices: "RENTAL_CAR_SERVICES", + RestaurantOnSite: "RESTAURANT_ON_SITE", + SecurityStaffOnsite: "SECURITY_STAFF_ONSITE", + WheelchairAccessible: "WHEELCHAIR_ACCESSIBLE", +} as const; +/** + * General facility feature or on-site service available at a venue. + */ +export type VenueAmenityFacilityInfo = ClosedEnum< + typeof VenueAmenityFacilityInfo +>; + +/** @internal */ +export const VenueAmenityFacilityInfo$inboundSchema: z.ZodNativeEnum< + typeof VenueAmenityFacilityInfo +> = z.nativeEnum(VenueAmenityFacilityInfo); +/** @internal */ +export const VenueAmenityFacilityInfo$outboundSchema: z.ZodNativeEnum< + typeof VenueAmenityFacilityInfo +> = VenueAmenityFacilityInfo$inboundSchema; diff --git a/packages/typescript/src/models/components/venueamenityfacilityspace.ts b/packages/typescript/src/models/components/venueamenityfacilityspace.ts new file mode 100644 index 000000000..acce771d3 --- /dev/null +++ b/packages/typescript/src/models/components/venueamenityfacilityspace.ts @@ -0,0 +1,44 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Facility space type available at a venue. + * + * @remarks + * + * Values: + * - `OUTDOOR_SPACE` — Outdoor Space + * - `PRIVATE_SPACE` — Private Space + * - `SEMI_PRIVATE_SPACE` — Semi-Private Space + */ +export const VenueAmenityFacilitySpace = { + OutdoorSpace: "OUTDOOR_SPACE", + PrivateSpace: "PRIVATE_SPACE", + SemiPrivateSpace: "SEMI_PRIVATE_SPACE", +} as const; +/** + * Facility space type available at a venue. + * + * @remarks + * + * Values: + * - `OUTDOOR_SPACE` — Outdoor Space + * - `PRIVATE_SPACE` — Private Space + * - `SEMI_PRIVATE_SPACE` — Semi-Private Space + */ +export type VenueAmenityFacilitySpace = ClosedEnum< + typeof VenueAmenityFacilitySpace +>; + +/** @internal */ +export const VenueAmenityFacilitySpace$inboundSchema: z.ZodNativeEnum< + typeof VenueAmenityFacilitySpace +> = z.nativeEnum(VenueAmenityFacilitySpace); +/** @internal */ +export const VenueAmenityFacilitySpace$outboundSchema: z.ZodNativeEnum< + typeof VenueAmenityFacilitySpace +> = VenueAmenityFacilitySpace$inboundSchema; diff --git a/packages/typescript/src/models/components/venueamenityfacilityspaceitem.ts b/packages/typescript/src/models/components/venueamenityfacilityspaceitem.ts new file mode 100644 index 000000000..2c0ed81da --- /dev/null +++ b/packages/typescript/src/models/components/venueamenityfacilityspaceitem.ts @@ -0,0 +1,78 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + VenueAmenityFacilitySpace, + VenueAmenityFacilitySpace$inboundSchema, + VenueAmenityFacilitySpace$outboundSchema, +} from "./venueamenityfacilityspace.js"; + +/** + * A facility space entry for a venue, with an optional area measurement expressed in the venue's configured unit of measurement. + */ +export type VenueAmenityFacilitySpaceItem = { + /** + * Facility space type available at a venue. + * + * @remarks + * + * Values: + * - `OUTDOOR_SPACE` — Outdoor Space + * - `PRIVATE_SPACE` — Private Space + * - `SEMI_PRIVATE_SPACE` — Semi-Private Space + */ + amenity: VenueAmenityFacilitySpace; + /** + * Area of the space in the venue's configured unit of measurement. + */ + value?: number | undefined; +}; + +/** @internal */ +export const VenueAmenityFacilitySpaceItem$inboundSchema: z.ZodType< + VenueAmenityFacilitySpaceItem, + z.ZodTypeDef, + unknown +> = z.object({ + amenity: VenueAmenityFacilitySpace$inboundSchema, + value: z.number().int().optional(), +}); +/** @internal */ +export type VenueAmenityFacilitySpaceItem$Outbound = { + amenity: string; + value?: number | undefined; +}; + +/** @internal */ +export const VenueAmenityFacilitySpaceItem$outboundSchema: z.ZodType< + VenueAmenityFacilitySpaceItem$Outbound, + z.ZodTypeDef, + VenueAmenityFacilitySpaceItem +> = z.object({ + amenity: VenueAmenityFacilitySpace$outboundSchema, + value: z.number().int().optional(), +}); + +export function venueAmenityFacilitySpaceItemToJSON( + venueAmenityFacilitySpaceItem: VenueAmenityFacilitySpaceItem, +): string { + return JSON.stringify( + VenueAmenityFacilitySpaceItem$outboundSchema.parse( + venueAmenityFacilitySpaceItem, + ), + ); +} +export function venueAmenityFacilitySpaceItemFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VenueAmenityFacilitySpaceItem$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VenueAmenityFacilitySpaceItem' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/venueamenityparking.ts b/packages/typescript/src/models/components/venueamenityparking.ts new file mode 100644 index 000000000..8458193b2 --- /dev/null +++ b/packages/typescript/src/models/components/venueamenityparking.ts @@ -0,0 +1,48 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Parking type available at or near a venue. + * + * @remarks + * + * Values: + * - `BUS_PARKING_AVAILABLE` — Bus Parking + * - `COMPLIMENTARY_PARKING_PROVIDED` — Complimentary Parking + * - `PAID_PARKING_AVAILABLE` — Paid Parking + * - `STREET_PARKING` — Street Parking + * - `VALET_PARKING_AVAILABLE` — Valet Parking + */ +export const VenueAmenityParking = { + BusParkingAvailable: "BUS_PARKING_AVAILABLE", + ComplimentaryParkingProvided: "COMPLIMENTARY_PARKING_PROVIDED", + PaidParkingAvailable: "PAID_PARKING_AVAILABLE", + StreetParking: "STREET_PARKING", + ValetParkingAvailable: "VALET_PARKING_AVAILABLE", +} as const; +/** + * Parking type available at or near a venue. + * + * @remarks + * + * Values: + * - `BUS_PARKING_AVAILABLE` — Bus Parking + * - `COMPLIMENTARY_PARKING_PROVIDED` — Complimentary Parking + * - `PAID_PARKING_AVAILABLE` — Paid Parking + * - `STREET_PARKING` — Street Parking + * - `VALET_PARKING_AVAILABLE` — Valet Parking + */ +export type VenueAmenityParking = ClosedEnum; + +/** @internal */ +export const VenueAmenityParking$inboundSchema: z.ZodNativeEnum< + typeof VenueAmenityParking +> = z.nativeEnum(VenueAmenityParking); +/** @internal */ +export const VenueAmenityParking$outboundSchema: z.ZodNativeEnum< + typeof VenueAmenityParking +> = VenueAmenityParking$inboundSchema; diff --git a/packages/typescript/src/models/components/venueamenityparkingitem.ts b/packages/typescript/src/models/components/venueamenityparkingitem.ts new file mode 100644 index 000000000..a430508a0 --- /dev/null +++ b/packages/typescript/src/models/components/venueamenityparkingitem.ts @@ -0,0 +1,78 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + VenueAmenityParking, + VenueAmenityParking$inboundSchema, + VenueAmenityParking$outboundSchema, +} from "./venueamenityparking.js"; + +/** + * A parking amenity selection for a venue. An optional daily rate may be provided for paid parking types. + */ +export type VenueAmenityParkingItem = { + /** + * Parking type available at or near a venue. + * + * @remarks + * + * Values: + * - `BUS_PARKING_AVAILABLE` — Bus Parking + * - `COMPLIMENTARY_PARKING_PROVIDED` — Complimentary Parking + * - `PAID_PARKING_AVAILABLE` — Paid Parking + * - `STREET_PARKING` — Street Parking + * - `VALET_PARKING_AVAILABLE` — Valet Parking + */ + amenity: VenueAmenityParking; + /** + * Daily parking cost per vehicle, in the venue's local currency. Applicable only when `amenity` is `PAID_PARKING_AVAILABLE` or `VALET_PARKING_AVAILABLE`. + */ + cost?: number | undefined; +}; + +/** @internal */ +export const VenueAmenityParkingItem$inboundSchema: z.ZodType< + VenueAmenityParkingItem, + z.ZodTypeDef, + unknown +> = z.object({ + amenity: VenueAmenityParking$inboundSchema, + cost: z.number().optional(), +}); +/** @internal */ +export type VenueAmenityParkingItem$Outbound = { + amenity: string; + cost?: number | undefined; +}; + +/** @internal */ +export const VenueAmenityParkingItem$outboundSchema: z.ZodType< + VenueAmenityParkingItem$Outbound, + z.ZodTypeDef, + VenueAmenityParkingItem +> = z.object({ + amenity: VenueAmenityParking$outboundSchema, + cost: z.number().optional(), +}); + +export function venueAmenityParkingItemToJSON( + venueAmenityParkingItem: VenueAmenityParkingItem, +): string { + return JSON.stringify( + VenueAmenityParkingItem$outboundSchema.parse(venueAmenityParkingItem), + ); +} +export function venueAmenityParkingItemFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => VenueAmenityParkingItem$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'VenueAmenityParkingItem' from JSON`, + ); +} diff --git a/packages/typescript/src/models/components/venueamenityprovisionpolicy.ts b/packages/typescript/src/models/components/venueamenityprovisionpolicy.ts new file mode 100644 index 000000000..111c01c95 --- /dev/null +++ b/packages/typescript/src/models/components/venueamenityprovisionpolicy.ts @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Provision policy for a venue amenity or service. + */ +export const VenueAmenityProvisionPolicy = { + Available: "AVAILABLE", + BringYourOwn: "BRING_YOUR_OWN", + PreferredVendorsOnly: "PREFERRED_VENDORS_ONLY", +} as const; +/** + * Provision policy for a venue amenity or service. + */ +export type VenueAmenityProvisionPolicy = ClosedEnum< + typeof VenueAmenityProvisionPolicy +>; + +/** @internal */ +export const VenueAmenityProvisionPolicy$inboundSchema: z.ZodNativeEnum< + typeof VenueAmenityProvisionPolicy +> = z.nativeEnum(VenueAmenityProvisionPolicy); +/** @internal */ +export const VenueAmenityProvisionPolicy$outboundSchema: z.ZodNativeEnum< + typeof VenueAmenityProvisionPolicy +> = VenueAmenityProvisionPolicy$inboundSchema; diff --git a/packages/typescript/src/models/components/venueamenityrecreationalactivity.ts b/packages/typescript/src/models/components/venueamenityrecreationalactivity.ts new file mode 100644 index 000000000..5f4360a67 --- /dev/null +++ b/packages/typescript/src/models/components/venueamenityrecreationalactivity.ts @@ -0,0 +1,36 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Recreational facility or leisure activity available at a venue. + */ +export const VenueAmenityRecreationalActivity = { + GolfOnGrounds: "GOLF_ON_GROUNDS", + HealthClub: "HEALTH_CLUB", + IndoorPool: "INDOOR_POOL", + OutdoorPool: "OUTDOOR_POOL", + Skiing: "SKIING", + Spasalon: "SPASALON", + Tennis: "TENNIS", + WaterSports: "WATER_SPORTS", + Whirlpool: "WHIRLPOOL", +} as const; +/** + * Recreational facility or leisure activity available at a venue. + */ +export type VenueAmenityRecreationalActivity = ClosedEnum< + typeof VenueAmenityRecreationalActivity +>; + +/** @internal */ +export const VenueAmenityRecreationalActivity$inboundSchema: z.ZodNativeEnum< + typeof VenueAmenityRecreationalActivity +> = z.nativeEnum(VenueAmenityRecreationalActivity); +/** @internal */ +export const VenueAmenityRecreationalActivity$outboundSchema: z.ZodNativeEnum< + typeof VenueAmenityRecreationalActivity +> = VenueAmenityRecreationalActivity$inboundSchema; diff --git a/packages/typescript/src/models/components/venueamenityroomfeature.ts b/packages/typescript/src/models/components/venueamenityroomfeature.ts new file mode 100644 index 000000000..fd3e707a6 --- /dev/null +++ b/packages/typescript/src/models/components/venueamenityroomfeature.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * In-room feature or guest service available at a venue. + */ +export const VenueAmenityRoomFeature = { + ConciergeServices: "CONCIERGE_SERVICES", + FreeLocalCalls: "FREE_LOCAL_CALLS", + FreeTollFreeCalls: "FREE_TOLL_FREE_CALLS", + GardenViews: "GARDEN_VIEWS", + Internet: "INTERNET", + Laundry: "LAUNDRY", + LuggageStorage: "LUGGAGE_STORAGE", + MountainViews: "MOUNTAIN_VIEWS", + OceanwaterViews: "OCEANWATER_VIEWS", + RoomService: "ROOM_SERVICE", + UrbanViews: "URBAN_VIEWS", + VoiceMailBox: "VOICE_MAIL_BOX", +} as const; +/** + * In-room feature or guest service available at a venue. + */ +export type VenueAmenityRoomFeature = ClosedEnum< + typeof VenueAmenityRoomFeature +>; + +/** @internal */ +export const VenueAmenityRoomFeature$inboundSchema: z.ZodNativeEnum< + typeof VenueAmenityRoomFeature +> = z.nativeEnum(VenueAmenityRoomFeature); +/** @internal */ +export const VenueAmenityRoomFeature$outboundSchema: z.ZodNativeEnum< + typeof VenueAmenityRoomFeature +> = VenueAmenityRoomFeature$inboundSchema; diff --git a/packages/typescript/src/models/components/venueamenitytransportation.ts b/packages/typescript/src/models/components/venueamenitytransportation.ts new file mode 100644 index 000000000..549b83caa --- /dev/null +++ b/packages/typescript/src/models/components/venueamenitytransportation.ts @@ -0,0 +1,32 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Transportation option by which a venue is accessible. + */ +export const VenueAmenityTransportation = { + Bus: "BUS", + Shuttle: "SHUTTLE", + Subway: "SUBWAY", + Taxi: "TAXI", + Train: "TRAIN", +} as const; +/** + * Transportation option by which a venue is accessible. + */ +export type VenueAmenityTransportation = ClosedEnum< + typeof VenueAmenityTransportation +>; + +/** @internal */ +export const VenueAmenityTransportation$inboundSchema: z.ZodNativeEnum< + typeof VenueAmenityTransportation +> = z.nativeEnum(VenueAmenityTransportation); +/** @internal */ +export const VenueAmenityTransportation$outboundSchema: z.ZodNativeEnum< + typeof VenueAmenityTransportation +> = VenueAmenityTransportation$inboundSchema; diff --git a/packages/typescript/src/models/operations/createleadcatcher.ts b/packages/typescript/src/models/operations/createleadcatcher.ts new file mode 100644 index 000000000..ddc00b0ba --- /dev/null +++ b/packages/typescript/src/models/operations/createleadcatcher.ts @@ -0,0 +1,72 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import * as components from "../components/index.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type CreateLeadCatcherRequest = { + /** + * Unique Cvent based identifier for a Venue. + */ + venueId: string; + leadCatcher: components.LeadCatcher; +}; + +export type CreateLeadCatcherResponse = { + headers: { [k: string]: Array }; + result: components.ExistingLeadCatcher; +}; + +/** @internal */ +export type CreateLeadCatcherRequest$Outbound = { + venueId: string; + leadCatcher: components.LeadCatcher$Outbound; +}; + +/** @internal */ +export const CreateLeadCatcherRequest$outboundSchema: z.ZodType< + CreateLeadCatcherRequest$Outbound, + z.ZodTypeDef, + CreateLeadCatcherRequest +> = z.object({ + venueId: z.string(), + leadCatcher: components.LeadCatcher$outboundSchema, +}); + +export function createLeadCatcherRequestToJSON( + createLeadCatcherRequest: CreateLeadCatcherRequest, +): string { + return JSON.stringify( + CreateLeadCatcherRequest$outboundSchema.parse(createLeadCatcherRequest), + ); +} + +/** @internal */ +export const CreateLeadCatcherResponse$inboundSchema: z.ZodType< + CreateLeadCatcherResponse, + z.ZodTypeDef, + unknown +> = z.object({ + Headers: z.record(z.array(z.string())).default({}), + Result: components.ExistingLeadCatcher$inboundSchema, +}).transform((v) => { + return remap$(v, { + "Headers": "headers", + "Result": "result", + }); +}); + +export function createLeadCatcherResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateLeadCatcherResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateLeadCatcherResponse' from JSON`, + ); +} diff --git a/packages/typescript/src/models/operations/deleteleadcatcher.ts b/packages/typescript/src/models/operations/deleteleadcatcher.ts new file mode 100644 index 000000000..9dcc2cdf7 --- /dev/null +++ b/packages/typescript/src/models/operations/deleteleadcatcher.ts @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; + +export type DeleteLeadCatcherRequest = { + /** + * Unique Cvent based identifier for a Venue. + */ + venueId: string; + /** + * Unique identifier for a lead catcher. + */ + leadCatcherId: string; +}; + +/** @internal */ +export type DeleteLeadCatcherRequest$Outbound = { + venueId: string; + leadCatcherId: string; +}; + +/** @internal */ +export const DeleteLeadCatcherRequest$outboundSchema: z.ZodType< + DeleteLeadCatcherRequest$Outbound, + z.ZodTypeDef, + DeleteLeadCatcherRequest +> = z.object({ + venueId: z.string(), + leadCatcherId: z.string(), +}); + +export function deleteLeadCatcherRequestToJSON( + deleteLeadCatcherRequest: DeleteLeadCatcherRequest, +): string { + return JSON.stringify( + DeleteLeadCatcherRequest$outboundSchema.parse(deleteLeadCatcherRequest), + ); +} diff --git a/packages/typescript/src/models/operations/gethousingeventhotelavailability.ts b/packages/typescript/src/models/operations/gethousingeventhotelavailability.ts index a8d4842b7..ea6c9786e 100644 --- a/packages/typescript/src/models/operations/gethousingeventhotelavailability.ts +++ b/packages/typescript/src/models/operations/gethousingeventhotelavailability.ts @@ -39,7 +39,7 @@ export type GetHousingEventHotelAvailabilityRequest = { */ filter?: string | undefined; /** - * Limit to this number of search results. Maximum of 50, default of 10. + * Limit to this number of search results. Maximum of 200, default of 10. */ limit?: number | undefined; /** diff --git a/packages/typescript/src/models/operations/getleadcatcheroverview.ts b/packages/typescript/src/models/operations/getleadcatcheroverview.ts new file mode 100644 index 000000000..ef2dfedc6 --- /dev/null +++ b/packages/typescript/src/models/operations/getleadcatcheroverview.ts @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; + +export type GetLeadCatcherOverviewRequest = { + /** + * Unique Cvent based identifier for a Venue. + */ + venueId: string; + /** + * Unique identifier for a lead catcher. + */ + leadCatcherId: string; +}; + +/** @internal */ +export type GetLeadCatcherOverviewRequest$Outbound = { + venueId: string; + leadCatcherId: string; +}; + +/** @internal */ +export const GetLeadCatcherOverviewRequest$outboundSchema: z.ZodType< + GetLeadCatcherOverviewRequest$Outbound, + z.ZodTypeDef, + GetLeadCatcherOverviewRequest +> = z.object({ + venueId: z.string(), + leadCatcherId: z.string(), +}); + +export function getLeadCatcherOverviewRequestToJSON( + getLeadCatcherOverviewRequest: GetLeadCatcherOverviewRequest, +): string { + return JSON.stringify( + GetLeadCatcherOverviewRequest$outboundSchema.parse( + getLeadCatcherOverviewRequest, + ), + ); +} diff --git a/packages/typescript/src/models/operations/getvenueamenities.ts b/packages/typescript/src/models/operations/getvenueamenities.ts new file mode 100644 index 000000000..7bba4106d --- /dev/null +++ b/packages/typescript/src/models/operations/getvenueamenities.ts @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; + +export type GetVenueAmenitiesRequest = { + /** + * Unique Cvent based identifier for a Venue. + */ + venueId: string; +}; + +/** @internal */ +export type GetVenueAmenitiesRequest$Outbound = { + venueId: string; +}; + +/** @internal */ +export const GetVenueAmenitiesRequest$outboundSchema: z.ZodType< + GetVenueAmenitiesRequest$Outbound, + z.ZodTypeDef, + GetVenueAmenitiesRequest +> = z.object({ + venueId: z.string(), +}); + +export function getVenueAmenitiesRequestToJSON( + getVenueAmenitiesRequest: GetVenueAmenitiesRequest, +): string { + return JSON.stringify( + GetVenueAmenitiesRequest$outboundSchema.parse(getVenueAmenitiesRequest), + ); +} diff --git a/packages/typescript/src/models/operations/index.ts b/packages/typescript/src/models/operations/index.ts index 5d5bd20fe..446483b54 100644 --- a/packages/typescript/src/models/operations/index.ts +++ b/packages/typescript/src/models/operations/index.ts @@ -44,6 +44,7 @@ export * from "./createeventsurveyresponses.js"; export * from "./createexhibitor.js"; export * from "./createexhibitorcategory.js"; export * from "./createexhibitorweblink.js"; +export * from "./createleadcatcher.js"; export * from "./createmeetingrequest.js"; export * from "./createmeetingroom.js"; export * from "./createpayment.js"; @@ -76,6 +77,7 @@ export * from "./deleteexhibitorcategoryimage.js"; export * from "./deleteexhibitorlogo.js"; export * from "./deleteexhibitorweblink.js"; export * from "./deleteexternalattendeeactivitymetadata.js"; +export * from "./deleteleadcatcher.js"; export * from "./deletepayment.js"; export * from "./deleteprogramitem.js"; export * from "./deleteprogramitemsessiondocument.js"; @@ -196,6 +198,7 @@ export * from "./gethousingreservationrequests.js"; export * from "./gethubmembers.js"; export * from "./getinvitationlist.js"; export * from "./getlargechoices.js"; +export * from "./getleadcatcheroverview.js"; export * from "./getleadqualificationanswers.js"; export * from "./getleadqualificationquestions.js"; export * from "./getleads.js"; @@ -261,6 +264,7 @@ export * from "./gettravelproposalstaticcontent.js"; export * from "./getusage.js"; export * from "./getuser.js"; export * from "./getusergroups.js"; +export * from "./getvenueamenities.js"; export * from "./getvenueattraction.js"; export * from "./getvenueavailabilitysettings.js"; export * from "./getvenuedetailsoverview.js"; @@ -319,6 +323,7 @@ export * from "./listexhibitorweblinks.js"; export * from "./listexternalattendeeactivitiesmetadata.js"; export * from "./listfeeitems.js"; export * from "./listhubs.js"; +export * from "./listleadcatchersoverview.js"; export * from "./listlocations.js"; export * from "./listmeetinginterests.js"; export * from "./listmeetingrequest.js"; @@ -387,6 +392,7 @@ export * from "./oauth2authorize.js"; export * from "./oauth2token.js"; export * from "./obfuscatecontactbyid.js"; export * from "./patchcontactbyid.js"; +export * from "./patchleadcatcher.js"; export * from "./patchmeetingroom.js"; export * from "./patchvenuedetails.js"; export * from "./patchvenuefacility.js"; @@ -444,6 +450,7 @@ export * from "./updateexhibitorweblink.js"; export * from "./updateexternalattendeeactivitymetadata.js"; export * from "./updatehotelroomrates.js"; export * from "./updateinternalinfoanswers.js"; +export * from "./updateleadcatcher.js"; export * from "./updatemeetingrequest.js"; export * from "./updatemeetingroom.js"; export * from "./updatepayment.js"; @@ -461,6 +468,7 @@ export * from "./updatestandardsurveyrespondent.js"; export * from "./updatestandardsurveyresponses.js"; export * from "./updatetexttrack.js"; export * from "./updateuser.js"; +export * from "./updatevenueamenities.js"; export * from "./updatevenueattraction.js"; export * from "./updatevenueavailabilitysettings.js"; export * from "./updatevenuedetails.js"; diff --git a/packages/typescript/src/models/operations/listattendeespostfilter.ts b/packages/typescript/src/models/operations/listattendeespostfilter.ts index c7db5c1b1..cd0e4f6d1 100644 --- a/packages/typescript/src/models/operations/listattendeespostfilter.ts +++ b/packages/typescript/src/models/operations/listattendeespostfilter.ts @@ -76,7 +76,7 @@ export type ListAttendeesPostFilterRequest = { */ includeDeletedGuests?: boolean | undefined; /** - * The request body accepts filters to refine the data returned. Refer to available filter details in [GET List Attendees](#operation/listAttendees). + * The request body accepts filters to refine the data returned. Refer to available filter details in [GET List Attendees](#operation/listAttendees). * * @remarks */ diff --git a/packages/typescript/src/models/operations/listleadcatchersoverview.ts b/packages/typescript/src/models/operations/listleadcatchersoverview.ts new file mode 100644 index 000000000..bdead2a0b --- /dev/null +++ b/packages/typescript/src/models/operations/listleadcatchersoverview.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import * as components from "../components/index.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type ListLeadCatchersOverviewRequest = { + /** + * Unique Cvent based identifier for a Venue. + */ + venueId: string; + /** + * The maximum number of records to return per page. + */ + limit?: number | undefined; + /** + * The continuation token returned from a previous class. This must be a valid UUID v4 if provided. + * + * @remarks + * This will override any other pageable parameters provided. + */ + token?: string | undefined; +}; + +export type ListLeadCatchersOverviewResponse = { + result: components.LeadCatchersOverviewResponse; +}; + +/** @internal */ +export type ListLeadCatchersOverviewRequest$Outbound = { + venueId: string; + limit: number; + token?: string | undefined; +}; + +/** @internal */ +export const ListLeadCatchersOverviewRequest$outboundSchema: z.ZodType< + ListLeadCatchersOverviewRequest$Outbound, + z.ZodTypeDef, + ListLeadCatchersOverviewRequest +> = z.object({ + venueId: z.string(), + limit: z.number().int().default(100), + token: z.string().optional(), +}); + +export function listLeadCatchersOverviewRequestToJSON( + listLeadCatchersOverviewRequest: ListLeadCatchersOverviewRequest, +): string { + return JSON.stringify( + ListLeadCatchersOverviewRequest$outboundSchema.parse( + listLeadCatchersOverviewRequest, + ), + ); +} + +/** @internal */ +export const ListLeadCatchersOverviewResponse$inboundSchema: z.ZodType< + ListLeadCatchersOverviewResponse, + z.ZodTypeDef, + unknown +> = z.object({ + Result: components.LeadCatchersOverviewResponse$inboundSchema, +}).transform((v) => { + return remap$(v, { + "Result": "result", + }); +}); + +export function listLeadCatchersOverviewResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListLeadCatchersOverviewResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListLeadCatchersOverviewResponse' from JSON`, + ); +} diff --git a/packages/typescript/src/models/operations/patchleadcatcher.ts b/packages/typescript/src/models/operations/patchleadcatcher.ts new file mode 100644 index 000000000..42d7bd525 --- /dev/null +++ b/packages/typescript/src/models/operations/patchleadcatcher.ts @@ -0,0 +1,44 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import * as components from "../components/index.js"; + +export type PatchLeadCatcherRequest = { + /** + * Unique Cvent based identifier for a Venue. + */ + venueId: string; + /** + * Unique identifier for a lead catcher. + */ + leadCatcherId: string; + leadCatcherPatch: components.LeadCatcherPatch; +}; + +/** @internal */ +export type PatchLeadCatcherRequest$Outbound = { + venueId: string; + leadCatcherId: string; + leadCatcherPatch: components.LeadCatcherPatch$Outbound; +}; + +/** @internal */ +export const PatchLeadCatcherRequest$outboundSchema: z.ZodType< + PatchLeadCatcherRequest$Outbound, + z.ZodTypeDef, + PatchLeadCatcherRequest +> = z.object({ + venueId: z.string(), + leadCatcherId: z.string(), + leadCatcherPatch: components.LeadCatcherPatch$outboundSchema, +}); + +export function patchLeadCatcherRequestToJSON( + patchLeadCatcherRequest: PatchLeadCatcherRequest, +): string { + return JSON.stringify( + PatchLeadCatcherRequest$outboundSchema.parse(patchLeadCatcherRequest), + ); +} diff --git a/packages/typescript/src/models/operations/updateleadcatcher.ts b/packages/typescript/src/models/operations/updateleadcatcher.ts new file mode 100644 index 000000000..b8bdae996 --- /dev/null +++ b/packages/typescript/src/models/operations/updateleadcatcher.ts @@ -0,0 +1,44 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import * as components from "../components/index.js"; + +export type UpdateLeadCatcherRequest = { + /** + * Unique Cvent based identifier for a Venue. + */ + venueId: string; + /** + * Unique identifier for a lead catcher. + */ + leadCatcherId: string; + existingLeadCatcher: components.ExistingLeadCatcherInput; +}; + +/** @internal */ +export type UpdateLeadCatcherRequest$Outbound = { + venueId: string; + leadCatcherId: string; + existingLeadCatcher: components.ExistingLeadCatcherInput$Outbound; +}; + +/** @internal */ +export const UpdateLeadCatcherRequest$outboundSchema: z.ZodType< + UpdateLeadCatcherRequest$Outbound, + z.ZodTypeDef, + UpdateLeadCatcherRequest +> = z.object({ + venueId: z.string(), + leadCatcherId: z.string(), + existingLeadCatcher: components.ExistingLeadCatcherInput$outboundSchema, +}); + +export function updateLeadCatcherRequestToJSON( + updateLeadCatcherRequest: UpdateLeadCatcherRequest, +): string { + return JSON.stringify( + UpdateLeadCatcherRequest$outboundSchema.parse(updateLeadCatcherRequest), + ); +} diff --git a/packages/typescript/src/models/operations/updatevenueamenities.ts b/packages/typescript/src/models/operations/updatevenueamenities.ts new file mode 100644 index 000000000..6b92a273c --- /dev/null +++ b/packages/typescript/src/models/operations/updatevenueamenities.ts @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import * as components from "../components/index.js"; + +export type UpdateVenueAmenitiesRequest = { + /** + * Unique Cvent based identifier for a Venue. + */ + venueId: string; + existingVenueAmenities: components.ExistingVenueAmenitiesInput; +}; + +/** @internal */ +export type UpdateVenueAmenitiesRequest$Outbound = { + venueId: string; + existingVenueAmenities: components.ExistingVenueAmenitiesInput$Outbound; +}; + +/** @internal */ +export const UpdateVenueAmenitiesRequest$outboundSchema: z.ZodType< + UpdateVenueAmenitiesRequest$Outbound, + z.ZodTypeDef, + UpdateVenueAmenitiesRequest +> = z.object({ + venueId: z.string(), + existingVenueAmenities: components.ExistingVenueAmenitiesInput$outboundSchema, +}); + +export function updateVenueAmenitiesRequestToJSON( + updateVenueAmenitiesRequest: UpdateVenueAmenitiesRequest, +): string { + return JSON.stringify( + UpdateVenueAmenitiesRequest$outboundSchema.parse( + updateVenueAmenitiesRequest, + ), + ); +} diff --git a/packages/typescript/src/sdk/attendees.ts b/packages/typescript/src/sdk/attendees.ts index 0d2d708d5..ae63b05ab 100644 --- a/packages/typescript/src/sdk/attendees.ts +++ b/packages/typescript/src/sdk/attendees.ts @@ -87,7 +87,7 @@ export class Attendees extends ClientSDK { * List Attendees * * @remarks - * Gets a paginated list of attendees by sending a filter in the body of the request. This method will return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer filters. + * Gets a paginated list of attendees by sending a filter in the body of the request. This method will return the same data as [GET List Attendees](#operation/listAttendees) but allows for longer filters. * * @see {@link #oauth2-auth-code-planner-admin} - More about OAuth2 authorization code support for administrators */ diff --git a/packages/typescript/src/sdk/eventtravel.ts b/packages/typescript/src/sdk/eventtravel.ts index 74c66f61c..58c113623 100644 --- a/packages/typescript/src/sdk/eventtravel.ts +++ b/packages/typescript/src/sdk/eventtravel.ts @@ -54,7 +54,7 @@ export class EventTravel extends ClientSDK { * Get Alternate Travel Answers * * @remarks - * Get alternate travel answers submitted by attendees who opt out of air or hotel bookings for an event. + * Get alternate travel answers submitted by attendees who opt out of air, hotel, or train bookings for an event. */ async getAlternateTravelAnswers( request: operations.GetAlternateTravelAnswersRequest, diff --git a/packages/typescript/src/sdk/sdk.ts b/packages/typescript/src/sdk/sdk.ts index fb8b5196e..6a7ebda85 100644 --- a/packages/typescript/src/sdk/sdk.ts +++ b/packages/typescript/src/sdk/sdk.ts @@ -57,6 +57,7 @@ import { Users } from "./users.js"; import { UserSCIM } from "./userscim.js"; import { VenueAvailability } from "./venueavailability.js"; import { VenueContent } from "./venuecontent.js"; +import { VenueLeads } from "./venueleads.js"; import { VenueMeetingRooms } from "./venuemeetingrooms.js"; import { VenueProfiles } from "./venueprofiles.js"; import { Video } from "./video.js"; @@ -340,6 +341,11 @@ export class CventSDK extends ClientSDK { return (this._venueProfiles ??= new VenueProfiles(this._options)); } + private _venueLeads?: VenueLeads; + get venueLeads(): VenueLeads { + return (this._venueLeads ??= new VenueLeads(this._options)); + } + private _venueMeetingRooms?: VenueMeetingRooms; get venueMeetingRooms(): VenueMeetingRooms { return (this._venueMeetingRooms ??= new VenueMeetingRooms(this._options)); diff --git a/packages/typescript/src/sdk/venuecontent.ts b/packages/typescript/src/sdk/venuecontent.ts index 00e97c8a5..b69ab4c2d 100644 --- a/packages/typescript/src/sdk/venuecontent.ts +++ b/packages/typescript/src/sdk/venuecontent.ts @@ -10,10 +10,12 @@ import { venueContentDeleteVenueAttraction } from "../funcs/venueContentDeleteVe import { venueContentDisassociateAttractionImage } from "../funcs/venueContentDisassociateAttractionImage.js"; import { venueContentDisassociateVenueImage } from "../funcs/venueContentDisassociateVenueImage.js"; import { venueContentGetAttractionImages } from "../funcs/venueContentGetAttractionImages.js"; +import { venueContentGetVenueAmenities } from "../funcs/venueContentGetVenueAmenities.js"; import { venueContentGetVenueAttraction } from "../funcs/venueContentGetVenueAttraction.js"; import { venueContentGetVenueImageMetadata } from "../funcs/venueContentGetVenueImageMetadata.js"; import { venueContentListVenueAttractions } from "../funcs/venueContentListVenueAttractions.js"; import { venueContentListVenueImagesMetadata } from "../funcs/venueContentListVenueImagesMetadata.js"; +import { venueContentUpdateVenueAmenities } from "../funcs/venueContentUpdateVenueAmenities.js"; import { venueContentUpdateVenueAttraction } from "../funcs/venueContentUpdateVenueAttraction.js"; import { venueContentUpdateVenueImageMetadata } from "../funcs/venueContentUpdateVenueImageMetadata.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; @@ -23,6 +25,44 @@ import { unwrapAsync } from "../types/fp.js"; import { PageIterator, unwrapResultIterator } from "../types/operations.js"; export class VenueContent extends ClientSDK { + /** + * Get Venue Amenities + * + * @remarks + * Returns the current amenity selections for the specified venue. + * + * Not applicable to CVB/DMC or Restaurant venues. + */ + async getVenueAmenities( + request: operations.GetVenueAmenitiesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(venueContentGetVenueAmenities( + this, + request, + options, + )); + } + + /** + * Update Venue Amenities + * + * @remarks + * Updates the amenity selections for the specified venue, replacing all existing selections with those provided in the request body. Sections absent from the request body or submitted as empty arrays will have their selections cleared. + * + * Not applicable to CVB/DMC or Restaurant venues. + */ + async updateVenueAmenities( + request: operations.UpdateVenueAmenitiesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(venueContentUpdateVenueAmenities( + this, + request, + options, + )); + } + /** * List Venue Attractions * diff --git a/packages/typescript/src/sdk/venueleads.ts b/packages/typescript/src/sdk/venueleads.ts new file mode 100644 index 000000000..cb3e49b1b --- /dev/null +++ b/packages/typescript/src/sdk/venueleads.ts @@ -0,0 +1,135 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { venueLeadsCreateLeadCatcher } from "../funcs/venueLeadsCreateLeadCatcher.js"; +import { venueLeadsDeleteLeadCatcher } from "../funcs/venueLeadsDeleteLeadCatcher.js"; +import { venueLeadsGetLeadCatcherOverview } from "../funcs/venueLeadsGetLeadCatcherOverview.js"; +import { venueLeadsListLeadCatchersOverview } from "../funcs/venueLeadsListLeadCatchersOverview.js"; +import { venueLeadsPatchLeadCatcher } from "../funcs/venueLeadsPatchLeadCatcher.js"; +import { venueLeadsUpdateLeadCatcher } from "../funcs/venueLeadsUpdateLeadCatcher.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import * as operations from "../models/operations/index.js"; +import { unwrapAsync } from "../types/fp.js"; +import { PageIterator, unwrapResultIterator } from "../types/operations.js"; + +export class VenueLeads extends ClientSDK { + /** + * Create Lead Catcher + * + * @remarks + * Creates a new lead catcher contact for the specified venue. Lead catchers receive email notifications when RFPs are submitted to the venue. + */ + async createLeadCatcher( + request: operations.CreateLeadCatcherRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(venueLeadsCreateLeadCatcher( + this, + request, + options, + )); + } + + /** + * List Lead Catchers Overview + * + * @remarks + * Returns a paginated, lightweight overview of the lead catchers for the specified venue, + * containing only `id`, `firstName`, and `lastName` for each contact. + * + * Use this endpoint to discover the `leadCatcherId` needed for PATCH, PUT, and DELETE. + * The response does not include contact details such as email address or phone number. + */ + async listLeadCatchersOverview( + request: operations.ListLeadCatchersOverviewRequest, + options?: RequestOptions, + ): Promise< + PageIterator< + operations.ListLeadCatchersOverviewResponse, + { cursor: string } + > + > { + return unwrapResultIterator(venueLeadsListLeadCatchersOverview( + this, + request, + options, + )); + } + + /** + * Update Lead Catcher + * + * @remarks + * Updates the given lead catcher for the specified venue, replacing the existing lead catcher data. + */ + async updateLeadCatcher( + request: operations.UpdateLeadCatcherRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(venueLeadsUpdateLeadCatcher( + this, + request, + options, + )); + } + + /** + * Patch Lead Catcher + * + * @remarks + * Partially updates the specified lead catcher using JSON Merge Patch, as defined in [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396.html). + * + * - Only fields present in the request body are updated; omitted fields remain unchanged. + * - Set a field to `null` to unset it. + * - The response contains only the fields that were provided in the request payload. + */ + async patchLeadCatcher( + request: operations.PatchLeadCatcherRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(venueLeadsPatchLeadCatcher( + this, + request, + options, + )); + } + + /** + * Delete Lead Catcher + * + * @remarks + * Deletes the specified lead catcher for the venue. + */ + async deleteLeadCatcher( + request: operations.DeleteLeadCatcherRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(venueLeadsDeleteLeadCatcher( + this, + request, + options, + )); + } + + /** + * Get Lead Catcher Overview + * + * @remarks + * Retrieves a lightweight overview of a specific lead catcher for the specified venue, + * containing only `id`, `firstName`, and `lastName`. + * + * The response does not include contact details such as email address or phone number. + */ + async getLeadCatcherOverview( + request: operations.GetLeadCatcherOverviewRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(venueLeadsGetLeadCatcherOverview( + this, + request, + options, + )); + } +}